CN109903107A - Method and apparatus for generating information - Google Patents
Method and apparatus for generating information Download PDFInfo
- Publication number
- CN109903107A CN109903107A CN201711294919.6A CN201711294919A CN109903107A CN 109903107 A CN109903107 A CN 109903107A CN 201711294919 A CN201711294919 A CN 201711294919A CN 109903107 A CN109903107 A CN 109903107A
- Authority
- CN
- China
- Prior art keywords
- information
- recommended
- intersection
- candidate
- determining
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及计算机技术领域,具体涉及互联网技术领域,尤其涉及用于生成信息的方法和装置。The embodiments of the present application relate to the field of computer technologies, in particular to the field of Internet technologies, and in particular, to methods and apparatuses for generating information.
背景技术Background technique
随着互联网技术的快速发展和终端设备的日益普及,人们可以通过互联网足不出户即可获得所需物品。现有技术中,大多通过对用户的购买行为分析和商品的特性分析,生成推送给用户的推荐信息,以便于用户发现自己感兴趣的物品。With the rapid development of Internet technology and the increasing popularization of terminal devices, people can get what they need without leaving home through the Internet. In the prior art, most of the recommendation information pushed to the user is generated by analyzing the user's purchasing behavior and the characteristics of the product, so as to facilitate the user to find the item of interest to the user.
发明内容SUMMARY OF THE INVENTION
本申请实施例提出了用于生成信息的方法和装置。The embodiments of the present application propose methods and apparatuses for generating information.
第一方面,本申请实施例提供了一种用于生成信息的方法,该方法包括:获取目标用户的权限凭证;确定权限凭证适用的至少一个第一待推荐对象,以及生成第一待推荐对象信息集合,其中,第一待推荐对象信息包括标识信息;确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集,其中,第二待推荐对象信息是基于目标用户的历史记录信息确定的待推荐对象的信息;响应于确定交集为非空集,确定交集对应的候选待推荐对象信息集合;基于候选待推荐对象信息集合和权限凭证,生成推荐信息。In a first aspect, an embodiment of the present application provides a method for generating information, the method includes: obtaining a target user's authority credential; determining at least one first object to be recommended to which the authority credential is applicable, and generating the first object to be recommended an information set, where the first object information to be recommended includes identification information; determine the intersection of the identification information set included in the first object information set to be recommended and the identification information set included in the second object information set to be recommended, wherein the second The information of the object to be recommended is the information of the object to be recommended determined based on the historical record information of the target user; in response to determining that the intersection is a non-empty set, the information set of the candidate to be recommended corresponding to the intersection is determined; based on the information set of the candidate to be recommended object and the authority credential , to generate recommendation information.
在一些实施例中,确定交集对应的候选待推荐对象信息集合,包括:对于交集中的每个标识信息,将该标识信息对应的第一待推荐对象信息和/或第二待推荐对象信息确定为候选待推荐对象信息;将所确定的各个候选待推荐对象信息确定为候选待推荐对象信息集合。In some embodiments, determining the candidate object to be recommended information set corresponding to the intersection includes: for each identification information in the intersection set, determining the first object to be recommended information and/or the second object to be recommended information corresponding to the identification information is the information of the candidate object to be recommended; the determined information of each candidate object to be recommended is determined as the information set of the candidate object to be recommended.
在一些实施例中,在确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集之后,该方法还包括:响应于确定交集为空集,将第一待推荐对象信息集合确定为候选待推荐对象信息集合。In some embodiments, after determining the intersection of the set of identification information included in the first set of object information to be recommended and the set of identification information included in the second set of object information to be recommended, the method further includes: in response to determining that the intersection is empty set, and the first object information set to be recommended is determined as a candidate object information set to be recommended.
在一些实施例中,标识信息为SKU(Stock Keeping Unit,计量库存进出的基本单元)信息。In some embodiments, the identification information is SKU (Stock Keeping Unit, a basic unit for measuring stock in and out) information.
在一些实施例中,第二待推荐对象信息预先通过如下步骤确定:利用推荐算法,基于历史记录信息对应的待推荐对象信息,确定第二待推荐对象信息,其中,推荐算法包括以下至少一种:关联规则算法、相似度算法、协同过滤算法。In some embodiments, the second to-be-recommended object information is determined in advance by the following steps: using a recommendation algorithm to determine the second to-be-recommended object information based on the to-be-recommended object information corresponding to the historical record information, where the recommendation algorithm includes at least one of the following : Association rule algorithm, similarity algorithm, collaborative filtering algorithm.
第二方面,本申请实施例提供了一种用于生成信息的装置,该装置包括:获取单元,配置用于获取目标用户的权限凭证;第一确定单元,配置用于确定权限凭证适用的至少一个第一待推荐对象,以及生成第一待推荐对象信息集合,其中,第一待推荐对象信息包括标识信息;第二确定单元,配置用于确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集,其中,第二待推荐对象信息是基于目标用户的历史记录信息确定的待推荐对象的信息;第三确定单元,配置用于响应于确定交集为非空集,确定交集对应的候选待推荐对象信息集合;生成单元,配置用于基于候选待推荐对象信息集合和权限凭证,生成推荐信息。In a second aspect, an embodiment of the present application provides an apparatus for generating information, the apparatus includes: an obtaining unit, configured to obtain the authority credential of a target user; and a first determining unit, configured to determine at least the authority credential applicable to the A first to-be-recommended object, and a first to-be-recommended object information set is generated, wherein the first to-be-recommended object information includes identification information; a second determining unit is configured to determine the identification information contained in the first to-be-recommended object information set. The intersection of the set and the set of identification information contained in the second object information set to be recommended, wherein the second object information to be recommended is the information of the object to be recommended determined based on the historical record information of the target user; the third determining unit is configured to In response to determining that the intersection is a non-empty set, determine the candidate object to be recommended information set corresponding to the intersection; the generating unit is configured to generate recommendation information based on the candidate object to be recommended information set and the authority credential.
在一些实施例中,第三确定单元包括:第一确定模块,配置用于对于交集中的每个标识信息,将该标识信息对应的第一待推荐对象信息和/或第二待推荐对象信息确定为候选待推荐对象信息;第二确定模块,配置用于将所确定的各个候选待推荐对象信息确定为候选待推荐对象信息集合。In some embodiments, the third determining unit includes: a first determining module configured to, for each identification information in the intersection set, determine the first object to be recommended information and/or the second object information to be recommended corresponding to the identification information It is determined as candidate object to be recommended information; the second determination module is configured to determine each determined candidate object to be recommended object information as a candidate object to be recommended information set.
在一些实施例中,该装置还包括:第四确定单元,配置用于响应于确定交集为空集,将第一待推荐对象信息集合确定为候选待推荐对象信息集合。In some embodiments, the apparatus further includes: a fourth determining unit, configured to, in response to determining that the intersection set is an empty set, determine the first object information set to be recommended as a candidate object information set to be recommended.
在一些实施例中,标识信息为SKU信息。In some embodiments, the identification information is SKU information.
在一些实施例中,该装置还包括:第五确定单元,配置用于利用推荐算法,基于历史记录信息对应的待推荐对象信息,确定第二待推荐对象信息,其中,推荐算法包括以下至少一种:关联规则算法、相似度算法、协同过滤算法。In some embodiments, the apparatus further includes: a fifth determination unit, configured to use a recommendation algorithm to determine the second object to be recommended information based on the information of the object to be recommended corresponding to the historical record information, wherein the recommendation algorithm includes at least one of the following Types: Association Rule Algorithm, Similarity Algorithm, Collaborative Filtering Algorithm.
第三方面,本申请实施例提供了一种服务器,该服务器包括:一个或多个处理器;存储装置,用于存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。In a third aspect, an embodiment of the present application provides a server, which includes: one or more processors; a storage device for storing one or more programs; Execution causes one or more processors to implement a method as described in any implementation of the first aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the method described in any implementation manner of the first aspect.
本申请实施例提供的用于生成信息的方法和装置,首先通过获取目标用户的权限凭证,然后确定权限凭证适用的第一待推荐对象,并生成第一待推荐对象信息集合,再确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集,最后确定交集对应的候选待推荐对象信息集合,基于候选待推荐对象信息集合和权限凭证生成推荐信息。提高了推荐信息的针对性。The method and device for generating information provided by the embodiments of the present application firstly obtain the authority credential of the target user, then determine the first object to be recommended to which the authority credential is applicable, generate the first object to be recommended information set, and then determine the first object to be recommended. The intersection of the set of identification information contained in the object information set to be recommended and the set of identification information contained in the second set of object information to be recommended, and finally determine the information set of candidate objects to be recommended corresponding to the intersection, based on the set of candidate object information to be recommended and the authority credential Generate recommendation information. Improve the pertinence of recommended information.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;
图2是根据本申请的用于生成信息的方法的一个实施例的流程图;Figure 2 is a flowchart of one embodiment of a method for generating information according to the present application;
图3是根据本申请的用于生成信息的方法的一个应用场景的示意图;3 is a schematic diagram of an application scenario of the method for generating information according to the present application;
图4是根据本申请的用于生成信息的装置的一个实施例的结构示意图;4 is a schematic structural diagram of an embodiment of an apparatus for generating information according to the present application;
图5是适于用来实现本申请实施例的服务器的计算机系统的结构示意图。FIG. 5 is a schematic structural diagram of a computer system suitable for implementing the server of the embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
图1示出了可以应用本申请的用于生成信息的方法或用于生成信息的装置的实施例的示例性系统架构100。FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of a method for generating information or an apparatus for generating information of the present application may be applied.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a server 105 . The network 104 is a medium used to provide a communication link between the terminal devices 101 , 102 , 103 and the server 105 . The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如购物类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 101 , 102 and 103 , such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, and the like.
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture ExpertsGroup Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving PictureExperts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, and 103 may be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, moving image Expert Compression Standard Audio Layer 3), MP4 (Moving PictureExperts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) Players, Laptops and Desktops, etc.
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的推荐信息提供支持的后台推荐信息生成服务器。后台推荐信息生成服务器可以对获取的待推荐对象信息、权限凭证等信息进行分析等处理,并将处理结果(例如推荐信息)反馈给终端设备。The server 105 may be a server that provides various services, for example, a background recommendation information generation server that provides support for the recommendation information displayed on the terminal devices 101 , 102 , and 103 . The background recommendation information generation server may analyze and process the acquired information of the object to be recommended, authority credentials and other information, and feed back the processing result (for example, recommendation information) to the terminal device.
需要说明的是,本申请实施例所提供的用于生成信息的方法一般由服务器105执行,相应地,用于生成信息的装置一般设置于服务器105中。It should be noted that the method for generating information provided by the embodiments of the present application is generally executed by the server 105 , and accordingly, the apparatus for generating information is generally set in the server 105 .
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
继续参考图2,示出了根据本申请的用于生成信息的方法的一个实施例的流程200。该用于生成信息的方法,包括以下步骤:With continued reference to FIG. 2, a flow 200 of one embodiment of a method for generating information according to the present application is shown. The method for generating information includes the following steps:
步骤201,获取目标用户的权限凭证。In step 201, the authorization credentials of the target user are obtained.
在本实施例中,用于生成信息的方法运行于其上的电子设备(例如图1所示的服务器)可以通过有线连接方式或者无线连接方式从本地或者其他电子设备中获取目标用户的权限凭证。上述目标用户可以是预先确定的具有权限凭证的用户,目标用户使用如图1所示的终端设备可以接收上述电子设备发送的信息。上述权限凭证可以是用来证明目标用户具有的某种权限的凭证(例如使用凭证等)。上述电子设备可以是为权限凭证发放用户(例如线上店铺网站)和上述目标用户提供各种服务的服务器,它可以指一台服务器,也可以指一个服务器集群。In this embodiment, the electronic device (for example, the server shown in FIG. 1 ) on which the method for generating information runs may obtain the target user's authority credential from a local or other electronic device through a wired connection or a wireless connection . The above-mentioned target user may be a predetermined user with authority credentials, and the target user can receive the information sent by the above-mentioned electronic device by using the terminal device as shown in FIG. 1 . The above-mentioned authority credential may be a credential (for example, a usage credential, etc.) used to prove a certain authority possessed by the target user. The above-mentioned electronic device may be a server that provides various services for users who issue authority credentials (eg, online store websites) and the above-mentioned target users, and it may refer to a server or a server cluster.
步骤202,确定权限凭证适用的至少一个第一待推荐对象,以及生成第一待推荐对象信息集合。Step 202: Determine at least one first object to be recommended to which the authority credential is applicable, and generate a first object to be recommended information set.
在本实施例中,上述电子设备可以基于步骤201获取的目标用户的权限凭证,确定第一待推荐对象。上述第一待推荐对象可以是能够适用目标用户的权限凭证的物品。第一待推荐对象的个数可以是一个,也可以是多个。并且,上述电子设备可以基于确定的第一待推荐对象生成第一待推荐对象信息集合。上述第一待推荐对象信息可以是表征权限凭证适用的物品的某种属性的信息(例如标识信息、类别信息等)。其中,上述第一待推荐对象信息可以包括标识信息。上述标识信息可以是用于将待推荐对象进行区分的信息,例如二维码、条形码等形式的信息。In this embodiment, the above-mentioned electronic device may determine the first object to be recommended based on the authority credential of the target user obtained in step 201 . The above-mentioned first object to be recommended may be an item to which the target user's authorization certificate can be applied. The number of the first object to be recommended may be one or more. Furthermore, the above electronic device may generate a first object to be recommended information set based on the determined first object to be recommended. The above-mentioned first to-be-recommended object information may be information (eg, identification information, category information, etc.) representing a certain attribute of an item to which the authority credential is applicable. Wherein, the above-mentioned first object to be recommended information may include identification information. The above-mentioned identification information may be information for distinguishing objects to be recommended, such as information in the form of a two-dimensional code, a barcode, and the like.
在本实施例的一些可选的实现方式中,上述标识信息可以为SKU信息。不同SKU在品牌、型号、配置、等级、花色、包装容量、单位、用途、价格、产地等至少一个属性上存在差异。SKU信息即用来标识上述存在差异的SKU。In some optional implementation manners of this embodiment, the foregoing identification information may be SKU information. Different SKUs differ in at least one attribute such as brand, model, configuration, grade, color, packaging capacity, unit, use, price, and origin. The SKU information is used to identify the above-mentioned SKUs with differences.
步骤203,确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集。Step 203: Determine the intersection of the set of identification information included in the first set of object information to be recommended and the set of identification information included in the second set of object information to be recommended.
在本实施例中,基于步骤202生成的第一待推荐对象信息集合,上述电子设备可以确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集。例如,当标识信息为SKU信息时,假设第一待推荐对象信息集合包含的标识信息的集合为SKU信息集合A,第二待推荐对象信息集合包含的标识信息的集合为SKU信息集合B,则上述交集即为SKU信息集合A与SKU信息集合B的交集。In this embodiment, based on the first object information set to be recommended generated in step 202, the electronic device may determine the difference between the set of identification information included in the first object information set to be recommended and the identification information included in the second object information set to be recommended The intersection of sets. For example, when the identification information is SKU information, assuming that the set of identification information contained in the first set of object information to be recommended is SKU information set A, and the set of identification information contained in the second set of object information to be recommended is SKU information set B, then The above intersection is the intersection of SKU information set A and SKU information set B.
其中,上述第二待推荐对象信息可以基于现有的推荐算法确定。上述现有的推荐算法通常是基于用户历史记录(例如历史浏览记录信息、历史使用记录信息等)或者用户画像等信息实现推荐目的的算法。Wherein, the above-mentioned second to-be-recommended object information may be determined based on an existing recommendation algorithm. The above-mentioned existing recommendation algorithms are generally algorithms for achieving recommendation purposes based on user history records (eg, historical browsing record information, historical usage record information, etc.) or user portraits and other information.
在本实施例的一些可选的实现方式中,上述第二待推荐对象信息可以预先通过如下步骤确定:上述电子设备利用推荐算法,基于历史记录信息对应的待推荐对象信息,确定第二待推荐对象信息。其中,历史记录信息对应的待推荐对象信息可以是响应于目标用户的预设操作(例如浏览操作、购买操作、使用操作等)而记录的对象信息。上述推荐算法可以包括以下至少一种:关联规则算法、相似度算法、协同过滤算法等。需要说明的是,上述各种推荐算法是目前广泛研究和应用的公知技术,在此不再赘述。In some optional implementations of this embodiment, the above-mentioned second to-be-recommended object information may be determined in advance through the following steps: the above-mentioned electronic device uses a recommendation algorithm to determine the second to-be-recommended object information based on the historical record information corresponding to the to-be-recommended object information object information. Wherein, the object information to be recommended corresponding to the historical record information may be object information recorded in response to a preset operation (eg, browsing operation, purchase operation, use operation, etc.) of the target user. The above recommendation algorithm may include at least one of the following: an association rule algorithm, a similarity algorithm, a collaborative filtering algorithm, and the like. It should be noted that the above-mentioned various recommendation algorithms are well-known technologies that are widely researched and applied at present, and will not be repeated here.
步骤204,响应于确定交集为非空集,确定交集对应的候选待推荐对象信息集合。Step 204 , in response to determining that the intersection is a non-empty set, determine a candidate object to be recommended information set corresponding to the intersection.
在本实施例中,上述电子设备可以响应于确定上述交集为非空集,确定交集对应的候选待推荐对象信息集合。其中,上述交集对应的候选待推荐对象信息集合是指上述交集中包括的每个标识信息对应的待推荐对象信息的集合。In this embodiment, the electronic device may, in response to determining that the intersection is a non-empty set, determine a set of candidate to-be-recommended object information corresponding to the intersection. Wherein, the set of candidate object information to be recommended corresponding to the intersection set refers to the set of object information to be recommended corresponding to each identification information included in the intersection set.
在本实施例的一些可选的实现方式中,对于交集中的每个标识信息,上述电子设备可以将该标识信息对应的第一待推荐对象信息和/或第二待推荐对象信息确定为候选待推荐对象信息;进一步将所确定的各个候选待推荐对象信息确定为候选待推荐对象信息集合。In some optional implementations of this embodiment, for each identification information in the intersection set, the electronic device may determine the first object to be recommended information and/or the second object information to be recommended corresponding to the identification information as candidates information of the object to be recommended; further determining the determined information of each candidate object to be recommended as a set of candidate object information to be recommended.
作为示例,假设第一待推荐对象信息集合中包含散装物品X信息(例如发货地信息),第二待推荐对象信息集合中包含袋装物品X信息,交集中包含物品X的标识信息,则候选待推荐对象信息集合中可以包括袋装物品X信息或者散装物品X信息,再或者上述二者都包括在内。As an example, it is assumed that the first object information set to be recommended contains information on bulk items X (for example, the place of shipment information), the second object information set to be recommended contains information about bagged items X, and the intersection set contains the identification information of item X, then The information set of candidate objects to be recommended may include bagged item X information or bulk item X information, or both.
在本实施例的一些可选的实现方式中,在上述步骤203之后,上述电子设备还可以响应于确定交集为空集,将第一待推荐对象信息集合确定为候选待推荐对象信息集合。继续参照前述步骤203中的举例,SKU信息集合A与SKU信息集合B的交集为空集表明两个集合之间没有相同的SKU信息,则上述电子设备可以将目标用户的权限凭证适用的物品信息集合作为候选待推荐对象信息集合。In some optional implementations of this embodiment, after step 203, the electronic device may further determine the first object information set to be recommended as a candidate object information set to be recommended in response to determining that the intersection is an empty set. Continue to refer to the example in the aforementioned step 203, if the intersection of SKU information set A and SKU information set B is an empty set, indicating that there is no identical SKU information between the two sets, the above-mentioned electronic device can use the target user's permission credential to apply the item information. The set is used as a set of candidate object information to be recommended.
步骤205,基于候选待推荐对象信息集合和权限凭证,生成推荐信息。Step 205 , generating recommendation information based on the information set of the candidate object to be recommended and the authority credential.
在本实施例中,基于步骤204确定的候选待推荐对象信息集合和上述权限凭证,上述电子设备可以生成推荐信息。上述电子设备可以从候选待推荐对象信息集合中,将满足预设条件的候选待推荐对象信息确定为目标推荐对象信息,并生成推荐信息。上述候选待推荐对象信息可以包括各种属性信息(例如数值信息、地址信息等),上述预设条件可以是候选待推荐对象信息包括的属性信息满足预设的范围。上述推荐信息可以包括权限凭证,还可以包括目标待推荐对象信息与权限凭证相结合后而确定的使用效果信息(例如目标推荐对象的实际价格、发货地址等信息)。In this embodiment, the above-mentioned electronic device may generate recommendation information based on the information set of the candidate to be recommended object determined in step 204 and the above-mentioned authority credential. The above-mentioned electronic device may determine, from the information set of candidate objects to be recommended, the information of candidate objects to be recommended that satisfies a preset condition as target recommendation object information, and generate recommendation information. The above-mentioned candidate object to be recommended information may include various attribute information (for example, numerical information, address information, etc.), and the above-mentioned preset condition may be that the attribute information included in the candidate to-be-recommended object information meets a preset range. The above-mentioned recommendation information may include authority credentials, and may also include use effect information (such as the actual price of the target recommended object, shipping address, etc.) determined by combining the information of the target object to be recommended with the authority credential.
在本实施例的一些可选的实现方式中,上述待推荐对象信息可以包括以下至少一种信息:数值信息(例如价格)、地址信息(例如发货地)、类别信息等。上述预设条件可以包括以下至少一种:数值信息表征的数值在预设数值范围内,地址信息表征的地理位置在预设地理区域范围内,类别信息表征的待推荐对象的类别符合预设的类别等。In some optional implementations of this embodiment, the above-mentioned object information to be recommended may include at least one of the following information: numerical information (eg, price), address information (eg, place of shipment), category information, and the like. The above preset conditions may include at least one of the following: the numerical value represented by the numerical information is within a preset numerical range, the geographic location represented by the address information is within the range of a preset geographical area, and the category of the object to be recommended represented by the category information conforms to the preset value. category, etc.
继续参见图3,图3是根据本实施例的用于生成信息的方法的应用场景的一个示意图。如图3所示,智能手机302上安装有针对权限凭证发放者(例如线上店铺网站)为用户提供服务的应用。使用上述智能手机登录应用的用户拥有一个购物权限凭证303。由此,服务器301就可以获取上述权限凭证,然后确定权限凭证适用的第一物品,并生成第一物品信息集合305,再获取用户浏览过的第二物品信息集合306,然后确定第一物品信息集合305包含的SKU信息的集合与第二物品信息集合306包含的SKU信息的集合的交集,即图3中所示的SKU信息集合304,最后确定SKU信息集合304在第一物品信息集合305和第二物品信息集合306中对应的候选物品信息集合,基于候选物品信息集合和权限凭证,生成三个推荐信息。其中,三个推荐信息满足的预设条件各不相同,例如,推荐信息1满足的预设条件为使用权限凭证后的物品1和物品2的价格之和与使用权限凭证前的物品1和物品2的价格的比值最大;推荐信息2满足的预设条件为物品3和物品4的发货地址均在预设地理区域范围内,推荐信息3满足的预设条件为物品5和物品6的类别均符合预设的类别(例如洗护用品类)。其中,上述物品1-物品6均为上述SKU信息集合304对应的候选物品信息所表征的物品上述服务器301可以将上述三个推荐信息推送至智能手机302,以使智能手机302上显示三个推荐信息。Continue to refer to FIG. 3 , which is a schematic diagram of an application scenario of the method for generating information according to this embodiment. As shown in FIG. 3 , the smartphone 302 is installed with an application that provides services to the user for the authority certificate issuer (eg, an online store website). A user who logs into the application using the aforementioned smartphone has a shopping authorization credential 303 . In this way, the server 301 can obtain the above-mentioned permission certificate, then determine the first item to which the permission certificate is applicable, and generate the first item information set 305, and then obtain the second item information set 306 browsed by the user, and then determine the first item information The intersection of the set of SKU information contained in the set 305 and the set of SKU information contained in the second item information set 306, that is, the SKU information set 304 shown in FIG. For the corresponding candidate item information set in the second item information set 306, three pieces of recommendation information are generated based on the candidate item information set and the authority certificate. Among them, the preset conditions met by the three recommendation information are different. For example, the preset conditions met by the recommendation information 1 are the sum of the prices of the item 1 and item 2 after the use authorization certificate and the item 1 and the item before the use authorization certificate. The ratio of the price of 2 is the largest; the preset condition that the recommendation information 2 meets is that the shipping addresses of item 3 and item 4 are both within the preset geographical area, and the preset condition that the recommendation information 3 meets is the category of item 5 and item 6 All conform to a preset category (eg, Toiletries). The above-mentioned item 1 to item 6 are all items represented by the candidate item information corresponding to the above-mentioned SKU information set 304. The above-mentioned server 301 can push the above-mentioned three recommendation information to the smartphone 302, so that the smartphone 302 displays the three recommendations information.
本申请的上述实施例提供的方法,首先通过获取目标用户的权限凭证,然后确定权限凭证适用的第一待推荐对象,并生成第一待推荐对象信息集合,再确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集,最后确定交集对应的候选待推荐对象信息集合,基于候选待推荐对象信息集合和权限凭证生成推荐信息。本申请的上述实施例提供的方法提高了生成推荐信息的针对性。The method provided by the above-mentioned embodiments of the present application firstly obtains the authority credential of the target user, then determines the first object to be recommended to which the authority credential is applicable, generates the first information set of the object to be recommended, and then determines the first information set of the object to be recommended The intersection of the set of identification information contained and the set of identification information contained in the second set of object information to be recommended is finally determined. The methods provided by the above embodiments of the present application improve the pertinence of generating recommendation information.
进一步参考图4,作为对上述各图所示方法的实现,本申请提供了一种用于生成信息的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Referring further to FIG. 4 , as an implementation of the methods shown in the above figures, the present application provides an embodiment of an apparatus for generating information. The apparatus embodiment corresponds to the method embodiment shown in FIG. 2 . The device can be specifically applied to various electronic devices.
如图4所示,本实施例的用于生成信息的装置400包括:获取单元401,配置用于获取目标用户的权限凭证;第一确定单元402,配置用于确定所述权限凭证适用的至少一个第一待推荐对象,以及生成第一待推荐对象信息集合,其中,第一待推荐对象信息包括标识信息;第二确定单元403,配置用于确定所述第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集,其中,第二待推荐对象信息是基于所述目标用户的历史记录信息确定的待推荐对象的信息;第三确定单元404,配置用于响应于确定所述交集为非空集,确定所述交集对应的候选待推荐对象信息集合;生成单元405,配置用于基于所述候选待推荐对象信息集合和所述权限凭证,生成推荐信息。As shown in FIG. 4 , the apparatus 400 for generating information in this embodiment includes: an obtaining unit 401 configured to obtain the authority credential of a target user; and a first determining unit 402 configured to determine at least the right credential applicable to the target user. A first object to be recommended, and a first object information set to be recommended is generated, wherein the first object information to be recommended includes identification information; a second determining unit 403 is configured to determine the The intersection of the set of identification information and the set of identification information contained in the second set of object information to be recommended, wherein the second information of the object to be recommended is the information of the object to be recommended determined based on the historical record information of the target user; the third determination The unit 404 is configured to, in response to determining that the intersection is a non-empty set, determine the candidate object to be recommended information set corresponding to the intersection; the generating unit 405 is configured to, based on the candidate object to be recommended information set and the authority Credentials to generate recommendation information.
在本实施例中,获取单元401可以通过有线连接方式或者无线连接方式从本地或者其他电子设备中获取目标用户的权限凭证。上述目标用户可以是预先设置的具有权限凭证的用户,目标用户使用如图1所示的终端设备可以接收上述电子设备发送的信息。在这里,上述权限凭证可以是用来证明目标用户具有的某种权限的凭证(例如使用凭证)。In this embodiment, the obtaining unit 401 may obtain the authority credential of the target user from a local or other electronic device through a wired connection or a wireless connection. The above-mentioned target user may be a preset user with authority credentials, and the target user can receive the information sent by the above-mentioned electronic device by using the terminal device as shown in FIG. 1 . Here, the above-mentioned authority credential may be a credential (eg, a usage credential) used to prove that the target user has a certain authority.
在本实施例中,第一确定单元402可以基于获取单元401获取的目标用户的权限凭证,确定第一待推荐对象。上述第一待推荐对象可以是能够适用目标用户的权限凭证的物品。第一待推荐对象的个数可以是一个,也可以是多个。并且,上述第一确定单元402可以基于确定的第一待推荐对象生成第一待推荐对象信息集合。上述第一待推荐对象信息可以是表征权限凭证适用的物品的某种属性的信息(例如标识信息、类别信息等)。其中,上述第一待推荐对象信息可以包括标识信息。上述标识信息可以是用于将待推荐对象进行区分的信息,例如二维码、条形码等形式的信息。In this embodiment, the first determining unit 402 may determine the first object to be recommended based on the authority credential of the target user acquired by the acquiring unit 401 . The above-mentioned first object to be recommended may be an item to which the target user's authorization certificate can be applied. The number of the first object to be recommended may be one or more. Furthermore, the above-mentioned first determining unit 402 may generate a first object to be recommended information set based on the determined first object to be recommended. The above-mentioned first to-be-recommended object information may be information (eg, identification information, category information, etc.) representing a certain attribute of an item to which the authority credential is applicable. Wherein, the above-mentioned first object to be recommended information may include identification information. The above-mentioned identification information may be information for distinguishing objects to be recommended, such as information in the form of a two-dimensional code, a barcode, and the like.
在本实施例的一些可选的实现方式中,上述标识信息可以为SKU信息。In some optional implementation manners of this embodiment, the foregoing identification information may be SKU information.
在本实施例中,基于第一确定单元402生成的第一待推荐对象信息集合,第二确定单元403可以确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集。In this embodiment, based on the first object information set to be recommended generated by the first determining unit 402, the second determining unit 403 may determine the set of identification information included in the first object information set to be recommended and the second object information set to be recommended The intersection of the sets that contain the identifying information.
其中,上述第二待推荐对象信息可以基于现有的推荐算法确定。上述现有的推荐算法通常是基于用户历史记录(例如历史浏览记录信息、历史使用记录信息等)或者用户画像等信息实现推荐目的的算法。Wherein, the above-mentioned second to-be-recommended object information may be determined based on an existing recommendation algorithm. The above-mentioned existing recommendation algorithms are generally algorithms for achieving recommendation purposes based on user history records (eg, historical browsing record information, historical usage record information, etc.) or user portraits and other information.
在本实施例的一些可选的实现方式中,用于生成信息的装置400还可以包括:第五确定单元(图中未示出),配置用于利用推荐算法,基于所述历史记录信息对应的待推荐对象信息,确定第二待推荐对象信息,其中,所述推荐算法可以包括以下至少一种:关联规则算法、相似度算法、协同过滤算法等。需要说明的是,上述各种推荐算法是目前广泛研究和应用的公知技术,在此不再赘述。In some optional implementations of this embodiment, the apparatus 400 for generating information may further include: a fifth determining unit (not shown in the figure), configured to use a recommendation algorithm, based on the historical record information, corresponding The information of the object to be recommended is determined, and the second information of the object to be recommended is determined, wherein the recommendation algorithm may include at least one of the following: an association rule algorithm, a similarity algorithm, a collaborative filtering algorithm, and the like. It should be noted that the above-mentioned various recommendation algorithms are well-known technologies that are widely researched and applied at present, and will not be repeated here.
在本实施例中,第三确定单元404可以响应于确定上述交集为非空集,确定交集对应的候选待推荐对象信息集合。其中,上述交集对应的候选待推荐对象信息集合是指上述交集中包括的每个标识信息对应的待推荐对象信息的集合。In this embodiment, the third determining unit 404 may determine, in response to determining that the above-mentioned intersection is a non-empty set, a set of candidate to-be-recommended object information corresponding to the intersection. Wherein, the set of candidate object information to be recommended corresponding to the intersection set refers to the set of object information to be recommended corresponding to each identification information included in the intersection set.
在本实施例的一些可选的实现方式中,第三确定单元404可以包括:第一确定模块(图中未示出),配置用于对于所述交集中的每个标识信息,将该标识信息对应的第一待推荐对象信息和/或第二待推荐对象信息确定为候选待推荐对象信息;第二确定模块(图中未示出),配置用于将所确定的各个候选待推荐对象信息确定为候选待推荐对象信息集合。In some optional implementations of this embodiment, the third determining unit 404 may include: a first determining module (not shown in the figure) configured to, for each identification information in the intersection set, determine the identification The first object to be recommended information and/or the second object to be recommended information corresponding to the information is determined as candidate object information to be recommended; the second determination module (not shown in the figure) is configured to determine each candidate object to be recommended. The information is determined as a set of candidate to-be-recommended object information.
在本实施例的一些可选的实现方式中,用于生成信息的装置400还可以包括:第四确定单元(图中未示出),配置用于响应于确定所述交集为空集,将所述第一待推荐对象信息集合确定为候选待推荐对象信息集合。In some optional implementations of this embodiment, the apparatus 400 for generating information may further include: a fourth determining unit (not shown in the figure), configured to, in response to determining that the intersection is an empty set, determine The first to-be-recommended object information set is determined as a candidate to-be-recommended object information set.
在本实施例中,基于第三确定单元404确定的候选待推荐对象信息集合和上述权限凭证,上述生成单元405可以生成推荐信息。上述生成单元405可以从候选待推荐对象信息集合中,将满足预设条件的候选待推荐对象信息确定为目标推荐对象信息,并生成推荐信息。上述候选待推荐对象信息可以包括各种属性信息(例如数值信息、地址信息等),上述预设条件可以是候选待推荐对象信息包括的属性信息满足预设的范围。上述推荐信息可以包括权限凭证,还可以包括目标待推荐对象信息与权限凭证相结合后而确定的使用效果信息(例如目标推荐对象的实际价格、发货地址等信息)。In this embodiment, the generating unit 405 may generate the recommendation information based on the information set of the candidate to be recommended objects determined by the third determining unit 404 and the above-mentioned authority credential. The above-mentioned generating unit 405 may, from the information set of the candidate objects to be recommended, determine the information of the candidate objects to be recommended that satisfies the preset condition as the target recommendation object information, and generate recommendation information. The above-mentioned candidate object to be recommended information may include various attribute information (for example, numerical information, address information, etc.), and the above-mentioned preset condition may be that the attribute information included in the candidate to-be-recommended object information meets a preset range. The above-mentioned recommendation information may include authority credentials, and may also include use effect information (such as the actual price of the target recommended object, shipping address, etc.) determined by combining the information of the target object to be recommended with the authority credential.
本申请的上述实施例提供的装置,首先通过获取单元401获取目标用户的权限凭证,然后第一确定单元402确定权限凭证适用的第一待推荐对象,并生成第一待推荐对象信息集合,再然后第二确定单元403确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集,最后第三确定单元404确定交集对应的候选待推荐对象信息集合,基于候选待推荐对象信息集合和权限凭证生成推荐信息。本申请的上述实施例提供的装置提高了生成推荐信息的针对性。In the device provided by the above-mentioned embodiment of the present application, the obtaining unit 401 first obtains the authority credential of the target user, and then the first determining unit 402 determines the first object to be recommended to which the authority credential is applicable, and generates the first object to be recommended information set, and then Then the second determining unit 403 determines the intersection of the set of identification information contained in the first set of object information to be recommended and the set of identification information contained in the second set of object information to be recommended, and finally the third determining unit 404 determines the candidate to be recommended corresponding to the intersection The object information set, which generates recommendation information based on the candidate object information set to be recommended and the authority credential. The apparatuses provided by the above embodiments of the present application improve the pertinence of generating recommendation information.
下面参考图5,其示出了适于用来实现本申请实施例的电子设备的计算机系统500的结构示意图。图5示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring next to FIG. 5 , it shows a schematic structural diagram of a computer system 500 suitable for implementing the electronic device of the embodiment of the present application. The electronic device shown in FIG. 5 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.
如图5所示,计算机系统500包括中央处理单元(CPU)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储部分508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有系统500操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5, a computer system 500 includes a central processing unit (CPU) 501 which can be loaded into a random access memory (RAM) 503 according to a program stored in a read only memory (ROM) 502 or a program from a storage section 508 Instead, various appropriate actions and processes are performed. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501 , the ROM 502 , and the RAM 503 are connected to each other through a bus 504 . An input/output (I/O) interface 505 is also connected to bus 504 .
以下部件连接至I/O接口505:包括键盘、鼠标等的输入部分506;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分507;包括硬盘等的存储部分508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。The following components are connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc. ; and a communication section 509 including a network interface card such as a LAN card, a modem, and the like. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本申请的方法中限定的上述功能。需要说明的是,本申请的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 509 and/or installed from the removable medium 511 . When the computer program is executed by the central processing unit (CPU) 501, the above-described functions defined in the method of the present application are performed. It should be noted that the computer-readable medium of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器,包括获取单元、第一确定单元、第二确定单元、第三确定单元和生成单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,获取单元还可以被描述为“获取目标用户的权限凭证的单元”。The units involved in the embodiments of the present application may be implemented in a software manner, and may also be implemented in a hardware manner. The described unit may also be provided in the processor, for example, it may be described as: a processor including an acquisition unit, a first determination unit, a second determination unit, a third determination unit and a generation unit. Wherein, the names of these units do not constitute a limitation on the unit itself under certain circumstances, for example, the obtaining unit may also be described as "a unit for obtaining the authorization credentials of the target user".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的服务器中所包含的;也可以是单独存在,而未装配入该服务器中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该服务器执行时,使得该服务器:获取目标用户的权限凭证;确定权限凭证适用的至少一个第一待推荐对象,以及生成第一待推荐对象信息集合,其中,第一待推荐对象信息包括标识信息;确定第一待推荐对象信息集合包含的标识信息的集合与第二待推荐对象信息集合包含的标识信息的集合的交集,其中,第二待推荐对象信息是基于目标用户的历史记录信息确定的待推荐对象的信息;响应于确定交集为非空集,确定交集对应的候选待推荐对象信息集合;基于候选待推荐对象信息集合和权限凭证,生成推荐信息。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the server described in the above embodiments, or may exist independently without being assembled into the server. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the server, the server: obtains the authority credential of the target user; determines at least one first object to be recommended to which the authority credential is applicable, and generating a first set of object information to be recommended, wherein the information of the first object to be recommended includes identification information; determining the set of identification information contained in the first set of object information to be recommended and the set of identification information contained in the second set of object information to be recommended , wherein the second object to be recommended information is the information of the object to be recommended determined based on the historical record information of the target user; in response to determining that the intersection is a non-empty set, determine the information set of candidate objects to be recommended corresponding to the intersection; Recommendation object information collection and authority credentials to generate recommendation information.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above technical features, and should also cover the above technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711294919.6A CN109903107A (en) | 2017-12-08 | 2017-12-08 | Method and apparatus for generating information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711294919.6A CN109903107A (en) | 2017-12-08 | 2017-12-08 | Method and apparatus for generating information |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109903107A true CN109903107A (en) | 2019-06-18 |
Family
ID=66940387
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711294919.6A Pending CN109903107A (en) | 2017-12-08 | 2017-12-08 | Method and apparatus for generating information |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109903107A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112561412A (en) * | 2019-09-10 | 2021-03-26 | 顺丰科技有限公司 | Method and device for determining target object identifier, server and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101329683A (en) * | 2008-07-25 | 2008-12-24 | 华为技术有限公司 | Recommendation system and method |
| CN103578007A (en) * | 2012-07-20 | 2014-02-12 | 三星电子(中国)研发中心 | Mixed recommendation system and method for intelligent device |
| CN103886487A (en) * | 2014-03-28 | 2014-06-25 | 焦点科技股份有限公司 | Individualized recommendation method and system based on distributed B2B platform |
| US9569499B2 (en) * | 2011-03-03 | 2017-02-14 | Nec Corporation | Method and apparatus for recommending content on the internet by evaluating users having similar preference tendencies |
| CN106600302A (en) * | 2015-10-19 | 2017-04-26 | 玺阅信息科技(上海)有限公司 | Hadoop-based commodity recommendation system |
| CN106897899A (en) * | 2017-01-24 | 2017-06-27 | 武汉奇米网络科技有限公司 | A kind of method and system by personalized recommendation commodity after customer grouping |
-
2017
- 2017-12-08 CN CN201711294919.6A patent/CN109903107A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101329683A (en) * | 2008-07-25 | 2008-12-24 | 华为技术有限公司 | Recommendation system and method |
| US9569499B2 (en) * | 2011-03-03 | 2017-02-14 | Nec Corporation | Method and apparatus for recommending content on the internet by evaluating users having similar preference tendencies |
| CN103578007A (en) * | 2012-07-20 | 2014-02-12 | 三星电子(中国)研发中心 | Mixed recommendation system and method for intelligent device |
| CN103886487A (en) * | 2014-03-28 | 2014-06-25 | 焦点科技股份有限公司 | Individualized recommendation method and system based on distributed B2B platform |
| CN106600302A (en) * | 2015-10-19 | 2017-04-26 | 玺阅信息科技(上海)有限公司 | Hadoop-based commodity recommendation system |
| CN106897899A (en) * | 2017-01-24 | 2017-06-27 | 武汉奇米网络科技有限公司 | A kind of method and system by personalized recommendation commodity after customer grouping |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112561412A (en) * | 2019-09-10 | 2021-03-26 | 顺丰科技有限公司 | Method and device for determining target object identifier, server and storage medium |
| CN112561412B (en) * | 2019-09-10 | 2022-07-08 | 顺丰科技有限公司 | Method, device, server and storage medium for determining target object identifier |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107729937B (en) | Method and apparatus for determining user interest tags | |
| US10509806B2 (en) | Recommendation engine for aggregated platform data | |
| JP5955286B2 (en) | Evaluation calculation device, evaluation calculation method, and evaluation calculation program | |
| CN110298716B (en) | Information push method and device | |
| US10318546B2 (en) | System and method for test data management | |
| CN110084658B (en) | Method and device for item matching | |
| TWI579787B (en) | Systems and methods for instant e-coupon distribution | |
| CN110020162B (en) | User identification method and device | |
| CN113742564B (en) | Method and device for pushing target resources | |
| CN109961299A (en) | Method and apparatus for data analysis | |
| CN108595448B (en) | Information push method and device | |
| CN108932640B (en) | Method and device for processing orders | |
| CN112330382A (en) | Item recommendation method and device, computing equipment and medium | |
| CN110866040B (en) | User portrait generation method, device and system | |
| CN107705182B (en) | Method and apparatus for determining the origin of an order | |
| CN112749323B (en) | A method and device for constructing user portrait | |
| CN109977982A (en) | User classification method, system, electronic equipment and computer-readable medium | |
| CN107341238B (en) | Data processing method and system | |
| CN113159877B (en) | Data processing method, device, system, and computer-readable storage medium | |
| CN115310994A (en) | Label-based evaluation method, device, electronic device and storage medium | |
| CN111787042A (en) | Method and apparatus for pushing information | |
| CN109255563B (en) | Method and device for determining storage area of article | |
| CN107291923A (en) | Information processing method and device | |
| CN109903107A (en) | Method and apparatus for generating information | |
| CN111340520A (en) | Method and apparatus for generating information |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190618 |
|
| RJ01 | Rejection of invention patent application after publication |