CN111258484A - Video playing method and device, electronic equipment and storage medium - Google Patents

Video playing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111258484A
CN111258484A CN202010089103.5A CN202010089103A CN111258484A CN 111258484 A CN111258484 A CN 111258484A CN 202010089103 A CN202010089103 A CN 202010089103A CN 111258484 A CN111258484 A CN 111258484A
Authority
CN
China
Prior art keywords
video
favorite
target
playing
label
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
CN202010089103.5A
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 CN202010089103.5A priority Critical patent/CN111258484A/en
Publication of CN111258484A publication Critical patent/CN111258484A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a video playing method, a video playing device, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving a first sliding operation of a user on a video page, determining a target video displayed in the video page to which the first sliding operation slides and a video tag corresponding to the target video, matching the video tag with a favorite tag preset by the user, and playing the target video if the video tag is matched with the favorite tag. According to the embodiment of the invention, the target video which is possibly interested by the user in the video page can be automatically played once the user slides to one video page, so that the target video which is interested by the user in the video page which slides to can be seamlessly played, the video can be more smoothly watched, and the time wasted by the user in the processes of operating click events and waiting for playing can be saved.

Description

Video playing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a video playing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of mobile internet technology, mobile terminals such as smart phones and tablet computers are increasingly popularized, and great convenience is brought to life and learning of people.
In recent years, mobile end APPs have been in the endlessly, and particularly, short video APPs are the most spotlighted. Users spend especially much fragmentation time in short video streams. However, such APP generally displays recommendation information of one or more videos on an interface of the mobile terminal, so as to achieve the purposes of recommending videos to users, increasing daily lives, and keeping users. The recommendation information of the video may include a recommendation picture of the video, and characters, tags, play buttons, and the like displayed on the recommendation picture.
When a user slides to a video page in the process of browsing such short videos, the user needs to click a play button on a recommended picture to play, which causes a certain time waste and a less smooth viewing experience when the user operates a click event and waits for playing.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a video playing method, an apparatus, an electronic device and a storage medium.
In a first aspect, the present application provides a video playing method, where the method includes:
receiving a first sliding operation of a user on a video page;
determining a target video displayed in a video page to which the first sliding operation slides and a video tag corresponding to the target video;
matching the video label with a favorite label preset by the user;
and if the video label is matched with a preset favorite label, playing the target video.
Optionally, the step of playing the target video includes:
if the video page comprises a plurality of target videos and the video tags of the target videos are matched with the favorite tags, obtaining the favorite degree scores corresponding to the favorite tags;
and if the numerical fluctuation range of the preference degree scores corresponding to the plurality of preference labels is outside the preset range, determining the video label matched with the preference label with the highest preference degree score, and playing the target video corresponding to the video label.
Optionally, the step of playing the target video further includes:
sequencing the remaining target videos except the played target video in the video page according to the sequence of the preference degree scores of the preference labels from high to low;
and playing the remaining target videos in the video page according to the sequencing order.
Optionally, the step of playing the target video further includes:
if the numerical fluctuation range of the preference degree scores corresponding to the plurality of preference labels is within a preset range, acquiring the heat value of each target video;
and playing the target video with the highest heat value.
Optionally, the step of playing the target video further includes:
sequencing the remaining target videos except the played target video in the video page according to the sequence of the heat value from high to low;
and playing the remaining target videos in the video page according to the sequencing order.
Optionally, the method further comprises:
receiving a playing operation of a target video of which a video tag in a video page is not matched with a preset favorite tag;
if the playing time of the target video receiving the playing operation exceeds a first preset time or the target video is played completely, determining the video label of the target video as a favorite label, and adding the favorite label into a favorite label set.
Optionally, after the step of determining the video tag of the target video as the favorite tag and adding the favorite tag to the favorite tag set, the method further comprises:
receiving a second sliding operation of refreshing the video page/loading a new video page;
acquiring a plurality of favorite labels from the favorite label set;
and displaying the videos matched with the acquired favorite labels in a new video page.
Optionally, after the step of playing the target video, the method further comprises:
if the playing time length of the target video exceeds a second preset time length or the target video is played completely, increasing the favorite degree score of the favorite label matched with the video label by a first preset score;
and if the playing time length of the target video is less than the second preset time length, reducing the favorite degree score of the favorite label matched with the target video label by a second preset score.
Optionally, the method further comprises:
and if the video label is not matched with a preset favorite label, the target video is not played.
In a second aspect, the present application provides a video playback device, the device comprising:
the receiving module is used for receiving a first sliding operation of a user on a video page;
the determining module is used for determining a target video displayed in a video page to which the first sliding operation slides and a video tag corresponding to the target video;
the matching module is used for matching the video label with a favorite label preset by the user;
and the playing module is used for playing the target video if the video label is matched with a preset favorite label.
In a third aspect, the present application 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;
and a processor configured to implement the video playing method according to any one of the first aspect when executing the program stored in the memory.
In a fourth aspect, the present application provides a computer-readable storage medium having a program of a video playing method stored thereon, where the program of the video playing method, when executed by a processor, implements the steps of the video playing method according to any one of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, the first sliding operation of a user on a video page is received, the target video displayed in the video page to which the first sliding operation slides and the video tag corresponding to the target video are determined, the video tag is matched with the favorite tag preset by the user, and if the video tag is matched with the favorite tag preset by the user, the target video can be played.
According to the embodiment of the invention, the target video corresponding to the video tag matched with the favorite tag preset by the user in the video page can be automatically played once the user slides to the video page, namely, the target video which the user may be interested in is automatically played, the target video which the user is interested in the slid video page is seamlessly played, the video is more smoothly watched, and the time wasted by the user in the processes of operating a click event and waiting for playing is saved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
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, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a video playing method according to an embodiment of the present application;
FIG. 2 is a flowchart of step S104 in FIG. 1;
FIG. 3 is another flowchart of step S104 in FIG. 1;
FIG. 4 is another flowchart of step S104 in FIG. 1;
FIG. 5 is another flowchart of step S104 in FIG. 1;
fig. 6 is another flowchart of a video playing method according to an embodiment of the present application;
fig. 7 is another flowchart of a video playing method according to an embodiment of the present application;
fig. 8 is another flowchart of a video playing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. 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 application.
In the process of browsing a short video, each time a user slides to a video page, the user needs to click a play button on a recommended picture to play, which causes a certain time waste and a less smooth viewing experience in the process of operating a click event and waiting for playing, and therefore, the embodiment of the invention provides a video playing method, a device, electronic equipment and a storage medium, wherein the video playing method can be applied to a user terminal, such as an electronic equipment with a touch screen, such as a mobile phone, a tablet computer and the like, and as shown in fig. 1, the method can comprise the following steps:
step S101, receiving a first sliding operation of a user on a video page;
in the embodiment of the invention, one or more videos can be displayed in the video page, the first sliding operation can refer to an operation that a user slides on a touch screen of the user terminal through an operation body (such as a finger or a touch pen, and the like), the video page can be changed along with the first sliding operation, and the video in the video page to which the user slides is partially or completely different from the video in the video page before the user slides.
Step S102, determining a target video displayed in a video page to which the first sliding operation slides and a video tag corresponding to the target video;
in the embodiment of the present invention, a video tag may be added to each video in advance, and for example, the video tag may be used to embody a video category of content in the video, such as: if the content in a certain video is daily for cat raising, the video label of the video can be set as a pet; if the content in a certain video is daily of the baby raising, the video label of the video can be set as child raising; the content in a certain video introduces a 5G communication principle, the video tags of the video can be set to be science and technology and the like, and each video can be provided with at least one video tag according to the content;
in this step, one or more videos in the video page to which the slide is made may be determined as target videos, and video tags of the target videos are acquired.
Step S103, matching the video label with a favorite label preset by the user;
in the embodiment of the present invention, the favorite label may be used to represent a video category in which the user is interested, for example: the favorite tags can be set when the user uses the client for the first time, and can be collected in advance to know the video content interested by the user more conveniently, so that the video interested by the user can be conveniently displayed for the user. The favorite label client can be stored locally or sent to the server for storage, and when the client is used, the favorite label client is synchronized to the client.
The method comprises the steps of firstly acquiring video tags of all target videos in a video page, comparing each video tag with a preset favorite tag one by one, and if a certain video tag is the same as any favorite tag, determining that the video tag is matched with the favorite tag; if a certain video tag is different from all favorite tags, it can be determined that the video tag does not match the favorite tags.
And step S104, if the video label is matched with a preset favorite label, playing the target video.
In this step, a target video whose video tag matches the favorite tag may be played.
In practical application, if the video tag is not matched with a preset favorite tag, the target video is not played.
According to the embodiment of the invention, the first sliding operation of a user on a video page is received, the target video displayed in the video page to which the first sliding operation slides and the video tag corresponding to the target video are determined, the video tag is matched with the favorite tag preset by the user, and if the video tag is matched with the preset favorite tag, the target video can be played.
According to the embodiment of the invention, the target video corresponding to the video tag matched with the favorite tag preset by the user in the video page can be automatically played once the user slides to the video page, namely, the target video which the user may be interested in is automatically played, the target video which the user is interested in the slid video page is seamlessly played, the video is more smoothly watched, and the time wasted by the user in the processes of operating a click event and waiting for playing is saved.
When a plurality of target videos are included in the video page, there may be a situation that the video tags of the plurality of target videos match with the favorite tags, and in this case, if a plurality of target videos whose video tags match with the favorite tags are played simultaneously, the user may not be able to effectively view the plurality of target videos at the same time due to the past experience, for this reason, in another embodiment of the present invention, as shown in fig. 2, the step S104 includes:
step S201, if the video page comprises a plurality of target videos and the video tags of the target videos are matched with the favorite tags, obtaining the favorite degree scores corresponding to the favorite tags;
in the embodiment of the invention, the favorite degree score can be determined according to the record of watching each video with the favorite label by the user history, for example, if the user watches the video with a certain favorite label more than the preset times, the favorite degree score corresponding to the favorite label can be increased, and the like.
Step S202, if the numerical fluctuation range of the favorite degree scores corresponding to the favorite labels is outside the preset range, determining the video label matched with the favorite label with the highest favorite degree score, and playing the target video corresponding to the video label.
In this step, when there is a difference between any two of the likeness scores in the plurality of likeness scores that is outside the preset range, it may be determined that a numerical fluctuation range of the plurality of likeness scores is outside the preset range, that is, there is a numerical value in the plurality of likeness scores that differs by more than the preset range, that is: the values of the multiple likeness scores are not similar, and at this time, the video label matched with the likeness label with the highest score can be selected from the multiple likeness scores, and the target video corresponding to the video label is played.
According to the embodiment of the invention, when the values of the preference degree scores corresponding to the plurality of preference labels are not similar, the preference label with the highest preference degree score is selected, and the target video corresponding to the video label is played, so that when the video labels of the plurality of target videos in the video page are matched with the plurality of preference labels, the target video which is probably most interesting to a user is preferentially selected to be played, the target video can be automatically played without clicking every time by the user, the user operation is simplified, and the use by the user is facilitated.
Based on the foregoing embodiment, when the video tags of a plurality of target videos in the video page match with a plurality of favorite tags, if only the target video with the highest favorite tag matching is played, the user may be caused to miss other target videos of interest in the video page, and for this reason, in another embodiment of the present invention, as shown in fig. 3, the step S104 further includes:
step S301, sequencing the remaining target videos except the played target video in the video page according to the sequence of the favorite degree scores of the favorite labels from high to low;
in this step, the corresponding relationship among the target video, the video tag, the favorite tag and the favorite degree score may be established first, and then the favorite degree scores are sorted, and because the corresponding relationship is established, the target video also generates a new sort according to the sequence of the favorite degree scores.
Step S302, playing the remaining target videos in the video page according to the sorting sequence.
According to the embodiment of the invention, after the target video which is probably most interested by the user is played, the other target videos matched with the favorite tags in the video page can be automatically played according to the interest degree, so that the user operation is simplified, and the user can use the method and the device conveniently.
Based on the foregoing embodiment, a plurality of target videos with different likeness scores can be automatically played, however, when the likeness scores are similar, the plurality of target videos cannot be automatically played in the manner of the foregoing embodiment, for this reason, in another embodiment of the present invention, as shown in fig. 4, the step S104 further includes:
step S401, if the numerical fluctuation range of the preference degree scores corresponding to the plurality of preference labels is within a preset range, acquiring the heat value of each target video;
in the embodiment of the present invention, when the numerical fluctuation range of the likeness score corresponding to the plurality of likeness labels is within the preset range, the calculated heat value of each target video may be obtained, or the related data indexes of the target video may be obtained, and the heat value of the target video may be calculated according to the related data indexes.
The heat value is exemplary and can be calculated by: the heat value includes a viewing behavior index, an interaction behavior index, and a sharing behavior index, and the weight of the data is distinguished according to the time period. Taking the content popularity as an example, in the calculation, the website refers to the values of two time periods: one is near 24 hours of viewing, interacting, sharing data; one is viewing, interacting, sharing data for nearly 30 days, and weighting higher with multidimensional data for nearly 24 hours. The watching data is not simply accumulated in playing amount, but is obtained by integrating data such as the number of users on the basis of calculating the integral time length and the completion degree of watching the video by the users, and even the positive film watching data and the film flower watching data need to be weighted and calculated, so that the watching data can reflect the watching quality better. As for the interactive behavior and the sharing behavior, the comprehensive calculation of the interactive behaviors such as user comments, praise, forward, barrage and the like is carried out, and the objectivity and the anti-cheating capability of the judgment are increased through an algorithm.
And step S402, playing the target video with the highest heat value.
According to the embodiment of the invention, when the numerical fluctuation range of the preference degree scores corresponding to the plurality of preference labels is within the preset range, namely when the preference degree scores are similar, the target video with the highest popularity value can be automatically played, the target video can be automatically played without clicking every time by a user, the operation of the user is simplified, and the use by the user is facilitated.
Based on the foregoing embodiment, when the popularity scores of the target videos are close, the target video with the highest popularity value can be automatically played, but if only the target video with the highest popularity value is played, the user may miss other interested target videos in the video page, for this reason, in another embodiment of the present invention, as shown in fig. 5, the step S104 further includes:
step S501, sequencing the remaining target videos except the played target video in the video page according to the sequence of the heat value from high to low;
in this step, the corresponding relationship between the target video and the heat value may be established first, and then the heat values are sorted, and because the corresponding relationship is established, the target video will also generate a new sort along with the sequence of the heat values.
Step S502, playing the remaining target videos in the video page according to the sorting sequence.
According to the embodiment of the invention, after the target video with the highest heat value is automatically played, the remaining target videos in the video page can be automatically played according to the sorting sequence of the heat values, the target videos can be automatically played without clicking every time by a user, the user operation is simplified, and the use by the user is facilitated.
Based on the foregoing embodiment, since in practical applications, videos in which a user is interested may change over time, for example, a user may be interested in learning videos during school learning, may be interested in videos related to the profession in which the user is engaged after graduation, and so on, if the user's favorite is not updated all the time, the user may not be caught in the interest of the user all the time, and the user's use may be affected, in another embodiment of the present invention, as shown in fig. 6, the method further includes:
step S601, receiving a playing operation of a target video of which a video tag in a video page is not matched with a preset favorite tag;
in the embodiment of the invention, when the click operation of any target video in the click video page is received, whether the target video receiving the click operation is not matched with the preset favorite tag or not can be automatically judged, and if the target video receiving the click operation is not matched with the preset favorite tag, the receiving of the play operation can be determined.
Step S602, if the playing time of the target video receiving the playing operation exceeds a first preset time, or the target video is played completely, determining the video tag of the target video as a favorite tag, and adding the favorite tag into a favorite tag set.
In the embodiment of the present invention, the first preset time period is exemplary and may be 20 seconds, 1 minute, or the like.
In practical application, when the user repeatedly watches a certain target video for a preset number of times, for example, 3 times, the video tag of the target video is determined as a favorite tag and added to the favorite tag set.
In this step, after the play operation is received, the target video that has received the play operation may be played, a timer is started, the play duration of the target video is recorded by using the timer, and if the play duration exceeds a first preset duration, or the target video is played completely, the video tag of the target video may be determined as a favorite tag, and the favorite tag is added to a favorite tag set, so as to be used next time.
According to the embodiment of the invention, the favorite labels can be automatically enriched according to the playing time of the target video and the situation of whether the target video is played completely, so that the displayed video can be adjusted continuously along with the change of the interest points of the user, the interest points of the user are grasped at all times, and the user can use the video conveniently.
Based on the foregoing embodiment, after all the target videos that the user wants to watch in the video page to which the first sliding operation slides are played, the video page may be refreshed by pulling down or the new video page may be loaded and displayed by pulling up, so that the user can watch the videos, however, if the videos in the video page and the video page are loaded and displayed randomly all the time, the videos that the user may possibly interest may only include few videos that the user may interest, or even may not include videos that the user interests, which may result in wasting traffic of the user and wasting resources in the user terminal, and for this reason, in a further embodiment of the present invention, after the step of determining the video tag of the target video as a favorite tag and adding the favorite tag into a favorite tag set, as shown in fig. 7, the method further comprises:
step S701, receiving a second sliding operation of refreshing the video page/loading a new video page;
step S702, acquiring a plurality of favorite labels from the favorite label set;
and acquiring the favorite labels currently stored in the favorite label set from the favorite label set.
Step S703 is to display the video matched with the acquired multiple favorite tags in a new video page.
In the embodiment of the invention, the video page can be refreshed or a new video page can be loaded according to the favorite tag currently stored in the favorite tag set, so that more videos which are interested by a user can be gradually loaded along with the use of the user, and the purposes of saving the flow of the user and saving the resources of a user terminal are achieved.
Based on the foregoing embodiment, since in practical applications, the interest level of the user in the video may change with time, for example, a user only likes science-type videos only to a general level in the beginning, and becomes a science fan and a enthusiast of science-type videos after learning more science and technology knowledge with time, so that if the preference level score of the user's preference label is not updated all the time, it will not be possible to know the interest point of the user in real time, which affects the user's use, and for this reason, in another embodiment of the present invention, after the step of playing the target video, as shown in fig. 8, the method further includes:
step S801, if the playing time length of the target video exceeds a second preset time length, or the target video is played completely, increasing a favorite degree score of a favorite label matched with the video label by a first preset score;
in the embodiment of the present invention, the second preset time period may be 20 seconds, 1 minute, or the like, the first preset fraction may be 1 minute, or 3 minutes, or the like, which may be set according to actual situations, and the present invention is not limited.
In this step, if the playing time length of the target video exceeds a second preset time length, or the target video is played completely, the video tag of the target video may be acquired, the favorite tag matched with the video tag is acquired, the favorite degree score corresponding to the favorite tag is acquired, the sum of the current favorite degree score and the first preset score is determined as a new favorite degree score, and for example, if the current favorite degree score is 3 scores and the first preset score is 1 score, the new favorite degree score is 4 scores after the addition.
Step S802, if the playing time length of the target video is less than the second preset time length, the favorite degree score of the favorite label matched with the target video label is reduced by a second preset score.
In this step, if the playing duration of the target video exceeds a second preset duration, or the target video is played completely, the video tag of the target video may be acquired, the favorite tag matched with the video tag is acquired, the favorite degree score corresponding to the favorite tag is acquired, a difference obtained by subtracting a first preset score from the current favorite degree score is determined as a new favorite degree score, and for example, if the current favorite degree score is 3 scores and the first preset score is 1 score, the new favorite degree score is 2 scores after the difference is made.
According to the embodiment of the invention, the favorite degree score of the favorite label can be automatically adjusted according to the time length of watching the video and the condition of whether the video is played completely, so that the displayed video can be adjusted conveniently and continuously along with the change of the interest points of the user, the interest points of the user are grasped at all times, and the user can use the video conveniently.
In another embodiment of the present invention, there is also provided a video playback apparatus, as shown in fig. 9, the apparatus including:
the receiving module 11 is configured to receive a first sliding operation of a user on a video page;
a determining module 12, configured to determine a target video displayed in a video page to which the first sliding operation slides and a video tag corresponding to the target video;
the matching module 13 is configured to match the video tag with a favorite tag preset by the user;
and the playing module 14 is configured to play the target video if the video tag is matched with a preset favorite tag.
In another embodiment of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the video playing method in the embodiment of the method when executing the program stored in the memory.
In the electronic device provided by the embodiment of the invention, the processor executes the program stored in the memory to realize that the target video displayed in the video page to which the first sliding operation slides and the video tag corresponding to the target video are determined by receiving the first sliding operation of the video page by the user, the video tag is matched with the favorite tag preset by the user, if the video tag is matched with the preset favorite tag, the target video can be played, and the target video corresponding to the video tag matched with the favorite tag preset by the user can be automatically played in the video page when the user slides to one video page, namely the target video which is possibly interested by the user is automatically played, the target video which is interested by the user in the video page which is slid is realized in a seamless way, and the video can be more smoothly watched, the time wasted by the user in the processes of operating click events and waiting for broadcasting is saved.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM), and may also include 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 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In still another embodiment of the present invention, a computer-readable storage medium is further provided, on which a program of a video playing method is stored, and the program of the video playing method, when executed by a processor, implements the steps of the video playing method described in the foregoing method embodiment.
It is noted that, in this document, 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.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A video playback method, the method comprising:
receiving a first sliding operation of a user on a video page;
determining a target video displayed in a video page to which the first sliding operation slides and a video tag corresponding to the target video;
matching the video label with a favorite label preset by the user;
and if the video label is matched with a preset favorite label, playing the target video.
2. The video playing method according to claim 1, wherein the step of playing the target video comprises:
if the video page comprises a plurality of target videos and the video tags of the target videos are matched with the favorite tags, obtaining the favorite degree scores corresponding to the favorite tags;
and if the numerical fluctuation range of the preference degree scores corresponding to the plurality of preference labels is outside the preset range, determining the video label matched with the preference label with the highest preference degree score, and playing the target video corresponding to the video label.
3. The video playing method according to claim 2, wherein the step of playing the target video further comprises:
sequencing the remaining target videos except the played target video in the video page according to the sequence of the preference degree scores of the preference labels from high to low;
and playing the remaining target videos in the video page according to the sequencing order.
4. The video playing method according to claim 2, wherein the step of playing the target video further comprises:
if the numerical fluctuation range of the preference degree scores corresponding to the plurality of preference labels is within a preset range, acquiring the heat value of each target video;
and playing the target video with the highest heat value.
5. The video playing method according to claim 4, wherein the step of playing the target video further comprises:
sequencing the remaining target videos except the played target video in the video page according to the sequence of the heat value from high to low;
and playing the remaining target videos in the video page according to the sequencing order.
6. The video playback method of claim 1, wherein the method further comprises:
receiving a playing operation of a target video of which a video tag in a video page is not matched with a preset favorite tag;
if the playing time of the target video receiving the playing operation exceeds a first preset time or the target video is played completely, determining the video label of the target video as a favorite label, and adding the favorite label into a favorite label set.
7. The video playing method according to claim 6, wherein after the step of determining the video tag of the target video as a favorite tag and adding the favorite tag to the favorite tag set, the method further comprises:
receiving a second sliding operation of refreshing the video page/loading a new video page;
acquiring a plurality of favorite labels from the favorite label set;
and displaying the videos matched with the acquired favorite labels in a new video page.
8. The video playback method according to claim 1, wherein after the step of playing back the target video, the method further comprises:
if the playing time length of the target video exceeds a second preset time length or the target video is played completely, increasing the favorite degree score of the favorite label matched with the video label by a first preset score;
and if the playing time length of the target video is less than the second preset time length, reducing the favorite degree score of the favorite label matched with the target video label by a second preset score.
9. The video playback method of claim 1, wherein the method further comprises:
and if the video label is not matched with a preset favorite label, the target video is not played.
10. A video playback apparatus, comprising:
the receiving module is used for receiving a first sliding operation of a user on a video page;
the determining module is used for determining a target video displayed in a video page to which the first sliding operation slides and a video tag corresponding to the target video;
the matching module is used for matching the video label with a favorite label preset by the user;
and the playing module is used for playing the target video if the video label is matched with a preset favorite label.
11. 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 video playback method according to any one of claims 1 to 9 when executing the program stored in the memory.
12. A computer-readable storage medium, characterized in that a program of a video playback method is stored on the computer-readable storage medium, and the program of the video playback method realizes the steps of the video playback method according to any one of claims 1 to 9 when executed by a processor.
CN202010089103.5A 2020-02-12 2020-02-12 Video playing method and device, electronic equipment and storage medium Pending CN111258484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010089103.5A CN111258484A (en) 2020-02-12 2020-02-12 Video playing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010089103.5A CN111258484A (en) 2020-02-12 2020-02-12 Video playing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111258484A true CN111258484A (en) 2020-06-09

