CN111079016A - Short video recommendation method and device and electronic equipment - Google Patents

Short video recommendation method and device and electronic equipment Download PDF

Info

Publication number
CN111079016A
CN111079016A CN201911302400.7A CN201911302400A CN111079016A CN 111079016 A CN111079016 A CN 111079016A CN 201911302400 A CN201911302400 A CN 201911302400A CN 111079016 A CN111079016 A CN 111079016A
Authority
CN
China
Prior art keywords
recommendation
user
short video
short
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911302400.7A
Other languages
Chinese (zh)
Inventor
王富鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201911302400.7A priority Critical patent/CN111079016A/en
Publication of CN111079016A publication Critical patent/CN111079016A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/75Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a short video recommendation method, a short video recommendation device and electronic equipment, which are applied to the field of computer application, wherein the method comprises the following steps: in a first recommendation mode, recommending short videos to a user based on a first recommendation strategy aiming at the user, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user; and recommending the short video to the user based on a second recommendation strategy preset by the user after detecting that the first recommendation mode is switched to a second recommendation mode. By applying the scheme of the embodiment of the invention, the problem that the short video push is not accurate enough due to the fact that the short video server cannot reflect the real-time requirement change of the user in time can be solved.

Description

Short video recommendation method and device and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to a short video recommendation method and device and electronic equipment.
Background
In order to meet the interest requirements of the user, the short video client can perform personalized short video recommendation according to the personal preference of the user.
In the related art, in order to implement short video recommendation, a short video server calculates user preferences according to feedback behaviors or user tags of users for watching, agreeing, commenting or forwarding short videos, and forms a recommendation strategy according to the calculated user preferences. And further, when the short video server detects that the recommendation condition is met, short video recommendation is carried out for the user according to the recommendation strategy.
However, since the related art estimates the user preference according to the feedback behavior, a certain time period is required for the user preference to take effect, which undoubtedly has the following problems: the short video server cannot reflect the real-time requirement change of the user in time, so that the short video pushing is not accurate enough.
Disclosure of Invention
The embodiment of the invention aims to provide a short video recommendation method, a short video recommendation device and electronic equipment, so as to solve the problem that short video pushing is not accurate enough. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a short video recommendation method, which is applied to an electronic device, and the method includes:
in a first recommendation mode, recommending short videos to a user based on a first recommendation strategy aiming at the user, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user;
and recommending the short video to the user based on a second recommendation strategy preset by the user after detecting that the first recommendation mode is switched to a second recommendation mode.
Optionally, the setting manner of the second recommendation policy includes:
outputting an editing page for customizing the short video recommendation strategy to the user;
and acquiring the second recommendation strategy customized in the editing page.
Optionally, the recommending the short video to the user based on a second recommendation policy preset by the user includes:
determining a plurality of short videos to be recommended based on a second recommendation strategy preset by the user;
and displaying the plurality of short videos to be recommended in a video display page according to a preset display rule.
Optionally, the predetermined display rule is: the matching degree of the short video displayed at the front and the behavior data of the user is higher than that of the short video displayed at the back and the behavior data of the user; wherein the behavioral data comprises: one or more of browsing records, downloading records, like records, playing records, and collecting records;
alternatively, the first and second electrodes may be,
the predetermined display rule is: the heat of the short video displayed at the front is higher than the heat of the short video displayed at the rear.
Optionally, the triggering manner for switching from the first recommendation mode to the second recommendation mode includes:
receiving a switching instruction for switching from the first recommendation mode to a second recommendation mode;
wherein the switching instruction comprises: and one or more of a shake switching instruction, a designated gesture switching instruction, a touch screen switching instruction and a voice switching instruction are selected.
In a second aspect, an embodiment of the present invention further provides a short video recommendation apparatus, which is applied to an electronic device, and the apparatus includes:
the short video recommendation system comprises a first recommendation module and a second recommendation module, wherein the first recommendation module is used for recommending short videos to a user based on a first recommendation strategy aiming at the user in a first recommendation mode, and the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user;
and the second recommending module is used for recommending the short video to the user based on a second recommending strategy preset by the user after the first recommending mode is switched to the second recommending mode.
Optionally, the setting manner of the second recommendation policy includes:
outputting an editing page for customizing the short video recommendation strategy to the user;
and acquiring a second recommendation strategy customized in the editing page.
Optionally, the second recommending module includes:
the determining submodule is used for determining a plurality of short videos to be recommended based on a second recommendation strategy preset by the user;
and the recommending submodule is used for displaying the plurality of short videos to be recommended in a video display page according to a preset display rule.
Optionally, the predetermined display rule is: the matching degree of the short video displayed at the front and the behavior data of the user is higher than that of the short video displayed at the back and the behavior data of the user; wherein the behavioral data comprises: one or more of browsing records, downloading records, like records, playing records, and collecting records;
alternatively, the first and second electrodes may be,
the predetermined display rule is: the heat of the short video displayed at the front is higher than the heat of the short video displayed at the rear.
Optionally, the triggering manner for switching from the first recommendation mode to the second recommendation mode includes:
receiving a switching instruction for switching from the first recommendation mode to a second recommendation mode;
wherein the switching instruction comprises: and one or more of a shake switching instruction, a designated gesture switching instruction, a touch screen switching instruction and a voice switching instruction are selected.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
the processor is configured to implement any of the short video recommendation method steps provided in the embodiments of the present invention when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the short video recommendation method provided in an embodiment of the present invention are implemented.
In a first recommendation mode, short videos are recommended to a user based on a first recommendation strategy for the user, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user; and recommending the short video to the user based on a second recommendation strategy preset by the user after detecting that the first recommendation mode is switched to a second recommendation mode. According to the scheme, when the user requirement changes, the user can actively switch from the first recommendation mode to the second recommendation mode, so that the electronic equipment can timely know the requirement change of the user, and the short video meeting the user requirement is recommended by using the user-defined recommendation strategy. Therefore, the problem that the short video pushing is not accurate enough due to the fact that the short video server cannot reflect the real-time requirement change of the user in time can be solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of a short video recommendation method according to an embodiment of the present invention;
fig. 2 is a flowchart of another short video recommendation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a short video recommendation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another short video recommendation apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem that short video pushing is not accurate enough due to the fact that a short video server cannot reflect real-time requirement changes of a user in time, the embodiment of the invention provides a short video recommending method and device and electronic equipment.
First, a short video recommendation method provided by an embodiment of the present invention is described below.
The short video recommendation method provided by the embodiment of the invention is applied to electronic equipment. In a specific application, the electronic device may be a server, and of course, the electronic device may also be a terminal device, for example: smart phones, tablet computers, notebook computers, desktop computers, and the like. When the electronic device is a server, the execution subject of the execution method may be specifically a server program running in the server and corresponding to a client with a short video recommendation function. When the electronic device is a terminal device, the execution subject of the execution method may be a client with a short video recommendation function, for example: a short video client, or other clients with short video playing function. In addition, it will be appreciated that the client may be a web page type client, or, an app (application) type client, as is reasonable.
For convenience of understanding, the processing idea of the scheme provided by the embodiment of the present invention is first introduced. The processing idea is as follows: setting a first recommendation mode and a second recommendation mode, wherein short video recommendation in the first recommendation mode is user portrait-based recommendation, and short video recommendation in the second recommendation mode is user real-time demand-based recommendation; therefore, the user can timely acquire the requirement change of the user by switching the first recommendation mode into the second recommendation mode, and the short video meeting the requirement of the user is recommended to the user.
As shown in fig. 1, a short video recommendation method provided in an embodiment of the present invention may include the following steps:
s101, recommending short videos to a user based on a first recommendation strategy aiming at the user in a first recommendation mode, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user;
s102, after the fact that the first recommendation mode is switched to the second recommendation mode is detected, short videos are recommended to the user based on a second recommendation strategy preset by the user.
In S101, a first recommendation mode may be adopted by default to recommend a short video to a user. Specifically, an execution main body of the execution method is a server, and in a first recommendation mode, when a recommendation request sent by a client is received, recommendation content composed of short videos is formed according to a first recommendation strategy, and the recommendation content is fed back to the corresponding client, so that the purpose that the server recommends the short videos to the user based on the first recommendation strategy for the user is achieved.
And the execution main body aiming at the execution method is a client, in a first recommendation mode, when the client detects that the recommendation condition is met, a recommendation request about a first recommendation strategy is sent to the server, the short video recommended by the server according to the first recommendation strategy is received, and the short video is displayed to the user, so that the purpose that the client recommends the short video to the user based on the first recommendation strategy aiming at the user is achieved. The detection that the recommendation condition is met may specifically be that the client receives a command of the user for requesting recommended content, for example, a refresh command issued by executing a refresh operation, a refresh command issued by clicking a specified button, and the like. Of course, the client detects that the recommendation condition is satisfied, and the recommendation time point set for the client may be reached, and the like.
The policy content of the first recommendation policy may be multiple, and for example, the policy content of the first recommendation policy may include one or more of the number of short videos, the category of short videos, the proportion of various types of short videos, and a presentation order related to the category of short videos. For example, the policy content of the first recommendation policy may be: recommending and displaying six short videos each time, wherein the six videos comprise three types of singing and dancing videos, beauty and make-up videos and fitness videos, the singing and dancing videos account for three, the beauty and make-up videos account for two, the fitness videos account for one, and the six videos are displayed according to a random sequence. The policy content of the first recommendation policy is merely an example, and any recommendation policy formed based on a user portrait in the prior art may be used as the first recommendation policy in the embodiment of the present invention.
In addition, the first recommendation strategy is a short video recommendation strategy formed based on the user portrait of the user. The user profile utilized in this embodiment can represent the user's short video preference types, preference degrees of each preference type, and other information, and the user profile of the user can be a labeled model formed based on the user's historical behavior and/or the user's personal registration information. The historical behaviors of the user can be historical behaviors of the user on browsing, praise, downloading, collection and the like of the short video; and the personal registration information can be information of the age, sex, hometown and the like of the user.
For example: if the personal registration information of the user is young women and the user frequently browses short videos such as singing and dancing videos and fitness videos, forming a user portrait of the user based on the historical behaviors and the personal registration information: young women, song and dance-like and body-building short videos; further, based on the user representation of the user, the formed first recommendation policy may include: the singing and dancing type short video and the body-building type short video which accord with the historical behaviors of the user and the beauty and make-up type short video which accord with the personal registration information are adopted, the ratio of the singing and dancing type video to the body-building type video in the recommendation strategy can be higher, and the ratio of the beauty and make-up type video can be lower.
In S102, the second recommended policy is a policy preset by the user. The second recommendation strategy may include one or more of the number of short videos, the category of short videos, the proportion of each category of short videos, and a presentation order for the category of short videos. For the short video category as a customizable content, category identifiers may be preset for each short video in the short video library on which the short video recommendation is based, for example, category identifiers such as english, fitness, news, makeup, and food may be preset for each short video. Therefore, the short videos to be recommended can be selected according to the category identification of the short videos.
The setting mode of the second recommendation strategy may include multiple modes. For example, in one implementation, the user may set the second recommendation policy by inputting a voice command in the client. For example, in another implementation manner, the setting manner of the second recommendation policy may include:
outputting an editing page for customizing the short video recommendation strategy to the user;
and acquiring a second recommendation strategy customized in the editing page.
It can be understood that the execution main body of the execution method is the client, and the client outputs an edit page for customizing the short video recommendation strategy, so that the user can customize the recommendation strategy, and a second recommendation strategy is obtained.
The execution main body of the execution method is the server, and the server can receive a second recommendation strategy which is sent by the client and is customized in the editing page, so that the second recommendation strategy is obtained.
The editing page can be associated in a certain page of the client through the preset icon, so that when the user has a requirement change, the user can click the preset icon in the page to trigger the client to output the editing page. For example, the edit page may be associated in a setting page of the client, so that when there is a demand change for the user, the user may trigger the client to output the edit page by clicking a preset icon associated with the edit page in the setting page. Of course, the manner of triggering the client to output the edit page by clicking the preset icon is merely an example, and should not be construed as limiting the embodiment of the present invention. For example: the client can be triggered to output the editing page through a preset gesture operation, such as a gliding gesture; or after the client is opened, the client automatically outputs the editing page at a certain time point.
In a specific application, in order to facilitate user operations, options of each short video category may be provided in the edit page, for example, options such as english-language-class short videos, fitness-class short videos, gourmet-class short videos, and makeup-class short videos are provided in the edit page for a user to set. For example, the second recommendation policy may be: and 6 short videos are returned every time of the recommendation request, the English learning short videos account for 50% and are displayed in front, and the last three videos are displayed according to the sequence of the fitness short videos, the food short videos and the fun short videos.
In addition, in order to adapt to the change of the user preference at any time, when the second recommendation strategy is one, the second recommendation strategy can be edited again at any time. That is to say, each time the requirement changes, the user may execute a predetermined instruction, and trigger the client to output an edit page, so as to re-edit the second recommendation policy. Or, the second recommendation strategy can be multiple, and when the user demand changes, the second recommendation strategy can be selected to be replaced.
In addition, the triggering mode of switching from the first recommendation mode to the second recommendation mode may include:
receiving a switching instruction for switching from a first recommendation mode to a second recommendation mode; the switching instruction may include: and one or more of a shake switching instruction, a designated gesture switching instruction, a touch screen switching instruction and a voice switching instruction are selected. It can be understood that, when the execution subject of the execution method is the server, the client sends a switching instruction for switching from the first recommendation mode to the second recommendation mode to the server after detecting the mode switching operation given by the user, so that the server can receive the switching instruction for switching from the first recommendation mode to the second recommendation mode; when the execution subject of the execution method is the client, the client may receive a switching instruction for switching from the first recommendation mode to the second recommendation mode after detecting a mode switching operation given by the user.
For example, the designated gesture switching instruction may be a switching instruction issued by two-finger sliding, a switching instruction issued by three-finger sliding, or the like. The touch screen switching instruction can be a switching instruction sent by a user by clicking a designated icon; the designated icon may be present at a certain position within the editing page, for example, the designated icon is present at the lowest position within the editing page, so that the user may switch the recommendation mode within the editing page, or the designated icon may also be present outside the editing page of the client, for example, the designated icon is present in a setting page outside the editing page, and the user may select to switch the recommendation mode in the setting page, which is not limited to this. In addition, the voice switching instruction may speak a specified voice for the user, for example, the user speaks "switch recommendation mode" to the voice assistant, thereby implementing the switching of recommendation mode.
In addition, based on a second recommendation strategy preset by the user, various ways of recommending the short video to the user are available. Illustratively, in an implementation manner, each recommendation mode corresponds to one recommendation strategy, and when it is detected that the first recommendation mode is switched to the second recommendation mode, short video recommendation is completed according to the second recommendation strategy corresponding to the current mode.
In another implementation manner, after the switching from the first recommendation mode to the second recommendation mode is detected, the configuration item or the policy priority is adjusted, and after the adjustment is completed, the recommendation of the short video is completed based on the adjusted content. Specifically, regarding the manner of configuration items, the short video recommendation policy content exists in the electronic device in the form of configuration items, and at this time, after it is detected that the first recommendation mode is switched to the second recommendation mode, the content of the configuration items may be adjusted to the policy content of the second recommendation policy, and short video recommendation is performed using the content of the current configuration item, that is, short video recommendation to the user based on the second recommendation policy preset by the user may be implemented. Regarding the priority mode, the first recommendation strategy and the second recommendation strategy are recorded in a predetermined data table, the recommendation strategies in the predetermined data table have priorities, and the priority of the first recommendation strategy is higher than that of the second recommendation strategy in the first recommendation mode. Then, after it is detected that the first recommendation mode is switched to the second recommendation mode, the priority of the recommendation strategy in the predetermined data table may be reset, so that the priority of the second recommendation strategy is higher than that of the first recommendation strategy, and short video recommendation is performed by using the recommendation strategy with the highest priority, that is, short video recommendation to the user based on the second recommendation strategy preset by the user may be implemented.
In addition, after the execution main body of the execution method is the server, after the execution main body is switched to the second recommendation mode, the server can form recommendation content composed of short videos according to a second recommendation strategy when receiving a recommendation request sent by the client, and send the recommendation content to the corresponding client, so that the purpose that the server recommends the short videos to the user based on the second recommendation strategy preset for the user is achieved.
And the execution main body aiming at the execution method is a client, in a second recommendation mode, when the client detects that the recommendation condition is met, the client sends a recommendation request about a second recommendation strategy to the server, receives a short video recommended by the server according to the second recommendation strategy, and displays the short video to the user, so that the purpose that the client recommends the short video to the user based on the second recommendation strategy preset aiming at the user is achieved.
In a first recommendation mode, short videos are recommended to a user based on a first recommendation strategy for the user, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user; and recommending the short video to the user based on a second recommendation strategy preset by the user after detecting that the first recommendation mode is switched to a second recommendation mode. According to the scheme, when the user requirement changes, the user can actively switch from the first recommendation mode to the second recommendation mode, so that the electronic equipment can timely know the requirement change of the user, and the short video meeting the user requirement is recommended by using the user-defined recommendation strategy. Therefore, the problem that the short video pushing is not accurate enough due to the fact that the short video server cannot reflect the real-time requirement change of the user in time can be solved.
As shown in fig. 2, an embodiment of the present invention further provides a short video recommendation method, including the following steps:
s201, recommending a short video to a user based on a first recommendation strategy aiming at the user in a first recommendation mode, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user;
s202, after the fact that the first recommendation mode is switched to the second recommendation mode is detected, determining a plurality of short videos to be recommended based on a second recommendation strategy preset by the user;
s203, displaying the short videos to be recommended in a video display page according to a preset display rule.
Wherein, step S201 is the same as step S101, and is not described herein.
In S202, the short video to be recommended is determined according to a second recommendation policy set by the user on the edit page. For example, the second recommendation policy set by the user on the edit page may be: and outputting the fitness short videos, the cate short videos and the lasso short videos, and determining the fitness short videos, the cate short videos and the lasso short videos as short videos to be recommended. And, it is reasonable that the specific number of the plurality of short videos to be recommended may be given in the second recommendation policy, or may be determined by the electronic device itself.
The triggering manner for switching from the first recommendation mode to the second recommendation mode may include:
receiving a switching instruction for switching from a first recommendation mode to a second recommendation mode; wherein the switching instruction may include: and one or more of a shake switching instruction, a designated gesture switching instruction, a touch screen switching instruction and a voice switching instruction are selected.
In S203, there are a plurality of predetermined display rules. Optionally, in one implementation, the predetermined display rule may be: the matching degree of the short video displayed at the front and the behavior data of the user is higher than that of the short video displayed at the back and the behavior data of the user; wherein the behavior data comprises: browse recordings, download recordings, like recordings, play recordings, and favorites recordings.
Illustratively, if the user specifies a short video type in the second recommendation policy customized in the edit page, or specifies a plurality of short video types but does not specify various types of ranks, the process of displaying the plurality of short videos to be recommended according to the predetermined display rule includes: and respectively determining the matching value of each short video to be recommended and the user behavior data, sequencing the plurality of short videos to be recommended in a descending order according to the height of the matching value, and displaying the plurality of short videos to be recommended in a video display page according to the sequencing sequence. If multiple types are set in the second recommendation strategy and multiple types of sequences are set, the process of displaying multiple short videos to be recommended according to a preset display rule comprises the following steps: and calculating the matching degree of each short video to be recommended and the user behavior data, sequencing each short video in the plurality of short videos to be recommended in a descending order according to the matching value, and displaying the short videos in a video display page according to the sequencing sequence.
Any way of calculating the similarity between the short video and the user behavior data can be applied to the embodiment of the invention. For example, the calculation manner of the matching value of any short video to be recommended and the user behavior data may include: counting browsing records, downloading records, praise records, playing records and collecting records of a user, obtaining text vectors of titles of short videos in the records, converting titles of the short videos to be recommended into text vectors, calculating distances between the text vectors of the short videos to be recommended and the text vectors of the titles of the short videos in the records, weighting the calculated distances, and obtaining a matching value of the short videos to be recommended and user behavior data based on a value obtained by weighting, for example: and taking the reciprocal value of the weighted numerical value as a matching value of the short video to be recommended and the user behavior data.
For example, if the second recommendation policy set by the user is: three fitness short videos and two makeup short videos are recommended each time, and the fitness short videos are superior to makeup short videos. Determining a matching value of each short video in the fitness short videos and the user behavior data, sorting according to the matching values, displaying according to a sorting sequence, determining a matching value of each short video in the beauty short videos and the user behavior data, sorting according to the matching values, and displaying according to the sorting sequence.
Optionally, in another implementation, the predetermined display rule is: the heat of the short video displayed at the front is higher than the heat of the short video displayed at the rear. Wherein the heat may include: the popularity can be an index value calculated by a certain algorithm based on one or more of the browsing amount, the downloading amount, the praise amount, the playing amount and the collection amount of the short video.
Illustratively, if the user specifies a short video type in the second recommendation policy customized in the edit page, or specifies a plurality of short video types but does not specify various types of ranks, the process of displaying the plurality of short videos to be recommended according to the predetermined display rule includes: respectively determining each short video to be recommended, calculating the heat of each video, sequencing the short videos to be recommended in a descending order according to the heat, and displaying the short videos to be recommended in a video display page according to the sequencing sequence. If multiple types are set in the second recommendation strategy and multiple types of sequences are set, the process of displaying multiple short videos to be recommended according to a preset display rule comprises the following steps: calculating the heat of each short video to be recommended, sequencing each short video in the plurality of short videos to be recommended in a descending order according to the heat, and displaying the short videos in a video display page according to a sequencing sequence.
Any manner capable of calculating the popularity of the short video may be applied to the embodiment of the present invention. For example, the calculation manner of the popularity of any short video to be recommended may include: acquiring browsing amount, downloading amount, praise amount, playing amount or collection amount of the short video to be recommended as the popularity of the short video to be recommended; or acquiring multiple types of browsing amount, downloading amount, praise amount, playing amount and collection amount of the short video to be recommended, weighting the acquired multiple types of information, and taking the weighted value as the popularity of the short video to be recommended.
Illustratively, if the second recommendation policy set by the user is: six short videos are recommended every time, and three short videos including fitness short videos, food short videos and fun short videos are recommended. The six short videos to be recommended can be sorted according to the heat degree by counting the heat degree of the six short videos to be recommended, and displayed according to the sorting sequence.
In a first recommendation mode, short videos are recommended to a user based on a first recommendation strategy for the user, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user; when the fact that the first recommendation mode is switched to the second recommendation mode is detected, determining a plurality of short videos to be recommended based on a second recommendation strategy preset by the user; and displaying the plurality of short videos to be recommended in a video display page according to a preset display rule. According to the scheme, when the user requirement changes, the user can actively switch from the first recommendation mode to the second recommendation mode, so that the electronic equipment can timely know the requirement change of the user, and the user-defined recommendation strategy can be utilized to recommend the short video for the user. Therefore, the problem that the short video pushing is not accurate enough due to the fact that the short video server cannot reflect the real-time requirement change of the user in time can be solved. In addition, the plurality of short videos to be recommended are displayed according to the preset display rule, so that the probability that the short videos to be recommended are clicked can be improved, and the watching requirements of users are met better.
In addition, in order to provide a better short video recommendation experience for the user, after the electronic device detects that the second recommendation mode is switched to the first recommendation mode, the short video can be recommended to the user based on the first recommendation strategy for the user.
The triggering mode of switching from the second recommendation mode to the first recommendation mode may include:
and receiving a restoring instruction for switching from the second recommendation mode to the first recommendation mode. The restoring instruction is different from the above-mentioned switching instruction for switching from the first recommended mode to the second recommended mode, and a specific instruction type is not limited herein.
There are various ways to recommend a short video to a user based on a first recommendation policy for the user.
In an implementation mode, each recommendation mode corresponds to one recommendation strategy, and when the fact that the second recommendation mode is switched to the first recommendation mode is detected, short video recommendation is completed according to the first recommendation mode corresponding to the current mode.
In another implementation manner, after the switching from the second recommendation mode to the first recommendation mode is detected, the configuration item or the priority is adjusted, and after the adjustment is completed, the recommendation of the short video is completed based on the current first recommendation strategy. Specifically, regarding the manner of configuration items, the short video recommendation policy content exists in the electronic device in the form of configuration items, and at this time, after it is detected that the second recommendation mode is switched to the first recommendation mode, the content of the configuration items may be adjusted to the policy content of the first recommendation policy, and short video recommendation may be performed by using the content of the current configuration item, that is, recommendation of a short video to the user based on the first recommendation policy may be implemented. Regarding the priority mode, the first recommendation strategy and the second recommendation strategy are recorded in a predetermined data table, the recommendation strategies in the predetermined data table have priorities, and in the second recommendation mode, the priority of the second recommendation strategy is higher than that of the first recommendation strategy. Then, after it is detected that the second recommendation mode is switched to the first recommendation mode, the priority of the recommendation strategy in the predetermined data table may be reset, so that the priority of the first recommendation strategy is higher than that of the second recommendation strategy, and short video recommendation is performed by using the recommendation strategy with the highest priority, that is, short video recommendation to the user based on the first recommendation strategy may be implemented.
In order to better understand the short video recommendation method provided by the embodiment of the present invention, the following describes the method provided by the embodiment of the present invention with reference to a specific recommended scenario:
in the server, the default is the first recommendation mode aiming at the recommendation mode of the user. In a first recommendation mode, a server side acquires a user portrait in advance, captures favorite feedback of a user on the singing and dancing videos, forms a first recommendation strategy, and increases the proportion of the singing and dancing videos in a short video recommendation process;
when the user has a requirement for learning English, the user opens an editing page of the client, six English learning videos are recommended and returned every time in the editing page to form a second recommendation strategy, and the user switches the first recommendation mode into a second recommendation mode through the client;
after the server detects that the first recommendation mode is switched to the second recommendation mode, short videos are recommended to the user according to a preset display rule based on a second recommendation strategy preset by the user, at the moment, only English learning videos are recommended, and each short video is displayed according to a sequence of the preset display rule;
when the user learns that a rest is needed for a period of time, the user can switch the second recommendation mode back to the first recommendation mode through the client, and then the server can continue to recommend the singing and dancing videos according to the first recommendation strategy after detecting that the second recommendation mode is switched to the first recommendation mode;
when the user finishes resting and needs to continue learning, the user can switch the first recommendation mode to the second recommendation mode again through the client, and at the moment, the user does not need to set the recommendation mode. Correspondingly, after the server detects that the first recommendation mode is switched to the second recommendation mode, the english learning class video in the second recommendation strategy can be recommended for the user based on the previously set second recommendation strategy.
Therefore, the problem that the short video pushing is not accurate enough due to the fact that the short video server cannot reflect the real-time requirement change of the user in time can be solved.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides a short video recommendation apparatus, which is applied to an electronic device, and as shown in fig. 3, the apparatus may include:
the first recommending module 310 is configured to recommend a short video to a user based on a first recommending strategy for the user in a first recommending mode, where the first recommending strategy is a short video recommending strategy formed based on a user portrait of the user;
and a second recommending module 320, configured to recommend the short video to the user based on a second recommending policy preset by the user after detecting that the first recommending mode is switched to a second recommending mode.
In a first recommendation mode, the short video recommendation device provided by the embodiment of the invention recommends a short video to a user based on a first recommendation strategy aiming at the user, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user; and recommending the short video to the user based on a second recommendation strategy preset by the user after detecting that the first recommendation mode is switched to a second recommendation mode. According to the scheme, when the user requirement changes, the user can actively switch from the first recommendation mode to the second recommendation mode, so that the electronic equipment can timely know the requirement change of the user, and the short video meeting the user requirement is recommended by using the user-defined recommendation strategy. Therefore, the problem that the short video pushing is not accurate enough due to the fact that the short video server cannot reflect the real-time requirement change of the user in time can be solved.
Optionally, the setting manner of the second recommendation policy includes:
outputting an editing page for customizing the short video recommendation strategy to the user;
and acquiring a second recommendation strategy customized in the editing page.
Optionally, as shown in fig. 4, the second recommending module 320 includes:
a determining submodule 3201, configured to determine, based on a second recommendation policy preset by the user, a plurality of short videos to be recommended;
the recommendation sub-module 3202 is configured to display the plurality of short videos to be recommended in a video display page according to a predetermined display rule.
Optionally, the predetermined display rule is: the matching degree of the short video displayed at the front and the behavior data of the user is higher than that of the short video displayed at the back and the behavior data of the user; wherein the behavioral data comprises: one or more of browsing records, downloading records, like records, playing records, and collecting records;
alternatively, the first and second electrodes may be,
the predetermined display rule is: the heat of the short video displayed at the front is higher than the heat of the short video displayed at the rear.
Optionally, the triggering manner for switching from the first recommendation mode to the second recommendation mode includes:
receiving a switching instruction for switching from the first recommendation mode to a second recommendation mode;
wherein the switching instruction comprises: and one or more of a shake switching instruction, a designated gesture switching instruction, a touch screen switching instruction and a voice switching instruction are selected.
As shown in fig. 5, in an embodiment provided by the present invention, an electronic device is further provided, where the terminal device includes a processor 501, a communication interface 502, a memory 503, and a communication bus 504, where the processor 501, the communication interface 502, and the memory 503 complete communication with each other through the communication bus 504;
a memory 503 for storing a computer program;
the processor 501 is configured to implement the steps of the short video recommendation method provided in the embodiment of the present invention when executing the program stored in the memory.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, which when run on a computer, cause the computer to perform the short video recommendation method of any one of the above embodiments.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer, causes the computer to perform the short video recommendation method of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A short video recommendation method applied to an electronic device includes:
in a first recommendation mode, recommending short videos to a user based on a first recommendation strategy aiming at the user, wherein the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user;
and recommending the short video to the user based on a second recommendation strategy preset by the user after detecting that the first recommendation mode is switched to a second recommendation mode.
2. The method of claim 1, wherein the second recommended strategy is set according to a manner comprising:
outputting an editing page for customizing the short video recommendation strategy to the user;
and acquiring a second recommendation strategy customized in the editing page.
3. The method according to claim 1 or 2, wherein the recommending short videos to the user based on a second recommendation strategy preset by the user comprises:
determining a plurality of short videos to be recommended based on a second recommendation strategy preset by the user;
and displaying the plurality of short videos to be recommended in a video display page according to a preset display rule.
4. The method according to claim 3, wherein the predetermined display rule is: the matching degree of the short video displayed at the front and the behavior data of the user is higher than that of the short video displayed at the back and the behavior data of the user; wherein the behavioral data comprises: one or more of browsing records, downloading records, like records, playing records, and collecting records;
alternatively, the first and second electrodes may be,
the predetermined display rule is: the heat of the short video displayed at the front is higher than the heat of the short video displayed at the rear.
5. The method according to claim 1 or 2, wherein the triggering manner for switching from the first recommendation mode to the second recommendation mode comprises:
receiving a switching instruction for switching from the first recommendation mode to a second recommendation mode;
wherein the switching instruction comprises: and one or more of a shake switching instruction, a designated gesture switching instruction, a touch screen switching instruction and a voice switching instruction are selected.
6. A short video recommendation device applied to an electronic device, the device comprising:
the short video recommendation system comprises a first recommendation module and a second recommendation module, wherein the first recommendation module is used for recommending short videos to a user based on a first recommendation strategy aiming at the user in a first recommendation mode, and the first recommendation strategy is a short video recommendation strategy formed based on a user portrait of the user;
and the second recommending module is used for recommending the short video to the user based on a second recommending strategy preset by the user after the first recommending mode is switched to the second recommending mode.
7. The apparatus of claim 6, wherein the second recommended strategy is set according to a manner comprising:
outputting an editing page for customizing the short video recommendation strategy to the user;
and acquiring a second recommendation strategy customized in the editing page.
8. The apparatus of claim 6 or 7, wherein the second recommending module comprises:
the determining submodule is used for determining a plurality of short videos to be recommended based on a second recommendation strategy preset by the user;
and the recommending submodule is used for displaying the plurality of short videos to be recommended in a video display page according to a preset display rule.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN201911302400.7A 2019-12-17 2019-12-17 Short video recommendation method and device and electronic equipment Pending CN111079016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911302400.7A CN111079016A (en) 2019-12-17 2019-12-17 Short video recommendation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911302400.7A CN111079016A (en) 2019-12-17 2019-12-17 Short video recommendation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111079016A true CN111079016A (en) 2020-04-28

