[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2018192272A1 - Multimedia resource recommendation method and apparatus - Google Patents

Multimedia resource recommendation method and apparatus Download PDF

Info

Publication number
WO2018192272A1
WO2018192272A1 PCT/CN2018/070028 CN2018070028W WO2018192272A1 WO 2018192272 A1 WO2018192272 A1 WO 2018192272A1 CN 2018070028 W CN2018070028 W CN 2018070028W WO 2018192272 A1 WO2018192272 A1 WO 2018192272A1
Authority
WO
WIPO (PCT)
Prior art keywords
target user
multimedia
category
multimedia resource
resource
Prior art date
Application number
PCT/CN2018/070028
Other languages
French (fr)
Chinese (zh)
Inventor
刘荣
赵磊
单明辉
王建宇
潘柏宇
项青
Original Assignee
优酷信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 优酷信息技术(北京)有限公司 filed Critical 优酷信息技术(北京)有限公司
Publication of WO2018192272A1 publication Critical patent/WO2018192272A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present disclosure relates to the field of multimedia technologies, and in particular, to a method and an apparatus for recommending multimedia resources.
  • the operator of a video site or video application categorizes the video in a video site or video application to guide the user in selecting the category of interest.
  • the home page of a video site may include categories such as selections, episodes, variety shows, and movies.
  • categories such as selections, episodes, variety shows, and movies.
  • the present disclosure proposes a method and an apparatus for recommending multimedia resources to solve the problem that the user needs to spend more time in the related art to find the category of the multimedia resources that are of interest.
  • a method for recommending a multimedia resource including:
  • Sorting each category according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category;
  • the sorted categories are recommended to the target users.
  • the method further includes:
  • the interest rate of the target user to each multimedia resource is determined according to a time interval between a time point of the target user interacting with each multimedia resource and a current time, including:
  • d is the attenuation coefficient, 0 ⁇ d ⁇ 1, A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
  • each category Sort including:
  • Each category is sorted in order of highest to lowest scores for the target users for each category.
  • each category is calculated according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the interest degree of the target user to each multimedia resource in each category.
  • the score for the target user includes:
  • the score s(u, c i ) of the category c i for the target user u is determined
  • h(u,c i ) represents the first parameter
  • h(u,c i ) is positively correlated with n, 0 ⁇ h(u,c i ) ⁇ n
  • n represents the multimedia associated with the target user u
  • the number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij
  • v ij represents the j-th multimedia resource in the category c i .
  • the first parameter is determined by using Equation 3;
  • determining respective multimedia resources associated with the target user includes:
  • a multimedia resource associated with the target user a multimedia resource clicked by the target user, a multimedia resource searched by the target user, a multimedia resource viewed by the target user, the target user point
  • a device for recommending a multimedia resource including:
  • a first determining module configured to determine respective multimedia resources associated with the target user
  • a second determining module configured to determine a category corresponding to each multimedia resource associated with the target user
  • a sorting module configured to sort each category according to a quantity of multimedia resources belonging to each category among the multimedia resources associated with the target user, and an interest degree of the target user to each multimedia resource in each category;
  • a recommendation module is used to recommend the sorted categories to the target user.
  • the device further includes:
  • a third determining module configured to determine, according to a time interval between a time point of the target user interacting with each multimedia resource and a current time, an interest degree of the target user to each multimedia resource, where the interest degree is The time intervals are negatively correlated.
  • the third determining module is configured to:
  • d is the attenuation coefficient, 0 ⁇ d ⁇ 1, A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
  • the ordering module includes:
  • a calculation submodule configured to calculate, according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the interest degree of the target user to each multimedia resource in each category, calculate each category for the The score of the target user;
  • the calculation submodule is used to:
  • the score s(u, c i ) of the category c i for the target user u is determined
  • h(u,c i ) represents the first parameter
  • h(u,c i ) is positively correlated with n, 0 ⁇ h(u,c i ) ⁇ n
  • n represents the multimedia associated with the target user u
  • the number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij
  • v ij represents the j-th multimedia resource in the category c i .
  • the first parameter is determined by using Equation 3;
  • the first determining module is configured to:
  • a multimedia resource associated with the target user a multimedia resource clicked by the target user, a multimedia resource searched by the target user, a multimedia resource viewed by the target user, the target user point
  • a recommendation device for a multimedia resource comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
  • a non-transitory computer readable storage medium that enables a terminal and/or a server to execute when instructions in the storage medium are executed by a processor of a terminal and/or a server The above method.
  • the method and apparatus for recommending multimedia resources are based on the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category, for each category Sorting and recommending the sorted categories to the target users, thereby reducing the time taken by the user to find the category of multimedia resources that he wants to watch, thereby reducing the time it takes for the user to find the multimedia resources that he wants to watch. Improve the recommendation efficiency of multimedia resources and improve the user experience.
  • FIG. 1 illustrates a flow chart of a method of recommending a multimedia resource according to an embodiment of the present disclosure.
  • FIG. 2 illustrates an exemplary flowchart of a method of recommending a multimedia resource according to an embodiment of the present disclosure.
  • FIG. 3 illustrates an exemplary flowchart of a method S13 of recommending a multimedia resource according to an embodiment of the present disclosure.
  • FIG. 4 illustrates a block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure.
  • FIG. 5 illustrates an exemplary block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure.
  • FIG. 6 is a block diagram of an apparatus 1900 for recommending multimedia resources, according to an exemplary embodiment.
  • FIG. 1 illustrates a flow chart of a method of recommending a multimedia resource according to an embodiment of the present disclosure.
  • the method can be applied to a server, which is not limited herein. As shown in FIG. 1, the method includes steps S11 to S14.
  • step S11 respective multimedia resources associated with the target user are determined.
  • each multimedia resource associated with the target user may be determined upon receiving a request from the target user to obtain a category list of multimedia resources.
  • determining each multimedia resource associated with the target user may include: determining at least one of the following as a multimedia resource associated with the target user: a multimedia resource clicked by the target user, and a target user search Multimedia resources, multimedia resources viewed by target users, multimedia resources praised by target users, multimedia resources of target user comments, multimedia resources of target users publishing bullets, multimedia resources shared by target users, multimedia resources of target users, and target users Subscribe to multimedia resources.
  • determining each multimedia resource associated with the target user may be: determining respective multimedia resources associated with the target user in the first time period.
  • at least one of the following may be determined as a multimedia resource associated with the target user in the first time period: the multimedia resource that the target user clicks in the first time period, and the target user in the first time period
  • the multimedia resource searched within, the multimedia resource that the target user views in the first time period, the multimedia resource that the target user likes in the first time period, the multimedia resource that the target user comments in the first time period, and the target user are in the first
  • the multimedia resources of the barrage are published in a period of time, the multimedia resources shared by the target user in the first time period, the multimedia resources collected by the target user in the first time period, and the multimedia resources subscribed by the target user in the first time period.
  • the starting time point of the first time period may be separated from the current time point by a first time, and the ending time point of the first time period may be the current time point.
  • the first duration may be one week or one month, and is not limited herein.
  • the interaction behavior of the target user for the multimedia resource on the mobile application may be recorded, and each multimedia resource associated with the target user is determined according to the interaction behavior of the target user on the mobile application for the multimedia resource.
  • the interaction behavior may include at least one of the following: a click behavior, a search behavior, a viewing behavior, a praise behavior, a comment behavior, a publication barrage behavior, a sharing behavior, a collection behavior, and a subscription behavior.
  • step S12 categories corresponding to respective multimedia resources associated with the target user are determined.
  • the category of the secondary navigation corresponding to each multimedia resource associated with the target user may be determined.
  • the variety is a category of navigation
  • the category of secondary navigation under the first level navigation may include mainland variety, Hong Kong and Taiwan variety, Korean variety, American variety and network variety.
  • the episode is another category of navigation
  • the category of the second-level navigation under the first-level navigation may include costume dramas, martial arts dramas, police dramas, military dramas, mythological dramas, science fiction gatherings. , funny dramas, idol dramas, suspense dramas, historical dramas, children's dramas, rural dramas, urban dramas, family dramas, romance dramas and fashion dramas.
  • the category corresponding to the multimedia resource may be determined according to the title and/or the label of the multimedia resource.
  • the category corresponding to the multimedia resource may be determined by means of manual marking.
  • each category is sorted according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category.
  • the ranking of a category for a target user is positively correlated with the number of multimedia resources associated with the target user in the category. For example, the greater the number of multimedia resources associated with a target user in category A, the higher the ranking of category A for the target user.
  • the ranking of a certain category for the target user is positively correlated with the degree of interest of the target user for each multimedia resource in the category. For example, the higher the interest of the target user for each multimedia resource in category B, the higher the ranking of category B for the target user.
  • step S14 the sorted respective categories are recommended to the target user.
  • a category list may be generated based on the sorted respective categories, and the category list is recommended to the target user. For example, a list of categories of videos can be presented to a target user in a video website or video application.
  • the embodiment can reduce the time taken by the user to find the category of the multimedia resource that is desired to be viewed, thereby reducing the time taken by the user to find the multimedia resource that is desired to be viewed, improving the recommendation efficiency of the multimedia resource, and improving the user experience.
  • FIG. 2 illustrates an exemplary flowchart of a method of recommending a multimedia resource according to an embodiment of the present disclosure. As shown in FIG. 2, the method includes steps S21 to S25.
  • step S21 respective multimedia resources associated with the target user are determined.
  • step S21 refer to the description of step S11 above.
  • step S22 categories corresponding to respective multimedia resources associated with the target user are determined.
  • step S22 refer to the description of step S12 above.
  • step S23 the interest degree of the target user to each multimedia resource is determined according to the time interval between the time point of the target user interacting with each multimedia resource and the current time, wherein the interest degree is negatively correlated with the time interval.
  • the first multimedia resource is any one of the multimedia resources associated with the target user.
  • each category is sorted according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category.
  • step S13 the description of step S13 above is referred to step S24.
  • step S25 the sorted respective categories are recommended to the target user.
  • step S14 wherein, refer to the description of step S14 above for step S25.
  • determining the interest degree of the target user to each multimedia resource according to the time interval between the time point of the target user interacting with each multimedia resource and the current time may include: determining the target user by using Equation 1: u the degree of interest g(u,v ij ) to the multimedia resource v ij in the category c i ;
  • d is the attenuation coefficient
  • 0 ⁇ d ⁇ 1 Indicates the time interval between the time point at which the target user u interacts with the multimedia resource v ij and the current time.
  • d can be 0.9.
  • the interaction behavior of the target user for the second multimedia resource is a viewing behavior, and the time interval between the time point when the target user views the second multimedia resource and the current time is 2 hours, and the target user is the second largest
  • the second multimedia resource may represent any one of the multimedia resources associated with the target user.
  • FIG. 3 illustrates an exemplary flowchart of a method S13 of recommending a multimedia resource according to an embodiment of the present disclosure.
  • sorting each category according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category may include:
  • step S31 the scores of the respective categories for the target users are calculated according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target users for the respective multimedia resources in the respective categories.
  • the score of a category for a target user is positively correlated with the number of multimedia resources associated with the target user in the category, and is positively correlated with the degree of interest of the target user for each multimedia resource in the category.
  • step S32 the respective categories are sorted in descending order of the scores of the respective users for the respective categories.
  • the score may include: determining, by using Equation 2, the score s(u, c i ) of the category c i for the target user u;
  • h(u,c i ) represents the first parameter
  • h(u,c i ) is positively correlated with n, 0 ⁇ h(u,c i ) ⁇ n
  • n represents the multimedia resource associated with the target user u
  • the number of multimedia resources belonging to the category c i , g(u, v ij ) represents the degree of interest of the target user u to the multimedia resource v ij
  • v ij represents the j-th multimedia resource in the category c i .
  • the first parameter may be determined by using Equation 3;
  • the number of multimedia resources belonging to category c 2 among the multimedia resources associated with the target user is 100, and the first parameter of category c 2 for the target user is approximately equal to 4.6.
  • the first parameter is determined in the above manner by using Equation 3 as an example, those skilled in the art can understand that the present disclosure is not limited thereto. In fact, a person skilled in the art can flexibly set the determining manner of the first parameter according to the actual application scenario, as long as the first parameter h(u, c i ) is positively correlated with n, and 0 ⁇ h(u, c i ) ⁇ n Just fine.
  • FIG. 4 illustrates a block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure.
  • the apparatus includes: a first determining module 41, configured to determine respective multimedia resources associated with a target user; and a second determining module 42, configured to determine, corresponding to each multimedia resource associated with the target user, a sorting module 43, configured to: according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category, for each category Sorting; a recommendation module 44 for recommending the sorted categories to the target user.
  • FIG. 5 illustrates an exemplary block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure. As shown in Figure 5:
  • the device further includes: a third determining module 45, configured to determine the target according to a time interval between a time point at which the target user interacts with each multimedia resource and a current time The user's interest in each multimedia resource, wherein the degree of interest is negatively correlated with the time interval.
  • a third determining module 45 configured to determine the target according to a time interval between a time point at which the target user interacts with each multimedia resource and a current time The user's interest in each multimedia resource, wherein the degree of interest is negatively correlated with the time interval.
  • the third determining module 45 is configured to: determine, by using Equation 1, the degree of interest g(u, v ij ) of the target user u to the multimedia resource v ij in the category c i ;
  • d is the attenuation coefficient, 0 ⁇ d ⁇ 1, A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
  • the sorting module 43 includes: a calculating submodule 431, configured to use, according to a quantity of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the target user pair a degree of interest of each multimedia resource in each category, calculating a score of each category for the target user; a sorting sub-module 432, configured to perform each category according to a high-to-low score of each category for the target user Sort.
  • the calculating sub-module 431 is configured to: determine, by using Equation 2, a score s(u, c i ) of the category c i for the target user u;
  • h(u,c i ) represents the first parameter
  • h(u,c i ) is positively correlated with n, 0 ⁇ h(u,c i ) ⁇ n
  • n represents the multimedia associated with the target user u
  • the number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij
  • v ij represents the j-th multimedia resource in the category c i .
  • the first parameter is determined by using Equation 3;
  • the first determining module 41 is configured to: determine at least one of the following as a multimedia resource associated with the target user: the multimedia resource clicked by the target user, the target user The searched multimedia resource, the multimedia resource viewed by the target user, the multimedia resource that the target user likes, the multimedia resource of the target user comment, the multimedia resource of the target user publishing the bullet, and the shared by the target user a multimedia resource, a multimedia resource of the target user, and a multimedia resource subscribed by the target user.
  • the embodiment can reduce the time taken by the user to find the category of the multimedia resource that is desired to be viewed, thereby reducing the time taken by the user to find the multimedia resource that is desired to be viewed, improving the recommendation efficiency of the multimedia resource, and improving the user experience.
  • FIG. 6 is a block diagram of an apparatus 1900 for recommending multimedia resources, according to an exemplary embodiment.
  • device 1900 can be provided as a server.
  • apparatus 1900 includes a processing component 1922 that further includes one or more processors, and memory resources represented by memory 1932 for storing instructions executable by processing component 1922, such as an application.
  • An application stored in memory 1932 can include one or more modules each corresponding to a set of instructions.
  • processing component 1922 is configured to execute instructions to perform the methods described above.
  • Apparatus 1900 can also include a power supply component 1926 configured to perform power management of apparatus 1900, a wired or wireless network interface 1950 configured to connect apparatus 1900 to the network, and an input/output (I/O) interface 1958.
  • Device 1900 can operate based on an operating system stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
  • a non-transitory computer readable storage medium comprising instructions, such as a memory 1932 comprising instructions executable by processing component 1922 of apparatus 1900 to perform the above method.
  • the present disclosure can be a system, method, and/or computer program product.
  • the computer program product can comprise a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
  • the computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device.
  • the computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, with instructions stored thereon A raised structure in the hole card or groove, and any suitable combination of the above.
  • a computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
  • the computer readable program instructions described herein can be downloaded from a computer readable storage medium to various computing/processing devices or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages.
  • Source code or object code written in any combination including object oriented programming languages such as Smalltalk, C++, etc., as well as conventional procedural programming languages such as the "C" language or similar programming languages.
  • the computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection).
  • the customized electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by utilizing state information of computer readable program instructions.
  • Computer readable program instructions are executed to implement various aspects of the present disclosure.
  • the computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams.
  • the computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture that includes instructions for implementing various aspects of the functions/acts recited in one or more of the flowcharts.
  • the computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process.
  • instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions.
  • Executable instructions can also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A multimedia resource recommendation method and apparatus. The method comprises: determining various multimedia resources associated with a target user (S11); determining categories corresponding to the multimedia resources associated with the target user (S12); sorting the categories according to the number of multimedia resources, belonging to each of the categories, in the multimedia resources associated with the target user and the degree of interest of the target user for each of the multimedia resources in each of the categories (S13); and recommending the sorted categories to the target user (S14). The method can reduce the time spent by a user to find the category of a multimedia resource that he/she wants to watch, thereby reducing the time spent by the user to find the multimedia resource that he/she wants to watch, improving the recommendation efficiency of the multimedia resource, and improving the user experience.

