Film and TV recommendation method, device, equipment, storage medium and program product

By receiving interactive information in the form of user dialogue and generating word embedding vectors, combining local user portrait database and film and television database, efficient and personalized recommendation of the film and television recommendation system is realized, solving the security risks and operational burdens caused by user data upload.

CN118797168BActive Publication Date: 2025-02-11LONGSHINE TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411269099.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-02-11
Estimated Expiration
2044-09-11

AI Technical Summary

Technical Problem

In the prior art, the definition process of the film and television recommendation system poses a burden to users, and uploading user data will cause hidden dangers of data privacy and security.

Method used

By receiving user's dialogue interaction information, a word embedding vector is generated, and the target user portrait is determined based on the local user portrait library matching, fusion processing is performed to obtain user preference vectors, and finally a similarity query is performed in the film and television database to obtain film and television information.

Benefits of technology

This method avoids the security risks of user data upload, reduces the user's operational burden, and improves the efficiency of film and television library retrieval through vector query.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797168B_ABST
    Figure CN118797168B_ABST
Patent Text Reader

Abstract

The present invention provides a film and television recommendation method, device, equipment, storage medium and program product, which are applied to the field of film and television recommendation technology. The method includes: receiving first user interaction information obtained in the form of a dialogue, and generating a word embedding vector according to the first user interaction information; matching the local user portrait library based on the word embedding vector to determine the target user portrait; fusing the target user portrait with the word embedding vector to obtain a user preference vector; performing a similarity query in a film and television database based on the user preference vector to obtain at least one film and television information; wherein the local user portrait library is used to store the user portrait of at least one user, and the user portrait of at least one user is stored in the form of a vector matrix.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of film and television recommendation, and in particular to a film and television recommendation method, device, equipment, storage medium and program product. Background Art

[0002] The recommendation system of smart devices is essentially an information filtering system that aims to extract effective content from a large amount of dynamic information based on user preferences or long-term observation of user behavior by devices and applications, and to provide personalized information services based on algorithms.

[0003] In the existing technology, many recommendation systems already have relatively complete recommendation algorithm logic, but in order to further improve the user experience, many recommendation algorithms now focus on personalized customization. Many mainstream platform models guide users to participate in personalized interactions, such as film and television ratings, to collect user data and upload the user data for processing.

[0004] However, not only does the definition process of this method impose a certain burden on users, but uploading user data also poses risks to data privacy and security. Summary of the invention

[0005] The present invention provides a film and television recommendation method, device, equipment, storage medium and program product, which are used to solve the problems in the prior art that the definition process will cause a certain burden on users and uploading user data will cause hidden dangers to data privacy and security.

[0006] The present invention provides a film and television recommendation method, comprising: receiving first user interaction information obtained in the form of a dialogue, and generating a word embedding vector according to the first user interaction information; performing a local user portrait library match based on the word embedding vector to determine a target user portrait; fusing the target user portrait with the word embedding vector to obtain a user preference vector; performing a similarity query in a film and television database based on the user preference vector to obtain at least one film and television information; wherein the local user portrait library is used to store a user portrait of at least one user, and the user portrait of the at least one user is stored in the form of a vector matrix.

[0007] According to a film and television recommendation method provided by the present invention, after performing a similarity query in a film and television database based on the user preference vector to obtain at least one film and television information, the method further includes: sorting the at least one film and television information in descending order of similarity; receiving second user interaction information obtained in the form of a dialogue; and determining target film and television information from the at least one film and television information based on the second user interaction information.

[0008] According to a film and television recommendation method provided by the present invention, the receiving of first user interaction information obtained in the form of a dialogue includes: receiving the first user interaction information through a film and television vertical domain model; the receiving of second user interaction information obtained in the form of a dialogue includes: receiving the second user interaction information through the film and television vertical domain model; wherein the film and television vertical domain model is based on a user interaction model.

[0009] According to a film and television recommendation method provided by the present invention, after determining the target film and television information from the at least one film and television information according to the second user interaction information, the method also includes: updating the target user portrait based on the first user interaction information, the second user interaction information, the user operation record and the user viewing record.

[0010] According to a film and television recommendation method provided by the present invention, the film and television database includes a browser film and television knowledge base and online film and television data.

[0011] According to a film and television recommendation method provided by the present invention, the fusing processing of the target user portrait with the word embedding vector includes: fusing the target user portrait with the word embedding vector through a cross encoder.

[0012] The present invention also provides a film and television recommendation device, comprising the following modules: a receiving module and a processing module; the receiving module is used to receive first user interaction information obtained in the form of a dialogue; the processing module is used to generate a word embedding vector based on the first user interaction information; a local user portrait library is matched based on the word embedding vector to determine a target user portrait; the target user portrait is fused with the word embedding vector to obtain a user preference vector; a similarity query is performed in a film and television database based on the user preference vector to obtain at least one film and television information; wherein the local user portrait library is used to store a user portrait of at least one user, and the user portrait of at least one user is stored in the form of a vector matrix.

[0013] According to a film and television recommendation device provided by the present invention, the processing module is used to sort the at least one film and television information in order of similarity from high to low; the receiving module is used to receive second user interaction information obtained in the form of a dialogue; and determine the target film and television information from the at least one film and television information based on the second user interaction information.

[0014] According to a film and television recommendation device provided by the present invention, the receiving module is used to receive the first user interaction information through a film and television vertical domain model; receive the second user interaction information through the film and television vertical domain model; wherein the film and television vertical domain model is a user interaction model.

[0015] According to a film and television recommendation device provided by the present invention, the processing module is also used to update the target user portrait based on the first user interaction information, the second user interaction information, the user operation record and the user viewing record.

[0016] According to a film and television recommendation device provided by the present invention, the film and television database includes a browser film and television knowledge base and online film and television data.

[0017] According to a film and television recommendation device provided by the present invention, the processing module is used to fuse the target user portrait with the word embedding vector through a cross encoder.

[0018] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned film and television recommendation methods is implemented.

[0019] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the film and television recommendation method described above is implemented.

[0020] The present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned film and television recommendation methods.

[0021] The film and television recommendation method, device, equipment, storage medium and program product provided by the present invention can receive first user interaction information obtained in the form of a dialogue, and generate a word embedding vector based on the first user interaction information; perform local user portrait library matching based on the word embedding vector to determine the target user portrait; fuse the target user portrait with the word embedding vector to obtain a user preference vector; perform a similarity query in the film and television database based on the user preference vector to obtain at least one film and television information; wherein the local user portrait library is used to store the user portrait of at least one user, and the user portrait of the at least one user is stored in the form of a vector matrix. Through this solution, on the one hand, the local user portrait library is used to store the user portrait of at least one user. Since the user's private information can be stored locally, the security risks caused by uploading user data are avoided. Since the user portraits of multiple users can be stored, it can adapt to the needs of multiple users on one machine. On the other hand, the local user portrait library can be matched based on the word embedding vector, and the similarity query can be performed in the film and television database based on the user preference vector. Since data query can be performed based on the vector, the problem of slow retrieval of the film and television library of the traditional recommendation system can be improved. On the other hand, user interaction information obtained in the form of dialogue can be received. Since the user can be interacted with in the form of dialogue question and answer, the user can avoid participating in the tedious operation of personalized definition, thereby reducing the user's operating burden. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 This is one of the flow charts of the film and television recommendation method provided by the present invention;

[0024] Figure 2 This is the second flow chart of the film and television recommendation method provided by the present invention;

[0025] Figure 3 It is a structural schematic diagram of the film and television recommendation device provided by the present invention;

[0026] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0029] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0030] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution.

[0031] The embodiments of the present application describe some exemplary embodiments for the purpose of explanation. It should be understood that the present application can be implemented in other ways that are not specifically shown in the drawings.

[0032] like Figure 1 As shown, the embodiment of the present application provides a film and television recommendation method, which can be applied to a film and television recommendation device. The film and television recommendation method may include S101-S103:

