Disclosure of Invention
The present invention aims to provide a short video generation method based on user interests and interactive behaviors, so as to solve the problems proposed in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
a short video generation method based on user interest and interactive behavior comprises the following steps:
receiving and sequentially outputting a plurality of short videos, and receiving corresponding user trigger instructions, wherein the user trigger instructions are used for representing the operation behaviors of the user on the short videos;
performing interest level division on the short video according to the user trigger instruction to generate interest level labels, wherein the interest level labels are in multiple levels and are used for representing the interest degree of the user on the corresponding video;
receiving and executing lighting feedback information according to the lighting request of the interest level label for the corresponding short video output content label, and generating retrieval content labels of the short videos, wherein each short video comprises a plurality of content labels, and the content labels are used for representing the content information of the short videos;
receiving a user marking instruction, carrying out node marking on the short video according to the user marking instruction, wherein the node marking comprises user ID information, sending the node marking to a cloud server, and receiving a plurality of cloud node markings of the short video from the cloud server, wherein the user marking instruction is used for representing time point information of the user about the content of interest of the short video;
and generating an interest tag condition according to the lighting feedback information and the node mark, sending the interest tag condition to a cloud server, and receiving a short video push list.
As a further scheme of the invention: the user trigger instruction comprises:
when the short video jumping instruction is executed, pausing the currently output and played short video, and sending a request to a cloud server to acquire and play the next short video in a short video push list; and
and marking the short video which is currently output and played when the short video favorite command is executed, wherein the mark is used for representing the interest of the user in the short video.
As a further scheme of the invention: the step of dividing the interest level of the short video according to the user trigger instruction to generate an interest level tag specifically includes:
receiving a user trigger instruction, judging the user trigger instruction, and if so, executing the step
When the user trigger instruction is a short video favorite instruction, performing interest level division on the short video to generate the interest level label as interest;
when the user trigger instruction is a short video jump instruction, the playing duration of the short video is judged, and if the user trigger instruction is the short video jump instruction, the playing duration of the short video is judged
If the current playing time length is greater than or equal to the preset percentage of the total short video time length, generating the interest level label as a general interest;
otherwise, generating the interest level label as uninteresting.
As a further scheme of the invention: the method further comprises the steps of importing the short video and uploading the short video to a cloud server, wherein the steps specifically comprise:
importing the short video;
sending the content label adding request, receiving the content label adding feedback, and generating a plurality of content labels;
marking the short video according to the content tag;
and sending the short video to a cloud server.
As a further scheme of the invention: the step of receiving and executing a lighting feedback information according to the lighting request of the interest level tag for the corresponding short video output content tag and generating the retrieval content tag of the short video specifically includes:
obtaining interest level labels of the short videos, judging the interest level labels of the short videos, and if the interest level labels are interesting, judging whether the interest level labels are interesting or not
Generating and outputting a content tag lighting request of the short video, and receiving lighting feedback information;
performing importance accumulation operation on corresponding content tags according to content tag information in the lighting feedback information, wherein the importance is used for representing the number of times that the content tags of the short video are lighted, namely accumulated;
and sequencing the content tags according to the importance, wherein the content tag with the highest importance is a retrieval content tag.
As a further scheme of the invention: the steps of receiving a user marking instruction, marking nodes of the short video according to the user marking instruction, wherein the node marks comprise user ID information, sending the node marks to a cloud server, and receiving a plurality of cloud node marks of the short video from the cloud server specifically comprise:
generating a playing time line of the short video;
receiving a user marking instruction;
carrying out node marking of a time point on the playing time line according to the user marking instruction, wherein the node marking comprises user ID information and time point information;
receiving a plurality of cloud node marks of the short video from a cloud server;
marking the cloud node on the play timeline;
and sending the node mark to a cloud server.
As a further scheme of the invention: the step of generating an interest tag condition according to the lighting feedback information and the node mark, sending the interest tag condition to a cloud server, and receiving a short video push list specifically comprises the steps of:
acquiring lighting feedback information, and reading the content tag information in the lighting feedback information;
acquiring node marks, and acquiring a plurality of cloud node marks adjacent to the node marks according to the node marks;
reading user ID information in the cloud node mark;
accessing and acquiring cloud interest tag conditions of the user under the user ID information, and acquiring cloud content tag information in the cloud interest tag conditions;
establishing an interest tag condition according to the content tag information and the cloud content tag information;
and sending the short video request information and the interest tag condition to a cloud server, and receiving a short video push list.
As a further scheme of the invention: and in the step of acquiring the node marks and acquiring a plurality of cloud node marks adjacent to the node marks according to the node marks, wherein the number of the acquired adjacent cloud node marks is a preset adjustable number which is a determined numerical value, and when the total number of the cloud node marks is less than the number, the maximum value of the number of the cloud node marks is taken.
As a further scheme of the invention: after the step of marking the cloud node on the play timeline is executed, the method may further include the following steps:
receiving a user cloud node access request;
acquiring user ID information in the cloud node mark;
and accessing the user under the user ID information through the cloud server.
As a further scheme of the invention: and in the step of sending the short video request information and the interest tag condition to a cloud server and receiving a short video push list, the content tag information and the cloud content tag information are used for screening the short video of the cloud server according to the retrieval content tag.
Compared with the prior art, the invention has the beneficial effects that: by migrating the analysis of the user interest browsing behavior from the cloud server to the mobile device, the operation load of the cloud server caused by a large amount of analysis data generated by the user browsing an ultra-large amount of short videos is greatly reduced, and the use risk of the cloud server is reduced; meanwhile, the node marking operation is carried out on the time line of the short video when the user watches the short video, other users with the same watching experience can be screened, the browsing interest behavior of the short video is obtained, the pushing accuracy preferred by the browsing user is further improved, and the content generated by the short video is controlled more accurately.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific embodiments of the present invention is provided in connection with specific embodiments.
As shown in fig. 1, a method for generating a short video based on user interest and interaction behavior according to an embodiment of the present invention includes the following steps, it should be noted that all of the following steps are performed in a mobile terminal, and the mobile terminal may be a mobile phone, a tablet, or other devices used by people in daily life to watch a short video, including but not limited to the above-mentioned several steps:
s100, receiving and sequentially outputting a plurality of short videos, and receiving corresponding user trigger instructions, wherein the user trigger instructions are used for representing the operation behaviors of the user on the short videos.
In step S100, the final implementation of the executed content can be summarized as (here and below, the mobile device is taken as a representative of the subject): the user uses the mobile device to receive the short video content from the cloud server (i.e. the server providing the short video platform), and then plays the short video content, at this time, the user controls the mobile device (for example, controls the mobile device by touching the screen when collecting the short video content), so as to operate the playing short video on the mobile device, and the operation content may be, for example, playing the next short video, clicking and liking the short video, and the like.
S200, performing interest level division on the short video according to the user trigger instruction to generate interest level labels, wherein the interest level labels are in multiple levels and are used for representing the interest degree of the user on the corresponding video.
In step S200, the executed content is to perform interest level classification on the viewed short video according to an operation of the user in the process of viewing the short video, that is, a user trigger instruction received by the mobile device, for example, when the user trigger instruction received by the mobile device reflects that the user clicks on the favorite video for the short video, a favorite interest level tag is generated.
S300, receiving and executing lighting feedback information according to the lighting request of the interest level label for the corresponding short video output content label, and generating retrieval content labels of the short videos, wherein each short video comprises a plurality of content labels, and the content labels are used for representing the content information of the short videos.
In step S300, the content of the executed step is that, after the user performs an operation on the short video, a lighting request of a content tag is popped up through the mobile device, that is, a plurality of tags preset in the short video are output, then the user selects a tag that matches the short video for tagging, and then tags of all other people in the short video are compared together, and the content tag that is selected the most times is selected as a search content tag, that is, a tag that matches the content of the short video more closely.
S400, receiving a user marking instruction, carrying out node marking on the short video according to the user marking instruction, wherein the node marking comprises user ID information, sending the node marking to a cloud server, and receiving a plurality of cloud node markings of the short video from the cloud server, wherein the user marking instruction is used for representing time point information of the user about the content interested in the short video.
In step S400, the realized content is that the user can mark the time axis of the short video when watching the short video to indicate a favorite of a certain content, and can understand the behavior of bookmarking on the time axis of the short video, and can see the bookmarking made by other people, so as to obtain other people with similar interests, and further select the pushed content according to the favorite content of other people.
S500, generating an interest tag condition according to the lighting feedback information and the node mark, sending the interest tag condition to a cloud server, and receiving a short video push list.
In step S500, the short videos stored in the cloud server are screened, acquired, and pushed by lighting the feedback information and the node flag, so as to generate short video content suitable for the user.
In the embodiment of the invention, the interest tag of the short video is analyzed and judged at the mobile equipment end through the interaction behavior of the user, so that a short video screening generation scheme suitable for the user is generated, the cloud operation load when the traditional method for analyzing the browsing behavior of the user and pushing the content by the server is applied to browsing a huge number of short videos is greatly reduced, the use risk of the server is reduced, meanwhile, the users who carry out the same mark are jointly analyzed in a mode that the user carries out node marking on the short video timeline, the preference of the user can be further accurately pushed, and the control on the preference of the content is more accurate.
As shown in fig. 2, as a preferred embodiment of the present invention, the user trigger instruction includes:
and when the short video jump instruction is executed, pausing the currently output and played short video, and sending a request to the cloud server to acquire and play the next short video in the short video push list.
And marking the short video which is currently output and played when the short video favorite command is executed, wherein the mark is used for representing the interest of the user in the short video.
Specifically, the step of S200 performing interest level division on the short video according to the user trigger instruction to generate an interest level tag specifically includes:
s201, receiving a user trigger instruction, and judging the user trigger instruction.
S202, when the user trigger instruction is a short video favorite instruction, interest level division is carried out on the short video, and the interest level label is generated to be interested.
And S203, when the user trigger instruction is a short video jump instruction, judging the playing time length of the short video.
And S204, if the current playing time length is greater than or equal to the preset percentage of the total short video time length, generating the interest level label as a general interest.
S205, otherwise, generating the interest level label as uninteresting.
In the embodiment of the present invention, the detailed steps of S200 are divided and detailed, and it can be understood that, when the short video generated by the user through controlling the user trigger instruction is switched to the next video after being played for a short time, the user may be understood that the content of the short video is not interested, i.e. the interest level label is not interested; if the user finishes watching the short video or judges from time to basically finish watching the short video (if the user finishes watching four fifths of the video), and does not execute other operations to directly enter the playing of the next short video, the preference degree of the user on the video can be considered to be general, namely the interest level label is general interest; if the user likes the short video, such as favorite or like, it indicates that the user likes the short video very much, i.e. the interest level tag is interesting.
As shown in fig. 3 and fig. 4, as a preferred embodiment of the present invention, the method further includes step S600 of importing a short video and uploading the short video to a cloud server, where the step includes:
s601, importing the short video.
S602, the content label adding request is sent out, the content label adding feedback is received, and a plurality of content labels are generated.
S603, marking the short video according to the content label.
S604, sending the short video to a cloud server.
Specifically, the step S300 of receiving and executing lighting feedback information according to the lighting request of the interest level tag for the corresponding short video output content tag, and generating the search content tag of the short video specifically includes:
s301, obtaining the interest level label of the short video, and judging the interest level label of the short video, if the interest level label is interested.
S302, generating and outputting a content label lighting request of the short video, and receiving lighting feedback information.
And S303, performing importance accumulation operation on the corresponding content tag according to the content tag information in the lighting feedback information, wherein the importance is used for representing the number of times that the content tag of the short video is lighted, i.e. accumulated.
S304, the content tags are ranked according to the importance, and the content tag with the highest importance is a retrieval content tag.
In the embodiment of the present invention, the steps S600 and S300 are described in detail, where S600 is the content of other steps in addition, and the content executed by the detailed steps S600 can be understood simply that when a short video creator wants to upload a short video to a cloud server, a content tag needs to be added to the short video, that is, the content output by the content tag in S300; the content expressed in S300 is that, when the user likes a certain short video (i.e., clicks like or collects, etc.), the short video program will select one of the content tags given by the creator as the most suitable tag, and finally count the tag results selected by the people who have viewed the video and selected the tags, and use the most selected tag as the basis for swiping the short video when the short video is promoted and the mobile terminal accesses the cloud server to generate the short video for pushing.
As shown in fig. 5, as a preferred embodiment of the present invention, the step of S400 receiving a user marking instruction, performing node marking on the short video according to the user marking instruction, where the node marking includes user ID information, sending the node marking to a cloud server, and receiving a plurality of cloud node markings of the short video from the cloud server specifically includes:
s401, generating a playing time line of the short video.
S402, receiving a user marking instruction.
S403, carrying out node marking of a time point on the playing time line according to the user marking instruction, wherein the node marking comprises user ID information and time point information.
S404, receiving a plurality of cloud node marks of the short video from a cloud server.
S405, marking the cloud nodes on the playing time line.
S406, the node mark is sent to a cloud server.
In the embodiment of the present invention, detailed decomposition and content description of the step S400 are performed, and the content completed in S400 may be understood as generating a corresponding timeline for each short video, when a user watches a short video, when the user feels that the content at a certain time point is interesting or beneficial, the time point is marked, and other users who mark some time points of the short video can be seen at the same time, and then the user may obtain other users who mark the time points by clicking the time points to obtain information of other users who have common insights with the user, so as to watch the short video content of other users, or generate and screen the short video of the user according to the interests of other users.
As shown in fig. 6, as a preferred embodiment of the present invention, the step of generating an interest tag condition according to the lighting feedback information and the node mark, sending the interest tag condition to the cloud server, and receiving the short video push list specifically includes:
s501, obtaining lighting feedback information, and reading the content tag information in the lighting feedback information.
S502, obtaining node marks, and obtaining a plurality of cloud node marks adjacent to the node marks according to the node marks.
S503, reading the user ID information in the cloud node mark.
S504, accessing and obtaining the cloud interest tag condition of the user under the user ID information, and obtaining the cloud content tag information in the cloud interest tag condition.
And S505, establishing an interest tag condition according to the content tag information and the cloud content tag information.
S506, sending the short video request information and the interest tag condition to a cloud server, and receiving a short video push list.
Specifically, in the step of acquiring the node markers and acquiring a plurality of cloud node markers adjacent to the node markers according to the node markers, the number of the acquired adjacent cloud node markers is a preset adjustable number which is a determined numerical value, and when the total number of the cloud node markers is smaller than the number, the maximum value of the number of the cloud node markers is taken.
In the embodiment of the present invention, the step S500 is specifically decomposed and explained, and the realized content is obtained by combining the content tag of the short video viewing preference of the user and the content tags of the preferences of other users having short sight (i.e., having common preferences for the same segment) in the node labels, and the short video data of the cloud server is screened as the screening condition to generate the short video push list.
As a preferred embodiment of the present invention, after the step of marking the cloud node on the play timeline is executed, the method may further include the following steps:
and receiving a user cloud node access request.
And acquiring user ID information in the cloud node mark.
And accessing the user under the user ID information through the cloud server.
In the embodiment of the invention, the function realized in the step is that the user can access other marked users with similar watching feelings to the short video through the cloud node mark so as to access the favorite short video contents of other users and provide the user with the option of exploring and discovering the interested short video contents.
As a preferred embodiment of the present invention, in the step of sending the short video request information and the interest tag condition to a cloud server and receiving a short video push list, the content tag information and the cloud content tag information are used to filter the short video of the cloud server according to the retrieved content tag.
The embodiment of the invention additionally explains the mode that the user accesses the cloud server and retrieves and screens the short video according to the interest and the preference.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.