Description

多媒体资源的推荐方法及装置Method and device for recommending multimedia resources
交叉引用cross reference
本申请主张2017年4月17日提交的中国专利申请号为201710249247.0的优先权,其全部内容通过引用包含于此。The present application claims the priority of the Japanese Patent Application No.
技术领域Technical field
本公开涉及多媒体技术领域,尤其涉及一种多媒体资源的推荐方法及装置。The present disclosure relates to the field of multimedia technologies, and in particular, to a method and an apparatus for recommending multimedia resources.
背景技术Background technique
在互联网时代,尤其是移动互联网时代,如何为用户提供及时且有价值的信息是众多互联网公司研究的热点。近年来,随着机器学习系统的发展,推荐系统开始支持个性化推荐策略。个性化推荐策略需要结合不同用户的实际使用情况进行差异化处理。In the era of the Internet, especially in the era of mobile Internet, how to provide users with timely and valuable information is a hot spot for many Internet companies. In recent years, with the development of machine learning systems, the recommendation system has begun to support personalized recommendation strategies. The personalized recommendation strategy needs to be differentiated according to the actual usage of different users.
视频网站或视频应用的运营人员在视频网站或视频应用中对视频进行分类,从而引导用户选择感兴趣的类别。例如,视频网站的首页中可能包含精选、剧集、综艺和电影等类别。通过为用户展示视频的类别,能够引导用户直接进入感兴趣的类别下。相关技术中,为用户展示的类别的数量较多,且为每个用户展示的类别的顺序相同,导致用户需要花费较多的时间才能找到感兴趣的类别,用户体验较差。The operator of a video site or video application categorizes the video in a video site or video application to guide the user in selecting the category of interest. For example, the home page of a video site may include categories such as selections, episodes, variety shows, and movies. By showing the user the category of the video, it is possible to direct the user directly into the category of interest. In the related art, the number of categories displayed for the user is large, and the order of the categories displayed for each user is the same, so that the user needs to spend more time to find the category of interest, and the user experience is poor.
发明内容Summary of the invention
有鉴于此,本公开提出了一种多媒体资源的推荐方法及装置,以解决相关技术中用户需要花费较多的时间才能找到其感兴趣的多媒体资源的类别的问题。In view of this, the present disclosure proposes a method and an apparatus for recommending multimedia resources to solve the problem that the user needs to spend more time in the related art to find the category of the multimedia resources that are of interest.
根据本公开的一方面,提供了一种多媒体资源的推荐方法,包括:According to an aspect of the present disclosure, a method for recommending a multimedia resource is provided, including:
确定与目标用户相关联的各个多媒体资源;Determining various multimedia resources associated with the target user;
确定与所述目标用户相关联的各个多媒体资源对应的类别;Determining a category corresponding to each multimedia resource associated with the target user;
根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序;Sorting each category according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category;
将排序后的各个类别推荐给所述目标用户。The sorted categories are recommended to the target users.
在一种可能的实现方式中,所述方法还包括:In a possible implementation manner, the method further includes:
根据所述目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定所述目标用户对各个多媒体资源的兴趣度,其中,所述兴趣度与所述时间间隔负相关。Determining the degree of interest of the target user for each multimedia resource according to a time interval between the time point of the target user interacting with each multimedia resource and the current time, wherein the interest degree is negatively correlated with the time interval.
在一种可能的实现方式中,根据所述目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定所述目标用户对各个多媒体资源的兴趣度,包括:In a possible implementation, the interest rate of the target user to each multimedia resource is determined according to a time interval between a time point of the target user interacting with each multimedia resource and a current time, including:
采用式1确定所述目标用户u对类别c i中的多媒体资源v ij的兴趣度g(u,v ij); Using the formula 1 to determine the degree of interest g(u, v ij ) of the target user u for the multimedia resource v ij in the category c i ;
Figure PCTCN2018070028-appb-000001
Figure PCTCN2018070028-appb-000001
其中,d表示衰减系数,0<d<1,
Figure PCTCN2018070028-appb-000002
表示所述目标用户u与所述多媒体资源v ij进行交互的时间点与当前时间之间的时间间隔。
Where d is the attenuation coefficient, 0 < d < 1,
Figure PCTCN2018070028-appb-000002
A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
在一种可能的实现方式中,根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序,包括:In a possible implementation manner, according to the quantity of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the interest degree of the target user to each multimedia resource in each category, each category Sort, including:
根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对所述目标用户的得分;Calculating a score of each category for the target user according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category;
按照各个类别针对所述目标用户的得分由高到低的顺序,对各个类别进行排序。Each category is sorted in order of highest to lowest scores for the target users for each category.
在一种可能的实现方式中,根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对所述目标用户的得分,包括:In a possible implementation manner, each category is calculated according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the interest degree of the target user to each multimedia resource in each category. The score for the target user includes:
采用式2确定类别c i针对所述目标用户u的得分s(u,c i); Using the formula 2, the score s(u, c i ) of the category c i for the target user u is determined;
Figure PCTCN2018070028-appb-000003
Figure PCTCN2018070028-appb-000003
其中,h(u,c i)表示第一参数,h(u,c i)与n正相关,0<h(u,c i)<n,n表示与所述目标用户u相关联的多媒体资源中属于类别c i的多媒体资源的数量,g(u,v ij)表示所述目标用户u对多媒体资源v ij的兴趣度,v ij表示类别c i中的第j个多媒体资源。 Where h(u,c i ) represents the first parameter, h(u,c i ) is positively correlated with n, 0<h(u,c i )<n, and n represents the multimedia associated with the target user u The number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij , and v ij represents the j-th multimedia resource in the category c i .
在一种可能的实现方式中,采用式3确定所述第一参数;In a possible implementation manner, the first parameter is determined by using Equation 3;
h(u,c i)=ln n                      式3。 h(u,c i )=ln n is Equation 3.
在一种可能的实现方式中,确定与目标用户相关联的各个多媒体资源,包括:In a possible implementation manner, determining respective multimedia resources associated with the target user includes:
将以下至少一项确定为与所述目标用户相关联的多媒体资源:所述目标用户点击的多媒体资源、所述目标用户搜索的多媒体资源、所述目标用户观看的多媒体资源、所述目标用户点赞的多媒体资源、所述目标用户评论的多媒体资源、所述目标用户发表弹幕的多媒体资源、所述目标用户分享的多媒体资源、所述目标用户收藏的多媒体资源和所述目标用户订阅的多媒体资源。Determining at least one of the following as a multimedia resource associated with the target user: a multimedia resource clicked by the target user, a multimedia resource searched by the target user, a multimedia resource viewed by the target user, the target user point The multimedia resource, the multimedia resource of the target user comment, the multimedia resource of the target user publishing the barrage, the multimedia resource shared by the target user, the multimedia resource of the target user, and the multimedia subscribed by the target user Resources.
根据本公开的另一方面,提供了一种多媒体资源的推荐装置,包括:According to another aspect of the present disclosure, a device for recommending a multimedia resource is provided, including:
第一确定模块,用于确定与目标用户相关联的各个多媒体资源;a first determining module, configured to determine respective multimedia resources associated with the target user;
第二确定模块,用于确定与所述目标用户相关联的各个多媒体资源对应的类别;a second determining module, configured to determine a category corresponding to each multimedia resource associated with the target user;
排序模块,用于根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序;a sorting module, configured to sort each category according to a quantity of multimedia resources belonging to each category among the multimedia resources associated with the target user, and an interest degree of the target user to each multimedia resource in each category;
推荐模块,用于将排序后的各个类别推荐给所述目标用户。A recommendation module is used to recommend the sorted categories to the target user.
在一种可能的实现方式中,所述装置还包括:In a possible implementation, the device further includes:
第三确定模块,用于根据所述目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定所述目标用户对各个多媒体资源的兴趣度,其中,所述兴趣度与所述时间间隔负相关。a third determining module, configured to determine, according to a time interval between a time point of the target user interacting with each multimedia resource and a current time, an interest degree of the target user to each multimedia resource, where the interest degree is The time intervals are negatively correlated.
在一种可能的实现方式中,所述第三确定模块用于:In a possible implementation manner, the third determining module is configured to:
采用式1确定所述目标用户u对类别c i中的多媒体资源v ij的兴趣度g(u,v ij); Using the formula 1 to determine the degree of interest g(u, v ij ) of the target user u for the multimedia resource v ij in the category c i ;
Figure PCTCN2018070028-appb-000004
Figure PCTCN2018070028-appb-000004
其中,d表示衰减系数,0<d<1,
Figure PCTCN2018070028-appb-000005
表示所述目标用户u与所述多媒体资源v ij进行交互的时间点与当前时间之间的时间间隔。
Where d is the attenuation coefficient, 0 < d < 1,
Figure PCTCN2018070028-appb-000005
A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
在一种可能的实现方式中,所述排序模块包括:In a possible implementation manner, the ordering module includes:
计算子模块,用于根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对所述目标用户的得分;a calculation submodule, configured to calculate, according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the interest degree of the target user to each multimedia resource in each category, calculate each category for the The score of the target user;
排序子模块,用于按照各个类别针对所述目标用户的得分由高到低的顺序,对各个类别进行排序。A sorting sub-module for sorting each category according to a high-to-low score of the respective categories for the target users.
在一种可能的实现方式中,所述计算子模块用于:In a possible implementation manner, the calculation submodule is used to:
采用式2确定类别c i针对所述目标用户u的得分s(u,c i); Using the formula 2, the score s(u, c i ) of the category c i for the target user u is determined;
Figure PCTCN2018070028-appb-000006
Figure PCTCN2018070028-appb-000006
其中,h(u,c i)表示第一参数,h(u,c i)与n正相关,0<h(u,c i)<n,n表示与所述目标用户u相关联的多媒体资源中属于类别c i的多媒体资源的数量,g(u,v ij)表示所述目标用户u对多媒体资源v ij的兴趣度,v ij表示类别c i中的第j个多媒体资源。 Where h(u,c i ) represents the first parameter, h(u,c i ) is positively correlated with n, 0<h(u,c i )<n, and n represents the multimedia associated with the target user u The number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij , and v ij represents the j-th multimedia resource in the category c i .
在一种可能的实现方式中,采用式3确定所述第一参数;In a possible implementation manner, the first parameter is determined by using Equation 3;
h(u,c i)=ln n                    式3。 h(u,c i )=ln n is Equation 3.
在一种可能的实现方式中,所述第一确定模块用于:In a possible implementation manner, the first determining module is configured to:
将以下至少一项确定为与所述目标用户相关联的多媒体资源:所述目标用户点击的多媒体资源、所述目标用户搜索的多媒体资源、所述目标用户观看的多媒体资源、所述目标用户点赞的多媒体资源、所述目标用户评论的多媒体资源、所述目标用户发表弹幕的多媒体资源、所述目标用户分享的多媒体资源、所述目标用户收藏的多媒体资源和所述目标用户订阅的多媒体资源。Determining at least one of the following as a multimedia resource associated with the target user: a multimedia resource clicked by the target user, a multimedia resource searched by the target user, a multimedia resource viewed by the target user, the target user point The multimedia resource, the multimedia resource of the target user comment, the multimedia resource of the target user publishing the barrage, the multimedia resource shared by the target user, the multimedia resource of the target user, and the multimedia subscribed by the target user Resources.
根据本公开的另一方面,提供了一种多媒体资源的推荐装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行上述方法。According to another aspect of the present disclosure, a recommendation device for a multimedia resource is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
根据本公开的另一方面,提供了一种非易失性计算机可读存储介质,当所述存储介质中的指令由终端和/或服务器的处理器执行时,使得终端和/或服务器能够执行上述方法。According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium that enables a terminal and/or a server to execute when instructions in the storage medium are executed by a processor of a terminal and/or a server The above method.
本公开的各方面的多媒体资源的推荐方法及装置根据与目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序,并将排序后的各个类别推荐给目标用户,由此能够减少用户找到想要观看的多媒体资源的类别所耗费的时间,从而能够减少用户找到想要观看的多媒体资源所耗费的时间,提高多媒体资源的推荐效率,提高用户体验。The method and apparatus for recommending multimedia resources according to aspects of the present disclosure are based on the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category, for each category Sorting and recommending the sorted categories to the target users, thereby reducing the time taken by the user to find the category of multimedia resources that he wants to watch, thereby reducing the time it takes for the user to find the multimedia resources that he wants to watch. Improve the recommendation efficiency of multimedia resources and improve the user experience.
根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments.
附图说明DRAWINGS
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本公开的示例性实施例、特征和方面,并且用于解释本公开的原理。The accompanying drawings, which are incorporated in FIG
图1示出根据本公开一实施例的多媒体资源的推荐方法的流程图。FIG. 1 illustrates a flow chart of a method of recommending a multimedia resource according to an embodiment of the present disclosure.
图2示出根据本公开一实施例的多媒体资源的推荐方法的一示例性的流程图。FIG. 2 illustrates an exemplary flowchart of a method of recommending a multimedia resource according to an embodiment of the present disclosure.
图3示出根据本公开一实施例的多媒体资源的推荐方法步骤S13的一示例性的流程图。FIG. 3 illustrates an exemplary flowchart of a method S13 of recommending a multimedia resource according to an embodiment of the present disclosure.
图4示出根据本公开一实施例的多媒体资源的推荐装置的框图。FIG. 4 illustrates a block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure.
图5示出根据本公开一实施例的多媒体资源的推荐装置的一示例性的框图。FIG. 5 illustrates an exemplary block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure.
图6是根据一示例性实施例示出的一种用于多媒体资源的推荐的装置1900的框图。FIG. 6 is a block diagram of an apparatus 1900 for recommending multimedia resources, according to an exemplary embodiment.
具体实施方式detailed description
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the present disclosure are described in detail below with reference to the drawings. The same reference numerals in the drawings denote the same or similar elements. Although the various aspects of the embodiments are illustrated in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustrative." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or preferred.
另外,为了更好的说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, numerous specific details are set forth in the Detailed Description of the <RTIgt; Those skilled in the art will appreciate that the present disclosure may be practiced without some specific details. In some instances, methods, means, components, and circuits that are well known to those skilled in the art are not described in detail.
图1示出根据本公开一实施例的多媒体资源的推荐方法的流程图。该方法可以应用于服务器中,在此不作限定。如图1所示,该方法包括步骤S11至步骤S14。FIG. 1 illustrates a flow chart of a method of recommending a multimedia resource according to an embodiment of the present disclosure. The method can be applied to a server, which is not limited herein. As shown in FIG. 1, the method includes steps S11 to S14.
在步骤S11中,确定与目标用户相关联的各个多媒体资源。In step S11, respective multimedia resources associated with the target user are determined.
作为本实施例的一个示例,可以在接收到来自于目标用户的获取多媒体资源的类别列表的请求的情况下,确定与目标用户相关联的各个多媒体资源。As an example of the present embodiment, each multimedia resource associated with the target user may be determined upon receiving a request from the target user to obtain a category list of multimedia resources.
在一种可能的实现方式中,确定与目标用户相关联的各个多媒体资源,可以包括:将以下至少一项确定为与目标用户相关联的多媒体资源:目标用户点击的多媒体资源、目标用户搜索的多媒体资源、目标用户观看的多媒体资源、目标用户点赞的多媒体资源、目标用户评论的多媒体资源、目标用户发表弹幕的多媒体资源、目标用户分享的多媒体资源、目标用户收藏的多媒体资源和目标用户订阅的多媒体资源。In a possible implementation, determining each multimedia resource associated with the target user may include: determining at least one of the following as a multimedia resource associated with the target user: a multimedia resource clicked by the target user, and a target user search Multimedia resources, multimedia resources viewed by target users, multimedia resources praised by target users, multimedia resources of target user comments, multimedia resources of target users publishing bullets, multimedia resources shared by target users, multimedia resources of target users, and target users Subscribe to multimedia resources.
在一种可能的实现方式中,确定与目标用户相关联的各个多媒体资源,可以为:确定第一时间段内与目标用户相关联的各个多媒体资源。作为该实现方式的一个示例,可以将以下至少一项确定为第一时间段内与目标用户相关联的多媒体资源:目标用户在第一时间段内点击的多媒体资源、目标用户在第一时间段内搜索的多媒体资源、目标用户在第一时间段内观看的多媒体资源、目标用户在第一时间段内点赞的多媒体资源、目标 用户在第一时间段内评论的多媒体资源、目标用户在第一时间段内发表弹幕的多媒体资源、目标用户在第一时间段内分享的多媒体资源、目标用户在第一时间段内收藏的多媒体资源和目标用户在第一时间段内订阅的多媒体资源。例如,第一时间段的起始时间点可以与当前时间点相隔第一时长,第一时间段的结束时间点可以为当前时间点。其中,第一时长可以为一个星期或者一个月等,在此不作限定。通过确定第一时间段内与目标用户相关联的各个多媒体资源,可以根据目标用户的短期兴趣为目标用户进行多媒体资源的推荐。In a possible implementation manner, determining each multimedia resource associated with the target user may be: determining respective multimedia resources associated with the target user in the first time period. As an example of the implementation, at least one of the following may be determined as a multimedia resource associated with the target user in the first time period: the multimedia resource that the target user clicks in the first time period, and the target user in the first time period The multimedia resource searched within, the multimedia resource that the target user views in the first time period, the multimedia resource that the target user likes in the first time period, the multimedia resource that the target user comments in the first time period, and the target user are in the first The multimedia resources of the barrage are published in a period of time, the multimedia resources shared by the target user in the first time period, the multimedia resources collected by the target user in the first time period, and the multimedia resources subscribed by the target user in the first time period. For example, the starting time point of the first time period may be separated from the current time point by a first time, and the ending time point of the first time period may be the current time point. The first duration may be one week or one month, and is not limited herein. By determining each multimedia resource associated with the target user in the first time period, the target user may be recommended for the multimedia resource according to the short-term interest of the target user.
作为本实施例的一个示例,可以记录目标用户在移动应用上针对多媒体资源进行的交互行为,根据目标用户在移动应用上针对多媒体资源进行的交互行为,确定与目标用户相关联的各个多媒体资源。其中,交互行为可以包括以下至少一项:点击行为、搜索行为、观看行为、点赞行为、评论行为、发表弹幕行为、分享行为、收藏行为和订阅行为。As an example of the embodiment, the interaction behavior of the target user for the multimedia resource on the mobile application may be recorded, and each multimedia resource associated with the target user is determined according to the interaction behavior of the target user on the mobile application for the multimedia resource. The interaction behavior may include at least one of the following: a click behavior, a search behavior, a viewing behavior, a praise behavior, a comment behavior, a publication barrage behavior, a sharing behavior, a collection behavior, and a subscription behavior.
在步骤S12中,确定与目标用户相关联的各个多媒体资源对应的类别。In step S12, categories corresponding to respective multimedia resources associated with the target user are determined.
作为本实施例的一个示例,可以确定与目标用户相关联的各个多媒体资源对应的二级导航的类别。例如,综艺为某一一级导航的类别,该一级导航下的二级导航的类别可以包括大陆综艺、港台综艺、韩国综艺、美国综艺和网络综艺等。再例如,剧集为另一一级导航的类别,该一级导航下的二级导航的类别可以包括古装剧集、武侠剧集、警匪剧集、军事剧集、神话剧集、科幻聚集、搞笑剧集、偶像剧集、悬疑剧集、历史剧集、儿童剧集、农村剧集、都市剧集、家庭剧集、言情剧集和时装剧集等。As an example of the present embodiment, the category of the secondary navigation corresponding to each multimedia resource associated with the target user may be determined. For example, the variety is a category of navigation, and the category of secondary navigation under the first level navigation may include mainland variety, Hong Kong and Taiwan variety, Korean variety, American variety and network variety. For another example, the episode is another category of navigation, and the category of the second-level navigation under the first-level navigation may include costume dramas, martial arts dramas, police dramas, military dramas, mythological dramas, science fiction gatherings. , funny dramas, idol dramas, suspense dramas, historical dramas, children's dramas, rural dramas, urban dramas, family dramas, romance dramas and fashion dramas.
作为本实施例的一个示例,可以根据多媒体资源的标题和/或标签确定多媒体资源对应的类别。As an example of the embodiment, the category corresponding to the multimedia resource may be determined according to the title and/or the label of the multimedia resource.
作为本实施例的另一个示例,可以采用人工标记的方式确定多媒体资源对应的类别。As another example of the embodiment, the category corresponding to the multimedia resource may be determined by means of manual marking.
在步骤S13中,根据与目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序。In step S13, each category is sorted according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category.
作为本实施例的一个示例,某一类别针对目标用户的排序,与该类别中与目标用户 相关联的多媒体资源的数量正相关。例如,类别A中与目标用户相关联的多媒体资源的数量越多,则类别A针对目标用户的排序越靠前。As an example of this embodiment, the ranking of a category for a target user is positively correlated with the number of multimedia resources associated with the target user in the category. For example, the greater the number of multimedia resources associated with a target user in category A, the higher the ranking of category A for the target user.
作为本实施例的一个示例,某一类别针对目标用户的排序,与目标用户对该类别中各个多媒体资源的兴趣度正相关。例如,目标用户对类别B中各个多媒体资源的兴趣度越高,则类别B针对目标用户的排序越靠前。As an example of the embodiment, the ranking of a certain category for the target user is positively correlated with the degree of interest of the target user for each multimedia resource in the category. For example, the higher the interest of the target user for each multimedia resource in category B, the higher the ranking of category B for the target user.
在步骤S14中,将排序后的各个类别推荐给目标用户。In step S14, the sorted respective categories are recommended to the target user.
作为本实施例的一个示例,可以根据排序后的各个类别生成类别列表,并将类别列表推荐给目标用户。例如,可以在视频网站或者视频应用中向目标用户展示视频的类别列表。As an example of the present embodiment, a category list may be generated based on the sorted respective categories, and the category list is recommended to the target user. For example, a list of categories of videos can be presented to a target user in a video website or video application.
本实施例能够减少用户找到想要观看的多媒体资源的类别所耗费的时间,从而能够减少用户找到想要观看的多媒体资源所耗费的时间,提高多媒体资源的推荐效率,提高用户体验。The embodiment can reduce the time taken by the user to find the category of the multimedia resource that is desired to be viewed, thereby reducing the time taken by the user to find the multimedia resource that is desired to be viewed, improving the recommendation efficiency of the multimedia resource, and improving the user experience.
图2示出根据本公开一实施例的多媒体资源的推荐方法的一示例性的流程图。如图2所示,该方法包括步骤S21至步骤S25。FIG. 2 illustrates an exemplary flowchart of a method of recommending a multimedia resource according to an embodiment of the present disclosure. As shown in FIG. 2, the method includes steps S21 to S25.
在步骤S21中,确定与目标用户相关联的各个多媒体资源。In step S21, respective multimedia resources associated with the target user are determined.
其中,对步骤S21参见上文对步骤S11的描述。For the step S21, refer to the description of step S11 above.
在步骤S22中,确定与目标用户相关联的各个多媒体资源对应的类别。In step S22, categories corresponding to respective multimedia resources associated with the target user are determined.
其中,对步骤S22参见上文对步骤S12的描述。For the step S22, refer to the description of step S12 above.
在步骤S23中,根据目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定目标用户对各个多媒体资源的兴趣度,其中,兴趣度与时间间隔负相关。In step S23, the interest degree of the target user to each multimedia resource is determined according to the time interval between the time point of the target user interacting with each multimedia resource and the current time, wherein the interest degree is negatively correlated with the time interval.
作为本实施例的一个示例,目标用户观看第一多媒体资源的时间点与当前时间之间的时间间隔越长,则目标用户对第一多媒体资源的兴趣度越小;目标用户观看第一多媒体资源的时间点与当前时间之间的时间间隔越短,则目标用户对第一多媒体资源的兴趣度越大。其中,第一多媒体资源为与目标用户相关联的任意一个多媒体资源。As an example of the embodiment, the longer the time interval between the time point of the target user viewing the first multimedia resource and the current time, the smaller the interest rate of the target user on the first multimedia resource is; the target user views The shorter the time interval between the time point of the first multimedia resource and the current time, the greater the degree of interest of the target user to the first multimedia resource. The first multimedia resource is any one of the multimedia resources associated with the target user.
在步骤S24中,根据与目标用户相关联的多媒体资源中属于各个类别的多媒体资源的 数量,以及目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序。In step S24, each category is sorted according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category.
其中,对步骤S24参见上文对步骤S13的描述。Here, the description of step S13 above is referred to step S24.
在步骤S25中,将排序后的各个类别推荐给目标用户。In step S25, the sorted respective categories are recommended to the target user.
其中,对步骤S25参见上文对步骤S14的描述。Wherein, refer to the description of step S14 above for step S25.
在一种可能的实现方式中,根据目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定目标用户对各个多媒体资源的兴趣度,可以包括:采用式1确定目标用户u对类别c i中的多媒体资源v ij的兴趣度g(u,v ij); In a possible implementation manner, determining the interest degree of the target user to each multimedia resource according to the time interval between the time point of the target user interacting with each multimedia resource and the current time may include: determining the target user by using Equation 1: u the degree of interest g(u,v ij ) to the multimedia resource v ij in the category c i ;
Figure PCTCN2018070028-appb-000007
Figure PCTCN2018070028-appb-000007
其中,d表示衰减系数,0<d<1,
Figure PCTCN2018070028-appb-000008
表示目标用户u与多媒体资源v ij进行交互的时间点与当前时间之间的时间间隔。
Where d is the attenuation coefficient, 0 < d < 1,
Figure PCTCN2018070028-appb-000008
Indicates the time interval between the time point at which the target user u interacts with the multimedia resource v ij and the current time.
例如,d可以为0.9,
Figure PCTCN2018070028-appb-000009
可以以小时为单位。例如,目标用户针对第二多媒体资源进行的交互行为为观看行为,目标用户观看第二多媒体资源的时间点与当前时间之间的时间间隔为2小时,则目标用户对第二多媒体资源的兴趣度等于0.9 2=0.81。其中,第二多媒体资源可以表示与目标用户相关联的任意一个多媒体资源。
For example, d can be 0.9.
Figure PCTCN2018070028-appb-000009
Can be in hours. For example, the interaction behavior of the target user for the second multimedia resource is a viewing behavior, and the time interval between the time point when the target user views the second multimedia resource and the current time is 2 hours, and the target user is the second largest The interest level of media resources is equal to 0.9 2 =0.81. The second multimedia resource may represent any one of the multimedia resources associated with the target user.
图3示出根据本公开一实施例的多媒体资源的推荐方法步骤S13的一示例性的流程图。如图3所示,根据与目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序,可以包括:FIG. 3 illustrates an exemplary flowchart of a method S13 of recommending a multimedia resource according to an embodiment of the present disclosure. As shown in FIG. 3, sorting each category according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category may include:
在步骤S31中,根据与目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对目标用户的得分。In step S31, the scores of the respective categories for the target users are calculated according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target users for the respective multimedia resources in the respective categories.
在该示例中,某一类别针对目标用户的得分,与该类别中与目标用户相关联的多媒体资源的数量正相关,与目标用户对该类别中的各个多媒体资源的兴趣度正相关。In this example, the score of a category for a target user is positively correlated with the number of multimedia resources associated with the target user in the category, and is positively correlated with the degree of interest of the target user for each multimedia resource in the category.
在步骤S32中,按照各个类别针对目标用户的得分由高到低的顺序,对各个类别进行排序。In step S32, the respective categories are sorted in descending order of the scores of the respective users for the respective categories.
在一种可能的实现方式中,根据与目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对目标用户的得分,可以包括:采用式2确定类别c i针对目标用户u的得分s(u,c i); In a possible implementation manner, calculating, according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the interest degree of the target user to each multimedia resource in each category, calculating each category for the target user The score may include: determining, by using Equation 2, the score s(u, c i ) of the category c i for the target user u;
Figure PCTCN2018070028-appb-000010
Figure PCTCN2018070028-appb-000010
其中,h(u,c i)表示第一参数,h(u,c i)与n正相关,0<h(u,c i)<n,n表示与目标用户u相关联的多媒体资源中属于类别c i的多媒体资源的数量,g(u,v ij)表示目标用户u对多媒体资源v ij的兴趣度,v ij表示类别c i中的第j个多媒体资源。 Where h(u,c i ) represents the first parameter, h(u,c i ) is positively correlated with n, 0<h(u,c i )<n, and n represents the multimedia resource associated with the target user u The number of multimedia resources belonging to the category c i , g(u, v ij ) represents the degree of interest of the target user u to the multimedia resource v ij , and v ij represents the j-th multimedia resource in the category c i .
在该实现方式中,通过设置h(u,c i)与n正相关且0<h(u,c i)<n,能够去除异常值的影响,提高确定类别c i针对目标用户u的得分s(u,c i)的准确性。 In this implementation, by setting h(u, c i ) to be positively correlated with n and 0<h(u, c i )<n, the influence of the outlier can be removed, and the score of the determined category c i for the target user u can be improved. The accuracy of s(u,c i ).
在一种可能的实现方式中,可以采用式3确定第一参数;In a possible implementation manner, the first parameter may be determined by using Equation 3;
h(u,c i)=ln n                  式3。 h(u,c i )=ln n is Equation 3.
例如,与目标用户相关联的多媒体资源中属于类别c 2的多媒体资源的数量为100,则类别c 2针对目标用户的第一参数约等于4.6。 For example, the number of multimedia resources belonging to category c 2 among the multimedia resources associated with the target user is 100, and the first parameter of category c 2 for the target user is approximately equal to 4.6.
需要说明的是,尽管以式3作为示例介绍了第一参数的确定方式如上,但本领域技术人员能够理解,本公开应不限于此。事实上,本领域技术人员可以根据实际应用场景灵活设定第一参数的确定方式,只要第一参数h(u,c i)与n正相关,且0<h(u,c i)<n即可。 It should be noted that although the first parameter is determined in the above manner by using Equation 3 as an example, those skilled in the art can understand that the present disclosure is not limited thereto. In fact, a person skilled in the art can flexibly set the determining manner of the first parameter according to the actual application scenario, as long as the first parameter h(u, c i ) is positively correlated with n, and 0<h(u, c i )<n Just fine.
图4示出根据本公开一实施例的多媒体资源的推荐装置的框图。如图4所示,该装置包括:第一确定模块41,用于确定与目标用户相关联的各个多媒体资源;第二确定模块42,用于确定与所述目标用户相关联的各个多媒体资源对应的类别;排序模块43,用于根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序;推荐模块44,用于将排序后的各个类别推荐给所述目标用户。FIG. 4 illustrates a block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure. As shown in FIG. 4, the apparatus includes: a first determining module 41, configured to determine respective multimedia resources associated with a target user; and a second determining module 42, configured to determine, corresponding to each multimedia resource associated with the target user, a sorting module 43, configured to: according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category, for each category Sorting; a recommendation module 44 for recommending the sorted categories to the target user.
图5示出根据本公开一实施例的多媒体资源的推荐装置的一示例性的框图。如图5所 示:FIG. 5 illustrates an exemplary block diagram of a recommendation device for a multimedia resource according to an embodiment of the present disclosure. As shown in Figure 5:
在一种可能的实现方式中,所述装置还包括:第三确定模块45,用于根据所述目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定所述目标用户对各个多媒体资源的兴趣度,其中,所述兴趣度与所述时间间隔负相关。In a possible implementation manner, the device further includes: a third determining module 45, configured to determine the target according to a time interval between a time point at which the target user interacts with each multimedia resource and a current time The user's interest in each multimedia resource, wherein the degree of interest is negatively correlated with the time interval.
在一种可能的实现方式中,所述第三确定模块45用于:采用式1确定所述目标用户u对类别c i中的多媒体资源v ij的兴趣度g(u,v ij); In a possible implementation manner, the third determining module 45 is configured to: determine, by using Equation 1, the degree of interest g(u, v ij ) of the target user u to the multimedia resource v ij in the category c i ;
Figure PCTCN2018070028-appb-000011
Figure PCTCN2018070028-appb-000011
其中,d表示衰减系数,0<d<1,
Figure PCTCN2018070028-appb-000012
表示所述目标用户u与所述多媒体资源v ij进行交互的时间点与当前时间之间的时间间隔。
Where d is the attenuation coefficient, 0 < d < 1,
Figure PCTCN2018070028-appb-000012
A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
在一种可能的实现方式中,所述排序模块43包括:计算子模块431,用于根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对所述目标用户的得分;排序子模块432,用于按照各个类别针对所述目标用户的得分由高到低的顺序,对各个类别进行排序。In a possible implementation manner, the sorting module 43 includes: a calculating submodule 431, configured to use, according to a quantity of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the target user pair a degree of interest of each multimedia resource in each category, calculating a score of each category for the target user; a sorting sub-module 432, configured to perform each category according to a high-to-low score of each category for the target user Sort.
在一种可能的实现方式中,所述计算子模块431用于:采用式2确定类别c i针对所述目标用户u的得分s(u,c i); In a possible implementation manner, the calculating sub-module 431 is configured to: determine, by using Equation 2, a score s(u, c i ) of the category c i for the target user u;
Figure PCTCN2018070028-appb-000013
Figure PCTCN2018070028-appb-000013
其中,h(u,c i)表示第一参数,h(u,c i)与n正相关,0<h(u,c i)<n,n表示与所述目标用户u相关联的多媒体资源中属于类别c i的多媒体资源的数量,g(u,v ij)表示所述目标用户u对多媒体资源v ij的兴趣度,v ij表示类别c i中的第j个多媒体资源。 Where h(u,c i ) represents the first parameter, h(u,c i ) is positively correlated with n, 0<h(u,c i )<n, and n represents the multimedia associated with the target user u The number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij , and v ij represents the j-th multimedia resource in the category c i .
在一种可能的实现方式中,采用式3确定所述第一参数;In a possible implementation manner, the first parameter is determined by using Equation 3;
h(u,c i)=ln n                  式3。 h(u,c i )=ln n is Equation 3.
在一种可能的实现方式中,所述第一确定模块41用于:将以下至少一项确定为与所述目标用户相关联的多媒体资源:所述目标用户点击的多媒体资源、所述目标用户搜索 的多媒体资源、所述目标用户观看的多媒体资源、所述目标用户点赞的多媒体资源、所述目标用户评论的多媒体资源、所述目标用户发表弹幕的多媒体资源、所述目标用户分享的多媒体资源、所述目标用户收藏的多媒体资源和所述目标用户订阅的多媒体资源。In a possible implementation, the first determining module 41 is configured to: determine at least one of the following as a multimedia resource associated with the target user: the multimedia resource clicked by the target user, the target user The searched multimedia resource, the multimedia resource viewed by the target user, the multimedia resource that the target user likes, the multimedia resource of the target user comment, the multimedia resource of the target user publishing the bullet, and the shared by the target user a multimedia resource, a multimedia resource of the target user, and a multimedia resource subscribed by the target user.
本实施例能够减少用户找到想要观看的多媒体资源的类别所耗费的时间,从而能够减少用户找到想要观看的多媒体资源所耗费的时间,提高多媒体资源的推荐效率,提高用户体验。The embodiment can reduce the time taken by the user to find the category of the multimedia resource that is desired to be viewed, thereby reducing the time taken by the user to find the multimedia resource that is desired to be viewed, improving the recommendation efficiency of the multimedia resource, and improving the user experience.
图6是根据一示例性实施例示出的一种用于多媒体资源的推荐的装置1900的框图。例如,装置1900可以被提供为一服务器。参照图6,装置1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。FIG. 6 is a block diagram of an apparatus 1900 for recommending multimedia resources, according to an exemplary embodiment. For example, device 1900 can be provided as a server. Referring to Figure 6, apparatus 1900 includes a processing component 1922 that further includes one or more processors, and memory resources represented by memory 1932 for storing instructions executable by processing component 1922, such as an application. An application stored in memory 1932 can include one or more modules each corresponding to a set of instructions. Additionally, processing component 1922 is configured to execute instructions to perform the methods described above.
装置1900还可以包括一个电源组件1926被配置为执行装置1900的电源管理,一个有线或无线网络接口1950被配置为将装置1900连接到网络,和一个输入输出(I/O)接口1958。装置1900可以操作基于存储在存储器1932的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。 Apparatus 1900 can also include a power supply component 1926 configured to perform power management of apparatus 1900, a wired or wireless network interface 1950 configured to connect apparatus 1900 to the network, and an input/output (I/O) interface 1958. Device 1900 can operate based on an operating system stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
在示例性实施例中,还提供了一种包括指令的非易失性计算机可读存储介质,例如包括指令的存储器1932,上述指令可由装置1900的处理组件1922执行以完成上述方法。In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium comprising instructions, such as a memory 1932 comprising instructions executable by processing component 1922 of apparatus 1900 to perform the above method.
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure can be a system, method, and/or computer program product. The computer program product can comprise a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器 (RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。The computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device. The computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, with instructions stored thereon A raised structure in the hole card or groove, and any suitable combination of the above. A computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein can be downloaded from a computer readable storage medium to various computing/processing devices or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages. Source code or object code written in any combination, including object oriented programming languages such as Smalltalk, C++, etc., as well as conventional procedural programming languages such as the "C" language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection). In some embodiments, the customized electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by utilizing state information of computer readable program instructions. Computer readable program instructions are executed to implement various aspects of the present disclosure.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或 框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。The computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams. The computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture that includes instructions for implementing various aspects of the functions/acts recited in one or more of the flowcharts.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。The computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process. Thus, instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。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 disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions. Executable instructions. In some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they 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 flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择, 旨在最好地解释各实施例的原理、实际应用或对市场中的技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。The embodiments of the present disclosure have been described above, and the foregoing description is illustrative, not limiting, and not limited to the disclosed embodiments. Numerous modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The choice of terms used herein is intended to best explain the principles, practical applications, or technical improvements of the techniques in the <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt;