[0033] S101. A film and television recommendation apparatus receives first user interaction information obtained in a dialogue form, and generates a word embedding vector according to the first user interaction information.

[0034] Specifically, Figure 2 As shown, the film and television recommendation device in the present application can support voice dialogue with the user. After the user inputs natural language information to the film and television recommendation device in the form of dialogue, the film and television recommendation device can receive the first user interaction information, which may include the user's voiceprint and recognized text information. Afterwards, the film and television recommendation device can generate a word embedding vector based on the first user interaction information.

[0035] Optionally, the film and television recommendation device in the present application may include a film and television vertical domain model, and the film and television recommendation device may receive the first user interaction information of the user through the film and television vertical domain model, wherein the film and television vertical domain model is a user interaction model.

[0036] Optionally, in addition to the natural language information input by the user, the film and television recommendation device can also obtain information such as device identification and current time.

[0037] S102: The film and television recommendation device performs matching on a local user portrait library based on the word embedding vector to determine a target user portrait.

[0038] The local user portrait library is used to store a user portrait of at least one user, and the user portrait of at least one user is stored in the form of a vector matrix.

[0039] It should be noted that the local user portrait library is a database stored locally.

[0040] Optionally, the film and television recommendation device can be based on the current user's historical conversations, operation records, and movie viewing records, and utilize the capabilities of the large model to improve the user portrait in the local user portrait library.

[0041] Optionally, for the user portrait initialization operation, a small amount of self-constructed data set can be used for training at the beginning to solve the user portrait cold start problem.

[0042] Specifically, Figure 2 As shown, the film and television recommendation device can match the word embedding vector with the vector matrix in the local user portrait library. If a matching target exists, it is determined as the target user portrait.

[0043] It should be noted that if there is no matching target, it means that the user is a new user and a user profile has not yet been generated.

[0044] S103: The film and television recommendation device fuses the target user portrait with the word embedding vector to obtain a user preference vector.

[0045] Optionally, the film and television recommendation device can fuse the target user portrait with the word embedding vector through a cross encoder.

[0046] Specifically, Figure 2 As shown in FIG. 1 , after determining the target user portrait, the film and television recommendation device can input the word embedding vector and the target user portrait into a cross encoder for fusion processing based on the word vector technology to obtain a user preference vector. The cross encoder fully integrates the information of the user input and the matched target user portrait, and finally obtains a vector query with user preferences.

[0047] Optionally, if there is no matching target, the film and television recommendation device can directly input the word embedding vector into the cross encoder for encoding processing.

[0048] S104: The film and television recommendation device performs a similarity query in a film and television database based on the user preference vector to obtain at least one film and television information.

[0049] Alternatively, if Figure 2 As shown, after performing a similarity query in the film and television database based on the user preference vector to obtain at least one film and television information, the film and television recommendation device can sort the at least one film and television information in order of similarity from high to low; receive second user interaction information obtained in the form of a dialogue; and determine the target film and television information from the at least one film and television information based on the second user interaction information.

[0050] Optionally, the video recommendation device may use RERANKER technology to sort the top N video information.

[0051] Alternatively, if Figure 2 As shown, the film and television recommendation device can receive the second user interaction information through the film and television vertical domain model. Then, according to the second user interaction information, the target film and television information is determined from the at least one film and television information.

[0052] Specifically, the big model interacts with the user-side film and television vertical domain model many times, and obtains the short-term and long-term preferences of the interacting users through the long and short memory of the big model. Such multi-round conversations will gradually make the user portrait clearer and ultimately improve the retrieval hit rate of the film and television knowledge base.

[0053] Optionally, after determining the target film and television information from the at least one film and television information according to the second user interaction information, the film and television recommendation device can update the target user portrait based on the first user interaction information, the second user interaction information, the user operation record and the user viewing record.

[0054] Optionally, in the user voice interaction interface, the user can have multiple rounds of conversations with the film and television vertical domain model, and the data from multiple rounds of conversations will be used as a training set to continuously update the user portrait.