Family

ID=70951222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010089103.5A Pending CN111258484A (en) 2020-02-12 2020-02-12 Video playing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111258484A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767429A (en) * 2020-06-29 2020-10-13 北京奇艺世纪科技有限公司 Video recommendation method and device and electronic equipment
CN113784211A (en) * 2021-09-17 2021-12-10 北京快来文化传播集团有限公司 Short video playing method and device
CN113873320A (en) * 2021-09-28 2021-12-31 北京奇艺世纪科技有限公司 Video playing method and device, terminal equipment and readable storage medium
CN113949933A (en) * 2021-09-30 2022-01-18 卓尔智联(武汉)研究院有限公司 Playing data analysis method, device, equipment and storage medium
CN114189733A (en) * 2021-12-03 2022-03-15 北京百度网讯科技有限公司 Video data display method, device, equipment and storage medium
CN115065871A (en) * 2022-06-09 2022-09-16 咪咕音乐有限公司 Video playing control method and device and electronic equipment
CN115278333A (en) * 2022-07-11 2022-11-01 上海连尚网络科技有限公司 Method, device, medium and program product for playing video

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246642A1 (en) * 2004-05-03 2005-11-03 Valderas Harold M Application for viewing video slide based presentations
US20140178033A1 (en) * 2012-12-25 2014-06-26 Huawei Technologies Co., Ltd. Video playback method, terminal, and system
CN104021162A (en) * 2014-05-28 2014-09-03 小米科技有限责任公司 Method and device for grading multimedia resource
CN104333773A (en) * 2013-12-18 2015-02-04 乐视网信息技术(北京)股份有限公司 A Video recommending method and server
US9081856B1 (en) * 2011-09-15 2015-07-14 Amazon Technologies, Inc. Pre-fetching of video resources for a network page
CN105407385A (en) * 2015-10-29 2016-03-16 桂林创研科技有限公司 Video recommendation method and system
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN105915954A (en) * 2015-10-30 2016-08-31 乐视移动智能信息技术(北京)有限公司 Video recommendation method based on mobile phone screen and video recommendation system thereof
CN106131587A (en) * 2016-07-22 2016-11-16 亦非云互联网技术(上海)有限公司 Audio/video carousel method, system and there is the server end of this system
US20170133058A1 (en) * 2015-11-06 2017-05-11 Airwatch Llc Systems for optimized presentation capture
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN108337549A (en) * 2015-07-20 2018-07-27 优酷网络技术(北京)有限公司 Video broadcasting method and its device
CN108737897A (en) * 2018-05-22 2018-11-02 腾讯科技(深圳)有限公司 Video broadcasting method, device, equipment and storage medium
CN109587568A (en) * 2018-11-01 2019-04-05 北京奇艺世纪科技有限公司 Video broadcasting method, device, computer readable storage medium
CN110096611A (en) * 2019-04-24 2019-08-06 努比亚技术有限公司 A kind of song recommendations method, mobile terminal and computer readable storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246642A1 (en) * 2004-05-03 2005-11-03 Valderas Harold M Application for viewing video slide based presentations
US9081856B1 (en) * 2011-09-15 2015-07-14 Amazon Technologies, Inc. Pre-fetching of video resources for a network page
US20140178033A1 (en) * 2012-12-25 2014-06-26 Huawei Technologies Co., Ltd. Video playback method, terminal, and system
CN104333773A (en) * 2013-12-18 2015-02-04 乐视网信息技术(北京)股份有限公司 A Video recommending method and server
CN104021162A (en) * 2014-05-28 2014-09-03 小米科技有限责任公司 Method and device for grading multimedia resource
CN108337549A (en) * 2015-07-20 2018-07-27 优酷网络技术(北京)有限公司 Video broadcasting method and its device
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN105407385A (en) * 2015-10-29 2016-03-16 桂林创研科技有限公司 Video recommendation method and system
CN105915954A (en) * 2015-10-30 2016-08-31 乐视移动智能信息技术(北京)有限公司 Video recommendation method based on mobile phone screen and video recommendation system thereof
US20170127102A1 (en) * 2015-10-30 2017-05-04 Le Holdings (Beijing) Co., Ltd. Method and electronic device for video recommendation
US20170133058A1 (en) * 2015-11-06 2017-05-11 Airwatch Llc Systems for optimized presentation capture
CN106131587A (en) * 2016-07-22 2016-11-16 亦非云互联网技术(上海)有限公司 Audio/video carousel method, system and there is the server end of this system
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN108737897A (en) * 2018-05-22 2018-11-02 腾讯科技(深圳)有限公司 Video broadcasting method, device, equipment and storage medium
CN109587568A (en) * 2018-11-01 2019-04-05 北京奇艺世纪科技有限公司 Video broadcasting method, device, computer readable storage medium
CN110096611A (en) * 2019-04-24 2019-08-06 努比亚技术有限公司 A kind of song recommendations method, mobile terminal and computer readable storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767429A (en) * 2020-06-29 2020-10-13 北京奇艺世纪科技有限公司 Video recommendation method and device and electronic equipment
CN111767429B (en) * 2020-06-29 2023-06-02 北京奇艺世纪科技有限公司 Video recommendation method and device and electronic equipment
CN113784211A (en) * 2021-09-17 2021-12-10 北京快来文化传播集团有限公司 Short video playing method and device
CN113873320A (en) * 2021-09-28 2021-12-31 北京奇艺世纪科技有限公司 Video playing method and device, terminal equipment and readable storage medium
CN113949933A (en) * 2021-09-30 2022-01-18 卓尔智联(武汉)研究院有限公司 Playing data analysis method, device, equipment and storage medium
CN113949933B (en) * 2021-09-30 2023-08-22 卓尔智联(武汉)研究院有限公司 Playing data analysis method, device, equipment and storage medium
CN114189733A (en) * 2021-12-03 2022-03-15 北京百度网讯科技有限公司 Video data display method, device, equipment and storage medium
CN115065871A (en) * 2022-06-09 2022-09-16 咪咕音乐有限公司 Video playing control method and device and electronic equipment
CN115065871B (en) * 2022-06-09 2024-03-22 咪咕音乐有限公司 Video playing control method and device and electronic equipment
CN115278333A (en) * 2022-07-11 2022-11-01 上海连尚网络科技有限公司 Method, device, medium and program product for playing video
CN115278333B (en) * 2022-07-11 2024-05-31 上海连尚网络科技有限公司 Method, device, medium and program product for playing video