Claims (15)

  1. 一种多媒体资源的推荐方法,其特征在于,包括:A method for recommending a multimedia resource, comprising:
    确定与目标用户相关联的各个多媒体资源;Determining various multimedia resources associated with the target user;
    确定与所述目标用户相关联的各个多媒体资源对应的类别;Determining a category corresponding to each multimedia resource associated with the target user;
    根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序;Sorting each category according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category;
    将排序后的各个类别推荐给所述目标用户。The sorted categories are recommended to the target users.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    根据所述目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定所述目标用户对各个多媒体资源的兴趣度,其中,所述兴趣度与所述时间间隔负相关。Determining the degree of interest of the target user for each multimedia resource according to a time interval between the time point of the target user interacting with each multimedia resource and the current time, wherein the interest degree is negatively correlated with the time interval.
  3. 根据权利要求2所述的方法,其特征在于,根据所述目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定所述目标用户对各个多媒体资源的兴趣度,包括:The method according to claim 2, wherein the interest rate of the target user for each multimedia resource is determined according to a time interval between a time point at which the target user interacts with each multimedia resource and a current time, including :
    采用式1确定所述目标用户u对类别c i中的多媒体资源v ij的兴趣度g(u,v ij); Using the formula 1 to determine the degree of interest g(u, v ij ) of the target user u for the multimedia resource v ij in the category c i ;
    Figure PCTCN2018070028-appb-100001
    Figure PCTCN2018070028-appb-100001
    其中,d表示衰减系数,0<d<1,
    Figure PCTCN2018070028-appb-100002
    表示所述目标用户u与所述多媒体资源v ij进行交互的时间点与当前时间之间的时间间隔。
    Where d is the attenuation coefficient, 0 < d < 1,
    Figure PCTCN2018070028-appb-100002
    A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
  4. 根据权利要求1至3中任意一项所述的方法,其特征在于,根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序,包括:The method according to any one of claims 1 to 3, characterized in that, according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the target users in each category The interest level of each multimedia resource, sorting each category, including:
    根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对所述目标用户的得分;Calculating a score of each category for the target user according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category;
    按照各个类别针对所述目标用户的得分由高到低的顺序,对各个类别进行排序。Each category is sorted in order of highest to lowest scores for the target users for each category.
  5. 根据权利要求4所述的方法,其特征在于,根据与所述目标用户相关联的多媒体 资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对所述目标用户的得分,包括:The method according to claim 4, wherein the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category , calculating the scores of each category for the target user, including:
    采用式2确定类别c i针对所述目标用户u的得分s(u,c i); Using the formula 2, the score s(u, c i ) of the category c i for the target user u is determined;
    Figure PCTCN2018070028-appb-100003
    Figure PCTCN2018070028-appb-100003
    其中,h(u,c i)表示第一参数,h(u,c i)与n正相关,0<h(u,c i)<n,n表示与所述目标用户u相关联的多媒体资源中属于类别c i的多媒体资源的数量,g(u,v ij)表示所述目标用户u对多媒体资源v ij的兴趣度,v ij表示类别c i中的第j个多媒体资源。 Where h(u,c i ) represents the first parameter, h(u,c i ) is positively correlated with n, 0<h(u,c i )<n, and n represents the multimedia associated with the target user u The number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij , and v ij represents the j-th multimedia resource in the category c i .
  6. 根据权利要求5所述的方法,其特征在于,采用式3确定所述第一参数;The method according to claim 5, wherein the first parameter is determined by using Equation 3;
    h(u,c i)=ln n                 式3。 h(u,c i )=ln n is Equation 3.
  7. 根据权利要求1所述的方法,其特征在于,确定与目标用户相关联的各个多媒体资源,包括:The method of claim 1, wherein determining respective multimedia resources associated with the target user comprises:
    将以下至少一项确定为与所述目标用户相关联的多媒体资源:所述目标用户点击的多媒体资源、所述目标用户搜索的多媒体资源、所述目标用户观看的多媒体资源、所述目标用户点赞的多媒体资源、所述目标用户评论的多媒体资源、所述目标用户发表弹幕的多媒体资源、所述目标用户分享的多媒体资源、所述目标用户收藏的多媒体资源和所述目标用户订阅的多媒体资源。Determining at least one of the following as a multimedia resource associated with the target user: a multimedia resource clicked by the target user, a multimedia resource searched by the target user, a multimedia resource viewed by the target user, the target user point The multimedia resource, the multimedia resource of the target user comment, the multimedia resource of the target user publishing the barrage, the multimedia resource shared by the target user, the multimedia resource of the target user, and the multimedia subscribed by the target user Resources.
  8. 一种多媒体资源的推荐装置,其特征在于,包括:A device for recommending multimedia resources, comprising:
    第一确定模块,用于确定与目标用户相关联的各个多媒体资源;a first determining module, configured to determine respective multimedia resources associated with the target user;
    第二确定模块,用于确定与所述目标用户相关联的各个多媒体资源对应的类别;a second determining module, configured to determine a category corresponding to each multimedia resource associated with the target user;
    排序模块,用于根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序;a sorting module, configured to sort each category according to a quantity of multimedia resources belonging to each category among the multimedia resources associated with the target user, and an interest degree of the target user to each multimedia resource in each category;
    推荐模块,用于将排序后的各个类别推荐给所述目标用户。A recommendation module is used to recommend the sorted categories to the target user.
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    第三确定模块,用于根据所述目标用户与各个多媒体资源进行交互的时间点与当前时间之间的时间间隔,确定所述目标用户对各个多媒体资源的兴趣度,其中,所述兴趣度与所述时间间隔负相关。a third determining module, configured to determine, according to a time interval between a time point of the target user interacting with each multimedia resource and a current time, an interest degree of the target user to each multimedia resource, where the interest degree is The time intervals are negatively correlated.
  10. 根据权利要求9所述的装置,其特征在于,所述第三确定模块用于:The apparatus according to claim 9, wherein said third determining module is configured to:
    采用式1确定所述目标用户u对类别c i中的多媒体资源v ij的兴趣度g(u,v ij); Using the formula 1 to determine the degree of interest g(u, v ij ) of the target user u for the multimedia resource v ij in the category c i ;
    Figure PCTCN2018070028-appb-100004
    Figure PCTCN2018070028-appb-100004
    其中,d表示衰减系数,0<d<1,
    Figure PCTCN2018070028-appb-100005
    表示所述目标用户u与所述多媒体资源v ij进行交互的时间点与当前时间之间的时间间隔。
    Where d is the attenuation coefficient, 0 < d < 1,
    Figure PCTCN2018070028-appb-100005
    A time interval between a time point at which the target user u interacts with the multimedia resource v ij and a current time.
  11. 根据权利要求8至10中任意一项所述的装置,其特征在于,所述排序模块包括:The apparatus according to any one of claims 8 to 10, wherein the ordering module comprises:
    计算子模块,用于根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,计算各个类别针对所述目标用户的得分;a calculation submodule, configured to calculate, according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the interest degree of the target user to each multimedia resource in each category, calculate each category for the The score of the target user;
    排序子模块,用于按照各个类别针对所述目标用户的得分由高到低的顺序,对各个类别进行排序。A sorting sub-module for sorting each category according to a high-to-low score of the respective categories for the target users.
  12. 根据权利要求11所述的装置,其特征在于,所述计算子模块用于:The apparatus of claim 11 wherein said computing sub-module is for:
    采用式2确定类别c i针对所述目标用户u的得分s(u,c i); Using the formula 2, the score s(u, c i ) of the category c i for the target user u is determined;
    Figure PCTCN2018070028-appb-100006
    Figure PCTCN2018070028-appb-100006
    其中,h(u,c i)表示第一参数,h(u,c i)与n正相关,0<h(u,c i)<n,n表示与所述目标用户u相关联的多媒体资源中属于类别c i的多媒体资源的数量,g(u,v ij)表示所述目标用户u对多媒体资源v ij的兴趣度,v ij表示类别c i中的第j个多媒体资源。 Where h(u,c i ) represents the first parameter, h(u,c i ) is positively correlated with n, 0<h(u,c i )<n, and n represents the multimedia associated with the target user u The number of multimedia resources belonging to the category c i in the resource, g(u, v ij ) represents the degree of interest of the target user u for the multimedia resource v ij , and v ij represents the j-th multimedia resource in the category c i .
  13. 根据权利要求12所述的装置,其特征在于,采用式3确定所述第一参数;The apparatus according to claim 12, wherein said first parameter is determined using Equation 3;
    h(u,c i)=ln n          式3。 h(u,c i )=ln n is Equation 3.
  14. 根据权利要求8所述的装置,其特征在于,所述第一确定模块用于:The apparatus according to claim 8, wherein said first determining module is configured to:
    将以下至少一项确定为与所述目标用户相关联的多媒体资源:所述目标用户点击的 多媒体资源、所述目标用户搜索的多媒体资源、所述目标用户观看的多媒体资源、所述目标用户点赞的多媒体资源、所述目标用户评论的多媒体资源、所述目标用户发表弹幕的多媒体资源、所述目标用户分享的多媒体资源、所述目标用户收藏的多媒体资源和所述目标用户订阅的多媒体资源。Determining at least one of the following as a multimedia resource associated with the target user: a multimedia resource clicked by the target user, a multimedia resource searched by the target user, a multimedia resource viewed by the target user, the target user point The multimedia resource, the multimedia resource of the target user comment, the multimedia resource of the target user publishing the barrage, the multimedia resource shared by the target user, the multimedia resource of the target user, and the multimedia subscribed by the target user Resources.
  15. 一种多媒体资源的推荐装置,其特征在于,包括:A device for recommending multimedia resources, comprising:
    处理器;processor;
    用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
    其中,所述处理器被配置为:Wherein the processor is configured to:
    确定与目标用户相关联的各个多媒体资源;Determining various multimedia resources associated with the target user;
    确定与所述目标用户相关联的各个多媒体资源对应的类别;Determining a category corresponding to each multimedia resource associated with the target user;
    根据与所述目标用户相关联的多媒体资源中属于各个类别的多媒体资源的数量,以及所述目标用户对各个类别中的各个多媒体资源的兴趣度,对各个类别进行排序;Sorting each category according to the number of multimedia resources belonging to each category among the multimedia resources associated with the target user, and the degree of interest of the target user for each multimedia resource in each category;
    将排序后的各个类别推荐给所述目标用户。The sorted categories are recommended to the target users.