[0055] Optionally, the film and television database includes a browser film and television knowledge base and online film and television data. The film and television recommendation device can use RAG (Retrieval-Augmented Generation) technology to losslessly store massive film and television content in vector form. At the same time, relying on a network search engine, it has the ability to supplement data of the latest film and television online.

[0056] In the embodiments of the present application, on the one hand, the local user portrait library is used to store the user portrait of at least one user. Since the user's private information can be stored locally, the security risks caused by uploading user data are avoided. Since the user portraits of multiple users can be stored, the needs of multiple users on one machine can be adapted. On the other hand, the local user portrait library can be matched based on the word embedding vector, and the similarity query can be performed in the film and television database based on the user preference vector. Since data query can be performed based on the vector, the problem of slow retrieval of the film and television library of the traditional recommendation system can be improved. On the other hand, user interaction information obtained in the form of dialogue can be received. Since the user can be interacted with in the form of dialogue question and answer, the user can avoid participating in the tedious operation of personalized definition, thereby reducing the user's operating burden.

[0057] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0058] The film and television recommendation method provided in the embodiment of the present application can be executed by a film and television recommendation device or a control module for film and television recommendation in the film and television recommendation device. In the embodiment of the present application, the film and television recommendation device executing the film and television recommendation method is used as an example to illustrate the film and television recommendation device provided in the embodiment of the present application.

[0059] It should be noted that the embodiment of the present application can divide the functional modules of the film and television recommendation device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0060] like Figure 3 As shown, an embodiment of the present application provides a film and television recommendation device 300. The film and television recommendation device 300 includes: a receiving module 301 and a processing module 302. The receiving module 301 can be used to receive first user interaction information obtained in the form of a dialogue; the processing module 302 is used to generate a word embedding vector according to the first user interaction information; perform a local user portrait library match based on the word embedding vector to determine the target user portrait; fuse the target user portrait with the word embedding vector to obtain a user preference vector; perform a similarity query in the film and television database based on the user preference vector to obtain at least one film and television information; wherein, the local user portrait library is used to store the user portrait of at least one user, and the user portrait of at least one user is stored in the form of a vector matrix.

[0061] Optionally, the processing module 302 is used to sort the at least one film and television information in order of similarity from high to low; the receiving module 301 is used to receive second user interaction information obtained in the form of a dialogue; and determine the target film and television information from the at least one film and television information based on the second user interaction information.

[0062] Optionally, the receiving module 301 is used to receive the first user interaction information through a film and television vertical domain model; receive the second user interaction information through the film and television vertical domain model; wherein the film and television vertical domain model is a user interaction model.

[0063] Optionally, the processing module 302 is further used to update the target user portrait based on the first user interaction information, the second user interaction information, the user operation record and the user movie viewing record.

[0064] Optionally, the film and television database includes a browser film and television knowledge base and online film and television data.

[0065] Optionally, the processing module 302 is used to fuse the target user portrait with the word embedding vector through a cross encoder.

[0066] In the embodiments of the present application, on the one hand, the local user portrait library is used to store the user portrait of at least one user. Since the user's private information can be stored locally, the security risks caused by uploading user data are avoided. Since the user portraits of multiple users can be stored, the needs of multiple users on one machine can be adapted. On the other hand, the local user portrait library can be matched based on the word embedding vector, and the similarity query can be performed in the film and television database based on the user preference vector. Since data query can be performed based on the vector, the problem of slow retrieval of the film and television library of the traditional recommendation system can be improved. On the other hand, user interaction information obtained in the form of dialogue can be received. Since the user can be interacted with in the form of dialogue question and answer, the user can avoid participating in the tedious operation of personalized definition, thereby reducing the user's operating burden.

[0067] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the film and television recommendation method, which includes: receiving the first user interaction information obtained in the form of a dialogue, and generating a word embedding vector according to the first user interaction information; matching the local user portrait library based on the word embedding vector to determine the target user portrait; fusing the target user portrait with the word embedding vector to obtain a user preference vector; performing a similarity query in the film and television database based on the user preference vector to obtain at least one film and television information; wherein the local user portrait library is used to store the user portrait of at least one user, and the user portrait of the at least one user is stored in the form of a vector matrix.

