技术领域technical field
本公开涉及终端技术领域,尤其涉及一种物品的推荐方法、装置及终端。The present disclosure relates to the technical field of terminals, and in particular to an item recommendation method, device and terminal.
背景技术Background technique
随着互联网技术及电商的发展,电商平台针对用户的购买记录,会对用户做出一些推荐,例如根据用户的浏览记录向用户推荐同类物品,或者根据用户的购买记录向用户推荐同类物品,等。With the development of Internet technology and e-commerce, e-commerce platforms will make some recommendations for users based on their purchase records, such as recommending similar items to users based on their browsing records, or recommending similar items to users based on their purchase records. ,Wait.
但是实际上,对于很多物品,例如大型家电,用户购买之后短期之内并不会再次购买,因而频繁的推荐同类物品会对用户造成打扰,不能满足用户的需求,用户体验欠佳。But in fact, for many items, such as large home appliances, users will not buy again in a short period of time after purchase, so frequent recommendation of similar items will disturb the user, cannot meet the needs of the user, and the user experience is not good.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开实施例提供一种物品的推荐方法、装置及终端,用以解决相关技术中推送的物品信息不能满足用户的真正需求,甚至对用户造成打扰等问题。In order to overcome the problems existing in the related technology, the embodiments of the present disclosure provide an item recommendation method, device and terminal to solve the problems in the related technology that the pushed item information cannot meet the real needs of the user, and even cause disturbance to the user.
根据本公开实施例的第一方面,提供一种物品的推荐方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for recommending an item is provided, including:
基于购买记录获取购买的每类物品的购买数据;Obtain the purchase data of each type of item purchased based on the purchase record;
基于所述购买数据确定对应类别物品的下次参考购买时间;Determining the next reference purchase time for items of the corresponding category based on the purchase data;
在距离所述下次参考购买时间为第一预设时间时,针对所述对应类别物品推荐相关物品在一实施例中,When the distance from the next reference purchase time is the first preset time, recommending related items for the items of the corresponding category. In an embodiment,
在一实施例中,所述基于购买记录获取购买的每类物品的购买数据,包括:In one embodiment, the acquisition of purchase data of each type of item purchased based on purchase records includes:
获取购买记录;Obtain purchase records;
根据购买记录获取购买的每类物品的物品名称和购买时间信息;Obtain the item name and purchase time information of each type of item purchased according to the purchase record;
根据所述物品名称确定所述每类物品分别所属的物品类别;determining the item category to which each type of item belongs according to the item name;
根据所述购买时间信息确定购买的每类物品的购买时间间隔。The purchase time interval of each type of item to be purchased is determined according to the purchase time information.
在一实施例中,所述根据所述物品名称确定所述每类物品分别所属的物品类别,包括:In one embodiment, the determining the category of items to which each type of item belongs according to the name of the item includes:
基于所述物品名称查找预存储的物品分类表,得到与所述物品名称对应的物品类别。A pre-stored item classification table is searched based on the item name to obtain an item category corresponding to the item name.
在一实施例中,所述基于所述购买数据确定对应类别物品的下次参考购买时间,包括:In one embodiment, the determining the next reference purchase time of the corresponding category of items based on the purchase data includes:
根据针对购买的每类物品的多个购买时间间隔计算平均时间间隔;calculating an average time interval based on multiple purchase intervals for each type of item purchased;
基于所述平均时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间。Based on the average time interval and the last purchase time, the next reference purchase time of the corresponding category of items is calculated.
在一实施例中,所述基于所述购买数据确定对应类别物品的下次参考购买时间,包括:In one embodiment, the determining the next reference purchase time of the corresponding category of items based on the purchase data includes:
确定针对购买的每类物品的多个购买时间间隔中的最短时间间隔;determining the shortest time interval of the plurality of purchase time intervals for each type of item purchased;
基于所述最短时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间。Based on the shortest time interval and the last purchase time, the next reference purchase time of the corresponding category of items is calculated.
在一实施例中,所述基于所述购买数据确定对应类别物品的下次参考购买时间,包括:In one embodiment, the determining the next reference purchase time of the corresponding category of items based on the purchase data includes:
在购买的每类物品的购买次数为一次时,获取对应物品的物品类别的平均参考购买时间;When the number of purchases of each type of item purchased is one, the average reference purchase time of the item category of the corresponding item is obtained;
基于所述平均参考购买时间和最后一次购买时间计算对应类别物品的下次购买时间。Based on the average reference purchase time and the last purchase time, the next purchase time of the item of the corresponding category is calculated.
在一实施例中,所述基于所述购买数据确定对应类别物品的下次参考购买时间,包括:In one embodiment, the determining the next reference purchase time of the corresponding category of items based on the purchase data includes:
在购买的物品为食品时,基于所述食品的物品名称确定保质期;When the purchased item is food, the shelf life is determined based on the item name of the food;
确定所述食品的购买数量;determine the purchase quantity of said food;
基于所述保质期、最后一次购买时间和购买数量确定对应类别物品的下次参考购买时间。Based on the shelf life, the last purchase time and the purchase quantity, the next reference purchase time of the corresponding category of items is determined.
在一实施例中,所述在距离所述下次参考购买时间为第一预设时间时,针对所述对应类别物品推荐相关物品,包括:In one embodiment, when the distance from the next reference purchase time is the first preset time, recommending related items for the corresponding category of items includes:
基于所述对应类别物品的物品属性确定待推荐相关物品;determining related items to be recommended based on item attributes of items of the corresponding category;
在距离所述下次参考购买时间为第一预设时间时,推送所述待推荐相关物品的物品信息。When the distance from the next reference purchase time is a first preset time, the item information of the related item to be recommended is pushed.
在一实施例中,所述物品属性包括品牌、产地、价格、颜色、尺码中的一项或多项。In one embodiment, the item attributes include one or more of brand, origin, price, color, and size.
在一实施例中,所述基于所述购买数据确定对应类别物品的下次参考购买时间之后,所述方法还包括:In an embodiment, after determining the next reference purchase time of the corresponding category item based on the purchase data, the method further includes:
确定所述对应类别物品的关联使用物品;Determining the associated use items of the items of the corresponding category;
在距离所述第一预设时间之前为第二预设时间时,推送所述关联使用物品的物品信息。When the second preset time is before the first preset time, the item information of the associated used item is pushed.
根据本公开实施例的第二方面,提供一种物品的推荐装置,包括:According to a second aspect of an embodiment of the present disclosure, an item recommendation device is provided, including:
获取模块,被配置为基于购买记录获取购买的每类物品的购买数据;An acquisition module configured to acquire purchase data of each type of item purchased based on the purchase record;
第一确定模块,被配置为基于所述购买数据确定对应类别物品的下次参考购买时间;The first determination module is configured to determine the next reference purchase time of the corresponding category of items based on the purchase data;
推荐模块,被配置为在距离所述下次参考购买时间为第一预设时间时,针对所述对应类别物品推荐相关物品。The recommendation module is configured to recommend related items for the items of the corresponding category when the next reference purchase time is a first preset time.
在一实施例中,所述获取模块包括:In one embodiment, the acquisition module includes:
第一获取子模块,被配置为获取购买记录;The first acquisition sub-module is configured to acquire purchase records;
第二获取子模块,被配置为根据购买记录获取购买的每类物品的物品名称和购买时间信息;The second acquisition submodule is configured to acquire the item name and purchase time information of each type of item purchased according to the purchase record;
第一确定子模块,被配置为根据所述物品名称确定所述每类物品分别所属的物品类别;The first determination submodule is configured to determine the item category to which each type of item belongs according to the item name;
第二确定子模块,被配置为根据所述购买时间信息确定购买的每类物品的购买时间间隔。The second determination submodule is configured to determine the purchase time interval of each type of item purchased according to the purchase time information.
在一实施例中,所述第一确定子模块包括:In one embodiment, the first determining submodule includes:
查找子模块,被配置为基于所述物品名称查找预存储的物品分类表,得到与所述物品名称对应的物品类别。The search submodule is configured to search a pre-stored item classification table based on the item name to obtain the item category corresponding to the item name.
在一实施例中,所述第一确定模块包括:In one embodiment, the first determination module includes:
第一计算子模块,被配置为根据针对购买的每类物品的多个购买时间间隔计算平均时间间隔;The first calculation submodule is configured to calculate an average time interval according to a plurality of purchase time intervals for each type of item purchased;
第二计算子模块,被配置为基于所述平均时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间。The second calculation submodule is configured to calculate the next reference purchase time of the corresponding category of items based on the average time interval and the last purchase time.
在一实施例中,所述第一确定模块包括:In one embodiment, the first determination module includes:
第三确定子模块,被配置为确定针对购买的每类物品的多个购买时间间隔中的最短时间间隔;The third determination submodule is configured to determine the shortest time interval among multiple purchase time intervals for each type of item purchased;
第三计算子模块,被配置为基于所述最短时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间。The third calculation submodule is configured to calculate the next reference purchase time of the corresponding category of items based on the shortest time interval and the last purchase time.
在一实施例中,所述第一确定模块包括:In one embodiment, the first determination module includes:
第三获取子模块,被配置为在购买的每类物品的购买次数为一次时,获取对应物品的物品类别的平均参考购买时间;The third acquisition sub-module is configured to acquire the average reference purchase time of the item category of the corresponding item when the number of purchases of each type of item is one;
第四计算子模块,被配置为基于所述平均参考购买时间和最后一次购买时间计算对应类别物品的下次购买时间。The fourth calculation submodule is configured to calculate the next purchase time of the corresponding category item based on the average reference purchase time and the last purchase time.
在一实施例中,所述第一确定模块包括:In one embodiment, the first determination module includes:
第四确定子模块,被配置为在购买的物品为食品时,基于所述食品的物品名称确定保质期;The fourth determining submodule is configured to determine the shelf life based on the item name of the food when the purchased item is food;
第五确定子模块,被配置为确定所述食品的购买数量;The fifth determining submodule is configured to determine the purchase quantity of the food;
第六确定子模块,被配置为基于所述保质期、最后一次购买时间和购买数量确定对应类别物品的下次参考购买时间。The sixth determination submodule is configured to determine the next reference purchase time of the corresponding category of items based on the shelf life, the last purchase time and the purchase quantity.
在一实施例中,所述推荐模块包括:In one embodiment, the recommendation module includes:
第七确定子模块,被配置为基于所述对应类别物品的物品属性确定待推荐相关物品;The seventh determination submodule is configured to determine related items to be recommended based on item attributes of items of the corresponding category;
第一推送子模块,被配置为在距离所述下次参考购买时间为第一预设时间时,推送所述待推荐相关物品的物品信息。The first push sub-module is configured to push the item information of the related item to be recommended when the distance from the next reference purchase time is a first preset time.
在一实施例中,所述物品属性包括品牌、产地、价格、颜色、尺码中的一项或多项。In one embodiment, the item attributes include one or more of brand, origin, price, color, and size.
在一实施例中,所述装置还包括:In one embodiment, the device also includes:
第二确定模块,被配置为确定所述对应类别物品的关联使用物品;The second determination module is configured to determine the associated use items of the items of the corresponding category;
推送模块,被配置为在距离所述第一预设时间之前为第二预设时间时,推送所述关联使用物品的物品信息。The push module is configured to push the item information of the associated used item when the second preset time is before the first preset time.
根据本公开实施例的第三方面,提供一种终端,包括:According to a third aspect of the embodiments of the present disclosure, a terminal is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
基于购买记录获取购买的每类物品的购买数据;Obtain the purchase data of each type of item purchased based on the purchase record;
基于所述购买数据确定对应类别物品的下次参考购买时间;Determining the next reference purchase time for items of the corresponding category based on the purchase data;
在距离所述下次参考购买时间为第一预设时间时,针对所述对应类别物品推荐相关物品。When the distance from the next reference purchase time is a first preset time, related items are recommended for the items of the corresponding category.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开中的终端通过根据购买数据确定各类物品的下次参考购买时间,从而仅在距离下次参考购买时间为第一预设时间时,才对用户进行相关物品的推送,从而增强了推荐的针对性,避免过多的同类推荐对用户造成的打扰,优化用户体验。The terminal in the present disclosure determines the next reference purchase time of various items according to the purchase data, so that the user will push related items only when the next reference purchase time is the first preset time, thereby enhancing the recommendation Pertinence, avoid disturbing users caused by too many similar recommendations, and optimize user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1A是根据一示例性实施例示出的一种物品的推荐方法的流程图。Fig. 1A is a flowchart of a method for recommending items according to an exemplary embodiment.
图1B是根据一示例性实施例示出的一种物品的推荐方法的场景图。Fig. 1B is a scene diagram showing a method for recommending items according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种物品的推荐方法的流程图。Fig. 2 is a flowchart of another item recommendation method according to an exemplary embodiment.
图3是根据一示例性实施例示出的另一种物品的推荐方法的流程图。Fig. 3 is a flowchart of another item recommendation method according to an exemplary embodiment.
图4是根据一示例性实施例示出的另一种物品的推荐方法的流程图。Fig. 4 is a flowchart of another item recommendation method according to an exemplary embodiment.
图5是根据一示例性实施例示出的另一种物品的推荐方法的流程图。Fig. 5 is a flowchart of another item recommendation method according to an exemplary embodiment.
图6是根据一示例性实施例示出的另一种物品的推荐方法的流程图。Fig. 6 is a flowchart of another item recommendation method according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种物品的推荐装置的框图。Fig. 7 is a block diagram of an item recommendation device according to an exemplary embodiment.
图8是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 8 is a block diagram of another device for recommending items according to an exemplary embodiment.
图9是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 9 is a block diagram of another device for recommending items according to an exemplary embodiment.
图10是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 10 is a block diagram of another device for recommending items according to an exemplary embodiment.
图11是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 11 is a block diagram of another device for recommending items according to an exemplary embodiment.
图12是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 12 is a block diagram of another device for recommending items according to an exemplary embodiment.
图13是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 13 is a block diagram of another device for recommending items according to an exemplary embodiment.
图14是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 14 is a block diagram of another device for recommending items according to an exemplary embodiment.
图15是根据一示例性实施例示出的另一种物品的推荐装置的框图。Fig. 15 is a block diagram of another device for recommending items according to an exemplary embodiment.
图16是根据一示例性实施例示出的一种适用于物品的推荐装置的框图。Fig. 16 is a block diagram showing a device for recommending items according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
图1A是根据一示例性实施例示出的一种物品的推荐方法的流程图,图1B是根据一示例性实施例示出的一种物品的推荐方法的场景图,该物品的推荐方法可以应用在终端上,本公开中的终端可以是任何具有上网功能的智能终端,例如,可以具体为手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)等。其中,终端可以通过无线局域网接入路由器,并通过路由器访问公网上的服务器。如图1A所示,该物品的推荐方法包括以下步骤101-103:Fig. 1A is a flowchart of a method for recommending an item according to an exemplary embodiment, and Fig. 1B is a scene diagram of a method for recommending an item according to an exemplary embodiment, and the method for recommending an item can be applied in As for the terminal, the terminal in the present disclosure may be any intelligent terminal with an Internet access function, for example, it may specifically be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant) and the like. Wherein, the terminal can access the router through the wireless local area network, and access the server on the public network through the router. As shown in FIG. 1A , the item recommendation method includes the following steps 101-103:
在步骤101中,基于购买记录获取购买的每类物品的购买数据。In step 101, purchase data of each type of item purchased is obtained based on purchase records.
在一实施例中,终端上可以安装有购物类App(Application,应用程序),例如淘宝、京东等,用户可以通过购物类App购买商品,App中会对用户的购物行为进行记录,例如浏览过的商品、购买过的商品、购买的商品的时间、名称、金额等信息,终端通过读取App中的购买记录,能够得到用户所购买的每类物品的购买数据。In one embodiment, a shopping App (Application, application program), such as Taobao, Jingdong, etc., may be installed on the terminal. The product, the purchased product, the time, name, amount and other information of the purchased product, the terminal can obtain the purchase data of each type of item purchased by the user by reading the purchase record in the App.
在一实施例中,购买数据可以包括购买时间信息、购买物品的物品名称等。In an embodiment, the purchase data may include purchase time information, item names of purchased items, and the like.
在步骤102中,基于购买数据确定对应类别物品的下次参考购买时间。In step 102, the next reference purchase time of the item of the corresponding category is determined based on the purchase data.
在一实施例中,终端基于购买物品所属的物品类别、购买时间等数据,预估下次参考购买时间。In one embodiment, the terminal estimates the next reference purchase time based on the item category to which the purchased item belongs, the purchase time and other data.
例如,针对物品“手机”、“相机”、“iPad”,终端可以确定其所属的物品类别为电子数码物品,基于用户对上述电子数码物品的购买时间能够确定下次参考购买时间。For example, for the items "mobile phone", "camera", and "iPad", the terminal can determine that the item category they belong to is an electronic digital item, and the next reference purchase time can be determined based on the user's purchase time of the above-mentioned electronic digital item.
在步骤103中,在距离下次参考购买时间为第一预设时间时,针对对应类别物品推荐相关物品。In step 103, when the next reference purchase time is the first preset time, related items are recommended for items of the corresponding category.
在一实施例中,终端确定下次参考购买时间之后,在距离下次参考购买时间为第一预设时间时针对对应类别物品进行相关推荐。In one embodiment, after determining the next reference purchase time, the terminal makes relevant recommendations for items of the corresponding category when the next reference purchase time is the first preset time.
例如:下次参考购买时间为12月20日,假设第一预设时间为2天,那么终端可以在12月18日针对对应类别物品的相关物品进行推荐。For example: the next reference purchase time is December 20, assuming that the first preset time is 2 days, then the terminal can recommend related items of corresponding category items on December 18.
在一示例性场景中,如图1B所示,包括作为终端的智能手机,智能手机上安装有购物App。终端可以读取用户的订单信息而得到用户的购买记录,购买记录中记录有所购买物品的物品名称、购买时间、商家等信息。通过物品名称终端能够确定该物品所属的物品类别,从而将所购买的物品根据所属的物品类别进行分类,并确定购买的每类物品的购买时间。终端基于购买时间确定下次参考购买时间,并在距离下次参考购买时间为第一预设时间时,例如下次参考购买时间的前一天,针对对应类别物品推荐相关物品,该相关物品可以为同类物品,也可以为关联使用物品,等。In an exemplary scenario, as shown in FIG. 1B , a smart phone is included as a terminal, and a shopping App is installed on the smart phone. The terminal can read the user's order information to obtain the user's purchase record, which records information such as the item name, purchase time, and merchant of the purchased item. The item category to which the item belongs can be determined through the item name terminal, so that the purchased items are classified according to the item category to which they belong, and the purchase time of each type of item purchased is determined. The terminal determines the next reference purchase time based on the purchase time, and when the distance from the next reference purchase time is the first preset time, such as the day before the next reference purchase time, recommends related items for the corresponding category of items, and the related items can be Items of the same kind can also be used as associated items, etc.
具体如何进行物品推荐的,请参考后续实施例。For details on how to recommend items, please refer to subsequent embodiments.
至此,由于相关技术中在用户购买物品之后,终端会针对购买过的物品进行同类物品的推荐,而实际上很多物品都有使用和消耗周期,用户在购买某件物品之后短期内或一定时间段内并不会再购买同类物品,因而频繁的各种同类物品的推荐会给用户造成不必要的打扰,用户体验欠佳。而本公开实施例提供的上述方法,通过根据购买数据确定各类物品的下次参考购买时间,从而仅在距离下次参考购买时间为第一预设时间时,才对用户进行相关物品的推送,从而增强了推荐的针对性,避免过多的同类推荐对用户造成的打扰,优化用户体验。So far, in related technologies, after the user purchases an item, the terminal will recommend similar items for the purchased item. In fact, many items have a use and consumption cycle. The user will not buy similar items again, so frequent recommendations of various similar items will cause unnecessary disturbance to users, and the user experience is not good. However, in the above method provided by the embodiments of the present disclosure, by determining the next reference purchase time of various items according to the purchase data, the related items are pushed to the user only when the next reference purchase time is the first preset time. , so as to enhance the pertinence of the recommendation, avoid disturbing the user caused by too many similar recommendations, and optimize the user experience.
下面以具体实施例来说明本公开实施例提供的技术方案。The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
图2是根据一示例性实施例示出的另一种物品的推荐方法的流程图,本实施例利用本公开实施例提供的上述方法,以如何基于购买记录确定购买的每类物品的购买数据为例进行示例性说明,如图2所示,包括如下步骤201-203:Fig. 2 is a flow chart of another method for recommending items according to an exemplary embodiment. This embodiment utilizes the above method provided by the embodiments of the present disclosure to determine how to determine the purchase data of each type of item purchased based on the purchase records. Example, as shown in Figure 2, includes the following steps 201-203:
在步骤201中,获取购买记录。In step 201, purchase records are obtained.
在一实施例中,终端可以通过读取购物App中用户的订单信息来获取到购买记录。例如,在淘宝App的“我的订单”中,有用户所购买的物品名称、数量、颜色、尺码、价格、购买时间以及店铺名称等购买记录。In an embodiment, the terminal can obtain the purchase record by reading the order information of the user in the shopping App. For example, in the "My Order" of Taobao App, there are purchase records such as the name, quantity, color, size, price, purchase time, and store name of the item purchased by the user.
在步骤202中,根据购买记录得到购买的每类物品的物品名称和购买时间信息。In step 202, the item name and purchase time information of each type of item purchased are obtained according to the purchase record.
在一实施例中,终端可以对购买记录进行关键词提取,从而得到物品名称、购买时间信息等。In an embodiment, the terminal may extract keywords from the purchase records, so as to obtain item names, purchase time information, and the like.
在步骤203中,根据物品名称确定购买的每类物品分别所属的物品类别。In step 203, the category of items to which each type of item purchased belongs is determined according to the name of the item.
在一实施例中,终端中存储有物品名称与物品类别的物品分类表,终端基于物品名称查找该物品分类表,能够得到与该物品名称对应的物品类别。In one embodiment, the terminal stores an item classification table of item names and item categories, and the terminal searches the item classification table based on the item names to obtain the item category corresponding to the item names.
例如,物品名称为“连衣裙”、“T恤”、“半裙”,其在物品分类表中的类别为“服装”,更具体一些的类别为“夏装”。再例如,“洗洁精”、“洗衣液”、“香皂”在物品分类表中的类别同属于“日化用品”。For example, the item names are "dress", "T-shirt", and "skirt", and its category in the item classification table is "clothing", and the more specific category is "summer clothing". For another example, the categories of "detergent", "laundry liquid", and "soap" in the article classification table belong to "daily chemical products".
在步骤204中,根据购买时间信息确定购买的每类物品的购买时间间隔。In step 204, the purchase time interval of each type of item to be purchased is determined according to the purchase time information.
在一实施例中,终端基于查找到的物品类别,能够对所购买物品进行一个分类,并确定每类物品的购买时间信息,从而根据购买时间信息能够得到购买时间间隔。In one embodiment, the terminal can classify the purchased items based on the searched item category, and determine the purchase time information of each type of item, so that the purchase time interval can be obtained according to the purchase time information.
例如,在用户的购买记录中,在日化用品分类下用户所购买过的物品包括:“洗洁精”、“洗衣液”、“香皂”、“衣物柔顺剂”、“衣领净”这几件物品,购买时间分别为7月2日、8月18日、9月10日、10月29日以及12月1日,那么可以计算出购买时间间隔为47天、23天、49天以及33天。For example, in the user's purchase records, the items purchased by the user under the category of daily chemical products include: "washing liquid", "laundry liquid", "soap", "fabric softener", "collar cleaner" and so on. Several items are purchased on July 2nd, August 18th, September 10th, October 29th, and December 1st, then the purchase time intervals can be calculated as 47 days, 23 days, 49 days, and 33 days.
本实施例中,通过上述步骤201-204,可以通过查找物品分类表确定所购买物品的物品类别,并基于每类物品的购买时间来计算购买时间间隔,从而为后续过程中确定下次参考购买时间提供较为准确全面的依据,提高计算下次参考购买时间的准确率,从而使得推荐的物品更符合用户需求。In this embodiment, through the above steps 201-204, the item category of the purchased item can be determined by searching the item classification table, and the purchase time interval is calculated based on the purchase time of each type of item, so as to determine the next reference purchase in the subsequent process Time provides a more accurate and comprehensive basis to improve the accuracy of calculating the next reference purchase time, so that the recommended items are more in line with user needs.
图3是根据一示例性实施例示出的又一种物品的推荐方法的流程图,本实施例利用本公开实施例提供的上述方法,以基于购买数据确定对应类别物品的下次参考购买时间为例进行示例性说明,如图3所示,包括如下步骤301-303:Fig. 3 is a flow chart showing another method for recommending items according to an exemplary embodiment. This embodiment uses the above-mentioned method provided by the embodiments of the present disclosure to determine the next reference purchase time of the corresponding category of items based on the purchase data. Example for illustrative description, as shown in Figure 3, including the following steps 301-303:
在步骤301中,根据针对购买的每类物品的多个购买时间间隔计算平均时间间隔。In step 301, an average time interval is calculated based on a plurality of purchase time intervals for each type of item purchased.
在图2所示实施例中,终端计算出了针对所购买的每类物品的购买时间间隔,在一实施例中,终端可以继续计算多个购买时间间隔的平均时间间隔。In the embodiment shown in FIG. 2 , the terminal has calculated the purchase time interval for each type of item purchased. In one embodiment, the terminal may continue to calculate the average time interval of multiple purchase time intervals.
仍以图2所举的例子进行说明,终端求取多个购买时间间隔:47天、23天、49天以及33天的平均值,得到平均时间间隔为33天。Still using the example shown in FIG. 2 for illustration, the terminal calculates the average value of multiple purchase time intervals: 47 days, 23 days, 49 days, and 33 days, and the average time interval is 33 days.
在步骤302中,基于平均时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间。In step 302, the next reference purchase time of the corresponding category of items is calculated based on the average time interval and the last purchase time.
在一实施例中,终端可以将最后一次购买时间加平均时间间隔得到下次参考购买时间。In an embodiment, the terminal may add the last purchase time to the average time interval to obtain the next reference purchase time.
例如,最后一次购买时间为12月1日,平均时间间隔为33天,则可以计算出下次参考购买时间为下一年的1月3日。For example, if the last purchase time is December 1, and the average time interval is 33 days, it can be calculated that the next reference purchase time is January 3 of the next year.
本实施例中,通过上述步骤301-302,能够基于所购买的同类物品的平均时间间隔及最后一次购买时间确定下次参考购买时间,从而能够保证下次参考购买时间的估算较为准确。In this embodiment, through the above steps 301-302, the next reference purchase time can be determined based on the average time interval of purchased similar items and the last purchase time, so as to ensure that the estimation of the next reference purchase time is more accurate.
图4是根据一示例性实施例示出的又一种物品的推荐方法的流程图,本实施例利用本公开实施例提供的上述方法,以基于购买数据确定对应类别物品的下次参考购买时间为例进行示例性说明,如图4所示,包括如下步骤401-402:Fig. 4 is a flow chart showing another method for recommending items according to an exemplary embodiment. This embodiment uses the above-mentioned method provided by the embodiments of the present disclosure to determine the next reference purchase time of the corresponding category of items based on the purchase data. Example for illustrative description, as shown in Figure 4, including the following steps 401-402:
在步骤401中,确定针对购买的每类物品的多个购买时间间隔中的最短时间间隔。In step 401, the shortest time interval among a plurality of purchase time intervals for each type of item purchased is determined.
例如在上述示例中,确定最短时间间隔为23天。For example, in the above example, the minimum time interval is determined to be 23 days.
在步骤402中,基于最短时间间隔及最后一次购买时间计算对应类别物品的下次购买时间。In step 402, the next purchase time of the corresponding category of items is calculated based on the shortest time interval and the last purchase time.
本实施例中,通过上述步骤401-402,基于最短时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间,从而尽可能的保证所计算的下次参考购买时间能够早于用户实际下次购买时间,保证在下次购买时间之前及时为用户推荐相关物品。In this embodiment, through the above steps 401-402, the next reference purchase time of the corresponding category of items is calculated based on the shortest time interval and the last purchase time, so as to ensure that the calculated next reference purchase time can be earlier than the user's actual purchase time. The next purchase time, to ensure that relevant items are recommended to users in time before the next purchase time.
在一实施例中,在某类所购买物品的购买次数为一次时,无法获得用户的购买时间间隔,那么终端可以从服务器中获取对应所购买物品的物品类别的平均参考购买时间。该平均参考购买时间由服务器基于多个用户针对该类别物品的购买数据得出。In an embodiment, when a certain type of purchased item is purchased once, and the user's purchase time interval cannot be obtained, the terminal may obtain the average reference purchase time of the item category corresponding to the purchased item from the server. The average reference purchase time is obtained by the server based on purchase data of multiple users for items of this category.
然后,终端基于所获取的平均参考购买时间和最后一次购买时间计算对应类别物品的下次购买时间。Then, based on the obtained average reference purchase time and the last purchase time, the terminal calculates the next purchase time of the item of the corresponding category.
图5是根据一示例性实施例示出的又一种物品的推荐方法的流程图,本实施例利用本公开实施例提供的上述方法,以基于购买数据确定对应类别物品的下次参考购买时间为例进行示例性说明,如图5所示,包括如下步骤501-503:Fig. 5 is a flow chart showing another method for recommending items according to an exemplary embodiment. This embodiment uses the above-mentioned method provided by the embodiments of the present disclosure to determine the next reference purchase time of the corresponding category of items based on the purchase data. Example for illustrative description, as shown in Figure 5, including the following steps 501-503:
在步骤501中,在购买的物品为食品时,基于该食品的物品名称确定保质期。In step 501, when the purchased item is food, the shelf life is determined based on the item name of the food.
在一实施例中,终端中可以存储有各类食品的保质期表,也可以存储日化用品的保质期,但是由于日化用品的消耗速度通常较快,用户基本都能在保质期内将物品消耗掉,因而本公开实施例中主要针对食品进行说明。In one embodiment, the terminal can store shelf life tables of various foods, and can also store shelf life tables of daily chemical products. However, since daily chemical products are usually consumed at a relatively fast rate, users can basically consume items within the shelf life. , so the embodiments of the present disclosure mainly focus on food for description.
在一实施例中,终端通过食品的名称查找对应的保质期表,可以得到该食品的保质期。In one embodiment, the terminal can obtain the shelf life of the food by looking up the corresponding shelf life table through the name of the food.
在步骤502中,确定该食品的购买数量。In step 502, the purchase quantity of the food is determined.
在步骤503中,基于保质期、最后一次购买时间和购买数量确定对应类别物品的下次参考购买时间。In step 503, the next reference purchase time of the corresponding category of items is determined based on the shelf life, the last purchase time and the purchase quantity.
举例而言,对于蒙牛风味酸奶,终端查找到的保质期为14天,由于用户购买日期并不一定是食品生产日期,但是会距离生产日期较近,因而终端可以预先设定一个参考天数,例如2天,这样如果最后一次购买时间10月21日,终端可认为酸奶的生产日期为10月19日,从而估计出截止保质期为10月31日。For example, for Mengniu-flavored yogurt, the shelf life found by the terminal is 14 days. Since the date of purchase by the user is not necessarily the production date of the food, but it will be closer to the production date, the terminal can pre-set a reference number of days, such as 2 In this way, if the last purchase time is October 21, the terminal can consider that the production date of the yogurt is October 19, thus estimating that the expiration date is October 31.
另一个条件是购买数量,如果用户购买了八盒酸奶,那么可以认为7天之后就需要再次购买酸奶,如果用户购买了十六盒酸奶,那么由于16已经超出保质期14天,可以认为13天之后就需要再次购买酸奶。Another condition is the purchase quantity. If the user purchases eight boxes of yogurt, it can be considered that the yogurt needs to be purchased again after 7 days. If the user purchases sixteen boxes of yogurt, then since 16 boxes have exceeded the shelf life by 14 days, it can be considered that after 13 days Just need to buy yogurt again.
综合上述购买数量和保质期,终端能够较为准确的估算出用户针对该类食品的下次参考购买时间,从而及时给用户推荐相关物品。Based on the above purchase quantity and shelf life, the terminal can more accurately estimate the user's next reference purchase time for this type of food, so as to recommend relevant items to the user in a timely manner.
本实施例中,通过上述步骤501-502,终端能够基于食品保质期、最后一次购买时间及购买数量来确定下次参考购买时间,以便及时为用户推荐同类物品,使得用户在优化用户体验。In this embodiment, through the above steps 501-502, the terminal can determine the next reference purchase time based on the food shelf life, last purchase time and purchase quantity, so as to recommend similar items to the user in time, so that the user can optimize the user experience.
图6是根据一示例性实施例示出的又一种物品的推荐方法的流程图,本实施例利用本公开实施例提供的上述方法,以在距离下次参考购买时间为第一预设时间时,针对对应类别物品推荐物品为例进行示例性说明,如图6所示,包括如下步骤601-602:Fig. 6 is a flow chart showing yet another method for recommending items according to an exemplary embodiment. This embodiment utilizes the above-mentioned method provided by the embodiment of the present disclosure, so that when the next reference purchase time is the first preset time , taking the recommended item of the corresponding category as an example to illustrate, as shown in FIG. 6 , including the following steps 601-602:
在步骤601中,基于对应类别物品的物品属性确定待推荐相关物品。In step 601, related items to be recommended are determined based on item attributes of items of a corresponding category.
在一实施例中,物品属性可以包括:品牌、产地、价格、颜色、尺码中的一项或多项。品牌例如为国产品牌、日韩品牌、德国品牌还是欧美品牌,通常对于电子数码产品、家电等物品用户对品牌会有一定的要求;产地可以为例如江西生产、内蒙生产等,对于某些农产品用户可能对产地有一定的要求;价格可以为区间形式,例如对于手机,可以分为1000元以下,1000-2000元等,以满足不同需求的用户;颜色为用户的个人喜好,通常用于衣服、家具饰品中;尺码通常也用于衣物。In an embodiment, the attribute of the item may include: one or more items of brand, origin, price, color, and size. For example, if the brand is a domestic brand, a Japanese and Korean brand, a German brand, or a European and American brand, users of electronic digital products, home appliances and other items usually have certain requirements for the brand; the place of origin can be, for example, Jiangxi production, Inner Mongolia production, etc. For some agricultural product users There may be certain requirements for the place of origin; the price can be in the form of intervals, for example, for mobile phones, it can be divided into less than 1,000 yuan, 1,000-2,000 yuan, etc., to meet users with different needs; the color is the user's personal preference, usually used for clothes, In furniture accessories; sizes are often used in clothing as well.
终端可以基于所购买物品的物品属性得出用户的购买习惯数据,例如电子产品用户总是购买欧美品牌,在该用户的购买习惯数据中可以标记电子产品类别对应的品牌为欧美;再例如用户购买的衣服的尺码为S,也可以将衣物类别对应的尺码标记为S。The terminal can obtain the user's purchasing habit data based on the item attributes of the purchased items. For example, a user of electronic products always buys European and American brands, and the user's purchasing habit data can mark the brand corresponding to the electronic product category as European and American; The size of the clothes is S, and the size corresponding to the clothing category can also be marked as S.
在步骤602中,在距离下次参考购买时间为第一预设时间时,推送待推荐相关物品的物品信息。In step 602, when the next reference purchase time is the first preset time, the item information of the related item to be recommended is pushed.
在一实施例中,由于物流还需要一定时间,因而第一预设时间可以设定为2-5天,也就是说在下次参考购买时间之前的2-5天,推送待推荐相关物品的物品信息。In one embodiment, since the logistics still needs a certain amount of time, the first preset time can be set to 2-5 days, that is to say, 2-5 days before the next reference purchase time, the items to be recommended related items will be pushed information.
在步骤603中,确定对应类别物品的关联使用物品。In step 603, the associated used items of the corresponding category of items are determined.
在一实施例中,关联使用物品通常可以为与所购买物品一起使用的物品,例如,对于手机而已,其关联使用物品为充电器、耳机等物品;对于锅具而言,其关联使用物品可以为炒勺、刀具、案板等物品。In an embodiment, the associated use items can usually be items used together with the purchased item, for example, for a mobile phone, its associated use items are chargers, earphones and other items; for pots and pans, its associated use items can be For frying spoons, knives, chopping boards and other items.
在一实施例中,终端可以将各类物品的关联使用物品存储在关联物品使用表中,并通过查找该关联物品使用表来确定所购买物品的关联使用物品。In an embodiment, the terminal may store the associated items of various types of items in an associated item usage table, and determine the associated item of the purchased item by looking up the associated item usage table.
在步骤604中,在距离所述第一预设时间之前第二预设时间时,推送关联使用物品的物品信息。In step 604, at a second preset time before the first preset time, item information associated with the used item is pushed.
在一实施例中,第二预设时间可以为物品的购买时间和第一预设时间之间的时间段。这个时间段中,用户刚购买了物品,在使用该物品时,可能会需要与之关联使用的一些物品,因而在这个时段向用户推荐关联使用物品,而不是像相关技术中那样推荐同类商品,能够避免打扰用户的同时,满足用户的个性化需求,优化用户体验。In an embodiment, the second preset time may be a time period between the purchase time of the item and the first preset time. During this period of time, the user has just purchased an item. When using the item, some items related to it may be needed. Therefore, during this period of time, the user is recommended to use related items instead of recommending similar products as in related technologies. While avoiding disturbing the user, it can meet the individual needs of the user and optimize the user experience.
本实施例中,通过上述步骤601-604,终端在接近下次参考购买时间的第二预设时间,向用户推送同类待推荐物品;从而避免了相关技术中在用户购买物品之后一直向用户推荐同类物品对用户所造成的打扰,使得推荐更具有针对性和更符合用户需求。In this embodiment, through the above steps 601-604, the terminal pushes the same kind of items to be recommended to the user at the second preset time close to the next reference purchase time; thereby avoiding the related technology that recommends to the user after the user purchases the item. The disturbance caused by similar items to users makes the recommendation more targeted and more in line with user needs.
图7是根据一示例性实施例示出的一种物品的推荐装置的框图,如图7所示,该装置可以应用在终端中,并用于执行图1所示实施例的方法,该物品的推荐装置可以包括:获取模块710、第一确定模块720和推荐模块730。Fig. 7 is a block diagram of an item recommendation device according to an exemplary embodiment. As shown in Fig. 7, the device can be applied in a terminal and used to execute the method of the embodiment shown in Fig. 1 , the item recommendation The device may include: an acquisition module 710 , a first determination module 720 and a recommendation module 730 .
获取模块710,被配置为基于购买记录获取购买的每类物品的购买数据;An acquisition module 710 configured to acquire purchase data of each type of item purchased based on the purchase record;
第一确定模块720,被配置为基于获取模块710获取的购买数据确定对应类别物品的下次参考购买时间;The first determination module 720 is configured to determine the next reference purchase time of the corresponding category of items based on the purchase data acquired by the acquisition module 710;
推荐模块730,被配置为在距离确定模块720确定的下次参考购买时间为第一预设时间时,针对所述对应类别物品推荐相关物品。The recommendation module 730 is configured to recommend related items for the items of the corresponding category when the next reference purchase time determined by the distance determination module 720 is the first preset time.
上述实施例中,通过根据购买数据确定各类物品的下次参考购买时间,从而仅在距离下次参考购买时间为第一预设时间时,才对用户进行相关物品的推送,从而增强了推荐的针对性,避免过多的同类推荐对用户造成的打扰,优化用户体验。In the above-mentioned embodiment, by determining the next reference purchase time of various items according to the purchase data, and only when the next reference purchase time is the first preset time, relevant items are pushed to the user, thereby enhancing the recommendation Pertinence, avoid disturbing users caused by too many similar recommendations, and optimize user experience.
图8是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图8所示,在上述图7所示实施例的基础上,在一实施例中,获取模块710可以包括:第一获取子模块711、第二获取子模块712、第一确定子模块713和第二确定子模块714。Fig. 8 is a block diagram of an apparatus for recommending another item according to an exemplary embodiment. As shown in Fig. 8, on the basis of the embodiment shown in Fig. 7 above, in an embodiment, the obtaining module 710 may include : a first obtaining submodule 711 , a second obtaining submodule 712 , a first determining submodule 713 and a second determining submodule 714 .
第一获取子模块711,被配置为获取购买记录;The first acquiring submodule 711 is configured to acquire purchase records;
第二获取子模块712,被配置为根据第一获取子模块711获取的购买记录获取购买的每类物品的物品名称和购买时间信息;The second acquisition submodule 712 is configured to acquire the item name and purchase time information of each type of item purchased according to the purchase record acquired by the first acquisition submodule 711;
第一确定子模块713,被配置为根据第二获取子模块712获取的物品名称确定所述每类物品分别所属的物品类别;The first determining submodule 713 is configured to determine the item category to which each type of item belongs according to the item name acquired by the second acquiring submodule 712;
第二确定子模块714,被配置为根据第二获取子模块712获取的购买时间信息确定购买的每类物品的购买时间间隔。The second determination submodule 714 is configured to determine the purchase time interval of each type of item purchased according to the purchase time information acquired by the second acquisition submodule 712 .
本公开实施例中,终端可以通过查找物品分类表确定所购买物品的物品类别,并基于每类物品的购买时间来计算购买时间间隔,从而为后续过程中确定下次参考购买时间提供较为准确全面的依据,提高计算下次参考购买时间的准确率,从而使得推荐的物品更符合用户需求。In the embodiment of the present disclosure, the terminal can determine the item category of the purchased item by searching the item classification table, and calculate the purchase time interval based on the purchase time of each type of item, so as to provide a more accurate and comprehensive method for determining the next reference purchase time in the subsequent process. The basis for improving the accuracy of calculating the next reference purchase time, so that the recommended items are more in line with user needs.
图9是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图9所示,在上述图8所示实施例的基础上,在一实施例中,第一确定子模块713可以包括:查找子模块715。Fig. 9 is a block diagram of an apparatus for recommending another item according to an exemplary embodiment. As shown in Fig. 9, on the basis of the embodiment shown in Fig. 8 above, in an embodiment, the first determining submodule 713 may include: a search submodule 715 .
查找子模块715,被配置为基于物品名称查找预存储的物品分类表,得到与所述物品名称对应的物品类别。The search sub-module 715 is configured to search the pre-stored item classification table based on the item name, and obtain the item category corresponding to the item name.
图10是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图10所示,在上述图8所示实施例的基础上,在一实施例中,第一确定模块720可以包括:第一计算子模块721和第二计算子模块722。Fig. 10 is a block diagram of another item recommendation device according to an exemplary embodiment. As shown in Fig. 10, on the basis of the embodiment shown in Fig. 8 above, in an embodiment, the first determination module 720 It may include: a first calculation submodule 721 and a second calculation submodule 722 .
第一计算子模块721,被配置为根据针对购买的每类物品的多个购买时间间隔计算平均时间间隔;The first calculation sub-module 721 is configured to calculate an average time interval according to multiple purchase time intervals for each type of item purchased;
第二计算子模块722,被配置为基于第一计算子模块721计算出的平均时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间。The second calculation submodule 722 is configured to calculate the next reference purchase time of the corresponding category of items based on the average time interval calculated by the first calculation submodule 721 and the last purchase time.
上述实施例中,终端可以基于所购买的同类物品的平均时间间隔及最后一次购买时间确定下次参考购买时间,从而能够保证下次参考购买时间的估算较为准确。In the above embodiment, the terminal may determine the next reference purchase time based on the average time interval of purchased similar items and the last purchase time, so as to ensure that the estimation of the next reference purchase time is more accurate.
图11是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图11所示,在上述图8所示实施例的基础上,在一实施例中,第一确定模块720可以包括:第三确定子模块723和第三计算子模块724。Fig. 11 is a block diagram of another article recommendation device according to an exemplary embodiment. As shown in Fig. 11, on the basis of the above-mentioned embodiment shown in Fig. 8, in an embodiment, the first determining module 720 It may include: a third determination submodule 723 and a third calculation submodule 724 .
第三确定子模块723,被配置为确定针对购买的每类物品的多个购买时间间隔中的最短时间间隔;The third determination sub-module 723 is configured to determine the shortest time interval among multiple purchase time intervals for each type of item purchased;
第三计算子模块724,被配置为基于所述最短时间间隔及最后一次购买时间计算对应类别物品的下次参考购买时间。The third calculation sub-module 724 is configured to calculate the next reference purchase time of the corresponding category of items based on the shortest time interval and the last purchase time.
图12是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图12所示,在上述图8所示实施例的基础上,在一实施例中,第一确定模块720可以包括:第三获取子模块725和第四计算子模块726。Fig. 12 is a block diagram of another item recommendation device according to an exemplary embodiment. As shown in Fig. 12, on the basis of the embodiment shown in Fig. 8 above, in an embodiment, the first determining module 720 It may include: a third obtaining submodule 725 and a fourth calculating submodule 726 .
第三获取子模块725,被配置为在购买的每类物品的购买次数为一次时,获取对应物品的物品类别的平均参考购买时间;The third acquisition sub-module 725 is configured to acquire the average reference purchase time of the item category of the corresponding item when the number of purchases of each type of item is one;
第四计算子模块726,被配置为基于第三获取子模块725获取的平均参考购买时间和最后一次购买时间计算对应类别物品的下次购买时间。The fourth calculation submodule 726 is configured to calculate the next purchase time of the corresponding category of items based on the average reference purchase time and the last purchase time acquired by the third acquisition submodule 725 .
图13是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图13所示,在上述图7所示实施例的基础上,在一实施例中,第一确定模块720可以包括:第四确定子模块727、第五确定子模块728和第六确定子模块729。Fig. 13 is a block diagram of another item recommendation device according to an exemplary embodiment. As shown in Fig. 13, on the basis of the above-mentioned embodiment shown in Fig. 7, in an embodiment, the first determination module 720 It may include: a fourth determining submodule 727 , a fifth determining submodule 728 and a sixth determining submodule 729 .
第四确定子模块727,被配置为在购买的物品为食品时,基于所述食品的物品名称确定保质期;The fourth determining submodule 727 is configured to determine the shelf life based on the item name of the food when the purchased item is food;
第五确定子模块728,被配置为确定所述食品的购买数量;The fifth determining submodule 728 is configured to determine the purchase quantity of the food;
第六确定子模块729,被配置为基于第四确定子模块727确定的保质期、最后一次购买时间和第五确定子模块728确定的购买数量确定对应类别物品的下次参考购买时间。The sixth determination sub-module 729 is configured to determine the next reference purchase time of the corresponding category of items based on the shelf life determined by the fourth determination sub-module 727 , the last purchase time and the purchase quantity determined by the fifth determination sub-module 728 .
上述实施例中,终端能够基于食品保质期、最后一次购买时间及购买数量来确定下次参考购买时间,以便及时为用户推荐同类物品,使得用户在优化用户体验。In the above embodiment, the terminal can determine the next reference purchase time based on the shelf life of the food, the last purchase time and the purchase quantity, so as to recommend similar items to the user in time, so that the user can optimize the user experience.
图14是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图14所示,在上述图7所示实施例的基础上,在一实施例中,推荐模块730可以包括:第七确定子模块731和第一推送子模块732。Fig. 14 is a block diagram of an apparatus for recommending another item according to an exemplary embodiment. As shown in Fig. 14 , on the basis of the embodiment shown in Fig. 7 above, in an embodiment, the recommendation module 730 may include : the seventh determining submodule 731 and the first pushing submodule 732.
第七确定子模块731,被配置为基于所述对应类别物品的物品属性确定待推荐相关物品;The seventh determination sub-module 731 is configured to determine related items to be recommended based on the item attributes of the items of the corresponding category;
第一推送子模块732,被配置为在距离所述下次参考购买时间为第一预设时间时,推送所述待推荐相关物品的物品信息。The first push submodule 732 is configured to push the item information of the related item to be recommended when the next reference purchase time is a first preset time.
其中,物品属性包括品牌、产地、价格、颜色、尺码中的一项或多项。Wherein, the item attribute includes one or more of brand, origin, price, color, and size.
图15是根据一示例性实施例示出的另一种物品的推荐装置的框图,如图15所示,在上述图7所示实施例的基础上,在一实施例中,该装置还可以包括:第二确定模块740和推送模块750。Fig. 15 is a block diagram of an apparatus for recommending another item according to an exemplary embodiment. As shown in Fig. 15 , on the basis of the embodiment shown in Fig. 7 above, in an embodiment, the apparatus may further include : the second determining module 740 and the pushing module 750.
第二确定模块740,被配置为确定所述对应类别物品的关联使用物品;The second determination module 740 is configured to determine the associated used items of the items of the corresponding category;
推送模块750,被配置为在距离所述第一预设时间之前为第二预设时间时,推送第二确定模块740所确定的关联使用物品的物品信息。The push module 750 is configured to push the item information associated with the used item determined by the second determination module 740 when the second preset time is before the first preset time.
上述实施例中,终端可以在接近下次参考购买时间的第二预设时间,向用户推送同类待推荐物品;从而避免了相关技术中在用户购买物品之后一直向用户推荐同类物品对用户所造成的打扰,使得推荐更具有针对性和更符合用户需求。In the above-mentioned embodiment, the terminal can push similar items to be recommended to the user at the second preset time close to the next reference purchase time; thereby avoiding the related technology that always recommends similar items to the user after the user purchases the item. The interruption makes the recommendation more targeted and more in line with user needs.
图16是根据一示例性实施例示出的一种适用于物品的推荐装置的框图。例如,装置1600可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等用户设备。Fig. 16 is a block diagram showing a device for recommending items according to an exemplary embodiment. For example, the apparatus 1600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and other user equipment.
参照图16,装置1600可以包括以下一个或多个组件:处理组件1602,存储器1604,电源组件1606,多媒体组件1608,音频组件1610,输入/输出(I/O)的接口1612,传感器组件1614,以及通信组件1616。16, the device 1600 may include one or more of the following components: a processing component 1602, a memory 1604, a power supply component 1606, a multimedia component 1608, an audio component 1610, an input/output (I/O) interface 1612, a sensor component 1614, and communication component 1616.
处理组件1602通常控制装置1600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1602可以包括一个或多个处理器1620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1602可以包括一个或多个模块,便于处理组件1602和其他组件之间的交互。例如,处理部件1602可以包括多媒体模块,以方便多媒体组件1608和处理组件1602之间的交互。The processing component 1602 generally controls the overall operations of the device 1600, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1602 may include one or more processors 1620 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1602 may include one or more modules that facilitate interaction between processing component 1602 and other components. For example, processing component 1602 may include a multimedia module to facilitate interaction between multimedia component 1608 and processing component 1602 .
存储器1604被配置为存储各种类别的数据以支持在设备1600的操作。这些数据的示例包括用于在装置1600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图像,视频等。存储器1604可以由任何类别的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1604 is configured to store various types of data to support operations at device 1600 . Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, images, video, and the like. The memory 1604 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件1606为装置1600的各种组件提供电力。电力组件1606可以包括电源管理系统,一个或多个电源,及其他与为装置1600生成、管理和分配电力相关联的组件。Power component 1606 provides power to various components of device 1600 . Power components 1606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1600 .
多媒体组件1608包括在所述装置1600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1608包括一个前置摄像头和/或后置摄像头。当设备1600处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1608 includes a screen that provides an output interface between the device 1600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1608 includes a front camera and/or a rear camera. When the device 1600 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1610被配置为输出和/或输入音频信号。例如,音频组件1610包括一个麦克风(MIC),当装置1600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1604或经由通信组件1616发送。在一些实施例中,音频组件1610还包括一个扬声器,用于输出音频信号。The audio component 1610 is configured to output and/or input audio signals. For example, the audio component 1610 includes a microphone (MIC), which is configured to receive external audio signals when the device 1600 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1604 or sent via communication component 1616 . In some embodiments, the audio component 1610 also includes a speaker for outputting audio signals.
I/O接口1612为处理组件1602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1612 provides an interface between the processing component 1602 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1614包括一个或多个传感器,用于为装置1600提供各个方面的状态评估。例如,传感器组件1614可以检测到设备1600的打开/关闭状态,组件的相对定位,例如所述组件为装置1600的显示器和小键盘,传感器组件1614还可以检测装置1600或装置1600一个组件的位置改变,用户与装置1600接触的存在或不存在,装置1600方位或加速/减速和装置1600的温度变化。传感器组件1614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1614还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1614 includes one or more sensors for providing status assessments of various aspects of device 1600 . For example, the sensor component 1614 can detect the open/closed state of the device 1600, the relative positioning of components, such as the display and keypad of the device 1600, and the sensor component 1614 can also detect a change in the position of the device 1600 or a component of the device 1600 , the presence or absence of user contact with the device 1600 , the device 1600 orientation or acceleration/deceleration and the temperature change of the device 1600 . Sensor assembly 1614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1614 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1616被配置为便于装置1600和其他设备之间有线或无线方式的通信。装置1600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1616还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1616 is configured to facilitate wired or wireless communication between the apparatus 1600 and other devices. The device 1600 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1616 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1600 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1604,上述指令可由装置1600的处理器1620执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1604 including instructions, which can be executed by the processor 1620 of the device 1600 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
其中,处理器1620被配置为:Wherein, the processor 1620 is configured as:
基于购买记录获取购买的每类物品的购买数据;Obtain the purchase data of each type of item purchased based on the purchase record;
基于所述购买数据确定对应类别物品的下次参考购买时间;Determining the next reference purchase time for items of the corresponding category based on the purchase data;
在距离所述下次参考购买时间为第一预设时间时,针对所述对应类别物品推荐相关物品。When the distance from the next reference purchase time is a first preset time, related items are recommended for the items of the corresponding category.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710165879.9ACN106981011A (en) | 2017-03-20 | 2017-03-20 | Recommendation method, device and the terminal of article |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710165879.9ACN106981011A (en) | 2017-03-20 | 2017-03-20 | Recommendation method, device and the terminal of article |
| Publication Number | Publication Date |
|---|---|
| CN106981011Atrue CN106981011A (en) | 2017-07-25 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710165879.9APendingCN106981011A (en) | 2017-03-20 | 2017-03-20 | Recommendation method, device and the terminal of article |
| Country | Link |
|---|---|
| CN (1) | CN106981011A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107369047A (en)* | 2017-07-26 | 2017-11-21 | 莆田市烛火信息技术有限公司 | A kind of advertisement placement method, apparatus and system |
| CN107508898A (en)* | 2017-08-31 | 2017-12-22 | 努比亚技术有限公司 | A kind of information-pushing method and device, computer-readable recording medium |
| CN107734003A (en)* | 2017-09-26 | 2018-02-23 | 努比亚技术有限公司 | Shopping reminding method, terminal, server and computer-readable recording medium |
| CN107767217A (en)* | 2017-10-19 | 2018-03-06 | 康佳集团股份有限公司 | Shopping recommendation method, mobile terminal and storage medium |
| CN108122156A (en)* | 2017-10-31 | 2018-06-05 | 深圳市博鑫创科科技有限公司 | A kind of shopping guide method and balance shopping cart based on balance shopping cart |
| CN108230140A (en)* | 2017-12-29 | 2018-06-29 | 阿里巴巴集团控股有限公司 | The method and apparatus of pushed information, the method and apparatus for determining input default value |
| CN111027993A (en)* | 2018-10-09 | 2020-04-17 | 中国移动通信集团山西有限公司 | Mobile phone recommended method, device, device and storage medium |
| CN115510329A (en)* | 2022-10-11 | 2022-12-23 | 江苏云机汇软件科技有限公司 | Brand marketing software management method based on cloud computing big data |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104599160A (en)* | 2015-02-06 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Commodity recommendation method and commodity recommendation device |
| US20160162973A1 (en)* | 2014-12-08 | 2016-06-09 | Lg Cns Co., Ltd. | Personalized recommendation method and system, and computer-readable record medium |
| KR101691477B1 (en)* | 2015-07-16 | 2016-12-30 | 주용철 | Purchase information managemwnt system and method using a bar code receipt |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160162973A1 (en)* | 2014-12-08 | 2016-06-09 | Lg Cns Co., Ltd. | Personalized recommendation method and system, and computer-readable record medium |
| CN104599160A (en)* | 2015-02-06 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Commodity recommendation method and commodity recommendation device |
| KR101691477B1 (en)* | 2015-07-16 | 2016-12-30 | 주용철 | Purchase information managemwnt system and method using a bar code receipt |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107369047A (en)* | 2017-07-26 | 2017-11-21 | 莆田市烛火信息技术有限公司 | A kind of advertisement placement method, apparatus and system |
| CN107508898A (en)* | 2017-08-31 | 2017-12-22 | 努比亚技术有限公司 | A kind of information-pushing method and device, computer-readable recording medium |
| CN107734003A (en)* | 2017-09-26 | 2018-02-23 | 努比亚技术有限公司 | Shopping reminding method, terminal, server and computer-readable recording medium |
| CN107767217A (en)* | 2017-10-19 | 2018-03-06 | 康佳集团股份有限公司 | Shopping recommendation method, mobile terminal and storage medium |
| CN108122156A (en)* | 2017-10-31 | 2018-06-05 | 深圳市博鑫创科科技有限公司 | A kind of shopping guide method and balance shopping cart based on balance shopping cart |
| CN108230140A (en)* | 2017-12-29 | 2018-06-29 | 阿里巴巴集团控股有限公司 | The method and apparatus of pushed information, the method and apparatus for determining input default value |
| US11087402B2 (en) | 2017-12-29 | 2021-08-10 | Advanced New Technologies Co., Ltd. | Method and device for pushing information and method and device for determining default input value |
| CN111027993A (en)* | 2018-10-09 | 2020-04-17 | 中国移动通信集团山西有限公司 | Mobile phone recommended method, device, device and storage medium |
| CN111027993B (en)* | 2018-10-09 | 2023-09-22 | 中国移动通信集团山西有限公司 | Recommended methods, devices, equipment and storage media for mobile phones |
| CN115510329A (en)* | 2022-10-11 | 2022-12-23 | 江苏云机汇软件科技有限公司 | Brand marketing software management method based on cloud computing big data |
| CN115510329B (en)* | 2022-10-11 | 2023-09-15 | 江苏云机汇软件科技有限公司 | Brand marketing software management method based on cloud computing big data |
| Publication | Publication Date | Title |
|---|---|---|
| CN106981011A (en) | Recommendation method, device and the terminal of article | |
| CN106498665B (en) | Method, device and terminal for determining detergent prompt threshold of washing machine | |
| CN104079962B (en) | A kind of method and device for pushing recommendation information | |
| CN105516270B (en) | Information-pushing method and device | |
| CN106157185A (en) | Purchase method and device | |
| CN108132983A (en) | The recommendation method and device of clothing matching, readable storage medium storing program for executing, electronic equipment | |
| CN108596728A (en) | Ship-to providing method and device | |
| WO2018149237A1 (en) | Article data processing method and device, and computer readable storage medium | |
| CN107463643A (en) | Display methods, device and the storage medium of barrage data | |
| JP6588638B2 (en) | Clothing coordination recommendation method and intelligent terminal | |
| CN110309412A (en) | The method, apparatus and electronic equipment of clothing matching information are provided | |
| CN104850651B (en) | Information uploading method and device and information-pushing method and device | |
| CN104536817A (en) | Computing method and device | |
| CN106097040A (en) | Information-pushing method, device and terminal unit | |
| CN109949138A (en) | Information display method, device, terminal, server and storage medium | |
| WO2015161643A1 (en) | Target terminal recognition method, and terminal monitoring method, device and system | |
| CN107563826A (en) | The method and apparatus operated based on object picture to destination object | |
| CN106649781B (en) | Application recommended method and device | |
| CN105160568A (en) | Reminding method and apparatus | |
| CN104517222A (en) | Method and device for setting intelligent hardware commodities on tops and displaying intelligent hardware commodities | |
| CN107562497B (en) | Information display method, device and terminal | |
| CN117035906A (en) | Method for providing commodity information and electronic equipment | |
| CN110020903A (en) | Method and device for simulating user trial installation, storage medium and mobile terminal | |
| CN106682163A (en) | Article information recommendation method and device and equipment | |
| CN103927391A (en) | Information processing method and device |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170725 |