PCT/CN2018/070028 2017-04-17 2018-01-02 Multimedia resource recommendation method and apparatus WO2018192272A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710249247.0A CN108733684A (en) 2017-04-17 2017-04-17 The recommendation method and device of multimedia resource
CN201710249247.0 2017-04-17

Publications (1)

Publication Number Publication Date
WO2018192272A1 true WO2018192272A1 (en) 2018-10-25

Family

ID=63855523

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/070028 WO2018192272A1 (en) 2017-04-17 2018-01-02 Multimedia resource recommendation method and apparatus

Country Status (3)

Country Link
CN (1) CN108733684A (en)
TW (1) TWI678922B (en)
WO (1) WO2018192272A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241452B (en) * 2018-11-19 2022-03-22 天津网之易创新科技有限公司 Information recommendation method and device, storage medium and electronic equipment
CN112364185B (en) * 2020-11-23 2024-02-06 北京达佳互联信息技术有限公司 Method and device for determining characteristics of multimedia resources, electronic equipment and storage medium
CN113254707B (en) * 2021-06-10 2021-12-07 北京达佳互联信息技术有限公司 Model determination method and device and associated media resource determination method and device
CN113672746B (en) * 2021-07-27 2024-03-26 北京达佳互联信息技术有限公司 Multimedia resource recommendation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110131595A1 (en) * 2009-12-02 2011-06-02 General Electric Company Methods and systems for online recommendation
US20140122456A1 (en) * 2012-03-30 2014-05-01 Percolate Industries, Inc. Interactive computing recommendation facility with learning based on user feedback and interaction
CN105224614A (en) * 2015-09-17 2016-01-06 北京金山安全软件有限公司 Application program classification display method and device
CN105893443A (en) * 2015-12-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Video recommendation method and apparatus, and server
CN106534984A (en) * 2016-12-23 2017-03-22 深圳Tcl数字技术有限公司 TV program pushing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512298A (en) * 2015-12-10 2016-04-20 成都陌云科技有限公司 Interested content prediction method based on machine learning
CN106339502A (en) * 2016-09-18 2017-01-18 电子科技大学 Modeling recommendation method based on user behavior data fragmentation cluster

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110131595A1 (en) * 2009-12-02 2011-06-02 General Electric Company Methods and systems for online recommendation
US20140122456A1 (en) * 2012-03-30 2014-05-01 Percolate Industries, Inc. Interactive computing recommendation facility with learning based on user feedback and interaction
CN105224614A (en) * 2015-09-17 2016-01-06 北京金山安全软件有限公司 Application program classification display method and device
CN105893443A (en) * 2015-12-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Video recommendation method and apparatus, and server
CN106534984A (en) * 2016-12-23 2017-03-22 深圳Tcl数字技术有限公司 TV program pushing method and device