[0068] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0069] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the film and television recommendation method provided by the above methods, which includes: receiving first user interaction information obtained in the form of a conversation, and generating a word embedding vector based on the first user interaction information; matching a local user portrait library based on the word embedding vector to determine a target user portrait; fusing the target user portrait with the word embedding vector to obtain a user preference vector; performing a similarity query in a film and television database based on the user preference vector to obtain at least one film and television information; wherein, the local user portrait library is used to store a user portrait of at least one user, and the user portrait of the at least one user is stored in the form of a vector matrix.

[0070] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the film and television recommendation method provided by the above-mentioned methods, the method comprising: receiving first user interaction information obtained in the form of a conversation, and generating a word embedding vector based on the first user interaction information; matching a local user portrait library based on the word embedding vector to determine a target user portrait; fusing the target user portrait with the word embedding vector to obtain a user preference vector; performing a similarity query in a film and television database based on the user preference vector to obtain at least one film and television information; wherein the local user portrait library is used to store a user portrait of at least one user, and the user portrait of the at least one user is stored in the form of a vector matrix.

[0071] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0072] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A film and television recommendation method, characterized in that: include: Receiving first user interaction information obtained in a dialog form, and generating a word embedding vector according to the first user interaction information; Performing matching on a local user portrait library based on the word embedding vector to determine a target user portrait; The target user portrait is fused with the word embedding vector to obtain a user preference vector; Performing a similarity query in a film and television database based on the user preference vector to obtain at least one film and television information; The local user portrait library is used to store a user portrait of at least one user, and the user portrait of at least one user is stored in the form of a vector matrix; After performing similarity query in the film and television database based on the user preference vector to obtain at least one film and television information, the method further includes: Sorting the at least one piece of film and television information in descending order of similarity; Receiving second user interaction information obtained in a dialog form; Determining target film and television information from the at least one film and television information according to the second user interaction information; After determining the target film and television information from the at least one film and television information according to the second user interaction information, the method further includes: The target user portrait is updated based on the first user interaction information, the second user interaction information, the user operation record and the user movie viewing record.

2. The film and television recommendation method according to claim 1, characterized in that: The receiving first user interaction information obtained in a dialog form includes: Receiving the first user interaction information through a film and television vertical domain model; The receiving the second user interaction information obtained in the form of a dialogue includes: Receiving the second user interaction information through the film and television vertical domain model; Among them, the film and television vertical domain model is a user interaction model.

3. The film and television recommendation method according to claim 1, characterized in that: The film and television database includes online film and television data.

4. The film and television recommendation method according to claim 1, characterized in that: The fusing the target user portrait with the word embedding vector includes: The target user profile is fused with the word embedding vector through a cross encoder.

5. A film and television recommendation device, characterized in that: include: Receiving module and processing module; The receiving module is used to receive the first user interaction information obtained in the form of a dialogue; The processing module is used to generate a word embedding vector according to the first user interaction information; Performing matching on a local user portrait library based on the word embedding vector to determine a target user portrait; The target user portrait is fused with the word embedding vector to obtain a user preference vector; a similarity query is performed in a film and television database based on the user preference vector to obtain at least one film and television information; wherein the local user portrait library is used to store the user portrait of at least one user, and the user portrait of at least one user is stored in the form of a vector matrix; The processing module is used to sort the at least one film and television information in descending order of similarity; the receiving module is used to receive the second user interaction information obtained in the form of a dialogue; the processing module is used to determine the target film and television information from the at least one film and television information according to the second user interaction information; The processing module is also used to update the target user portrait based on the first user interaction information, the second user interaction information, the user operation record and the user movie viewing record.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the film and television recommendation method according to any one of claims 1 to 4 is implemented.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the film and television recommendation method according to any one of claims 1 to 4 is implemented.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the film and television recommendation method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Content recommendation method and electronic equipment

    CN110472145A

  • Commodity recommendation method and device, electronic equipment and readable medium

    CN112085567A