Video playing method, device, equipment and storage medium

文档序号:1941884 发布日期:2021-12-07 浏览:20次 中文

阅读说明:本技术 一种视频播放方法、装置、设备和存储介质 (Video playing method, device, equipment and storage medium ) 是由 孔磊锋 贾侦修 郝建军 于 2020-09-29 设计创作,主要内容包括:本发明实施例公开了一种视频播放方法、装置、设备和存储介质,其中,方法包括:监控当前播放视频的剩余播放时间,并于所述剩余播放时间小于预设时长时,在当前视频播放界面展示视频播放模式选择控件;响应于用户对所述视频播放模式选择控件的触发操作,确定视频播放模式;根据确定的视频播放模式播放视频,其中,所述视频播放模式包括顺序播放模式、随机播放模式和重复当前视频播放模式。通过本发明实施例的技术方案,可以实现根据用户观看视频需求灵活切换视频播放模式,满足了用户在不同场景下的视频交互方式的需求,提升用户体验。(The embodiment of the invention discloses a video playing method, a video playing device, video playing equipment and a storage medium, wherein the method comprises the following steps: monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time; responding to the triggering operation of the user on the video playing mode selection control, and determining a video playing mode; and playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode. According to the technical scheme of the embodiment of the invention, the video playing mode can be flexibly switched according to the requirement of the user for watching the video, the requirement of the user on video interaction modes in different scenes is met, and the user experience is improved.)

1. A video playback method, comprising:

monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time;

responding to the triggering operation of the user on the video playing mode selection control, and determining a video playing mode;

and playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode.

2. The method of claim 1, wherein the video playback mode selection control comprises a first mode control, a second mode control, and a third mode control; the first mode control corresponds to the sequential playing mode, the second mode control corresponds to the random playing mode, and the third mode control corresponds to the repeated current video playing mode.

3. The method according to claim 2, wherein when the determined video playing mode is a sequential playing mode, the playing the video according to the determined video playing mode comprises:

sequentially playing video clips associated with the currently played video in the video clips published by the publisher of the currently played video;

and when the video clips released by the publisher do not contain the video clips which are associated with the currently played video or are not played and are associated with the currently played video, sequencing according to the playing times of the videos, and sequentially playing the video clips which are related to the currently played video content in the video playing platform.

4. The method according to claim 2, wherein when the video playing mode is a random playing mode, the playing the video according to the video playing mode comprises:

and randomly playing the video clips released by the publisher of the currently played video.

5. The method according to claim 1, wherein when the determined video playing mode is the repeated current video playing mode, and when the number of times of repeatedly playing the current video reaches a preset number, the method further comprises:

displaying a control for exiting the current play mode on a video play interface;

and recommending the video content related to the currently played video theme content for the user and playing the video content in response to the triggering operation of the user on the control for exiting the current playing mode.

6. The method of claim 1, further comprising:

when a user continuously switches to play videos, displaying a video theme switching control on a video playing interface;

and responding to the triggering operation of the user on the video theme switching control, and displaying a video theme page so as to enable the user to select an interested video theme for video playing.

7. The method of claim 3, wherein when the user replays the last video segment of the currently playing video, the method further comprises:

and displaying a repeated current video playing mode control on the video playing interface so that the user can select and determine whether to repeatedly play the current video.

8. A video playback apparatus, comprising:

the control display module is used for monitoring the remaining playing time of the currently played video and displaying a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time;

the play mode determining module is used for responding to the triggering operation of the user on the video play mode selection control and determining a video play mode;

and the video playing module is used for playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode.

9. An electronic device, characterized in that the electronic device comprises:

one or more processors;

a memory for storing one or more programs;

when executed by the one or more processors, cause the one or more processors to implement the video playback method of any of claims 1-7.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a video playback method according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention relates to the technical field of computers, in particular to a video playing method, a video playing device, video playing equipment and a storage medium.

Background

At present, short video becomes a new important traffic window, and a short video platform can meet or even create user requirements through intensive iterative update, so that the delineation and traffic accumulation of users are realized; the short video platform can also enlarge the influence by setting a marketing strategy which accords with self positioning and adjustment, and can create a platform label and popularity. In order to attract and keep users, besides recommending interesting content for users, the interactive way of users watching short videos is also very important.