Similar Documents

Publication Publication Date Title
CN111258484A (en) Video playing method and device, electronic equipment and storage medium
CN110781391B (en) Information recommendation method, device, equipment and storage medium
TWI498843B (en) Portable electronic device, content recommendation method and computer-readable medium
CN109819284B (en) Short video recommendation method and device, computer equipment and storage medium
US9451305B2 (en) Method, computer readable storage medium, and introducing and playing device for introducing and playing media
CN109286850B (en) Video annotation method and terminal based on bullet screen
CN107463643B (en) Barrage data display method and device and storage medium
CN110851712B (en) Method, device and computer readable medium for recommending book information
CN111641859A (en) Method and apparatus for displaying information, computer-readable storage medium, and electronic apparatus
CN111079016A (en) Short video recommendation method and device and electronic equipment
CN112445970B (en) Information recommendation method and device, electronic equipment and storage medium
CN108388629A (en) A kind of multimedia information push method, device and electronic equipment
CN107454442A (en) A kind of method and apparatus for recommending video
CN112004117A (en) Video playing method and device
CN109040775A (en) Video correlating method, device and computer readable storage medium
CN113938551B (en) Caching method and device, electronic equipment and storage medium
CN112685641B (en) Information processing method and device
WO2020147007A1 (en) Information pushing method and related product
CN116628235B (en) Data recommendation method, device, equipment and medium
WO2023093622A1 (en) Wallpaper setting method, wallpaper setting apparatus, and electronic device
CN111324733A (en) Content recommendation method, device, equipment and storage medium
WO2023030325A1 (en) Buffer processing method and apparatus
CN108205534B (en) Skin resource display method and device and electronic equipment
CN109558197B (en) Information recommendation method and device
CN113297406A (en) Picture searching method and system and electronic equipment

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