CN114971761A - A product recommendation method based on machine learning - Google Patents

A product recommendation method based on machine learning Download PDF

Info

Publication number
CN114971761A
CN114971761A CN202210259968.0A CN202210259968A CN114971761A CN 114971761 A CN114971761 A CN 114971761A CN 202210259968 A CN202210259968 A CN 202210259968A CN 114971761 A CN114971761 A CN 114971761A
Authority
CN
China
Prior art keywords
user
recommendation
recommended
product
store
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210259968.0A
Other languages
Chinese (zh)
Inventor
贾信明
林昱洲
杨宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hua Analysis Technology Shanghai Co ltd
Original Assignee
Hua Analysis Technology Shanghai 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 Hua Analysis Technology Shanghai Co ltd filed Critical Hua Analysis Technology Shanghai Co ltd
Priority to CN202210259968.0A priority Critical patent/CN114971761A/en
Publication of CN114971761A publication Critical patent/CN114971761A/en
Pending legal-status Critical Current

Links

Images

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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Evolutionary Computation (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Medical Informatics (AREA)
  • Development Economics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An embodiment of the present specification provides a commodity recommendation method based on machine learning, including: judging whether a user is in an isolated state or not based on the consumption condition and the position information of the user in the first time; and determining recommended commodities pushed to the user through a recommendation model in response to the user being in the isolation state.

Description

一种基于机器学习的商品推荐方法A product recommendation method based on machine learning

技术领域technical field

本说明书涉及计算机技术领域,特别涉及一种基于机器学习的商品推荐 方法。This specification relates to the field of computer technology, in particular to a method for recommending products based on machine learning.

背景技术Background technique

随着电子技术和网络技术的不断发展,购物平台不断收集用户资料,能 够根据商品特征信息和用户特征信息向用户进行商品推荐。但在特殊时期(如 流感爆发时期),用户往往更长时间居家生活从而导致用户的购物偏好改变, 从而使推荐的商品不符合用户的喜好。因此,如何识别用户的居家状态从而进 行更为合理的商品推荐,是一个亟待解决的问题。With the continuous development of electronic technology and network technology, shopping platforms continue to collect user data and can recommend products to users based on product feature information and user feature information. However, in special periods (such as flu outbreaks), users tend to live at home for a longer time, which leads to changes in users' shopping preferences, so that the recommended products do not meet users' preferences. Therefore, how to identify the user's home status to make more reasonable product recommendation is an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本说明书实施例之一提供一种基于机器学习的商品推荐方法。所述商品 推荐方法包括:基于用户在第一时间内的消费情况和位置信息,判断所述用户 是否处于隔离状态;响应于所述用户处于隔离状态,通过推荐模型确定推送给 所述用户的推荐商品。One of the embodiments of this specification provides a product recommendation method based on machine learning. The product recommendation method includes: judging whether the user is in an isolated state based on the user's consumption situation and location information within a first time; in response to the user being in an isolated state, determining a recommendation pushed to the user through a recommendation model commodity.

本说明书实施例之一提供一种基于机器学习的商品推荐系统,所述系统 包括:判断模块,用于基于用户在第一时间内的消费情况和位置信息,判断所 述用户是否处于隔离状态。以及推荐模块,用于响应于所述用户处于隔离状态, 通过推荐模型确定向所述用户推荐的商品。One of the embodiments of the present specification provides a product recommendation system based on machine learning. The system includes: a judgment module for judging whether the user is in an isolated state based on the user's consumption situation and location information in the first time. and a recommendation module, configured to determine, through a recommendation model, a commodity recommended to the user in response to the user being in an isolated state.

本说明书实施例之一提供一种基于机器学习的商品推荐装置,包括处理 器,所述处理器用于执行本说明书实施例所述的基于机器学习的商品推荐方法。 方法。One of the embodiments of this specification provides a device for recommending products based on machine learning, including a processor, where the processor is configured to execute the method for recommending products based on machine learning described in the embodiments of this specification. method.

本说明书实施例之一提供一种计算机可读存储介质,所述存储介质存储 计算机指令,当计算机读取存储介质中的计算机指令后,计算机执行本说明书 实施例所述的基于机器学习的商品推荐方法。One of the embodiments of this specification provides a computer-readable storage medium, where the storage medium stores computer instructions, and after the computer reads the computer instructions in the storage medium, the computer executes the machine learning-based product recommendation described in the embodiments of this specification method.

附图说明Description of drawings

本说明书将以示例性实施例的方式进一步说明,这些示例性实施例将通 过附图进行详细描述。这些实施例并非限制性的,在这些实施例中,相同的编 号表示相同的结构,其中:The present specification will be further explained by way of exemplary embodiments, which will be described in detail by means of the accompanying drawings. These embodiments are not limiting, and in these embodiments, the same numbers refer to the same structures, wherein:

图1是根据本说明书一些实施例所示的商品推荐系统的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a product recommendation system according to some embodiments of this specification;

图2是根据本说明书一些实施例所示的基于机器学习的商品推荐系统的 模块图;Fig. 2 is a block diagram of a product recommendation system based on machine learning according to some embodiments of the present specification;

图3是根据本说明书一些实施例所示的基于机器学习的商品推荐方法的 示例性流程图;3 is an exemplary flowchart of a method for recommending products based on machine learning according to some embodiments of the present specification;

图4是根据本说明书一些实施例所示的隔离状态判断方法的示例性流程 图;Fig. 4 is an exemplary flowchart of a method for judging an isolation state according to some embodiments of the present specification;

图5根据本说明书的一些实施例提供了一种确定推荐商品的方法示意图;FIG. 5 provides a schematic diagram of a method for determining a recommended product according to some embodiments of the present specification;

图6根据本说明书的一些实施例提供了另一种确定推荐商品的方法流程 图。FIG. 6 provides a flowchart of another method of determining recommended items according to some embodiments of the present specification.

具体实施方式Detailed ways

为了更清楚地说明本说明书实施例的技术方案,下面将对实施例描述中 所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本说 明书的一些示例或实施例,对于本领域的普通技术人员来讲,在不付出创造性 劳动的前提下,还可以根据这些附图将本说明书应用于其它类似情景。除非从 语言环境中显而易见或另做说明,图中相同标号代表相同结构或操作。In order to more clearly illustrate the technical solutions of the embodiments of the present specification, the following briefly introduces the accompanying drawings that are required to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present specification. For those of ordinary skill in the art, without creative efforts, the present specification can also be applied to the present specification according to these drawings. other similar situations. Unless obvious from the locale or otherwise specified, the same reference numbers in the figures represent the same structure or operation.

应当理解,本文使用的“系统”、“装置”、“单元”和/或“模块”是用于区分不 同级别的不同组件、元件、部件、部分或装配的一种方法。然而,如果其他词 语可实现相同的目的,则可通过其他表达来替换所述词语。It should be understood that "system", "device", "unit" and/or "module" as used herein is a method used to distinguish different components, elements, parts, sections or assemblies at different levels. However, other words may be replaced by other expressions if they serve the same purpose.

如本说明书和权利要求书中所示,除非上下文明确提示例外情形,“一”、 “一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包 括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一 个排它性的罗列,方法或者设备也可能包含其它的步骤或元素。As shown in the specification and claims, unless the context clearly dictates otherwise, the words "a," "an," "an," and/or "the" are not intended to be specific in the singular and may include the plural. Generally speaking, the terms "comprising" and "comprising" only imply the inclusion of the clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.

本说明书中使用了流程图用来说明根据本说明书的实施例的系统所执行 的操作。应当理解的是,前面或后面操作不一定按照顺序来精确地执行。相反, 可以按照倒序或同时处理各个步骤。同时,也可以将其他操作添加到这些过程 中,或从这些过程移除某一步或数步操作。Flowcharts are used in this specification to illustrate operations performed by a system according to an embodiment of this specification. It should be understood that the preceding or following operations are not necessarily performed in the exact order. Rather, the various steps may be processed in reverse order or simultaneously. At the same time, other actions can be added to these procedures, or a step or actions can be removed from these procedures.

图1是根据本说明书一些实施例所示的商品推荐系统的应用场景示意图。 如图1所示,基于机器学习的商品推荐系统的应用场景可以包括服务器110、处 理器120、存储设备130、用户终端140、网络150等。FIG. 1 is a schematic diagram of an application scenario of a product recommendation system according to some embodiments of the present specification. As shown in Figure 1, the application scenario of the product recommendation system based on machine learning may include a server 110, a processor 120, a storage device 130, a user terminal 140, a network 150, and the like.

商品推荐系统可以用于销售服务平台。在一些实施例中,该系统包含零 售商品的销售服务平台。例如,电商平台、自动贩卖机等。商品推荐系统可以 通过本说明书中披露的商品推荐方法向用户推荐商品。The product recommendation system can be used in the sales service platform. In some embodiments, the system includes a sales service platform for retail merchandise. For example, e-commerce platforms, vending machines, etc. The product recommendation system can recommend products to users through the product recommendation method disclosed in this specification.

在一些实施例中,销售服务平台可以为线下商户(也称为门店)提供商 品展示服务,用户可以通过用户终端140访问销售服务平台,并根据推送信息 购买线下商户。In some embodiments, the sales service platform may provide product display services for offline merchants (also referred to as stores), and the user may access the sales service platform through the user terminal 140 and purchase offline merchants according to the push information.

服务器110可以通过网络150与处理器120、存储设备130、用户终端140 通信以提供商品推荐的各种功能。在一些实施例中,用户终端140可以发送当 前用户在第一时间内的消费情况和位置信息给服务器110,并接收服务器110发 出的商品推荐信息。服务器110可以获取门店位置信息和门店防疫评估信息, 进行处理确定发送给附近用户终端140的推荐商品。以上各设备之间的信息传 递关系仅作为示例,在一些情况下,各设备之间的信息传递还可以包括其他形 式,具体可视实际情况确定。The server 110 may communicate with the processor 120, the storage device 130, and the user terminal 140 through the network 150 to provide various functions of product recommendation. In some embodiments, the user terminal 140 may send the current user's consumption situation and location information in the first time to the server 110, and receive the product recommendation information sent by the server 110. The server 110 may acquire store location information and store epidemic prevention assessment information, and perform processing to determine recommended products to be sent to nearby user terminals 140 . The information transfer relationship between the above devices is only an example. In some cases, the information transfer between the devices may also include other forms, which can be determined according to the actual situation.

服务器110可以用于管理用户的历史消费数据以及处理来自本系统至少 一个组件或外部数据源(例如,云数据中心)的数据和/或信息。在一些实施例 中,服务器110可以是单一服务器或服务器组。该服务器组可以是集中式或分 布式的(例如,服务器110可以是分布式系统),可以是专用的也可以由其他 设备或系统同时提供服务。在一些实施例中,服务器110可以是区域的或者远 程的。在一些实施例中,服务器110可以在云平台上实施,或者以虚拟方式提 供。Server 110 may be used to manage historical consumption data of users and process data and/or information from at least one component of the system or external data sources (e.g., cloud data centers). In some embodiments, server 110 may be a single server or a group of servers. The server group may be centralized or distributed (e.g., server 110 may be a distributed system), dedicated or concurrently served by other devices or systems. In some embodiments, server 110 may be regional or remote. In some embodiments, server 110 may be implemented on a cloud platform, or provided virtually.

处理器120是指具有计算能力的设备或系统。在一些实施例中,处理器 120可以包括一个或多个处理引擎(例如,单核心处理引擎或多核心处理器)。 仅作为示例,处理引擎可以包括中央处理器、专用指令集处理器(ASIP)、数 字信号处理器(DSP)、精简指令集计算机(RISC)、微处理器等中的一种或 多种组合。在一些实施例中,处理器120可以调用存储设备130中存储的数据 和/或指令以实现本说明书提供的商品推荐方法。在一些实施例中,处理器120 可以基于用户在第一时间内的消费情况和位置信息,判断所述用户是否处于隔离状态。在一些实施例中,处理器120可以基于用户的隔离状态给用户推荐商 品。Processor 120 refers to a device or system having computing capabilities. In some embodiments, processor 120 may include one or more processing engines (eg, a single-core processing engine or a multi-core processor). For example only, the processing engine may include one or more combinations of a central processing unit, an application specific instruction set processor (ASIP), a digital signal processor (DSP), a reduced instruction set computer (RISC), a microprocessor, and the like. In some embodiments, the processor 120 may invoke data and/or instructions stored in the storage device 130 to implement the commodity recommendation method provided in this specification. In some embodiments, the processor 120 may determine whether the user is in an isolation state based on the user's consumption situation and location information in the first time. In some embodiments, the processor 120 may recommend items to the user based on the user's isolation status.

存储设备130可以用于存储数据和/或指令。存储设备130可以包括一个 或多个存储组件,每个存储组件可以是一个独立的设备,也可以是其他设备的 一部分。在一些实施例中,存储设备130还可以存储商品销售过程产生的相关 信息,例如,相关信息可以包括门店以及用户所产生的消费信息,示例性地, 相关信息可以包括用户的消费情况、位置信息以及消费习惯等用户相关信息; 再例如,相关信息还可以门店的门店位置信息、门店防疫评估信息、门店库存 信息、商品特征等门店相关信息。在一些实施例中,存储设备130可以存储销 售服务平台产生的相关数据,例如,平台向用户推送的推送商品、用户的隔离 状态以及推荐模型等执行本商品推荐方法时产生的相关数据。在一些实施例中, 存储设备130可包括随机存取存储器(RAM)、只读存储器(ROM)、大容量 存储器、可移动存储器、易失性读写存储器等或其任意组合。在一些实施例中, 所述存储设备130可在云平台上实现。Storage device 130 may be used to store data and/or instructions. The storage device 130 may include one or more storage components, and each storage component may be an independent device or a part of other devices. In some embodiments, the storage device 130 may also store relevant information generated during the commodity sales process. For example, the relevant information may include the store and consumption information generated by the user. Exemplarily, the relevant information may include the consumption situation and location information of the user. As well as user-related information such as consumption habits; for another example, relevant information can also include store-related information such as store location information, store epidemic prevention assessment information, store inventory information, and product characteristics. In some embodiments, the storage device 130 may store the relevant data generated by the sales service platform, for example, the pushed commodities pushed by the platform to the user, the user's isolation status and the recommendation model, etc. The relevant data generated when the commodity recommendation method is executed. In some embodiments, storage device 130 may include random access memory (RAM), read only memory (ROM), mass storage, removable memory, volatile read-write memory, the like, or any combination thereof. In some embodiments, the storage device 130 may be implemented on a cloud platform.

用户终端140指用户所使用的一个或多个终端设备或软件。用户终端140 至少可以包括处理单元、显示单元、输入/输出单元、存储单元等。在一些实施 例中,用户可以通过用户终端进行商品的购买,通过用户终端上传信息/数据至 服务器110或存储设备130。在一些实施例中,使用用户终端140的可以是一个 或多个用户,可以包括直接使用服务的用户,也可以包括其他相关用户。The user terminal 140 refers to one or more terminal devices or software used by the user. The user terminal 140 may include at least a processing unit, a display unit, an input/output unit, a storage unit, and the like. In some embodiments, the user can purchase commodities through the user terminal, and upload information/data to the server 110 or the storage device 130 through the user terminal. In some embodiments, one or more users may use the user terminal 140, which may include users who directly use the service, and may also include other related users.

网络150可以连接系统的各组成部分和/或连接系统与外部资源部分。网 络150使得各组成部分之间,以及与系统之外其他部分可以进行通信。例如, 处理器120可以通过网络150获取从用户终端140中获取用户的位置信息。再 例如,处理器120可以通过网络150从存储设备130中获取用户相关信息(例 如,用户的消费情况、位置信息以及消费习惯等)以及门店相关信息(例如, 门店的门店位置信息、门店防疫评估信息、门店库存信息、商品特征等)。在 一些实施例中,处理器120也可以通过网络150将商品推荐情况发送至用户终 端140。The network 150 may connect components of the system and/or connect portions of the system with external resources. The network 150 enables communication between the various components, as well as with other components outside the system. For example, the processor 120 may obtain the location information of the user from the user terminal 140 through the network 150 . For another example, the processor 120 may obtain user-related information (eg, the user's consumption situation, location information, and consumption habits, etc.) and store-related information (eg, store location information of the store, store epidemic prevention assessment, etc.) from the storage device 130 through the network 150 . information, store inventory information, product characteristics, etc.). In some embodiments, the processor 120 may also send the product recommendation information to the user terminal 140 via the network 150.

图2是根据本说明书一些实施例所示的基于机器学习的商品推荐系统的 模块图。Fig. 2 is a block diagram of a product recommendation system based on machine learning according to some embodiments of the present specification.

在一些实施例中,基于机器学习的商品推荐系统模块200可以包括判断 模块210、推荐模块220。In some embodiments, the product recommendation system module 200 based on machine learning may include a judgment module 210 and a recommendation module 220.

在一些实施例中,判断模块210用于基于用户在第一时间内的消费情况 和位置信息,判断所述用户是否处于隔离状态。关于判断所述用户是否处于隔 离状态的更多内容可参见图3及其相关描述。In some embodiments, the judging module 210 is configured to judge whether the user is in an isolation state based on the consumption situation and location information of the user in the first time. For more details on determining whether the user is in the isolation state, please refer to Fig. 3 and its related descriptions.

在一些实施例中,判断模块210进一步用于基于所述用户在所述第一时 间段的购买习惯和所述用户在第二时间段的购买习惯的差异,确定所述用户的 评估分数,所述第二时间段为所述第一时间段之前且长度相同的时间段;根据 所述用户的所述评估分数确定用户是否处于隔离状态。关于评估分数以及购买 习惯的差异的更多内容可以参见图4及其相关描述In some embodiments, the judging module 210 is further configured to determine the user's evaluation score based on the difference between the user's purchasing habits in the first time period and the user's purchasing habits in the second time period, where The second time period is a time period with the same length before the first time period; whether the user is in an isolation state is determined according to the user's evaluation score. More information on the differences in evaluation scores and purchasing habits can be found in Figure 4 and its associated description

在一些实施例中,推荐模块220用于响应于所述用户处于隔离状态,通 过推荐模型确定向所述用户推荐的商品。关于向所述用户推荐的商品的更多内 容可参见图3及其相关描述。In some embodiments, the recommendation module 220 is configured to determine, through a recommendation model, an item to recommend to the user in response to the user being in an isolated state. For more content about the recommended products to the user, please refer to Fig. 3 and related descriptions.

在一些实施例中,推荐模块220还用于基于门店位置信息和门店防疫评 估信息,确定候选推荐商品;通过推荐模型从所述候选推荐商品中确定所述推 荐商品。关于门店相关信息的更多内容可参见图5及其相关描述。In some embodiments, the recommendation module 220 is further configured to determine candidate recommended commodities based on store location information and store epidemic prevention assessment information; and determine the recommended commodities from the candidate recommended commodities through a recommendation model. For more information about store related information, please refer to Figure 5 and its related description.

在一些实施例中,推荐模块220还用于所述推荐模块还用于基于所述用 户的所述位置信息,确定邻近区域内的潜在隔离用户;确定所述潜在隔离用户 的消费情况,并基于所述潜在隔离用户的消费情况确定参考商品;基于所述参 考商品,通过推荐模型确定所述推荐商品。关于潜在隔离用户以及参考商品的 更多内容可参见图6及其相关描述。In some embodiments, the recommending module 220 is further used for the recommending module to determine, based on the location information of the user, a potential isolated user in a nearby area; determine the consumption situation of the potential isolated user, and based on the location information of the user The consumption situation of the potential isolated user determines a reference commodity; based on the reference commodity, the recommended commodity is determined through a recommendation model. See Figure 6 and its associated description for more on potential segregated users and reference items.

需要注意的是,以上对于商品推荐系统及其模块的描述,仅为描述方便, 并不能把本说明书限制在所举实施例范围之内。可以理解,对于本领域的技术 人员来说,在了解该系统的原理后,可能在不背离这一原理的情况下,对各个 模块进行任意组合,或者构成子系统与其他模块连接。在一些实施例中,图2 中披露的判断模块210、推荐模块220可以是一个系统中的不同模块,也可以是 一个模块实现上述的两个或两个以上模块的功能。例如,各个模块可以共用一 个存储模块,各个模块也可以分别具有各自的存储模块。诸如此类的变形,均 在本说明书的保护范围之内。It should be noted that the above description of the product recommendation system and its modules is only for the convenience of description, and does not limit the present specification to the scope of the illustrated embodiments. It can be understood that for those skilled in the art, after understanding the principle of the system, various modules may be combined arbitrarily, or a subsystem may be formed to connect with other modules without departing from the principle. In some embodiments, the judgment module 210 and the recommendation module 220 disclosed in FIG. 2 may be different modules in a system, or may be a module that implements the functions of the above-mentioned two or more modules. For example, each module may share one storage module, and each module may also have its own storage module. Such deformations are all within the protection scope of this specification.

图3是根据本说明书一些实施例所示的基于机器学习的商品推荐方法的 示例性流程图。在一些实施例中,流程300可以由处理设备(例如,处理器120) 执行。例如,流程300可以以程序或指令的形式存储在存储设备中,当服务器 或图2所示的模块执行程序或指令时,可以实现流程300。如图3所示,流程 300可以包括下述步骤:Fig. 3 is an exemplary flowchart of a method for recommending products based on machine learning according to some embodiments of the present specification. In some embodiments, process 300 may be performed by a processing device (eg, processor 120). For example, the process 300 may be stored in a storage device in the form of a program or an instruction, and the process 300 may be implemented when the server or the module shown in FIG. 2 executes the program or the instruction. As shown in Figure 3, the process 300 may include the following steps:

步骤310,基于用户在第一时间内的消费情况和位置信息,判断用户是否 处于隔离状态。在一些实施例中,步骤310可以由判断模块210执行。Step 310, based on the user's consumption situation and location information in the first time, determine whether the user is in an isolated state. In some embodiments, step 310 may be performed by the determination module 210 .

用户可以指销售服务平台的消费者。用户可以在销售服务平台查看和/或 购买线下商店的商品。在一些实施例中,用户可以通过用户身份证明(User Identification,UID)确定,其中,用户身份证明可以是用户在销售服务平台注册 账户时销售服务平台生成的唯一且不可更改的账户标签。例如,销售服务平台 在接收到用户后可以根据用户订单中的UID确定具体用户。A user may refer to a consumer of the sales service platform. Users can view and/or purchase products from offline stores on the sales service platform. In some embodiments, the user can be identified by a user identification (User Identification, UID), wherein the user identification can be a unique and unchangeable account label generated by the sales service platform when the user registers an account with the sales service platform. For example, after receiving the user, the sales service platform can determine the specific user according to the UID in the user order.

第一时间可以指当前之前的一段时间。在一些实施例中,第一时间可以 根据用户行为确定,例如,第一时间可以是用户所在地变更后至今的一段时间, 示例性地,用户在10天前从天津返回北京,则用户的第一时间可以是从10天 前至今。在一些实施例中,第一时间可以根据用户的购买行为确定,例如,第 一时间可以是在用户隔离或居家时间内用户第一次下单的日期至今的时间段。The first time may refer to a period of time before the current time. In some embodiments, the first time may be determined according to user behavior. For example, the first time may be a period of time since the user's location is changed. The time can be from 10 days ago to the present. In some embodiments, the first time may be determined according to the user's purchase behavior, for example, the first time may be a time period from the date when the user first placed an order during the user's quarantine or home time.

用户的消费情况可以指用户商品消费情况,例如,消费情况可以是用户 成功交易的商品清单,其中,商品清单中可以包括用户所购买的商品的名称、 数量、价格、时间等相关信息。在一些实施例中,用户的消费情况可以包括用 户在销售服务平台的商品消费情况以及用户在门店的商品消费情况。例如,用 户在门店购买商品时,可以通过销售服务平台的收银系统支付所购买商品的账 单。The user's consumption situation may refer to the user's commodity consumption situation, for example, the consumption situation may be a list of commodities successfully traded by the user, wherein the commodity list may include the name, quantity, price, time and other related information of the commodities purchased by the user. In some embodiments, the consumption situation of the user may include the commodity consumption situation of the user in the sales service platform and the commodity consumption situation of the user in the store. For example, when a user buys a product in a store, he can pay the bill for the purchased product through the cash register system of the sales service platform.

位置信息可以是用户在购买商品时的当前地理信息,例如,用户通过销 售服务平台购买商品时,位置信息可以是用户终端定位信息对应的位置信息。 再例如,用户在门店购买商品时,位置信息可以是该门店的位置信息。The location information may be the current geographic information of the user when purchasing the commodity. For example, when the user purchases the commodity through the sales service platform, the location information may be the location information corresponding to the positioning information of the user terminal. For another example, when a user purchases a commodity in a store, the location information may be the location information of the store.

用户在第一时间内的消费情况和位置信息可以根据用户的消费订单确定, 例如,用户通过销售服务平台购买商品时,可以根据用户的消费情况生成消费 订单,即获取用户在第一时间内的消费情况和位置信息可以通过获取并分析用 户在第一时间内的消费订单实现。再例如,用户在门店购买商品时,门店的收 银系统可以与销售服务平台通信连接,当用户支付账单时,销售服务平台可以 根据用户的消费情况生成对应的消费订单。The user's consumption situation and location information in the first time can be determined according to the user's consumption order. For example, when the user purchases goods through the sales service platform, a consumption order can be generated according to the user's consumption situation, that is, the user's consumption order in the first time can be obtained. The consumption situation and location information can be realized by acquiring and analyzing the user's consumption orders in the first time. For another example, when a user buys a product in a store, the cashier system of the store can communicate with the sales service platform. When the user pays the bill, the sales service platform can generate a corresponding consumption order according to the user's consumption situation.

隔离状态可以指用户在一段时间内主要在室内活动,较少外出或不外出 的状态。例如,隔离状态可以指传染病患者或疑似患者在特定地点(如隔离点) 居住禁止外出的状态。再例如,隔离状态还可以指流感爆发期间,用户主动居The isolation state can refer to the state in which the user mainly moves indoors for a period of time and goes out less or not. For example, the isolation state may refer to the state in which patients with infectious diseases or suspected patients live in a specific place (such as an isolation point) and are prohibited from going out. For another example, the quarantine status can also refer to the fact that during the outbreak of influenza, the user actively

在一些实施例中,可以基于隔离商品与非隔离商品确定用户是否处于隔 离状态,其中,非隔离商品可以指隔离期间用户无法购买的商品,如鲜肉类商 品、大电器类、户外运动类商品等。隔离商品可以指隔离期间用户购买意愿较 强的商品,如口罩、方便面、牛奶、密封肉制品等。In some embodiments, whether the user is in quarantine can be determined based on quarantined commodities and non-quarantined commodities, wherein non-quarantined commodities may refer to commodities that users cannot purchase during quarantine, such as fresh meat commodities, large electrical appliances, and outdoor sports commodities Wait. Quarantine commodities can refer to commodities that users are more willing to buy during the quarantine period, such as masks, instant noodles, milk, and sealed meat products.

在一些实施例中,可以基于用户隔离商品与非隔离商品的消费情况可以 反应用户的隔离可能性,可以将用户可能处于隔离状态的情况判定为用户处于 隔离状态。例如,隔离商品可以反应用户的居家意愿,当用户购买隔离商品较 多时可以判断用户可能处于隔离状态。示例性地,当用户自第一时间段内用户 下单商品只属于隔离商品则认为用户可能处于隔离状态或即将进入隔离状态。In some embodiments, the user's possibility of being quarantined can be reflected based on the consumption of quarantined commodities and non-quarantined commodities by the user, and it can be determined that the user may be in the quarantined state as the user is in the quarantined state. For example, quarantine products can reflect the user's willingness to stay at home, and when the user buys a lot of quarantine products, it can be judged that the user may be in a state of quarantine. Exemplarily, when the commodity placed by the user within the first time period is only a quarantine commodity, it is considered that the user may be in a quarantine state or is about to enter a quarantine state.

在一些实施例中,如果商品数据中隔离期商品的种类和/或数量大于第一 阈值,则认为前述用户可能处于隔离状态。其中,所述第一阈值,可以是根据 实际情况确定,例如,第一阈值可以是预设的数值,示例性地,第一阈值可以 为2种,10个,即商品数据中隔离期商品的种类大于2中,数量大于10个则可 以判断该用户处于隔离状态。在一些实施例中,当用户的消费情况和位置信息 中非隔离商品的种类数或数量大于阈值则认为该用户不处于隔离状态。In some embodiments, if the type and/or quantity of commodities during the quarantine period in the commodity data is greater than the first threshold, it is considered that the aforementioned user may be in a quarantine state. The first threshold may be determined according to the actual situation. For example, the first threshold may be a preset value. Exemplarily, the first threshold may be 2 or 10, that is, the number of commodities in the quarantine period in the commodity data. If the type is greater than 2 and the number is greater than 10, it can be judged that the user is in isolation. In some embodiments, when the number or quantity of non-quarantine commodities in the user's consumption situation and location information is greater than a threshold, it is considered that the user is not in a quarantine state.

在一些实施例中,可以根据用户的消费情况确定用户的评估分数,再基 于用户的评估分数确定用户是否处于隔离状态。关于基于评估分数确定用户是 否处于隔离状态的具体内容可以参考图4及其相关描述。In some embodiments, the user's evaluation score may be determined according to the user's consumption situation, and then whether the user is in an isolation state may be determined based on the user's evaluation score. For the specific content of determining whether the user is in the isolation state based on the evaluation score, reference may be made to Figure 4 and its related descriptions.

步骤320,响应于用户处于隔离状态,通过推荐模型确定推送给用户的推 荐商品。在一些实施例中,步骤320可以由推荐模块220执行。Step 320, in response to the user being in the isolation state, determine the recommended product to be pushed to the user through the recommendation model. In some embodiments, step 320 may be performed by recommendation module 220 .

推荐商品即被推荐给用户的商品,也可以称之为被推荐的商品。推荐商 品可以是从非隔离商品以外的商品中确定的,与用户隔离状态以及用户喜好相 关的商品,例如,被推荐的商品可以是用户购物喜好或购物需求不受隔离状态 影响的商品,如护肤品、烟酒类商品等。又例如,被推荐的商品可以是矿泉水、 方便面等隔离商品。在一些实施例中,被推荐商品也可以是其他处于隔离状态 的用户购买的商品。Recommended products are products that are recommended to users, and can also be referred to as recommended products. Recommended products can be determined from products other than non-isolated products and are related to the user’s isolation status and user preferences. For example, the recommended products can be products that are not affected by the user’s shopping preferences or shopping needs, such as skin care. products, tobacco and alcohol products, etc. For another example, the recommended products may be isolated products such as mineral water and instant noodles. In some embodiments, the recommended items may also be items purchased by other users in a quarantined state.

在一些实施例中,可以通过第一推荐模型确定需要向用户推荐的商品(即, 推荐商品)。第一推荐模型的输入可以包括处于隔离状态的用户相关信息,第 一推荐模型的输出可以是推荐商品。用户相关信息可以包括用户的基本信息和/ 或用户的消费情况,例如,用户相关信息可以包括用户的位置信息、性别、年 龄等信息。再例如,用户相关信息可以包括用户在销售服务平台中交易成功的 各个交易订单中的商品种类、数量、价格、购买时间、购买位置等信息。In some embodiments, products that need to be recommended to the user (ie, recommended products) may be determined through the first recommendation model. The input of the first recommendation model may include user-related information in an isolated state, and the output of the first recommendation model may be recommended products. The user-related information may include the user's basic information and/or the user's consumption situation. For example, the user-related information may include the user's location information, gender, age, and other information. For another example, the user-related information may include information such as commodity type, quantity, price, purchase time, and purchase location in each transaction order successfully traded by the user in the sales service platform.

在一些实施例中,第一推荐模型可以为卷积神经网络(Convolutional NeuralNetworks,CNN)、深度神经网络(Deep Neural Networks,DNN)、长短期 记忆(Long Short-Term Memory,LSTM)模型等神经网络模型。In some embodiments, the first recommendation model may be a neural network such as Convolutional Neural Networks (CNN), Deep Neural Networks (DNN), and Long Short-Term Memory (LSTM) models. Model.

在一些实施例中,第一推荐模型还可以是其他模型,示例性地,推荐模 型可以为支持向量机模型、Logistic回归模型、朴素贝叶斯分类模型、高斯分布 贝叶斯分类模型、决策树模型、随机森林模型以及KNN分类模型等机器学习算 法或模型In some embodiments, the first recommendation model may also be other models, for example, the recommendation model may be a support vector machine model, a logistic regression model, a naive Bayesian classification model, a Gaussian distribution Bayesian classification model, a decision tree Machine learning algorithms or models such as models, random forest models, and KNN classification models

第一推荐模型可以基于历史数据训练得到。即可以将带有标签的训练样 本输入初始第一推荐模型,通过随机梯度下降等优化方法训练更新初始第一推 荐模型的参数,当训练的模型满足预设条件时,训练结束,获取训练好的推荐 模型。The first recommendation model can be obtained by training based on historical data. That is, the labeled training samples can be input into the initial first recommended model, and the parameters of the initial first recommended model can be trained and updated through optimization methods such as stochastic gradient descent. When the trained model meets the preset conditions, the training ends and the trained model is obtained. recommended model.

训练样本可以为历史数据中历史用户相关数据,例如,历史用户相关数 据可以包括该用户的基本信息以及该用户的历史消费情况,示例性地,历史消 费情况可以包括该用户在销售服务平台中交易成功的各个交易订单中的商品种 类、数量、价格、购买时间、购买位置等信息。在一些实施例中,历史用户可 以包括历史数据中处于隔离状态的用户。训练的标签为用户历史购买的商品。The training samples may be historical user-related data in the historical data. For example, the historical user-related data may include the basic information of the user and the user's historical consumption. Exemplarily, the historical consumption may include the user's transactions in the sales service platform. Information such as commodity type, quantity, price, purchase time, and purchase location in each successful transaction order. In some embodiments, historical users may include users in a quarantined state in the historical data. The training labels are the items purchased by the user in the history.

在一些实施例中,第一推荐模型的输入还可以包括门店相关数据,其中, 门店相关数据可以包括商品库存、商品种类、商品价格、门店促销等相关信息, 还可以包括门店的防疫评估信息等。在一些实施例中门店可以是用户在销售服 务平台选中的门店和/或根据用户的位置信息确定的邻近门店。In some embodiments, the input of the first recommendation model may further include store-related data, wherein the store-related data may include related information such as commodity inventory, commodity type, commodity price, store promotion, etc., and may also include epidemic prevention evaluation information of the store, etc. . In some embodiments, the store may be a store selected by the user on the sales service platform and/or a nearby store determined according to the user's location information.

图4是根据本说明书一些实施例所示的隔离状态判断方法的示例性流程 图。在一些实施例中,流程400可以由处理设备(例如,处理器120)或商品推 荐系统模块(例如,判断模块210)执行。例如,流程400可以以程序或指令的 形式存储在存储设备中,当服务器或图2所示的模块执行程序或指令时,可以 实现流程400。如图4所示,流程400可以包括下述步骤:Fig. 4 is an exemplary flowchart of a method for judging an isolation state according to some embodiments of the present specification. In some embodiments, process 400 may be performed by a processing device (e.g., processor 120) or an item recommendation system module (e.g., determination module 210). For example, the process 400 may be stored in a storage device in the form of a program or an instruction, and the process 400 may be implemented when the server or the module shown in FIG. 2 executes the program or the instruction. As shown in Figure 4, the process 400 may include the following steps:

步骤410,基于用户在第一时间内的消费习惯和用户在第二时间内的消费 习惯的差异,确定用户的评估分数。在一些实施例中,步骤410可以由判断模 块210执行。Step 410: Determine the user's evaluation score based on the difference between the user's consumption habits in the first time and the user's consumption habits in the second time. In some embodiments, step 410 may be performed by determination module 210.

第二时间可以是在第一时间之前的一段时间,第二时间的长度可以与第 一时间相同。在一些实施例中,第二时间可以是用户处于非隔离状态下的时间。 在一些实施例中,为避免第二时间内的用户也处于隔离状态,第二时间与第一 时间之间的时间距离可以大于预设阈值,例如,第二时间的最后一天至少要在 第一时间的第一天的14天之前。The second time may be a period of time before the first time, and the length of the second time may be the same as the first time. In some embodiments, the second time may be a time when the user is in a non-isolated state. In some embodiments, in order to avoid that the user during the second time is also in the isolation state, the time distance between the second time and the first time may be greater than a preset threshold, for example, the last day of the second time must be at least the first time 14 days before the first day of time.

消费习惯可以用于描述用户购物需求、购物喜好。其中,购物需求可以 指用户需要购物的商品,购物喜好可以指用户在购买商品时对商品特征的购物 倾向,例如,用户的购物喜好可以包括倾向于购买包装规格较小的商品。Consumption habits can be used to describe users' shopping needs and preferences. Among them, shopping needs may refer to the commodities that the user needs to purchase, and shopping preferences may refer to the shopping tendency of the user to the characteristics of the commodities when purchasing commodities. For example, the user's shopping preferences may include the tendency to purchase commodities with smaller packaging specifications.

在一些实施例中,消费习惯可以通过用户的消费特征向量描述。在一些 实施例中,消费特征向量可以包括用户在各个商品品类下的消费情况,例如, 消费特征向量可以为用户在各个商品品类的购买量,示例性地,消费特征向量 可以是(a,b,c,d,e),其中,a-e处的数值可以代表购买某商品种类的数量, a可以代表饮用水类在该时间段的购买量,b可以代表方便食品类在该时间段的 购买量,c可以代表罐头类在该时间段的购买量,d可以代表日用品类在该时间 段的购买量,e可以代表烟酒类在该时间段的购买量等。例如,某一用户的消费 特征向量可以是(3,5,5,1),则代表该用户购买饮用水类商品3件,方便 食品类商品5件,罐头类商品5件,烟酒类商品1件。在一些实施例中,消费 特征向量中的元素还可以包括其他商品类型,具体可视实际情况确定。In some embodiments, consumption habits can be described by a user's consumption feature vector. In some embodiments, the consumption feature vector may include the consumption situation of the user under each commodity category. For example, the consumption feature vector may be the purchase amount of the user in each commodity category. Exemplarily, the consumption feature vector may be (a, b , c, d, e), where the value at a-e can represent the quantity of a certain commodity purchased, a can represent the purchase quantity of drinking water in this time period, and b can represent the purchase quantity of convenience food in this time period , c can represent the purchase amount of canned food in this time period, d can represent the purchase amount of daily necessities in this time period, e can represent the purchase amount of tobacco and alcohol in this time period, etc. For example, the consumption feature vector of a user can be (3, 5, 5, 1), which means that the user purchases 3 drinking water products, 5 convenience food products, 5 canned products, and tobacco and alcohol products. 1 item. In some embodiments, elements in the consumption feature vector may also include other commodity types, which may be determined according to actual conditions.

在一些实施例中,可以通过第一时间内用户的消费情况确定用户的消费 特征向量以表示用户在第一时间内的消费习惯。在一些实施例中,可以通过第 二时间内用户的消费情况确定用户的消费特征向量以表示用户在第二时间内的 消费习惯。In some embodiments, the consumption characteristic vector of the user may be determined according to the consumption situation of the user in the first time to represent the consumption habit of the user in the first time. In some embodiments, the consumption characteristic vector of the user may be determined according to the consumption situation of the user in the second time to represent the consumption habit of the user in the second time.

在一些实施例中,第二时间的还可以是多次抽样的时间段组,即可以选 取多个时长与第一时间相同的时间段作为第二时间,第二时间的消费习惯可以 是各个时间段的消费习惯的平均值。In some embodiments, the second time may also be a time period group sampled multiple times, that is, multiple time periods with the same duration as the first time may be selected as the second time, and the consumption habits of the second time may be each time The average consumption habits of the segment.

在一些实施例中,可以根据第一时间消费特征向量与第二时间消费特征 向量之间的差异确定消费习惯差异。例如,通过计算二者之差、计算二者间的 向量距离等。In some embodiments, the difference in consumption habits may be determined according to the difference between the first time consumption feature vector and the second time consumption characteristic vector. For example, by calculating the difference between the two, calculating the vector distance between the two, etc.

评估分数可以用于描述用户处于隔离状态的可能性。在一些实施例中, 评估分数反应用户在第一时间与第二时间的消费习惯差异。即评估分数与消费 习惯的差异相关。在一些实施例中,评估分数与消费习惯差异的具体映射关系 可以根据实际需要确定,例如,评估分数与消费习惯差异呈正相关,即当消费 习惯差异较大时,评估分数较大,进而代表用户处于隔离状态的可能性更大。 反之则评估分数较小。在一些实施例中,消费习惯差异可以与评估分数呈正相 关非线性关系。An assessment score can be used to describe the likelihood that a user is in quarantine. In some embodiments, the evaluation score reflects the difference in the consumption habits of the user at the first time and the second time. That is, the evaluation scores are related to differences in consumption habits. In some embodiments, the specific mapping relationship between the evaluation score and the difference in consumption habits can be determined according to actual needs. For example, the evaluation score is positively correlated with the difference in consumption habits, that is, when the difference in consumption habits is large, the evaluation score is larger, which in turn represents the user more likely to be in isolation. Otherwise, the evaluation score will be smaller. In some embodiments, differences in consumption habits may be positively correlated nonlinearly with assessment scores.

在一些实施例中,可以通过第一时间消费特征向量与第二时间消费特征 向量的向量距离确定消费习惯差异。在计算评估分数时可以根据第一时间消费 特征向量与第二时间消费特征向量的向量距离确定,其中,向量距离可以根据 欧式距离、曼哈顿距离、切比雪夫距离、马氏距离等相关算法确定。基于向量 距离确定评估分数可以通过非线性函数确定,例如,指数函数、幂函数等。在 一些实施例中,评估分数的范围可以是0-100。In some embodiments, the difference in consumption habits may be determined by the vector distance between the first time consumption feature vector and the second time consumption feature vector. When calculating the evaluation score, it can be determined according to the vector distance between the first time consumption feature vector and the second time consumption feature vector, wherein the vector distance can be determined according to related algorithms such as Euclidean distance, Manhattan distance, Chebyshev distance, Mahalanobis distance, etc. Determining the evaluation score based on the vector distance may be determined by a nonlinear function, such as an exponential function, a power function, and the like. In some embodiments, the evaluation score may range from 0-100.

在一些实施例中,可以根据用户邻近区域内潜在隔离用户的加权数量调 整用户的评估分数。In some embodiments, the user's evaluation score may be adjusted based on a weighted number of potentially segregated users within the user's vicinity.

在一些实施例中,潜在隔离用户的加权数量可以根据潜在隔离用户的评 估分数确定。其中,潜在隔离用户的评估分数可以根据潜在隔离用户的第一时 间消费特征向量与其第二时间消费特征向量之间的差异确定,该差异可以通过 向量求差、求取向量间距离等方法确定。在确定潜在隔离用户的评估分数时仅 考虑其自身的消费习惯在第一时间段和第二时间段的差异,不考虑潜在隔离用 户附近可能存在的隔离用户。例如,用户邻近地区包括3个潜在隔离用户,其 评估分数分别为90、80、70,根据这三个潜在隔离用户的评估分数可以确定对 应得加权数量为0.9、0.8、0.7,则可以认为用户临近区域内存在(0.9+0.8+0.7) =2.4个潜在隔离用户。In some embodiments, the weighted number of potential quarantined users may be determined based on the evaluation scores of the potential quarantined users. Among them, the evaluation score of the potential isolated user can be determined according to the difference between the feature vector of the potential isolated user's first time consumption and its second time consumption feature vector, and the difference can be determined by methods such as vector difference and distance between vectors. When determining the evaluation score of a potential quarantined user, only the difference between their own consumption habits in the first time period and the second time period is considered, and the potential quarantined users that may exist in the vicinity of the potential quarantined user are not considered. For example, the user's neighborhood includes 3 potential isolated users, and their evaluation scores are 90, 80, and 70, respectively. According to the evaluation scores of these three potential isolated users, the corresponding weighted numbers can be determined to be 0.9, 0.8, and 0.7. There are (0.9+0.8+0.7) = 2.4 potential isolated users in the adjacent area.

在一些实施例中,根据潜在隔离用户的加权数量调整用户的评估分数可 以包括根据潜在隔离用户的加权数量通过计算调整用户的评估分数。例如,根 据潜在隔离用户加权数量与用户邻近区域用户总量确定调整系数,根据调整系 数对评估分数进行调整,示例性的,不考虑邻近区域潜在隔离用户时用户A的 评估分数为80,其邻近区域潜在隔离用户的加权数量为2.4,其邻近区域用户总 数为20,则调整系数可以是2.4/20=0.12,调整后的评估分数为80*(1+1.12) =89.6。又例如,根据潜在隔离用户的加权数量确定评估分数平衡值,基于平衡 值调整评估分数,示例性的,不考虑邻近区域潜在隔离用户是用户A的评分是 70,其邻近区域潜在隔离用户的加权数量为2.4,则调整后的评估分数为 70+2.4=72.4分。In some embodiments, adjusting the user's evaluation score based on the weighted number of potential quarantined users may include computationally adjusting the user's evaluation score based on the weighted number of potential quarantined users. For example, the adjustment coefficient is determined according to the weighted number of potential isolated users and the total number of users in the user's adjacent area, and the evaluation score is adjusted according to the adjustment coefficient. The weighted number of potential isolated users in an area is 2.4, and the total number of users in its adjacent area is 20, then the adjustment coefficient can be 2.4/20=0.12, and the adjusted evaluation score is 80*(1+1.12)=89.6. For another example, the balance value of the evaluation score is determined according to the weighted number of potential isolated users, and the evaluation score is adjusted based on the balance value. Exemplarily, regardless of the potential isolation user in the adjacent area, the score of User A is 70, and the weight of the potential isolated user in the adjacent area is 70. If the number is 2.4, the adjusted assessment score is 70+2.4=72.4 points.

在一些实施例中,根据潜在隔离用户的加权数量调整用户的评估分数还 可以采用其他方式,具体可视实际情况确定。In some embodiments, the user's evaluation score may be adjusted according to the weighted number of potential quarantined users in other ways, which may be determined according to the actual situation.

步骤420,根据所述用户的评估分数确定用户是否处于隔离状态。在一些 实施例中,步骤420可以由判断模块210执行。Step 420: Determine whether the user is in an isolation state according to the user's evaluation score. In some embodiments, step 420 may be performed by determination module 210.

在一些实施例中,当用户的评估分数高于阈值时可以判断用户处于隔离 状态,例如,评估分数的范围可以是0-100,阈值可以为60即评估分数高于60 的用户被判断为处于隔离状态。其中,阈值还可以是其他分数值,具体可视实 际情况确定。In some embodiments, when the user's evaluation score is higher than a threshold, it can be determined that the user is in an isolated state. For example, the evaluation score can range from 0 to 100, and the threshold can be 60. That is, a user with an evaluation score higher than 60 is determined to be in a state of isolation. isolation state. The threshold value can also be other score values, which can be determined according to the actual situation.

图5根据本说明书的一些实施例提供了一种确定推荐商品的方法示意图。 在一些实施例中,流程500可以由处理器120执行。如图5所示,流程500包 括以下步骤:FIG. 5 provides a schematic diagram of a method for determining a recommended product according to some embodiments of the present specification. In some embodiments, process 500 may be performed by processor 120 . As shown in Figure 5, process 500 includes the following steps:

步骤510,确定处于隔离状态的用户及对应的用户相关信息。Step 510: Determine the user in the isolation state and the corresponding user-related information.

处理隔离状态的用户以及用户相关信息的具体内容可以参考图3中步骤 310、步骤320的相关描述,在此不做赘述。For the specific content of the users in the isolation state and the user-related information, reference may be made to the relevant descriptions of steps 310 and 320 in FIG. 3 , which will not be repeated here.

步骤520,基于门店位置信息和门店防疫评估信息,确定候选推荐商品。Step 520: Determine candidate recommended products based on store location information and store epidemic prevention assessment information.

门店位置信息可以包括门店的地理位置信息,例如,门店的经纬度信息, 或其他可以用于确定门店与用户相对位置的信息。在一些实施例中,步骤520 中的门店可以是用户所选择的进行购物的门店,例如,用户可以在销售服务平 台选中门店进行购物,在选中门店后,可以基于该门店的库存商品进行商品推 荐。在一些实施例中,步骤520中的门店还可以是用户的邻近门店时,其中, 当门店与用户之间的距离小于距离阈值,则判断该门店为用户附近门店。The store location information may include geographic location information of the store, for example, the latitude and longitude information of the store, or other information that can be used to determine the relative location of the store and the user. In some embodiments, the store in step 520 may be a store selected by the user for shopping. For example, the user may select a store for shopping on the sales service platform, and after selecting a store, product recommendation may be made based on the inventory of the store. . In some embodiments, the store in step 520 may also be a store near the user, wherein when the distance between the store and the user is less than the distance threshold, the store is determined to be a store near the user.

在一些实施例中,门店位置信息还可以包括周边交通状况、门店规模、 门店与用户之间的通行距离等影响用户选择门店的信息。在一些实施例中,可 以根据门店与用户的交通情况辅助判断用户是否会选择该门店,例如,当某门 店距离用户的距离小于距离阈值,但是由于两者之间交通状况交叉(如道路施 工、道路经常拥堵等),可以不将该门店判断为用户的邻近门店。在一些实施 例中,推荐模块220可以在用户的邻近门店中确定候选推荐商品。例如,将邻 近门店中的所有商品或部分商品作为候选推荐商品。In some embodiments, the store location information may also include surrounding traffic conditions, store scale, and travel distance between the store and the user, and other information that affects the user's selection of a store. In some embodiments, whether the user will choose the store can be assisted according to the traffic situation between the store and the user. The road is often congested, etc.), the store may not be judged as the user's neighboring store. In some embodiments, the recommendation module 220 may determine candidate recommended items in the user's nearby stores. For example, all or some of the products in nearby stores are selected as candidate recommended products.

门店防疫评估信息可以是门店对防疫政策的响应情况,可以用于判断门 店防疫措施是否执行到位。例如,门店营业员是否定期进行核酸检测,门店是 否定期消毒等。门店防疫评估信息可以根据在特殊时期防疫规则确定,例如, 防疫规则规定门店中冷冻产品的外包装需要每周进行核酸检测,则门店防疫评 估信息中可以包括门店冷冻产品的外包装核酸检测情况。在一些实施例中,推 荐模块220可以在防疫措施到位的门店中确定候选推荐商品。The store's epidemic prevention assessment information can be the response of the store to the epidemic prevention policy, and can be used to judge whether the store's epidemic prevention measures are in place. For example, whether the store salesperson regularly conducts nucleic acid testing, whether the store is regularly disinfected, etc. The epidemic prevention assessment information of the store can be determined according to the epidemic prevention rules in special periods. For example, the epidemic prevention rules stipulate that the outer packaging of the frozen products in the store needs to be tested for nucleic acid every week. The epidemic prevention assessment information of the store can include the nucleic acid detection of the outer packaging of the frozen products in the store. In some embodiments, the recommendation module 220 may determine candidate recommended items in stores with epidemic prevention measures in place.

在一些实施例中,推荐模块220可以通门店位置信息和门店防疫评估信 息确定候选商品。其中,候选推荐商品可以是能向用户推荐的商品。例如,推 荐模块220根据门店位置信息确定用户附近的至少一个门店,根据至少一个门 店中各个门店的防疫评估信息,确定各个门店的防疫情况,确定防疫措施执行 到位的商家作为候选商家,进而在候选商家中确定候选推荐商品。又例如,推 荐模块根据门店防疫评估信息确定防疫措施执行到位的至少一个门店,根据至 少一个门店中各个门店的位置信息确定用户附近的门店作为候选商家,进而在 候选商家中确定候选推荐商品。其中,候选推荐商品可以是门店库存商品中符合防疫规则的商品。在一些实施例中,可以根据门店防疫评估信息判断门店中 库存商品是否符合防疫规则,将符合防疫规则的商品作为候选推荐商品,其中, 防疫规则可以根据当地的相关规章确定。例如,防疫规则可以包括门店中冷冻 产品的外包装需要每周进行核酸检测,在确定候选推荐商品时,可以判断门店 中冷冻产品的外包装是否每周进行了核酸检测,若是,则门店的冷冻产品可以 作为候选推荐商品。再例如,防疫规则可以包括肉制品必须上报来源,当门店 中肉制品不确定来源时,肉制品不能作为候选推荐商品。In some embodiments, the recommendation module 220 may determine candidate products based on store location information and store epidemic prevention assessment information. The candidate recommended products may be products that can be recommended to the user. For example, the recommendation module 220 determines at least one store near the user according to the store location information, determines the epidemic prevention situation of each store according to the epidemic prevention evaluation information of each store in the at least one store, and determines the merchants whose epidemic prevention measures are in place are selected as candidate merchants, and then the candidate merchants are selected. A candidate recommended product is determined among the merchants. For another example, the recommendation module determines at least one store that has implemented epidemic prevention measures according to the store's epidemic prevention assessment information, determines the stores near the user as candidate merchants according to the location information of each store in the at least one store, and then determines candidate recommended products among the candidate merchants. Among them, the candidate recommended products can be the products in the store's inventory that meet the epidemic prevention rules. In some embodiments, it can be judged whether the goods in stock in the store comply with the epidemic prevention rules according to the epidemic prevention evaluation information of the store, and the commodities that meet the epidemic prevention rules are used as candidate recommended commodities, wherein the epidemic prevention rules can be determined according to relevant local regulations. For example, the epidemic prevention rules may include that the outer packaging of frozen products in the store needs to undergo nucleic acid testing every week. When determining candidate recommended products, it can be determined whether the outer packaging of the frozen products in the store has undergone nucleic acid testing every week. Products can be used as candidate recommended products. For another example, the epidemic prevention rules may include that meat products must report the source. When the source of meat products in the store is uncertain, meat products cannot be used as candidate recommended products.

步骤530,基于用户相关信息以及候选推荐商品,通过推荐模型确定推荐 商品。Step 530, based on the user-related information and the candidate recommended commodities, determine the recommended commodities through the recommendation model.

在一些实施例中,可以通过第二推荐模型从候选商品中确定推荐商品。 在一些实施例中,第二推荐模型可以为卷积神经网络(Convolutional Neural Networks,CNN)、深度神经网络(Deep Neural Networks,DNN)、长短期记忆(Long Short-Term Memory,LSTM)模型等神经网络模型。在一些实施例中,第二推荐 模型还可以是其他模型,例如,可以为支持向量机模型、Logistic回归模型、朴 素贝叶斯分类模型、高斯分布贝叶斯分类模型、决策树模型、随机森林模型以 及KNN分类模型等机器学习算法或模型。In some embodiments, the recommended item may be determined from the candidate items by the second recommendation model. In some embodiments, the second recommendation model may be a neural network such as Convolutional Neural Networks (CNN), Deep Neural Networks (DNN), and Long Short-Term Memory (LSTM) models. network model. In some embodiments, the second recommendation model may also be other models, for example, support vector machine model, logistic regression model, naive Bayesian classification model, Gaussian distribution Bayesian classification model, decision tree model, random forest models and machine learning algorithms or models such as KNN classification models.

在一些实施例中,第二推荐模型的输入可以包括处于隔离状态的用户相 关信息和候选推荐商品,第二推荐模型的输出可以是推荐商品。In some embodiments, the input of the second recommendation model may include user-related information in an isolated state and candidate recommended products, and the output of the second recommendation model may be recommended products.

在一些实施例中,第二推荐模型可以基于历史数据训练得到。即可以将 带有标签的训练样本输入初始第二推荐模型,通过随机梯度下降等优化方法训 练更新初始第二推荐模型的参数,当训练的模型满足预设条件时,训练结束, 获取训练好的推荐模型。训练样本可以为历史数据中历史用户相关数据,标签 为用户历史购买的商品。In some embodiments, the second recommendation model may be trained based on historical data. That is, the labeled training samples can be input into the initial second recommended model, and the parameters of the initial second recommended model can be trained and updated by optimization methods such as stochastic gradient descent. When the trained model meets the preset conditions, the training ends and the trained model is obtained. recommended model. The training samples can be the historical user-related data in the historical data, and the labels are the commodities purchased by the user in the past.

关于用户相关信息、历史用户相关信息的详细描述可参见步骤320中的 相关内容。For a detailed description of the user-related information and historical user-related information, please refer to the related content in step 320.

在一些实施例中,还可以通过预设算法基于用户对候选推荐商品的喜好 值确定推荐商品。喜好值可以描述用户购买该商品的倾向或购买概率,例如, 候选推荐商品的喜好值越高,则用户越可能购买该商品。In some embodiments, the recommended product may also be determined based on the user's preference value for the candidate recommended product through a preset algorithm. The preference value may describe the user's tendency to purchase the product or the purchase probability. For example, the higher the preference value of the candidate recommended product, the more likely the user is to purchase the product.

在一些实施例中,推荐模块220可以根据用户相关信息生成用户喜好特 征向量,并根据候选推荐商品生成候选推荐商品特征向量。其中,用户喜好特 征向量可以根据用户购买过的商品种类确定,例如,用户喜好特征向量为(L1, L2,L3),L1、L2、L3分别代表用户购买过的不同的商品种类;候选推荐商品 特征向量可以根据候选商品的种类确定,例如,候选推荐商品特征向量为(R1, R2,R3),R1、R2、R3分别代表用户购买过的不同的商品种类。在一些实施 例中,可以通过用户喜好特征向量以及候选推荐商品特征向量确定各个候选推 荐商品的喜好值,例如,可以将对比用户喜好特征向量以及候选推荐商品特征 向量进行向量内积,将内积结果作为各个候选推荐商品的喜好值。In some embodiments, the recommendation module 220 may generate a user preference feature vector according to the user-related information, and generate a candidate recommended product feature vector according to the candidate recommended product. Among them, the user preference feature vector can be determined according to the types of commodities the user has purchased. For example, the user preference feature vector is (L1, L2, L3), and L1, L2, and L3 represent different commodity categories that the user has purchased; candidate recommended commodities The feature vector can be determined according to the category of the candidate product. For example, the feature vector of the candidate recommended product is (R1, R2, R3), where R1, R2, and R3 represent different product categories that the user has purchased. In some embodiments, the preference value of each candidate recommended product may be determined by the user preference feature vector and the candidate recommended product feature vector. For example, the vector inner product may be performed on the user preference feature vector and the candidate recommended product feature vector, and the inner product The result is used as the preference value of each candidate recommended product.

在一些实施例中,可以选取喜好值满足预设规则的候选推荐商品作为被 推荐商品。在一些实施例中,预设规则可以包括预设阈值,即当候选推荐商品 的偏好值大于阈值预设值时可以将该候选推荐商品作为被推荐商品并推送给用 户。在一些实施例中,预设规则可以包括排序规则,即可以选取候选推荐商品 中偏好值排序前N名的商品作为被推荐商品并推送给用户。In some embodiments, candidate recommended products whose preference value satisfies preset rules may be selected as recommended products. In some embodiments, the preset rule may include a preset threshold, that is, when the preference value of the candidate recommended commodity is greater than the threshold preset value, the candidate recommended commodity may be regarded as a recommended commodity and pushed to the user. In some embodiments, the preset rules may include sorting rules, that is, the top N products in the preference value ranking among the candidate recommended products may be selected as the recommended products and pushed to the user.

图6根据本说明书的一些实施例提供了另一种确定推荐商品的方法流程 图。在一些实施例中,流程600可以由处理器120执行。如图6所示,流程600 包括以下步骤:Fig. 6 provides a flowchart of another method for determining recommended items according to some embodiments of the present specification. In some embodiments, process 600 may be performed by processor 120 . As shown in Figure 6, the process 600 includes the following steps:

步骤610,确定用户邻近区域潜在隔离用户的消费情况,并基于潜在隔离 用户的消费情况确定参考商品。Step 610: Determine the consumption situation of the potential isolated user in the user's vicinity, and determine the reference commodity based on the consumption situation of the potential isolated user.

邻近区域可以指处于隔离状态的用户的周边区域,例如,邻近区域可以 是用户的预设距离(如1.2km、2.5km等)内的区域。The adjacent area may refer to the surrounding area of the user in an isolated state, for example, the adjacent area may be an area within a preset distance (such as 1.2km, 2.5km, etc.) of the user.

在一些实施例中,邻近区域可以根据用户的邻近门店确定,例如,可以 根据用户的位置信息确定用户的邻近门店,基于邻近门店的辐射范围确定邻近 区域。其中,邻近门店的辐射范围可以指门店能提供购物服务的区域,辐射范 围可以与门店的规模、地理位置以及交通情况相关。In some embodiments, the adjacent area may be determined according to the user's adjacent stores, for example, the user's adjacent stores may be determined according to the user's location information, and the adjacent areas may be determined based on the radiation range of the adjacent stores. Among them, the radiation range of adjacent stores can refer to the area where the store can provide shopping services, and the radiation range can be related to the size, geographical location and traffic conditions of the store.

潜在隔离用户可以指可能处于隔离状态的用户,例如,潜在隔离用户可 以包括评估分数不低于60分的用户。关于隔离状态的具体判断方法可以参考步 骤310以及图4的相关描述,在此不做作赘述。Potential quarantined users may refer to users who may be in quarantine, for example, potential quarantined users may include users with an evaluation score of not less than 60. For the specific method of judging the isolation state, reference may be made to step 310 and the related description of FIG. 4 , which will not be repeated here.

参考商品可以是潜在隔离用户的购买的商品,例如,潜在隔离用户A的 消费情况中包括即食食品的购买记录,则即食食品可以作为参考商品。The reference commodity can be the commodity purchased by the potential quarantined user. For example, if the consumption situation of the potential quarantined user A includes the purchase record of ready-to-eat food, the ready-to-eat food can be used as the reference commodity.

在一些实施例中参考商品可以根据潜在隔离用户的购买情况确定。例如, 推荐模块220可以根据确定好的潜在隔离用户从服务器中获取该潜在隔离用户 的历史购买信息,根据历史购买信息中的商品信息,确定参考商品。其中,可 以将历史购买商品中的所有商品作为参考商品,也可以将其中的隔离类商品作 为参考商品,具体可视实际情况确定。In some embodiments the reference item may be determined based on the purchases of potential quarantined users. For example, the recommendation module 220 may obtain the historical purchase information of the potential isolated user from the server according to the determined potential isolated user, and determine the reference product according to the product information in the historical purchase information. Among them, all the commodities in the historically purchased commodities can be used as reference commodities, and the quarantined commodities can also be used as reference commodities, which can be determined according to the actual situation.

步骤620,基于参考商品调整推荐商品的权重。Step 620: Adjust the weight of the recommended product based on the reference product.

在一些实施例中,推荐模块220可以通过推荐模型确定推荐商品,并根 据参考商品调整推荐商品的权重。在一些实施例中,推荐模块220可以根据推 荐商品与参考商品的匹配程度调整推荐商品的权重,权重高的推荐商品可以被 优先显示或被标记,其中,推荐商品与参考商品的匹配程度可以通过二者特征 向量间的距离确定。例如,推荐模块220确定了商品A、商品B、商品C、商品 D为推荐商品,其中,根据潜在隔离用户的消费情况确定的参考商品为商品B 和商品D,则在进行商品推荐时可以增加商品B和商品D的权重,如,优先显 示商品B、商品D,或在商品B、商品D的商品标签上标注“其他隔离/居家用 户也购买了该商品”等字样提示用户。In some embodiments, the recommendation module 220 may determine recommended commodities through a recommendation model, and adjust the weights of the recommended commodities according to the reference commodities. In some embodiments, the recommendation module 220 may adjust the weight of the recommended product according to the degree of matching between the recommended product and the reference product, and the recommended product with high weight may be displayed or marked with priority, wherein the matching degree of the recommended product and the reference product may be determined by The distance between the two feature vectors is determined. For example, the recommendation module 220 determines that commodity A, commodity B, commodity C, and commodity D are recommended commodities, wherein, the reference commodities determined according to the consumption situation of the potential isolated user are commodity B and commodity D, and can be added when recommending commodities. The weight of Commodity B and Commodity D. For example, Commodity B and Commodity D are displayed first, or the words "other quarantined/home users have also purchased this commodity" are displayed on the commodity labels of Commodity B and Commodity D to remind users.

关于确定推荐商品的详细内容可以参见图3、图5及其相关描述。For details on determining the recommended products, please refer to FIG. 3 , FIG. 5 and their related descriptions.

应当注意的是,上述有关流程300-600的描述仅仅是为了示例和说明,而 不限定本说明书的适用范围。对于本领域技术人员来说,在本说明书的指导下 可以对流程300-600进行各种修正和改变。然而,这些修正和改变仍在本说明书 的范围之内。It should be noted that the above descriptions about the processes 300-600 are only for example and illustration, and do not limit the scope of application of this specification. Various modifications and changes can be made to the processes 300-600 to those skilled in the art under the guidance of this specification. However, such corrections and changes are still within the scope of this specification.

本说明书一些实施例可能带来的有益效果包括但不限于:(1)对用户是 否处于隔离状态进行判断,并基于用户隔离状态为用户提供跟准确的商品推荐。 (2)通过对用户在不同时间段消费习惯进行对比,提高对用户是否处于隔离状 态判断的准确性。(3)基于推荐模型为用户推荐商品,可以使被推荐商品满足 用户的偏好,提高商品推荐的准确性。(4)考虑到门店以及周边区域潜在隔离 用户的影响,在推荐商品时更容易形成团购,方便门店指定销售计划。The possible beneficial effects of some embodiments of this specification include, but are not limited to: (1) Judging whether the user is in an isolation state, and providing users with accurate product recommendations based on the user isolation state. (2) By comparing the consumption habits of users in different time periods, the accuracy of judging whether the user is in an isolated state is improved. (3) Recommend products for users based on the recommendation model, which can make the recommended products meet the user's preferences and improve the accuracy of product recommendation. (4) Considering the impact of potential isolated users in stores and surrounding areas, it is easier to form group purchases when recommending products, and it is convenient for stores to specify sales plans.

需要说明的是,不同实施例可能产生的有益效果不同,在不同的实施例 里,可能产生的有益效果可以是以上任意一种或几种的组合,也可以是其他任 何可能获得的有益效果。It should be noted that different embodiments may have different beneficial effects, and in different embodiments, the possible beneficial effects may be any one or a combination of the above, or any other possible beneficial effects.

上文已对基本概念做了描述,显然,对于本领域技术人员来说,上述详 细披露仅仅作为示例,而并不构成对本说明书的限定。虽然此处并没有明确说 明,本领域技术人员可能会对本说明书进行各种修改、改进和修正。该类修改、 改进和修正在本说明书中被建议,所以该类修改、改进、修正仍属于本说明书 示范实施例的精神和范围。The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is merely an example, and does not constitute a limitation of the present specification. Although not explicitly described herein, various modifications, improvements and corrections to this specification may occur to those skilled in the art. Such modifications, improvements, and corrections are suggested in this specification, so such modifications, improvements, and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.

同时,本说明书使用了特定词语来描述本说明书的实施例。如“一个实施 例”、“一实施例”、和/或“一些实施例”意指与本说明书至少一个实施例相关的某 一特征、结构或特点。因此,应强调并注意的是,本说明书中在不同位置两次 或多次提及的“一实施例”或“一个实施例”或“一个替代性实施例”并不一定是指 同一实施例。此外,本说明书的一个或多个实施例中的某些特征、结构或特点 可以进行适当的组合。Meanwhile, the present specification uses specific words to describe the embodiments of the present specification. References such as "one embodiment," "an embodiment," and/or "some embodiments" mean a certain feature, structure, or characteristic associated with at least one embodiment of this specification. Therefore, it should be emphasized and noted that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various places in this specification are not necessarily referring to the same embodiment . Furthermore, certain features, structures or characteristics of the one or more embodiments of this specification may be combined as appropriate.

此外,除非权利要求中明确说明,本说明书所述处理元素和序列的顺序、 数字字母的使用、或其他名称的使用,并非用于限定本说明书流程和方法的顺 序。尽管上述披露中通过各种示例讨论了一些目前认为有用的发明实施例,但 应当理解的是,该类细节仅起到说明的目的,附加的权利要求并不仅限于披露 的实施例,相反,权利要求旨在覆盖所有符合本说明书实施例实质和范围的修 正和等价组合。例如,虽然以上所描述的系统组件可以通过硬件设备实现,但 是也可以只通过软件的解决方案得以实现,如在现有的服务器或移动设备上安 装所描述的系统。Furthermore, unless explicitly stated in the claims, the order of processing elements and sequences described in this specification, the use of alphanumerics, or the use of other names is not intended to limit the order of the processes and methods of this specification. While the foregoing disclosure discusses by way of various examples some embodiments of the invention that are presently believed to be useful, it is to be understood that such details are for purposes of illustration only and that the appended claims are not limited to the disclosed embodiments, but rather The requirements are intended to cover all modifications and equivalent combinations falling within the spirit and scope of the embodiments of this specification. For example, although the system components described above may be implemented by hardware devices, it may also be implemented by software-only solutions, such as installing the described systems on existing servers or mobile devices.

同理,应当注意的是,为了简化本说明书披露的表述,从而帮助对一个 或多个发明实施例的理解,前文对本说明书实施例的描述中,有时会将多种特 征归并至一个实施例、附图或对其的描述中。但是,这种披露方法并不意味着 本说明书对象所需要的特征比权利要求中提及的特征多。实际上,实施例的特 征要少于上述披露的单个实施例的全部特征。Similarly, it should be noted that, in order to simplify the expressions disclosed in this specification and thus help the understanding of one or more embodiments of the invention, in the foregoing description of the embodiments of this specification, various features may sometimes be combined into one embodiment, in the drawings or descriptions thereof. However, this method of disclosure does not imply that the subject matter of the description requires more features than are recited in the claims. In practice, there are fewer features of an embodiment than all of the features of a single embodiment disclosed above.

一些实施例中使用了描述成分、属性数量的数字,应当理解的是,此类 用于实施例描述的数字,在一些示例中使用了修饰词“大约”、“近似”或“大体上” 来修饰。除非另外说明,“大约”、“近似”或“大体上”表明所述数字允许有±20% 的变化。相应地,在一些实施例中,说明书和权利要求中使用的数值参数均为 近似值,该近似值根据个别实施例所需特点可以发生改变。在一些实施例中, 数值参数应考虑规定的有效数位并采用一般位数保留的方法。尽管本说明书一 些实施例中用于确认其范围广度的数值域和参数为近似值,在具体实施例中, 此类数值的设定在可行范围内尽可能精确。Some examples use numbers to describe quantities of components and attributes, it should be understood that such numbers used to describe the examples, in some examples, use the modifiers "about", "approximately" or "substantially" to retouch. Unless stated otherwise, "about", "approximately" or "substantially" means that a variation of ±20% is allowed for the stated number. Accordingly, in some embodiments, the numerical parameters set forth in the specification and claims are approximations that can vary depending upon the desired characteristics of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and use a general digit reservation method. Notwithstanding that the numerical fields and parameters used in some embodiments of this specification to confirm the breadth of their ranges are approximations, in specific embodiments, such numerical values are set as precisely as practicable.

针对本说明书引用的每个专利、专利申请、专利申请公开物和其他材料, 如文章、书籍、说明书、出版物、文档等,特此将其全部内容并入本说明书作 为参考。与本说明书内容不一致或产生冲突的申请历史文件除外,对本说明书 权利要求最广范围有限制的文件(当前或之后附加于本说明书中的)也除外。 需要说明的是,如果本说明书附属材料中的描述、定义、和/或术语的使用与本 说明书所述内容有不一致或冲突的地方,以本说明书的描述、定义和/或术语的 使用为准。For each patent, patent application, patent application publication, and other material, such as articles, books, specifications, publications, documents, etc., cited in this specification, the entire contents of which are hereby incorporated by reference into this specification are hereby incorporated by reference. Application history documents that are inconsistent with or conflict with the contents of this specification are excluded, as are documents (currently or hereafter appended to this specification) limiting the broadest scope of the claims of this specification. It should be noted that, if there is any inconsistency or conflict between the descriptions, definitions and/or use of terms in the accompanying materials of this specification and the contents of this specification, the descriptions, definitions and/or use of terms in this specification shall prevail .

最后,应当理解的是,本说明书中所述实施例仅用以说明本说明书实施 例的原则。其他的变形也可能属于本说明书的范围。因此,作为示例而非限制, 本说明书实施例的替代配置可视为与本说明书的教导一致。相应地,本说明书 的实施例不仅限于本说明书明确介绍和描述的实施例。Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations are also possible within the scope of this specification. Accordingly, by way of example and not limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to those expressly introduced and described in this specification.

Claims (10)

1.一种基于机器学习的商品推荐方法,包括:1. A product recommendation method based on machine learning, comprising: 基于用户在第一时间内的消费情况和位置信息,判断所述用户是否处于隔离状态;Determine whether the user is in isolation based on the user's consumption situation and location information within the first time; 响应于所述用户处于隔离状态,通过推荐模型确定推送给所述用户的推荐商品。In response to the user being in an isolated state, a recommended product to be pushed to the user is determined through a recommendation model. 2.如权利要求1所述的商品推荐方法,所述基于用户在第一时间内的消费情况和位置信息,判断所述用户是否处于隔离状态,包括:2. The product recommendation method according to claim 1, wherein determining whether the user is in an isolated state based on the user's consumption situation and location information in the first time, comprising: 基于所述用户在所述第一时间段的消费习惯和所述用户在第二时间段的消费习惯的差异,确定所述用户的评估分数,所述第二时间段为所述第一时间段之前且长度相同的时间段;An evaluation score of the user is determined based on the difference between the consumption habits of the user in the first time period and the consumption habits of the user in a second time period, where the second time period is the first time period a previous period of the same length; 根据所述用户的所述评估分数确定用户是否处于隔离状态。Whether the user is in quarantine is determined according to the evaluation score of the user. 3.如权利要求1所述的商品推荐方法,所述响应于所述用户处于隔离状态,通过推荐模型确定推送给所述用户的推荐商品,包括:3. The product recommendation method according to claim 1, wherein in response to the user being in an isolated state, determining the recommended product to be pushed to the user through a recommendation model, comprising: 基于门店位置信息和门店防疫评估信息,确定候选推荐商品;Based on store location information and store epidemic prevention assessment information, determine candidate recommended products; 通过所述推荐模型从所述候选推荐商品中确定所述推荐商品。The recommended product is determined from the candidate recommended products through the recommendation model. 4.如权利要求1所述的商品推荐方法,所述响应于用户处于隔离状态,通过推荐模型确定推送给所述用户的推荐商品,包括:4. The product recommendation method according to claim 1, wherein in response to the user being in an isolated state, determining the recommended product to be pushed to the user through a recommendation model, comprising: 基于所述用户的所述位置信息,确定邻近区域内的潜在隔离用户;based on the location information of the user, determining a potential quarantined user in the vicinity; 确定所述潜在隔离用户的消费情况,并基于所述潜在隔离用户的消费情况确定参考商品;determining the consumption situation of the potential quarantined user, and determining the reference commodity based on the consumption situation of the potential quarantined user; 基于所述参考商品,通过推荐模型确定所述推荐商品。Based on the reference item, the recommended item is determined through a recommendation model. 5.一种基于机器学习的商品推荐系统,包括:5. A product recommendation system based on machine learning, comprising: 判断模块,用于基于用户在第一时间内的消费情况和位置信息,判断所述用户是否处于隔离状态;a judgment module, used for judging whether the user is in an isolated state based on the user's consumption situation and location information within the first time; 推荐模块,用于响应于所述用户处于隔离状态,通过推荐模型确定向所述用户推荐的商品。A recommendation module, configured to determine, through a recommendation model, a commodity recommended to the user in response to the user being in an isolated state. 6.如权利要求5所述的商品推荐系统,所述判断模块进一步用于:6. The product recommendation system according to claim 5, wherein the judging module is further used for: 基于所述用户在所述第一时间段的购买习惯和所述用户在第二时间段的购买习惯的差异,确定所述用户的评估分数,所述第二时间段为所述第一时间段之前且长度相同的时间段;Determine the user's evaluation score based on the difference between the user's purchasing habits in the first time period and the user's purchasing habits in a second time period, where the second time period is the first time period a previous period of the same length; 根据所述用户的所述评估分数确定用户是否处于隔离状态。Whether the user is in quarantine is determined according to the evaluation score of the user. 7.如权利要求5所述的商品推荐系统,所述推荐模块还用于:7. The product recommendation system according to claim 5, wherein the recommendation module is further used for: 基于门店位置信息和门店防疫评估信息,确定候选推荐商品;Based on store location information and store epidemic prevention assessment information, determine candidate recommended products; 通过推荐模型从所述候选推荐商品中确定所述推荐商品。The recommended product is determined from the candidate recommended products through a recommendation model. 8.如权利要求5所述的商品推荐系统,所述推荐模块还用于:8. The product recommendation system according to claim 5, wherein the recommendation module is further used for: 基于所述用户的所述位置信息,确定邻近区域内的潜在隔离用户;based on the location information of the user, determining a potential quarantined user in the vicinity; 确定所述潜在隔离用户的消费情况,并基于所述潜在隔离用户的消费情况确定参考商品;determining the consumption situation of the potential quarantined user, and determining the reference commodity based on the consumption situation of the potential quarantined user; 基于所述参考商品,通过推荐模型确定所述推荐商品。Based on the reference item, the recommended item is determined through a recommendation model. 9.一种基于机器学习的商品推荐装置,包括处理器,所述处理器用于执行权利要求1~4中任一项所述的基于机器学习的商品推荐方法。9 . An apparatus for recommending products based on machine learning, comprising a processor configured to execute the method for recommending products based on machine learning according to any one of claims 1 to 4 . 10 . 10.一种计算机可读存储介质,所述存储介质存储计算机指令,当计算机读取存储介质中的计算机指令后,计算机执行如权利要求1~4任一项所述的基于机器学习的商品推荐方法。10. A computer-readable storage medium, the storage medium stores computer instructions, and after the computer reads the computer instructions in the storage medium, the computer executes the product recommendation based on machine learning according to any one of claims 1 to 4 method.
CN202210259968.0A 2022-03-16 2022-03-16 A product recommendation method based on machine learning Pending CN114971761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210259968.0A CN114971761A (en) 2022-03-16 2022-03-16 A product recommendation method based on machine learning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210259968.0A CN114971761A (en) 2022-03-16 2022-03-16 A product recommendation method based on machine learning

Publications (1)

Publication Number Publication Date
CN114971761A true CN114971761A (en) 2022-08-30

Family

ID=82976285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210259968.0A Pending CN114971761A (en) 2022-03-16 2022-03-16 A product recommendation method based on machine learning

Country Status (1)

Country Link
CN (1) CN114971761A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182625A (en) * 2017-12-28 2018-06-19 广州品唯软件有限公司 A kind of electric business user Method of Commodity Recommendation and device
CN109214893A (en) * 2018-08-31 2019-01-15 深圳春沐源控股有限公司 Method of Commodity Recommendation, recommender system and computer installation
CN110532462A (en) * 2019-07-25 2019-12-03 北京三快在线科技有限公司 A kind of recommended method, device, equipment and readable storage medium storing program for executing
CN110969512A (en) * 2019-12-02 2020-04-07 深圳市云积分科技有限公司 Commodity recommendation method and device based on user purchasing behavior
CN111046297A (en) * 2020-03-12 2020-04-21 深圳市成功快车科技有限公司 Service intelligent matching recommendation method, device, equipment and storage medium based on machine learning algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182625A (en) * 2017-12-28 2018-06-19 广州品唯软件有限公司 A kind of electric business user Method of Commodity Recommendation and device
CN109214893A (en) * 2018-08-31 2019-01-15 深圳春沐源控股有限公司 Method of Commodity Recommendation, recommender system and computer installation
CN110532462A (en) * 2019-07-25 2019-12-03 北京三快在线科技有限公司 A kind of recommended method, device, equipment and readable storage medium storing program for executing
CN110969512A (en) * 2019-12-02 2020-04-07 深圳市云积分科技有限公司 Commodity recommendation method and device based on user purchasing behavior
CN111046297A (en) * 2020-03-12 2020-04-21 深圳市成功快车科技有限公司 Service intelligent matching recommendation method, device, equipment and storage medium based on machine learning algorithm

Similar Documents

Publication Publication Date Title
JP6516809B2 (en) INFORMATION ANALYSIS DEVICE, INFORMATION ANALYSIS METHOD, AND PROGRAM
US20140279208A1 (en) Electronic shopping system and service
US20130268317A1 (en) Arrangement for facilitating shopping and related method
JP2010500647A (en) A method for predicting cardmember spending using collaborative filtering
JP2019144950A (en) Recommendation information specifying apparatus, recommendation information specifying system, recommendation information specifying method, and program
BR112019027187A2 (en) system for aggregating metadata of consumer behavior events in the store, data verification and artificial intelligence analysis for data interpretation and triggering associated action
US20210166179A1 (en) Item substitution techniques for assortment optimization and product fulfillment
JP2018139036A (en) Analysis equipment
CN112041874A (en) Computer-implemented method for generating a list of proposals and system for generating a list of orders
JP2018169646A (en) Integrated sales management system
CN110751501B (en) Commodity shopping guide method, device, equipment and storage medium
CN110348947B (en) Object recommendation method and device
JP2021099718A (en) Information processing device and program
JP3667726B2 (en) Sales management apparatus and method
JP2020107018A (en) System, method, and program for supporting circulation of medical products
US10467654B2 (en) Forecasting customer channel choice using cross-channel loyalty
CN115271884A (en) Multi-source data-based commodity selection method and device and electronic equipment
JP2019046172A (en) INFORMATION ANALYSIS DEVICE, INFORMATION ANALYSIS METHOD, AND PROGRAM
CN114971761A (en) A product recommendation method based on machine learning
JP7613439B2 (en) Information processing device, information processing system, information processing method, and program
US20240070491A1 (en) Simulating an application of a treatment on a demand side and a supply side associated with an online system
US11651329B2 (en) Machine readable technologies for the smart shipping of multiple products
US11861677B2 (en) Machine learning model for click through rate prediction using three vector representations
JP7404120B2 (en) Information processing device, information processing method, and information processing program
CN113935529A (en) Method, device, equipment and medium for determining life cycle value of customer

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