In some short video platforms, after the current video clip of the video playing interface is played, the next video in the hot video list is automatically played. The content of the next video to be played is not usually related to the currently played video, and if the user wants to continue playing the video related to the current video content or theme, or having a similar style, the user needs to find the homepage of the publisher of the current video and further find the video to be played.

However, in the process of implementing the present invention, the inventors found that at least the following technical problems exist in the prior art: when a user finds a video related to the currently played video content or similar to the currently played video content, the operation steps are complex, no function capable of being directly operated is available, and the user experience is poor.

Disclosure of Invention

The embodiment of the invention provides a video playing method, a video playing device, video playing equipment and a storage medium, which are used for providing a user with selection of a video playing mode, so that the interaction between the user and a video platform is more flexible, and the user experience is improved.

In a first aspect, an embodiment of the present invention provides a video playing method, where the method includes:

monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time;

responding to the triggering operation of the user on the video playing mode selection control, and determining a video playing mode;

and playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode.

Optionally, the video play mode selection control includes a first mode control, a second mode control, and a third mode control; the first mode control corresponds to the sequential playing mode, the second mode control corresponds to the random playing mode, and the third mode control corresponds to the repeated current video playing mode.

Optionally, when the video playing mode is a sequential playing mode, the playing the video according to the determined video playing mode includes:

sequentially playing video clips associated with the currently played video in the video clips published by the publisher of the currently played video;

and when the video clips released by the publisher do not contain the video clips which are associated with the currently played video or are not played and are associated with the currently played video, sequencing according to the playing times of the videos, and sequentially playing the video clips which are related to the currently played video content in the video playing platform.

Optionally, when the video playing mode is a random playing mode, the playing the video according to the video playing mode includes:

and randomly playing the video clips released by the publisher of the currently played video.

Optionally, when the determined video playing mode is the repeated current video playing mode, and the number of times of repeatedly playing the current video reaches a preset number of times, the method further includes:

displaying a control for exiting the current play mode on a video play interface;

and recommending the video content related to the currently played video theme content for the user and playing the video content in response to the triggering operation of the user on the control for exiting the current playing mode.

Optionally, the method further includes:

when a user continuously switches to play videos, displaying a video theme switching control on a video playing interface;

and responding to the triggering operation of the user on the video theme switching control, and displaying a video theme page so as to enable the user to select an interested video theme for video playing.

Optionally, when the user plays the last video segment of the currently played video again, the method further includes:

and displaying a repeated current video playing mode control on the video playing interface so that the user can select and determine whether to repeatedly play the current video.

In a second aspect, an embodiment of the present invention further provides a video playing method and apparatus, where the apparatus includes:

the control display module is used for monitoring the remaining playing time of the currently played video and displaying a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time;

the play mode determining module is used for responding to the triggering operation of the user on the video play mode selection control and determining a video play mode;

and the video playing module is used for playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode.

Optionally, the video play mode selection control includes a first mode control, a second mode control, and a third mode control; the first mode control corresponds to the sequential playing mode, the second mode control corresponds to the random playing mode, and the third mode control corresponds to the repeated current video playing mode.

Optionally, the video playing module is specifically configured to, when the video playing mode is a sequential playing mode, sequentially play a video clip associated with the currently playing video in the video clips released by the publisher of the currently playing video;

and when the video clips released by the publisher do not contain the video clips which are associated with the currently played video or are not played and are associated with the currently played video, sequencing according to the playing times of the videos, and sequentially playing the video clips which are related to the currently played video content in the video playing platform.

Optionally, the video playing module is specifically configured to randomly play the video clip issued by the publisher of the currently played video when the video playing mode is a random playing mode.

Optionally, the control display module is further configured to, when the determined video playing mode is the repeated current video playing mode, display a control exiting from the current playing mode on a video playing interface when the number of times of repeatedly playing the current video reaches a preset number of times; accordingly, the method can be used for solving the problems that,

and the video playing module is also used for recommending the video content related to the currently played video subject content for the user and playing the video content in response to the triggering operation of the user on the control for exiting the current playing mode.

Optionally, the control display module is further configured to display a video theme switching control on a video playing interface when the user continuously switches to play the video; accordingly, the method can be used for solving the problems that,

the video playing module is also used for responding to the triggering operation of the user on the video theme switching control, and displaying a video theme page so as to enable the user to select an interested video theme for video playing.

Optionally, the control display module is further configured to display a control for repeating the current video playing mode on the video playing interface when the user plays the last video segment of the currently played video again, so that the user can select and determine whether to play the current video repeatedly.

In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:

one or more processors;

a memory for storing one or more programs;

when executed by the one or more processors, cause the one or more processors to implement a video playback method as provided by any of the embodiments of the invention.

In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the video playing method provided in any embodiment of the present invention.

The embodiment of the invention has the following advantages or beneficial effects:

the method has the advantages that the video playing mode is switched among the sequential playing mode, the random playing mode and the repeated current video playing mode in response to the triggering selection operation of the user on the video playing mode selection control by monitoring the residual playing time of the video played by the user and setting the video playing mode selection control on the video playing interface according to the residual playing time, the video playing mode is flexibly switched according to the playing mode selected by the user, the requirements of the user on the video interaction modes in different scenes are met, the video can be automatically switched to the target to watch the video, the video can be repeatedly played, and the user experience is improved.

Drawings

Fig. 1 is a flowchart of a video playing method according to an embodiment of the present invention;

fig. 2 is a schematic diagram of a video playing interface according to an embodiment of the present invention;

fig. 3 is a flowchart of a video playing method according to a second embodiment of the present invention;

fig. 4 is a schematic diagram of a video playing interface according to a second embodiment of the present invention;

fig. 5 is a flowchart of a video playing method according to a third embodiment of the present invention;

fig. 6 is a schematic diagram of a video playing interface according to a third embodiment of the present invention;

fig. 7 is a schematic structural diagram of a data pool provided in the third embodiment of the present invention;

fig. 8 is a schematic structural diagram of a video playing apparatus according to a fourth embodiment of the present invention;

fig. 9 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

Example one

Fig. 1 is a flowchart of a video playing method according to an embodiment of the present invention, which is applicable to a situation of playing a video. The method can be implemented by a video playing apparatus, which is configured in a client such as a computer device, and can be specifically implemented by software and/or hardware in the device.

As shown in fig. 1, the video playing method specifically includes the following steps:

s110, monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on the current video playing interface when the remaining playing time is less than the preset time.

The video playing interface can be an interface for displaying video content in a video playing application, and the played video can be a short video, a long video, or a small story video with the video duration between the short video and the long video. It will be appreciated that the shorter the time of the video, the more frequent the video switching will be, and in particular the short video will be played.

For example, the video playing interface may refer to a client video playing interface of a video playing application shown in fig. 2, where 101 is a video playing area, where the area may be the entire display screen or a part of the display screen, 102 is information content related to a title and/or a keyword of a currently playing video, 103 is a function control related to the video, and A, B, C and D correspond to different function controls respectively, for example, function controls such as a praise, a share, a comment, and a quit page.

Further, the preset duration may be 5 seconds or a duration set by the user according to the user requirement, and in this duration range, the user may react to perform the next operation. Specifically, when the remaining playing duration of the currently played video is less than the preset time, it indicates that the currently played video is about to be played, and the video playing interface is about to enter the next played video. At this time, the user may wish to enter the video interface that the user wants to watch, rather than the playing interface of the next video that the video playing platform randomly recommends to play. For example, if a user wants to watch a currently playing video repeatedly or watch a video associated with the currently playing video content, an interface for selecting needs to be provided for the user, so that the user can select according to the video watching needs.

In this embodiment, the video play mode selection control includes a first mode control, a second mode control, and a third mode control, and for example, refer to the control (i), the control (ii), and the control (iii) in fig. 2. The first mode control corresponds to a sequential playing mode, the second mode control corresponds to a random playing mode, and the third mode control corresponds to a repeated current video playing mode.

It should be noted that, in a client video playing interface, the position layout of the interface function control and the selection of a specific function may be adjusted according to the requirement of the video playing interface, and this implementation is only an exemplary illustration and is not limited specifically.

And S120, responding to the triggering operation of the user on the video playing mode selection control, and determining the video playing mode.

When a user triggers a corresponding video playing mode control in an appointed mode, the current video playing mode is switched to the corresponding video playing mode, and video playing is carried out according to the playing method of the corresponding video playing mode.

The appointed control triggering mode comprises at least one mode of single click, continuous click, long press or preset direction sliding or gesture induction and the like. It can be understood that, if the user does not trigger the video playing mode control, the video playing mode remains unchanged, and the video is continuously played according to the current video playing mode.

S130, playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode.

Specifically, when the video playing mode is the sequential switching playing mode, the video clips associated with the currently playing video in the video clips released by the publisher of the currently playing video are sequentially played. For example, the currently playing video is a second video segment cut out from a television play, and the video segment associated with the currently playing video is a third video segment of the television play that continues on the currently playing video content or a video segment associated with another video. And when the video playing mode is the repeated current video playing mode, repeatedly playing the current video until the user changes the video playing mode or quits the video playing interface. And when the video playing mode is a random video playing mode, randomly playing the video clips released by the publisher of the currently played video. Therefore, the video released by the same video publisher can be randomly played to watch the video segment related to the content of the currently played video or similar to the style of the currently played video.

According to the technical scheme, the method and the device have the advantages that the residual playing time of the video played by the user is monitored, the video playing mode selection control is set on the video playing interface according to the residual playing time, the video playing mode is switched by responding to the triggering selection operation of the user on the video playing mode selection control, the video is played according to the playing mode selected by the user, the flexible switching of the video playing mode among the sequential playing mode, the random playing mode and the repeated current video playing mode is achieved, the requirements of the user on video interaction modes in different scenes are met, the video can be automatically switched to the target to watch the video, the video can be repeatedly played, and the user experience is improved.

Example two

Fig. 3 is a flowchart of a video playing method according to a second embodiment of the present invention, and this embodiment further illustrates a method for playing a video in a sequential playing mode based on the above-mentioned embodiment. Wherein explanations of the same or corresponding terms as those of the above-described embodiments are omitted.

Referring to fig. 3, the video playing method provided in this embodiment specifically includes the following contents:

s210, monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on the current video playing interface when the remaining playing time is less than the preset time.

And S220, responding to the triggering operation of the user on the sequential playing mode control, and determining that the video playing mode is the sequential playing mode.

Specifically, when the user selects the control (r) in fig. 2, the corresponding sequential play mode is selected, and the current video play mode is switched to the sequential play mode.

And S230, sequentially playing the video segments associated with the currently played video in the video segments issued by the publisher of the currently played video.

In the sequential play mode, a video segment that continues in content with the currently playing video may be played sequentially. For example, a video published by a video publisher is a series of videos under one topic, and video segments are named as XX on topic, XX in topic, and XX under topic in content or time order. Alternatively, the video released by the video publisher is a decomposed segment of story content such as a television show or a movie, and so on. Thereby ensuring that the user can completely watch the interested video content.

S240, when the video clips released by the publisher do not contain the video clips which are associated with the currently played video or are not played and are associated with the currently played video, sequencing according to the playing times of the video, and sequentially playing the video clips which are related to the currently played video content in the video playing platform.

Specifically, if the video published by the publisher of the currently playing video does not include the video segment associated with the currently playing video, or if the associated segments exist but are already played, the range of searching for the video resource is expanded, and the video associated with the currently playing video content is searched within the video resource range of the whole video playing platform for playing. The order of playing the videos can be played according to the order of the playing times of the videos. The video clips with more playing times show that the attention degree of the video contents is higher, and the interest probability of the user is higher.

Or, in an implementation manner, the video segments with the time interval from the video uploading time to the current time being small may be played in the sequence of the video uploading time.

And S250, when the user plays the last video clip of the currently played video again, displaying a repeated current video playing mode control on a video playing interface so that the user can select and determine whether to play the current video repeatedly.

That is to say, in the process of video playing, when the user actively switches the last playing video of the currently playing video to the current video, it indicates that the user wants to watch the played video again, and then an interface for selecting the video playing mode can be provided for the user on the video playing interface, so that the user can directly set the video playing mode to be the repeat playing. For example, referring to the contents shown in fig. 4, only the repeat play mode control is shown on the current video play interface.

It should be noted that, the step S250 and the above method steps are not strictly limited in sequence, and as long as a user actively switches a video played last in the video playing process, the step S250 may be skipped to, and a repeat playing mode control is popped up, so that the user can switch the video playing mode conveniently.

According to the technical scheme, the method comprises the steps of monitoring the residual playing time of the video played by the user, setting a video playing mode selection control in the video playing interface according to the residual playing time, responding to the trigger selection operation of the user on the sequential playing mode control to switch the playing mode of the video, sequentially playing the video clip associated with the currently played video in the video clip issued by the publisher of the currently played video, realizing the switching of the sequential playing mode of the video playing mode, displaying the repeated current video playing mode control in the video playing interface when the user plays the last video clip of the currently played video again, enabling the user to select and determine whether the current video needs to be played repeatedly, meeting the requirements of the user on video interaction modes in different scenes, and improving the user experience.

EXAMPLE III

Fig. 5 is a flowchart of a video playing method according to a third embodiment of the present invention, and this embodiment further illustrates steps of a video playing method when a current video playing mode is repeated on the basis of the foregoing embodiment.

As shown in fig. 5, the video playing method in this embodiment specifically includes the following steps:

s310, monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on the current video playing interface when the remaining playing time is less than the preset time.

And S320, responding to the triggering operation of the user on the control of the repeated playing current video playing mode, and determining that the video playing mode is the repeated current video playing mode.

Specifically, when the user selects the control c shown in fig. 2, the corresponding current video playback mode is selected, and the current video playback mode is switched to the current video playback mode.

S330, displaying a control for exiting the current playing mode on a video playing interface when the frequency of repeatedly playing the current playing video reaches a preset frequency.

And counting the repeated playing times in the process of repeatedly playing the current video, and if the repeated playing times reach the preset times, displaying a control for exiting the current playing mode on the video playing interface, namely stopping repeating the current video playing mode. For example, control (r) shown in fig. 6.

S340, in response to the triggering operation of the user on the control for exiting the current playing mode, recommending the video content related to the currently played video theme content for the user and playing the video content.

And when the user triggers the control for exiting the current play mode, the current video is not played repeatedly, and the video content related to the theme content of the currently played video is recommended to the user and played.

Or, in an embodiment, after exiting from the repeated current video playing mode, the video playing may be performed according to the previous video playing mode, or sequentially played, or randomly played, or performed according to the default playing mode of the video playing platform.

If the user does not trigger the exit of the current playing mode control within the set time, the control is hidden and is not displayed any more, and the current video is continuously and repeatedly played.

It can be understood that, when the same user sets different video playing modes in the same video application on different terminals, the video application on different terminals can perform video playing in different video playing modes.

Furthermore, in the process of playing the video, a preset number of videos to be played are cached in a data pool in advance, the data pool is a memory space used by the client to cache the video data acquired from the server, a video data source is provided for the video player, and at least one piece of video data is played in the data pool. The client can automatically or passively request the video data from the server under the operation of the user (the user pulls down or pulls up to refresh the video play list), and the content of the requested video data is determined according to the video play mode. For example, when the video playing mode is the sequential switching playing mode, a video clip associated with the currently playing video in the video clips published by the publisher of the currently playing video is requested, and the video clips are stored in the data pool according to the sequence of the video. And when the video playing mode is the random video playing mode, requesting the video clip issued by the issuer of the current playing video, and randomly putting the requested video clip into the data pool. And when the video playing mode is the default playing mode in the video playing platform, requesting the video according to the default playing rule, and caching the video into the data pool according to the video hot degree.

Illustratively, as shown in fig. 7, 10 video information streams may be stored in the data pool as the data source for video playing, and in fig. 7(a), video information stream 1-video information stream 10 are stored, for a total of 10 video data. The area below the dotted line in the figure may be called the red line area, and the area above the dotted line is called the data security area. When the video is automatically switched to the video stream in the red line area, such as video stream 7, the client requests new video data from the server according to the rule for acquiring video in the current playing mode, and the played video streams 1-6 are removed from the data pool and temporarily stored in another storage space for standby. Then the data pool is as shown in fig. 7(b) after new video data is acquired. Video data stream 7-video data stream 12 have moved to the position of video information stream 1-video information stream 6 and the remaining positions are also filled with the new video data requested.

In one embodiment, the video data removed from the data pool is stored in another storage space, and may be deleted after a preset time according to a rule. Alternatively, when the client does not request new video data, the removed video data can be retrieved and played, for example, the video information stream 1-6 that has been removed are put into the data pool again, and then the client can play the videos again.

According to the technical scheme, the method and the device have the advantages that the residual playing time of the video played by the user is monitored, the video playing mode selection control is set on the video playing interface according to the residual playing time, the repeated current video playing mode is entered in response to the triggering selection operation of the user on the repeated current video playing mode selection control, the control exiting from the current playing mode is popped up after the repeated playing times reach a certain number so as to be selected by the user, the flexible switching of the video playing mode between the repeated current video playing mode and other playing modes is achieved, the requirements of the user on video interaction modes in different scenes are met, the user can automatically switch to the target to watch the video, the certain video can be played repeatedly, and the user experience is improved.

The following is an embodiment of a video playing apparatus provided in an embodiment of the present invention, and the apparatus and the video playing method in the foregoing embodiments belong to the same inventive concept, and the video playing apparatus in this embodiment can be used to execute the video playing method in the foregoing embodiments. Reference may be made to embodiments of the video playback method in the context of details that are not elaborated upon in embodiments of the video playback device.

Example four

Fig. 8 is a schematic structural diagram of a video playing apparatus according to a fourth embodiment of the present invention, which is applicable to video playing.

Specifically, the video playing apparatus specifically includes a control display module 410, a playing mode determination module 420, and a video playing module 430.

The control display module 410 is configured to monitor remaining playing time of a currently playing video, and display a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time; a play mode determination module 420, configured to determine a video play mode in response to a user triggering operation on the video play mode selection control; the video playing module 430 is configured to play a video according to the determined video playing mode, where the video playing mode includes a sequential playing mode, a random playing mode, and a repeated current video playing mode.

According to the technical scheme, the method and the device have the advantages that the residual playing time of the video played by the user is monitored, the video playing mode selection control is set on the video playing interface according to the residual playing time, the video playing mode is switched by responding to the triggering selection operation of the user on the video playing mode selection control, the video is played according to the playing mode selected by the user, the flexible switching of the video playing mode among the sequential playing mode, the random playing mode and the repeated current video playing mode is achieved, the requirements of the user on video interaction modes in different scenes are met, the video can be automatically switched to the target to watch the video, the video can be repeatedly played, and the user experience is improved.

Optionally, the video play mode selection control includes a first mode control, a second mode control, and a third mode control; the first mode control corresponds to the sequential playing mode, the second mode control corresponds to the random playing mode, and the third mode control corresponds to the repeated current video playing mode.

Optionally, the video playing module is specifically configured to, when the video playing mode is a sequential playing mode, sequentially play a video clip associated with the currently playing video in the video clips released by the publisher of the currently playing video;

and when the video clips released by the publisher do not contain the video clips which are associated with the currently played video or are not played and are associated with the currently played video, sequencing according to the playing times of the videos, and sequentially playing the video clips which are related to the currently played video content in the video playing platform.

Optionally, the video playing module is specifically configured to randomly play the video clip issued by the publisher of the currently played video when the video playing mode is a random playing mode.

Optionally, the control display module is further configured to, when the determined video playing mode is the repeated current video playing mode, display a control exiting from the current playing mode on a video playing interface when the number of times of repeatedly playing the current video reaches a preset number of times; accordingly, the method can be used for solving the problems that,

and the video playing module is also used for recommending the video content related to the currently played video subject content for the user and playing the video content in response to the triggering operation of the user on the control for exiting the current playing mode.

Optionally, the control display module is further configured to display a video theme switching control on a video playing interface when the user continuously switches to play the video; accordingly, the method can be used for solving the problems that,

the video playing module is also used for responding to the triggering operation of the user on the video theme switching control, and displaying a video theme page so as to enable the user to select an interested video theme for video playing.

Optionally, the control display module is further configured to display a control for repeating the current video playing mode on the video playing interface when the user plays the last video segment of the currently played video again, so that the user can select and determine whether to play the current video repeatedly.

The video playing device provided by the embodiment of the invention can execute the video playing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.

EXAMPLE five

Fig. 9 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 9 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention. The electronic device 12 may act as a client carrier for video playback.

As shown in fig. 9, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.

Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.

The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and commonly referred to as a "hard drive"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.

A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.

Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.

The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, implementing a video playing method provided by the embodiment of the present invention, the method includes:

monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time;

responding to the triggering operation of the user on the video playing mode selection control, and determining a video playing mode;

and playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode.

Of course, those skilled in the art can understand that the processor can also implement the technical solution of the video playing method provided by any embodiment of the present invention.

EXAMPLE six

A sixth embodiment provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of a video playing method provided in any embodiment of the present invention, where the method includes:

monitoring the remaining playing time of the currently played video, and displaying a video playing mode selection control on a current video playing interface when the remaining playing time is less than a preset time;

responding to the triggering operation of the user on the video playing mode selection control, and determining a video playing mode;

and playing the video according to the determined video playing mode, wherein the video playing mode comprises a sequential playing mode, a random playing mode and a repeated current video playing mode.

Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.

Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:机顶盒网络检测方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类