Also Published As

Publication number Publication date
CN108733684A (en) 2018-11-02
TW201840197A (en) 2018-11-01
TWI678922B (en) 2019-12-01

Similar Documents

Publication Publication Date Title
US11436234B1 (en) Selection and presentation of unviewed messages
US10305851B1 (en) Network-based content discovery using messages of a messaging platform
RU2720899C2 (en) Method and system for determining user-specific content proportions for recommendation
US9728230B2 (en) Techniques to bias video thumbnail selection using frequently viewed segments
US9913001B2 (en) System and method for generating segmented content based on related data ranking
WO2018192272A1 (en) Multimedia resource recommendation method and apparatus
CN110634047B (en) Method and device for recommending house resources, electronic equipment and storage medium
US9886515B1 (en) Typeahead using messages of a messaging platform
US9674128B1 (en) Analyzing distributed group discussions
WO2019024670A1 (en) Multimedia resource recommendation method and device
US9710563B2 (en) Search engine analytics and optimization for media content in social networks
CN108462900B (en) Video recommendation method and device
CN111368185A (en) Data display method and device, storage medium and electronic equipment
CN109255037B (en) Method and apparatus for outputting information
US11176143B2 (en) Location-aware content detection
WO2023151589A1 (en) Video display method and apparatus, electronic device and storage medium
CN109063200B (en) Resource searching method and device, electronic equipment and computer readable medium
US10929447B2 (en) Systems and methods for customized data parsing and paraphrasing
TWI676391B (en) Video search method and device
CN112529646A (en) Commodity classification method and device
US11275749B2 (en) Enhanced query performance prediction for information retrieval systems
US11042582B2 (en) Method and device for categorizing multimedia resources
US10043221B2 (en) Assigning confidence levels to online profiles
US9915942B2 (en) System and method for identifying significant and consumable-insensitive trace features
US9060203B2 (en) Personalized categorization of television programming

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18787634

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 27/03/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18787634

Country of ref document: EP

Kind code of ref document: A1