Family

ID=70315081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911302400.7A Pending CN111079016A (en) 2019-12-17 2019-12-17 Short video recommendation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111079016A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897466A (en) * 2020-08-10 2020-11-06 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN112235603A (en) * 2020-10-15 2021-01-15 脸萌有限公司 Video distribution system, method, computing device and user equipment
CN112333547A (en) * 2020-11-20 2021-02-05 广州欢网科技有限责任公司 Method and device for recommending favorite preference of short video user at television end and smart television
CN113094586A (en) * 2021-04-21 2021-07-09 腾讯音乐娱乐科技(深圳)有限公司 UGC (user generated content) pushing method, device, equipment and storage medium
CN113626709A (en) * 2021-08-11 2021-11-09 聚好看科技股份有限公司 Content recommendation method based on popularity and server
CN113727169A (en) * 2021-08-27 2021-11-30 北京字跳网络技术有限公司 Video playing method, device, equipment and storage medium
CN115134648A (en) * 2021-03-26 2022-09-30 腾讯科技(深圳)有限公司 Video playing method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913273A (en) * 2015-12-14 2016-08-31 乐视网信息技术(北京)股份有限公司 Intelligent recommendation all-terminal display method and device
CN106331778A (en) * 2015-07-06 2017-01-11 腾讯科技(深圳)有限公司 Video recommendation method and device
US20180270283A1 (en) * 2017-03-15 2018-09-20 International Business Machines Corporation Personalized video playback
CN109819284A (en) * 2019-02-18 2019-05-28 平安科技(深圳)有限公司 A kind of short video recommendation method, device, computer equipment and storage medium
CN110266879A (en) * 2019-06-11 2019-09-20 王佳一 Broadcast interface display methods, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331778A (en) * 2015-07-06 2017-01-11 腾讯科技(深圳)有限公司 Video recommendation method and device
CN105913273A (en) * 2015-12-14 2016-08-31 乐视网信息技术(北京)股份有限公司 Intelligent recommendation all-terminal display method and device
US20180270283A1 (en) * 2017-03-15 2018-09-20 International Business Machines Corporation Personalized video playback
CN109819284A (en) * 2019-02-18 2019-05-28 平安科技(深圳)有限公司 A kind of short video recommendation method, device, computer equipment and storage medium
CN110266879A (en) * 2019-06-11 2019-09-20 王佳一 Broadcast interface display methods, device, terminal and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897466A (en) * 2020-08-10 2020-11-06 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN112235603A (en) * 2020-10-15 2021-01-15 脸萌有限公司 Video distribution system, method, computing device and user equipment
CN112235603B (en) * 2020-10-15 2022-04-05 脸萌有限公司 Video distribution system, method, computing device, user equipment and video playing method
US11838576B2 (en) 2020-10-15 2023-12-05 Lemon Inc. Video distribution system, method, computing device and user equipment
CN112333547A (en) * 2020-11-20 2021-02-05 广州欢网科技有限责任公司 Method and device for recommending favorite preference of short video user at television end and smart television
CN115134648A (en) * 2021-03-26 2022-09-30 腾讯科技(深圳)有限公司 Video playing method, device, equipment and computer readable storage medium
CN113094586A (en) * 2021-04-21 2021-07-09 腾讯音乐娱乐科技(深圳)有限公司 UGC (user generated content) pushing method, device, equipment and storage medium
CN113626709A (en) * 2021-08-11 2021-11-09 聚好看科技股份有限公司 Content recommendation method based on popularity and server
CN113626709B (en) * 2021-08-11 2023-05-05 聚好看科技股份有限公司 Content recommendation method and server based on heat
CN113727169A (en) * 2021-08-27 2021-11-30 北京字跳网络技术有限公司 Video playing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111079016A (en) Short video recommendation method and device and electronic equipment
US11119627B2 (en) Information display method, device, apparatus and storage medium
US10070193B2 (en) Universal browse and watch list
CN107209905B (en) Corresponding de-themed categorization for personalization and task completion services
US9622016B2 (en) Invisiblemask: a tangible mechanism to enhance mobile device smartness
US8869211B2 (en) Zoomable content recommendation system
CN110730387B (en) Video playing control method and device, storage medium and electronic device
CN106878405B (en) Method and device for adjusting push items
CN107430630A (en) For assembling and presenting method, system and the medium of the content related to particular video frequency game
CN106663107A (en) Methods, systems and media for associating multiple users with a media presentation device
CN107423308B (en) Theme recommendation method and device
US9325754B2 (en) Information processing device and information processing method
CN108763579A (en) Search for content recommendation method, device, terminal device and storage medium
CN112445970B (en) Information recommendation method and device, electronic equipment and storage medium
CN111258484A (en) Video playing method and device, electronic equipment and storage medium
CN110851712B (en) Method, device and computer readable medium for recommending book information
WO2022247220A1 (en) Interface processing method and apparatus
WO2023160413A1 (en) Book recommendation method and apparatus, and electronic device and storage medium
CN113330475A (en) Information recommendation method and device, electronic equipment and storage medium
CN110011895B (en) Conversation method, method for acquiring link information associated with object, and electronic device
JP5805134B2 (en) Terminal device and device program
CN110020335B (en) Favorite processing method and device
CN112533032B (en) Video data processing method and device and storage medium
CN107943598A (en) One kind applies switching method, electronic equipment and readable storage medium storing program for executing
CN113821145A (en) Page processing method, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination