A video playback method, apparatus, device, and storage medium
By providing playback mode selection controls on the video playback interface of the short video platform, it solves the problem of complex user operations, improves the user experience and provides flexible video interaction methods.
Patent Information
- Application Number
- CN202011051639.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-29
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2040-09-29
AI Technical Summary
When users find videos related to or similar in style to the current video content in the short video platform, the operation steps are complicated and there is a lack of direct functions, resulting in poor user experience.
Provides video playback mode selection controls, allowing users to select sequential playback, shuffle play or repeat the current video playback mode in the current video playback interface, and automatically displays the selection controls by monitoring the remaining playback time of the video.
It simplifies the operation process of users finding relevant videos, improves user experience, and provides flexible video interaction methods to meet user needs in different scenarios.
Smart Images

Figure CN113766321B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a video playback method, apparatus, device and storage medium. Background Art
[0002] At present, short videos have become a new and important traffic window. Through intensive iteration and update, short video platforms can meet or even create user needs, achieve user identification and traffic accumulation; short video platforms can also expand their influence and build platform labels and popularity by setting marketing strategies that match their own positioning and tone. In order to attract users and keep them, in addition to recommending content of interest to users, the interactive method of users watching short videos is also very important.
[0003] In some short video platforms, after the current video clip on the video playback interface is played, the next video in the popular video list will be played automatically. The next video to be played is usually not related to the current video in terms of content. If the user wants to continue playing a video related to the content or theme of the current video, or a video with a similar style, he needs to find the homepage of the publisher of the current video and then further search for the video he wants to play.
[0004] However, in the process of implementing the present invention, the inventors found that there are at least the following technical problems in the prior art: when users find videos related to or similar in style to the currently playing video content, the operation steps are relatively complicated, there are no directly operable functions, and the user experience is poor. Summary of the invention
[0005] The embodiments of the present invention provide a video playback method, apparatus, device and storage medium to provide users with a choice of video playback modes, making the interaction between users and video platforms more flexible and improving user experience.
[0006] In a first aspect, an embodiment of the present invention provides a video playback method, the method comprising:
[0007] Monitor the remaining play time of the currently playing video, and when the remaining play time is less than a preset time, display a video play mode selection control on the current video play interface;
[0008] In response to a triggering operation of the video play mode selection control by a user, determining a video play mode;
[0009] The video is played according to a determined video play mode, wherein the video play mode includes a sequential play mode, a random play mode and a repeat current video play mode.
[0010] Optionally, the video playback mode selection control includes a first mode control, a second mode control and a third mode control; wherein the first mode control corresponds to the sequential playback mode, the second mode control corresponds to the random playback mode, and the third mode control corresponds to repeating the current video playback mode.
[0011] Optionally, when the video playback mode is a sequential playback mode, playing the video according to the determined video playback mode includes:
[0012] Sequentially play video segments associated with the currently playing video among the video segments published by the publisher of the currently playing video;
[0013] When the video clips published by the publisher do not contain video clips associated with the currently playing video or video clips associated with the currently playing video that have not been played, the video clips related to the currently playing video content in the video playback platform are played sequentially according to the number of video playbacks.
[0014] Optionally, when the video playback mode is a random playback mode, playing the video according to the video playback mode includes:
[0015] Randomly play video clips published by the publisher of the currently playing video.
[0016] Optionally, when the determined video playback mode is the repeating current video playback mode, when the number of times the currently played video is repeatedly played reaches a preset number, the method further includes:
[0017] Display the control to exit the current playback mode on the video playback interface;
[0018] In response to the user's triggering operation on the control for exiting the current play mode, video content related to the subject content of the currently playing video is recommended to the user and played.
[0019] Optionally, the method further includes:
[0020] When the user switches to play videos continuously, the video theme switching control is displayed on the video playback interface;
[0021] In response to the user's triggering operation on the video theme switching control, a video theme page is displayed to allow the user to select a video theme of interest for video playback.
[0022] Optionally, when the user replays a previous video segment of the currently playing video, the method further includes:
[0023] Display a control for repeating the current video playback mode on the video playback interface to allow the user to select whether to repeat the current video.
[0024] In a second aspect, an embodiment of the present invention further provides a video playback method and device, the device comprising:
[0025] A control display module, used to monitor the remaining playback time of the currently playing video, and when the remaining playback time is less than a preset duration, display a video playback mode selection control on the current video playback interface;
[0026] A play mode determination module, configured to determine a video play mode in response to a user triggering operation on the video play mode selection control;
[0027] The video playing module is used to play the video according to a determined video playing mode, wherein the video playing mode includes a sequential playing mode, a random playing mode and a repeat current video playing mode.
[0028] Optionally, the video playback mode selection control includes a first mode control, a second mode control and a third mode control; wherein the first mode control corresponds to the sequential playback mode, the second mode control corresponds to the random playback mode, and the third mode control corresponds to repeating the current video playback mode.
[0029] Optionally, the video playback module is specifically configured to sequentially play video segments associated with the currently playing video among the video segments published by the publisher of the currently playing video when the video playback mode is a sequential playback mode;
[0030] When the video clips published by the publisher do not contain video clips associated with the currently playing video or video clips associated with the currently playing video that have not been played, the video clips related to the currently playing video content in the video playback platform are played sequentially according to the number of video playbacks.
[0031] Optionally, the video playback module is specifically configured to randomly play video clips published by a publisher of the currently playing video when the video playback mode is a random playback mode.
[0032] Optionally, the control display module is further used to, when the determined video playback mode is the repeat current video playback mode, display an exit current playback mode control on the video playback interface when the number of repeated playbacks of the currently played video reaches a preset number; correspondingly,
[0033] The video playing module is also used to recommend and play video content related to the theme content of the currently playing video to the user in response to the user's triggering operation of the exit current playing mode control.
[0034] Optionally, the control display module is also used to display a video theme switching control on the video playback interface when the user continuously switches to play the video; accordingly,
[0035] The video playback module is also used to display a video theme page in response to a user triggering operation on the video theme switching control, so that the user can select a video theme of interest for video playback.
[0036] Optionally, the control display module is also used to display a control for repeating the current video playback mode on the video playback interface when the user replays the previous video clip of the currently playing video, so that the user can choose whether to repeat the current video.
[0037] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0038] one or more processors;
[0039] A memory for storing one or more programs;
[0040] When the one or more programs are executed by the one or more processors, the one or more processors implement the video playback method provided by any embodiment of the present invention.
[0041] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a video playback method as provided in any embodiment of the present invention.
[0042] The embodiments of the above invention have the following advantages or beneficial effects:
[0043] By monitoring the remaining playback time of the video played by the user and setting the video playback mode selection control on the video playback interface according to the remaining playback time, the video playback mode is switched in response to the user's triggering selection operation of the video playback mode selection control, and the video is played according to the playback mode selected by the user. The video playback mode is flexibly switched between sequential playback mode, random playback mode and repeat current video playback mode, which meets the user's needs for video interaction in different scenarios. It can automatically switch to the target viewing video and repeatedly play a certain video, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is a flow chart of a video playback method provided by Embodiment 1 of the present invention;
[0045] Figure 2 is a schematic diagram of a video playback interface provided by Embodiment 1 of the present invention;
[0046] Figure 3 is a flow chart of a video playback method provided by Embodiment 2 of the present invention;
[0047] Figure 4 is a schematic diagram of a video playback interface provided by Embodiment 2 of the present invention;
[0048] Figure 5 is a flow chart of a video playback method provided by Embodiment 3 of the present invention;
[0049] Figure 6 is a schematic diagram of a video playback interface provided by Embodiment 3 of the present invention;
[0050] Figure 7 This is a schematic diagram of the structure of a data pool provided by Embodiment 3 of the present invention;
[0051] Figure 8 is a structural schematic diagram of a video playback device provided by Embodiment 4 of the present invention;
[0052] Fig. 9 It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0053] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0054] Embodiment 1
[0055] Figure 1 This is a flowchart of a video playback method provided in Embodiment 1 of the present invention, and this embodiment is applicable to the case of playing a video. The method can be implemented by a video playback device, which is configured in a client such as a computer device, and can be implemented by software and / or hardware in the device.
[0056] like Figure 1 As shown, the video playback method specifically includes the following contents:
[0057] S110: monitor the remaining play time of the currently played video, and when the remaining play time is less than a preset duration, display a video play mode selection control on the current video play interface.
[0058] The video playback interface may be an interface for displaying video content in a video playback application, and the video being played may be a short video, a long video, or a short video with a storyline whose length is between a short video and a long video. It is understandable that the shorter the video, the higher the frequency of video switching, especially when playing short videos.
[0059] For example, the video playback interface can refer to Figure 2 The client video playback interface of a video playback application is shown, wherein 101 is the video playback area, which can be the entire display screen or a part of the display screen, 102 is the title and / or keywords and other related information content of the currently playing video, 103 is the function controls related to the video, such as like, share, comment and exit page function controls, and A, B, C and D correspond to different function controls respectively.
[0060] Furthermore, the preset duration can be 5 seconds, or a duration set according to user needs. Within this duration, the user can react and proceed to the next step. In this embodiment, the user can trigger the control on the video playback interface within the preset duration. Specifically, when the remaining playback time of the currently playing video is less than the preset time, it means that the currently playing video is about to be finished, and the video playback interface is about to enter the next playing video. At this time, the user may want to enter the video interface they want to watch, rather than the playback interface of the next video randomly recommended by the video playback platform. For example, if the user wants to watch the currently playing video repeatedly or watch a video associated with the content of the currently playing video, then it is necessary to provide the user with an interface for making a selection so that the user can make a selection based on their own video viewing needs.
[0061] In this embodiment, the video playback mode selection control includes a first mode control, a second mode control and a third mode control. For example, reference may be made to Figure 2 Among them, the first mode control corresponds to the sequential play mode, the second mode control corresponds to the random play mode, and the third mode control corresponds to the repeat current video play mode.
[0062] It should be noted here that in a client video playback interface, the position layout of the interface function controls and the selection of specific functions can be adjusted according to the needs of the video playback interface. In this implementation, only illustrative explanations are given without specific limitations.
[0063] S120: Determine a video playback mode in response to a triggering operation of the video playback mode selection control by the user.
[0064] When the user triggers the corresponding video play mode control in an agreed manner, the current video play mode will be switched to the corresponding video play mode, and the video will be played according to the play method of the corresponding play mode.
[0065] The agreed control triggering method includes at least one of a single click, a continuous click, a long press, a preset direction slide, or a gesture sensing method. It is understandable that if the user does not trigger the video playback mode control, the video playback mode remains unchanged and the video continues to play according to the current video playback mode.
[0066] S130. Play the video according to the determined video play mode, wherein the video play mode includes a sequential play mode, a random play mode, and a repeat current video play mode.
[0067] Specifically, when the video playback mode is the sequential switching playback mode, the video clips associated with the currently playing video in the video clips published by the publisher of the currently playing video are played sequentially. For example, the currently playing video is the second video clip taken from an episode of a TV series, and the video clip associated with the currently playing video refers to the third video clip of the TV series that continues the content of the currently playing video or a video clip related to other videos. When the video playback mode is the repeat current video playback mode, the currently playing video is played repeatedly until the user changes the video playback mode or exits the video playback interface. When the video playback mode is the random video playback mode, the video clips published by the publisher of the currently playing video are played randomly. In this way, by randomly playing videos published by the same video publisher, you can watch video clips related to the content of the currently playing video or similar in style.
[0068] The technical solution of this embodiment monitors the remaining playback time of the video played by the user, sets a video playback mode selection control on the video playback interface according to the remaining playback time, switches the video playback mode in response to the user's triggering selection operation of the video playback mode selection control, and plays the video according to the playback mode selected by the user. The video playback mode is flexibly switched between the sequential playback mode, the random playback mode and the repeat current video playback mode, which meets the user's needs for video interaction in different scenarios. It can automatically switch to the target viewing video and repeatedly play a certain video, thereby improving the user experience.
[0069] Embodiment 2
[0070] Figure 3 This is a flow chart of a video playback method provided by Embodiment 2 of the present invention. Based on the above embodiments, this embodiment further illustrates a method for video playback in a sequential playback mode. Explanations of terms that are the same or corresponding to those in the above embodiments are not repeated here.
[0071] See also Figure 3 The video playback method provided in this embodiment specifically includes the following contents:
[0072] S210: monitor the remaining play time of the currently played video, and when the remaining play time is less than a preset duration, display a video play mode selection control on the current video play interface.
[0073] S220: In response to a user triggering operation on a sequential play mode control, determining that the video play mode is a sequential play mode.
[0074] Specifically, when the user selects Figure 2 When you click on the middle control ①, the corresponding sequential playback mode is selected, and the current video playback mode is switched to the sequential playback mode.
[0075] S230: sequentially play video segments associated with the currently playing video among the video segments published by the publisher of the currently playing video.
[0076] In the sequential playback mode, video clips that are continuous with the currently played video can be played in sequence. For example, the video publisher releases a series of videos under a theme, and the video clips are named XX Theme Upper, XX Theme Middle, and XX Theme Lower according to the content or time sequence. Or, the video publisher releases a video that is a decomposed clip of the story content of a TV series or movie, etc. This ensures that users can watch the video content they are interested in completely.
[0077] S240: When the video clips published by the publisher do not contain video clips associated with the currently playing video or video clips associated with the currently playing video that have not been played, sort the videos according to the number of times they are played, and play the video clips related to the currently playing video content in the video playback platform in sequence.
[0078] Specifically, if the video posted by the publisher of the currently playing video does not contain a video clip associated with the currently playing video, or if there is an associated clip but it has been played, the scope of the video resource search is expanded to search for videos associated with the currently playing video content within the video resource scope of the entire video playback platform for playback. The order of video playback can be played according to the number of video playbacks. The more video clips are played, the higher the attention of the video content is, and the greater the probability that users are interested in it.
[0079] Alternatively, in one implementation, the videos may be played in the order of their upload time, with priority given to playing video clips with a short time interval between the video upload time and the current time.
[0080] S250: When the user replays the previous video segment of the currently playing video, a control for repeating the current video playback mode is displayed on the video playback interface to allow the user to select whether to repeat the current video.
[0081] That is, during video playback, when the user actively switches the previous video of the currently playing video to the current video, it indicates that the user wants to watch the previously played video again. In this case, an interface for selecting the video playback mode can be provided for the user on the video playback interface, so that the user can directly set the video playback mode to repeat playback. Figure 4 The content shown only displays the repeat play mode controls on the current video playback interface.
[0082] It should be noted here that there is no strict order restriction between S250 and the above method steps. As long as the user actively switches to the last played video during video playback, the process can jump to step S250 and pop up a repeat playback mode control to facilitate the user to switch the video playback mode.
[0083] The technical solution of this embodiment monitors the remaining playback time of the video played by the user, and sets a video playback mode selection control on the video playback interface according to the remaining playback time, switches the video playback mode in response to the user's triggering selection operation of the sequential playback mode control, and sequentially plays the video clips associated with the currently playing video among the video clips published by the publisher of the currently playing video, thereby realizing the switching of the video playback mode sequential playback mode. When the user replays the previous video clip of the currently playing video, the repeat current video playback mode control can be displayed on the video playback interface to allow the user to select whether to repeat the current video, thereby meeting the user's needs for video interaction in different scenarios and improving the user experience.
[0084] Embodiment 3
[0085] Figure 5 This is a flow chart of a video playback method provided in Embodiment 3 of the present invention. Based on the above embodiments, this embodiment further illustrates the steps of the video playback method when repeating the current video playback mode.
[0086] like Figure 5 As shown, the video playback method in this embodiment specifically includes the following steps:
[0087] S310: monitor the remaining play time of the currently played video, and when the remaining play time is less than a preset duration, display a video play mode selection control on the current video play interface.
[0088] S320: In response to a user triggering operation on a control for repeating the current video playback mode, determining that the video playback mode is a repeating current video playback mode.
[0089] Specifically, when the user selects Figure 2 When the middle control ③ is clicked, the corresponding repeat current video playback mode is selected, and the current video playback mode is switched to repeat current video playback mode.
[0090] S330: When the number of times the currently playing video is repeatedly played reaches a preset number, a control for exiting the current playing mode is displayed on the video playing interface.
[0091] During the process of repeatedly playing the current video, the number of repeated playbacks is counted. If the number of repeated playbacks reaches a preset number, an exit control for the current playback mode is displayed on the video playback interface, i.e., the current video playback mode is stopped. For example, Figure 6 The controls shown in ④.
[0092] S340: In response to the user's triggering operation on the control for exiting the current play mode, recommending video content related to the theme content of the currently playing video to the user and playing the video content.
[0093] When the user triggers the control to exit the current play mode, the current video will not be played repeatedly, and video content related to the theme of the currently playing video will be recommended to the user and played.
[0094] Alternatively, in one implementation, after exiting the repeating current video play mode, the video may be played in accordance with the previous video play mode, or played sequentially, or played randomly, or played in accordance with the default play mode of the video play platform.
[0095] If the user does not trigger the control to exit the current playback mode within the set time, the control will be hidden and no longer displayed, while the current video will continue to be played repeatedly.
[0096] It is understandable that when the same user sets different video play modes in the same video application on different terminals, the video application on the different terminals can play the video in different video play modes.
[0097] Further, in the process of video playback, a preset number of videos to be played are pre-cached in a data pool. The data pool is a memory space used by the client to cache video data obtained from the server, providing a video data source for the video player, and at least one video data is provided in the data pool for playback. The client can automatically or passively request 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 playback mode. For example, when the video playback mode is a sequential switching playback mode, the video clips associated with the currently playing video in the video clips published by the publisher of the currently playing video are requested, and the video clips are stored in the data pool in the order of the video. When the video playback mode is a random video playback mode, the video clips published by the publisher of the currently playing video are requested, and the requested video clips are randomly placed in the data pool. When the video playback mode is the default playback mode in the video playback platform, the video is requested according to the default playback rules, such as caching the video in the data pool according to the popularity of the video.
[0098] For example, Figure 7 As shown in the figure, the data pool can store 10 video information streams as the data source for video playback. Figure 7 (a) stores video information stream 1 to video information stream 10, a total of 10 video data. The area below the dotted line in the figure can be called the red line area, and the area above the dotted line is called the data safety area. When the video automatically switches to play the video information stream in the red line area, such as video information stream 7, the client will request new video data from the server according to the rules for obtaining videos in the current playback mode, and at the same time remove the already played video information stream 1 to video information stream 6 from the data pool and temporarily store them in another storage space for standby use. Then, after the data pool obtains the new video data, it will be Figure 7 (b) The video data stream 7 to the video data stream 12 are moved to the positions of the video information stream 1 to the video information stream 6, and the remaining positions are also filled with the requested new video data.
[0099] In one embodiment, the video data removed from the data pool is stored in another storage space and can be deleted after a preset time according to the rules. Alternatively, when the client cannot request new video data, the removed video data can be retrieved and played again, such as putting the removed video information stream 1 to video information stream 6 back into the data pool, so that the client can play these videos again.
[0100] The technical solution of this embodiment monitors the remaining playback time of the video played by the user, and sets a video playback mode selection control on the video playback interface according to the remaining playback time, responds to the user's trigger selection operation of the repeat current video playback mode selection control to enter the repeat current video playback mode, and pops up a control for exiting the current playback mode after the number of repeated playbacks reaches a certain number for the user to choose, thereby realizing flexible switching of the video playback mode between the repeat current video playback mode and other playback modes, meeting the user's needs for video interaction in different scenarios, and can automatically switch to the target viewing video and repeatedly play a certain video, thereby improving the user experience.
[0101] The following is an embodiment of a video playback device provided by an embodiment of the present invention. The device and the video playback method of the above embodiments belong to the same inventive concept, and the video playback method of the above embodiments can be executed by the video playback device of this embodiment. For details not described in detail in the embodiment of the video playback device, reference can be made to the embodiment of the above video playback method.
[0102] Embodiment 4
[0103] Figure 8 This is a structural diagram of a video playback device provided in Embodiment 4 of the present invention. This embodiment is applicable to video playback.
[0104] Specifically, the video playback device includes a control display module 410 , a playback mode determination module 420 and a video playback module 430 .
[0105] Among them, the control display module 410 is used to monitor the remaining playback time of the currently playing video, and when the remaining playback time is less than the preset duration, the video playback mode selection control is displayed on the current video playback interface; the playback mode determination module 420 is used to determine the video playback mode in response to the user's triggering operation on the video playback mode selection control; the video playback module 430 is used to play the video according to the determined video playback mode, wherein the video playback mode includes a sequential playback mode, a random playback mode and a repeat current video playback mode.
[0106] The technical solution of this embodiment monitors the remaining playback time of the video played by the user, sets a video playback mode selection control on the video playback interface according to the remaining playback time, switches the video playback mode in response to the user's triggering selection operation of the video playback mode selection control, and plays the video according to the playback mode selected by the user. The video playback mode is flexibly switched between the sequential playback mode, the random playback mode and the repeat current video playback mode, which meets the user's needs for video interaction in different scenarios. It can automatically switch to the target viewing video and repeatedly play a certain video, thereby improving the user experience.
[0107] Optionally, the video playback mode selection control includes a first mode control, a second mode control and a third mode control; wherein the first mode control corresponds to the sequential playback mode, the second mode control corresponds to the random playback mode, and the third mode control corresponds to repeating the current video playback mode.
[0108] Optionally, the video playback module is specifically configured to sequentially play video segments associated with the currently playing video among the video segments published by the publisher of the currently playing video when the video playback mode is a sequential playback mode;
[0109] When the video clips published by the publisher do not contain video clips associated with the currently playing video or video clips associated with the currently playing video that have not been played, the video clips related to the currently playing video content in the video playback platform are played sequentially according to the number of video playbacks.
[0110] Optionally, the video playback module is specifically configured to randomly play video clips published by a publisher of the currently playing video when the video playback mode is a random playback mode.
[0111] Optionally, the control display module is further used to, when the determined video playback mode is the repeat current video playback mode, display an exit current playback mode control on the video playback interface when the number of repeated playbacks of the currently played video reaches a preset number; correspondingly,
[0112] The video playing module is also used to recommend and play video content related to the theme content of the currently playing video to the user in response to the user's triggering operation of the exit current playing mode control.
[0113] Optionally, the control display module is also used to display a video theme switching control on the video playback interface when the user continuously switches to play the video; accordingly,
[0114] The video playback module is also used to display a video theme page in response to a user triggering operation on the video theme switching control, so that the user can select a video theme of interest for video playback.
[0115] Optionally, the control display module is also used to display a control for repeating the current video playback mode on the video playback interface when the user replays the previous video clip of the currently playing video, so that the user can choose whether to repeat the current video.
[0116] The video playback device provided in the embodiment of the present invention can execute the video playback method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0117] Embodiment 5
[0118] Fig. 9 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. Fig. 9 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention is shown. Fig. 9 The electronic device 12 shown is only an example and should not bring any limitation to the functions and application scope of the embodiments of the present invention. The electronic device 12 can be used as a client carrier for video playback.
[0119] like Fig. 9 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the 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 connects various system components (including the system memory 28 and the processing unit 16).
[0120] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0121] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0122] 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 / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig. 9 not shown, usually called a "hard drive"). Although Fig. 9Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The 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 perform the functions of the various embodiments of the present invention.
[0123] 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 or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0124] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the 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.
[0125] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a video playback method provided by the embodiment of the present invention, the method comprising:
[0126] Monitor the remaining play time of the currently playing video, and when the remaining play time is less than a preset time, display a video play mode selection control on the current video play interface;
[0127] In response to a triggering operation of the video play mode selection control by a user, determining a video play mode;
[0128] The video is played according to a determined video play mode, wherein the video play mode includes a sequential play mode, a random play mode and a repeat current video play mode.
[0129] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the video playback method provided by any embodiment of the present invention.
[0130] Embodiment 6
[0131] This embodiment 6 provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of the video playback method provided in any embodiment of the present invention are implemented. The method includes:
[0132] Monitor the remaining play time of the currently playing video, and when the remaining play time is less than a preset time, display a video play mode selection control on the current video play interface;
[0133] In response to a triggering operation of the video play mode selection control by a user, determining a video play mode;
[0134] The video is played according to a determined video play mode, wherein the video play mode includes a sequential play mode, a random play mode and a repeat current video play mode.
[0135] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0136] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0137] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0138] Computer program code for performing the operation of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0139] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0140] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A video playback method, characterized in that: include: Monitor the remaining play time of the currently playing video, and when the remaining play time is less than a preset time, display a video play mode selection control on the current video play interface; In response to a triggering operation of the video play mode selection control by a user, determining a video play mode; Play the video according to the determined video play mode, wherein the video play mode includes a sequential play mode, a random play mode and a repeat current video play mode; Wherein, when the determined video playback mode is a sequential playback mode, playing the video according to the determined video playback mode includes: Sequentially play video segments associated with the currently playing video among the video segments published by the publisher of the currently playing video; When the video play mode is a random play mode, playing the video according to the video play mode includes: Randomly play the video clips published by the publisher of the currently playing video; The video play mode selection control includes a first mode control, a second mode control and a third mode control.
2. The method according to claim 1, characterized in that The first mode control corresponds to the sequential play mode, the second mode control corresponds to the random play mode, and the third mode control corresponds to the repeat current video play mode.
3. The method according to claim 2, characterized in that When the determined video playback mode is a sequential playback mode, playing the video according to the determined video playback mode further includes: When the video clips published by the publisher do not contain video clips associated with the currently playing video or video clips associated with the currently playing video that have not been played, the video clips related to the currently playing video content in the video playback platform are played sequentially according to the number of video playbacks.
4. The method according to claim 1, characterized in that When the determined video playback mode is the repeating current video playback mode, when the number of times the currently played video is repeatedly played reaches a preset number, the method further includes: Display the control to exit the current playback mode on the video playback interface; In response to the user's triggering operation on the control for exiting the current play mode, video content related to the subject content of the currently playing video is recommended to the user and played.
5. The method according to claim 1, characterized in that The method further comprises: When the user switches to play videos continuously, the video theme switching control is displayed on the video playback interface; In response to the user's triggering operation on the video theme switching control, a video theme page is displayed to allow the user to select a video theme of interest for video playback.
6. The method according to claim 3, characterized in that When the user plays the previous video segment of the currently playing video again, the method further includes: Display a control for repeating the current video playback mode on the video playback interface to allow the user to choose whether to repeat the current video.
7. A video playback device, characterized in that: include: A control display module, used to monitor the remaining playback time of the currently playing video, and when the remaining playback time is less than a preset duration, display a video playback mode selection control on the current video playback interface; A play mode determination module, configured to determine a video play mode in response to a user triggering operation on the video play mode selection control; A video playback module, used to play the video according to a determined video playback mode, wherein the video playback mode includes a sequential playback mode, a random playback mode and a repeat current video playback mode; The video playing module is specifically used for sequentially playing video segments associated with the currently playing video among the video segments published by the publisher of the currently playing video when the video playing mode is the sequential playing mode; The video playing module is further specifically configured to randomly play a video clip published by a publisher of the currently playing video when the video playing mode is a random playing mode; The video play mode selection control includes a first mode control, a second mode control and a third mode control.
8. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the video playback method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the video playback method as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Video recommending method, medium and device and computing equipment
CN107172454A
Multimedia information playing method and device and readable storage medium
CN110970059A
Video playing method, terminal equipment and storage medium
CN111526426A