CN110012339B - Video playing and displaying method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN110012339B
CN110012339B CN201910290060.4A CN201910290060A CN110012339B CN 110012339 B CN110012339 B CN 110012339B CN 201910290060 A CN201910290060 A CN 201910290060A CN 110012339 B CN110012339 B CN 110012339B
Authority
CN
China
Prior art keywords
video
user
preview window
sliding
videos
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910290060.4A
Other languages
Chinese (zh)
Other versions
CN110012339A (en
Inventor
王岳晨
宋立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910290060.4A priority Critical patent/CN110012339B/en
Publication of CN110012339A publication Critical patent/CN110012339A/en
Application granted granted Critical
Publication of CN110012339B publication Critical patent/CN110012339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure discloses a video playing and displaying method, a video playing and displaying device, video playing and displaying equipment and a storage medium. The method comprises the following steps: playing a first video in a video playing interface; acquiring a first video set associated with a first video, and adding each video in the first video set to a preview window; and displaying the preview window in the video playing interface so that the user can preview other videos in the first video set through the preview window. By the technical scheme of the embodiment of the disclosure, the user can preview the context video, the difficulty of video selection is reduced, and the watching experience of the user is improved.

Description

Video playing and displaying method, device, equipment and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying a video.
Background
With the rapid development of network small videos, more and more users watch or shoot small videos by using small video software so as to enrich the entertainment life of the public.
When a user watches a small video, the user may pay attention to the author who published the video if the user encounters an interested video, so that the user can view the small video in time when the author publishes a new small video. In the existing small video software, the display mode of the concerned user is that all video dynamic states of all concerned authors are displayed for the user directly in the concerned user information display interface and displayed in the form of an external streaming video cover list, and the user can click to view an updated video and continue to slide up and down to view a related video.
In the prior art, after a user clicks an outflow video list to enter a sliding list, the user can only check videos by sliding the videos up and down, and the videos of the contexts cannot be previewed, so that the difficulty of selecting an internal video target is increased, and the watching experience of the user is reduced.
Disclosure of Invention
The embodiment of the disclosure provides a video playing and displaying method, device, equipment and storage medium, so as to realize preview of a context video by a user, reduce difficulty in video selection and improve watching experience of the user.
In a first aspect, an embodiment of the present disclosure provides a video playing and displaying method, including:
playing a first video in a video playing interface;
acquiring a first video set associated with a first video, and adding each video in the first video set to a preview window;
and displaying the preview window in the video playing interface so that the user can preview other videos in the first video set through the preview window.
In a second aspect, an embodiment of the present disclosure further provides a video playback display apparatus, where the apparatus includes:
the first video playing module is used for playing a first video in the video playing interface;
the video set adding module is used for acquiring a first video set associated with a first video and adding each video in the first video set to a preview window;
and the preview window display module is used for displaying the preview window in the video playing interface so that a user can preview other videos in the first video set through the preview window.
In a third aspect, an embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are enabled to implement the video playing and displaying method according to any one of the embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processing device, implements a video playback display method as described in any one of the disclosed embodiments.
According to the method and the device for previewing the video, the first video is played in the video playing interface, the first video set associated with the first video is obtained, each video in the first video set is added into the preview window, and then the preview window is displayed inside the video playing interface, so that a user can preview other videos in the first video set through the preview window, and the other videos are previewed through the set preview window.
Drawings
Fig. 1a is a schematic flowchart of a video playing and displaying method according to an embodiment of the present disclosure;
FIG. 1b is a schematic diagram of a display interface of a preview window suitable for use in the embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a video playing and displaying method according to a second embodiment of the disclosure;
fig. 3 is a schematic structural diagram of a video playing and displaying device according to a third embodiment of the present disclosure;
fig. 4 is a schematic diagram of a hardware structure of a terminal device according to a fourth embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
Example one
Fig. 1a is a schematic flowchart of a video playing and displaying method according to an embodiment of the present disclosure. The method can be applied to the situation of playing and displaying the internal flow video, can be executed by terminal equipment such as a mobile phone or a tablet personal computer which runs a small video application program client, and specifically comprises the following steps:
s110, playing the first video in the video playing interface.
In this embodiment, a user can log in a small video application program client through a registered account number, a registered password and the like, watch or publish a small video on the client, and the client can also be independently provided with a video playing interface to play a video selected by the user in a full screen manner.
Specifically, the first video may be a target video selected by the user to be viewed in a video selection interface other than the video playing interface. The video list displayed in the video selection interface is an outflow video list, and the video played in the video playing interface may be an inflow video corresponding to the video selected by the user from the outflow video list.
Illustratively, when a user clicks one attention user update video displayed in the attention user information display interface, the user can jump from the current attention user information display interface to the video playing interface to play the update video in a full screen manner, so that the user can watch the video content of the update video conveniently.
S120, acquiring a first video set associated with the first video, and adding each video in the first video set to a preview window.
In the prior art, when a video selected by a user is played on a video playing interface, if other selectable videos exist, the other selectable videos can only be watched by sliding the video played in the video playing interface up and down, so that the context videos cannot be previewed, the difficulty of video selection is increased, and the watching experience of the user is reduced.
In order to solve the above problem, in this embodiment, while the video playing interface plays the first video, a preview window is set to load the first video set associated with the first video, so that the user can preview all other selectable videos included in the entire first video set, and look for other videos of interest while watching the first video.
The first video set associated with the first video may be a video set composed of all or part of videos uploaded by an author user of the first video, or may be a video set of a video class to which the first video belongs, and is not limited herein. The user can preview each video in the first video set by viewing the preview window, so that the video of interest can be found without opening or exiting the current video playing interface.
Optionally, the preview window comprises a sliding preview window; the sliding preview window is used for presenting the videos with the set number in the first video set in real time, and the videos initially presented in the sliding preview window are associated with the videos initially played in the video playing interface.
For example, in order to save limited screen resources, the preview window may be set as a sliding preview window, and the user may preview all videos in the first video set added in the sliding preview window through a sliding operation. The sliding preview window may present a set number of videos in the first video set in real time, where the set number may be set to 3, for example, that is, three videos in the first video set are presented in real time. In addition, the video initially presented in the sliding preview window may include the video initially played in the video playing interface, and/or other videos associated with the initially played video in the first video set, such as videos similar to or arranged adjacent to the initially played video.
Optionally, the initial values of the video presented in the sliding preview window include: the first video, a video preceding the first video in the first video set, and a video following the first video in the first video set.
In a practical example, as shown in fig. 1b, the preview window is a sliding preview window 10 arranged longitudinally, wherein at most three videos can be presented at one time, and a user can preview each video in the first video set by performing a sliding operation on the sliding preview window 10, specifically, in an initial state, the video presented in the sliding preview window 20 may be a first video 11 initially played in the video playing interface, and a previous video 12 and a subsequent video 13 that are adjacent to each other in the first video set.
Optionally, obtaining a first video set associated with the first video includes: displaying a user dimension transverse sliding list corresponding to at least one attention user in an attention user list in an attention user information display interface; wherein, the user dimension horizontal sliding list comprises: a set number of videos corresponding to the user of interest; according to the selection of the user on the first video in the first user dimension transverse sliding list, all uploaded videos included in the first user dimension transverse sliding list are obtained and serve as a first video set.
Illustratively, the video selection interface may be, for example, a focused user information presentation interface, and the user may view the updated video uploaded by the focused user in real time by adding the focused user as a focused user to the interested video author user. In order to improve the display efficiency of videos in the information display interface of the attention users, in this embodiment, each attention user is acquired from an attention user list added by a user, a set number of videos corresponding to each attention user are respectively pulled from a server, and then each video is displayed according to different attention users by adding each video to a user dimension transverse sliding list corresponding to the attention user. The video corresponding to the concerned user and pulled from the server may be a video uploaded by the concerned user and not watched by the client user, may also be a video uploaded by the concerned user within a preset time period, and may also be a video of a recently set number in videos released by the concerned user, which is not limited herein.
Specifically, when the user selects a first video displayed in the first user dimension horizontal sliding list in each user dimension horizontal sliding list, all videos added in the first user dimension horizontal sliding list can be used as a first video set associated with the first video.
And S130, displaying the preview window in the video playing interface so that the user can preview other videos in the first video set through the preview window.
In this embodiment, the preview window may be displayed at a set position inside the video playing interface in the form of a small window or a floating window, where the display position may be the left or upper right corner of the video playing interface, or the left or lower right corner of the video playing interface, so as to preferably not block the video playing interface as much as possible. In the process of playing the first video on the video playing interface, the user can simultaneously preview other videos in the first video set through the preview window, so that the user can conveniently search interesting videos, the video selection difficulty is reduced, and the watching experience of the user is improved.
Optionally, after the preview window is displayed inside the video playing interface, the method further includes: and updating the video presented in real time in the sliding preview window according to the sliding operation of the user on the sliding preview window.
For example, the sliding operation performed by the user on the sliding preview window may be a sliding operation in each video arrangement direction, for example, the sliding operation may be an upward sliding operation or a downward sliding operation for the sliding preview window 10 in each video vertical arrangement as shown in fig. 1 b. When the sliding operation performed on the sliding preview window 10 by the user is an upward sliding operation, the video presented in real time in the sliding preview window can be updated to the video behind the first video 11 in the first video set; when the sliding operation performed by the user on the sliding preview window 10 is a downward sliding operation, the video presented in real time in the sliding preview window may be updated to the video in the first video set before the first video 11.
Optionally, the updating the video presented in real time in the sliding preview window according to the sliding operation of the user on the sliding preview window further includes: if the video displayed in the sliding preview window in real time is determined to comprise the last uploaded video of the first user associated with the first video set, providing prompt information of the switching user; if receiving a switching confirmation response, acquiring a second video set of a second user associated with the first user, and acquiring a fifth video included in the second video set; playing a fifth video in the video playing interface; after the videos included in the sliding preview window are emptied, adding each video in the second video set into the sliding preview window; and updating the video presented in real time in the sliding preview window according to the position of the fifth video in the second video set.
Wherein the first user may be an author user uploading respective videos in the first set of videos. For example, when the user slides the videos included in the first video set currently loaded in the sliding preview window to present the last video, the user may be provided with prompt information for switching to other author users, wherein the prompt information may be, for example, whether the user is prompted in a text form near the sliding preview window to switch to the second video set corresponding to the next user. After the user clicks to confirm switching to other author users, the client can receive a confirmation switching response.
Specifically, the second user associated with the first user may be an adjacent user arranged behind the first user, for example, an attention user arranged adjacent to the first user in the attention user information presentation interface. In addition, the second video set may be a video set composed of all or part of videos uploaded by the second user.
For example, the latest uploaded video in the second video set may be used as a fifth video, so that when a switching confirmation response is received, the currently played video in the video playing interface is switched to play the fifth video, and meanwhile, the videos included in the sliding preview window are updated correspondingly, that is, each video in the first video set is updated to each video in the second video set, and the video presented in the current sliding preview window in real time is updated to the fifth video and/or other videos associated with the fifth video in the second video set.
Optionally, after the preview window is displayed inside the video playing interface, the method further includes: and playing the second video in the video playing interface according to the selection of the user on the second video currently presented in the sliding preview window.
Illustratively, when a user clicks a second video in the sliding preview window, except for a currently played first video, the second video can be played on the video playing interface correspondingly, so that the user can quickly switch from the first video to watching the second video without exiting the current video playing interface, the user operation process is simplified, and the user watching experience is improved.
Optionally, after the preview window is displayed inside the video playing interface, the method further includes: acquiring video information of a currently played fourth video in a video playing interface in real time; the video information is provided to the preview window to cause the preview window to highlight the fourth video.
For example, in order to facilitate the user to distinguish the preview video from the video being played, the fourth video corresponding to the preview window may be highlighted according to the video content currently played in the video playing interface, for example, the video information of the fourth video currently played. The video information may be, for example, a unique identifier such as a video number.
According to the technical scheme, the first video is played in the video playing interface, the first video set associated with the first video is obtained, each video in the first video set is added into the preview window, and then the preview window is displayed in the video playing interface, so that a user can preview other videos in the first video set through the preview window, and the other videos are previewed through the set preview window.
On the basis of the above embodiment, optionally, the preview window is implemented by a section controller, and the section controller is managed by a collection class view controller.
The section controller (section controller) can be used for packaging the preview window, and when the preview window is used again in development, the packaged section controller can be directly called. A sectionalocontroller may perform transitive linkage management, such as responses to click events, slide events, etc., through a collection-type view controller (UICollectionViewController). The whole preview window is delivered to a video of a View Controller (VC) to be used as a container view, each preview window can be created by using a section controller + UICollectionView, each sub-item (cell) of the preview window controls the highlight effect of the sub-item, and the behaviors of sliding, clicking, and the like complete transmission and linkage through a view model (Viewmodel) of the VC.
Optionally, the preview window and the video playing interface are commonly attached to the same parent view controller.
In order to prevent the preview window from being reloaded when the video playing interface updates the played video, the preview window and the video playing interface can be commonly attached to the same parent view controller, so that the display of the played video in the video playing interface and the display of the preview window are mutually independent, and the consumption of a client on a device memory during the operation on a terminal device can be reduced.
Example two
Fig. 2 is a schematic flowchart of a video playing and displaying method according to a second embodiment of the disclosure. The present embodiment is embodied on the basis of the optional solutions in the foregoing embodiments, and provides an optional video playing display method, specifically, further optimizing a preview window to include a sliding preview window, and correspondingly, after displaying the preview window in the video playing interface, further including: loading at least one additional video updating set corresponding to the first video set according to at least one additional video loading request corresponding to the video playing interface; and adding the videos in the at least one additional updated video set into the sliding preview window.
The method specifically comprises the following steps:
s210, playing the first video in the video playing interface.
S220, acquiring a first video set associated with the first video, and adding each video in the first video set to the sliding preview window.
And S230, displaying the sliding preview window in the video playing interface so that the user can preview other videos in the first video set through the previewing sliding window.
S240, loading at least one additional video updating set corresponding to the first video set according to at least one additional video loading request corresponding to the video playing interface.
In this embodiment, the additional video update set may be uploaded by the author user of the first video set, except for all or part of the videos included in the first video set. Correspondingly, the additional video loading request may be a request generated by a user on a video playing interface in a triggering manner, and is used for requesting to load other videos uploaded by a corresponding author user in addition to the videos included in the first video set.
When the video playing interface is opened, a set number of videos are loaded in advance to achieve quick response and playing when a user switches, and meanwhile, the corresponding videos are correspondingly loaded through the sliding preview window to facilitate user preview.
Optionally, loading at least one additional video update set corresponding to the first video set according to at least one additional video loading request corresponding to the video playing interface, including: acquiring reference time according to a currently acquired additional video loading request, wherein the initial value of the reference time is the earliest uploading time corresponding to the first video set; according to the sequence of the difference value of the reference time from near to far, a set number of uploaded videos, of which the uploading time is before the reference time and corresponds to the first video set, are pulled from the server to serve as an additional video updating set corresponding to the currently acquired additional video loading request; and updating the reference time by using the earliest uploading time corresponding to the currently acquired additional video loading request.
As a practical example, when the uploading time span of each video in the first video set is from 1 hour to 60 hours ago, it is known that the uploading time of the earliest uploaded video is the time corresponding to 60 hours ago, if the additional video loading request is acquired at this time, the corresponding acquired reference time can be the system time corresponding to 60 hours ago, and then the videos uploaded before the reference time and having the same number of videos included in the first video set can be sequentially acquired from near to far as the additional video updating set corresponding to the currently acquired additional video loading request, and at the same time, the uploading time of the earliest uploaded video in the additional video updating set is used as the earliest uploading time corresponding to the currently acquired additional video loading request for updating the reference time so as to facilitate the next time when a new additional video loading request is received, the time base for pulling the video from the server.
Optionally, before loading at least one additional video update set corresponding to the first video set according to at least one additional video loading request corresponding to the video playing interface, the method further includes: if the video currently played by the video playing interface is determined, and the video position in the loaded video set corresponding to the first video set meets the preset position condition, triggering to generate an additional video loading request corresponding to the video playing interface, wherein the loaded video set comprises: a first video set, and/or at least one additional video update set; or if the new video playing request of the user, which is obtained according to the sliding operation input by the user to the video playing interface, is a playing request for a next video of the last video in the loaded video set corresponding to the first video set, triggering to generate an additional video loading request corresponding to the video playing interface.
For example, when the generation of the additional video loading request corresponding to the video playing interface can be triggered, the following two cases can be included:
one situation is that when videos included in the first video set are automatically and sequentially played on the video playing interface, the currently played video is already located at the last position of the first video set, wherein if an additional video update set is loaded, it is required that the currently played video is already located at the last position of the additional video update set, that is, the currently played video is already played to the last video in all the loaded video sets, and then an additional video loading request corresponding to the video playing interface can be triggered and generated.
In another case, in the process that the user performs a sliding operation on the video playing interface, when a video played by the sliding operation exceeds the video range of the loaded video set, that is, belongs to a video that has not been loaded, the generation of the additional video loading request corresponding to the video playing interface may also be triggered.
And S250, adding the video in the at least one additional updated video set into the sliding preview window.
In this embodiment, the addition of each video included in the additional updated video set may be similar to the addition process of each video corresponding to the first video set, and meanwhile, when the additional updated video set is added in the sliding preview window, the first video set may be retained and sequentially added in the sliding preview window in the order from near to far from the current system time.
According to the technical scheme of the embodiment, on the basis of the first embodiment, at least one additional video update set corresponding to the first video set is loaded according to at least one additional video loading request corresponding to the video playing interface, and videos in the at least one additional update video set are added into the sliding preview window, so that loading preview and seamless switching of previously unloaded videos are guaranteed, the operation process of a user is simplified, and the viewing experience of the user is further improved.
On the basis of the foregoing embodiment, optionally, after displaying the preview window inside the video playing interface, the method further includes: acquiring sliding operation input by a user in a video playing interface; acquiring a third video matched with the sliding operation from the first video set and/or at least one additional video updating set, and playing the third video in a video playing interface; and updating the video presented in real time in the sliding preview window according to the position of the third video in the first video set and/or at least one additional video updating set.
As an actual example, if the sliding operation input by the user in the video playing interface is an upward sliding operation, and the video that is correspondingly indicated to be played is the next video of the currently played video in the video playing interface, that is, the third video, then the video that is presented in real time in the sliding preview window may be updated to the previous video of the third video, and the next video of the third video. The third video may be a video in the first video set, or may be a video in the additional video update set, which is not limited herein.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a video playing and displaying device according to a third embodiment of the present disclosure. Referring to fig. 3, the video playback display apparatus includes: the first video playing module 310, the video set adding module 320, and the preview window displaying module 330 are described in detail below.
The first video playing module 310 is configured to play a first video in a video playing interface;
a video set adding module 320, configured to obtain a first video set associated with a first video, and add each video in the first video set to a preview window;
a preview window displaying module 330, configured to display the preview window inside the video playing interface, so that a user can preview other videos in the first video set through the preview window.
According to the video playing and displaying device provided by the embodiment, the first video is played in the video playing interface, the first video set associated with the first video is obtained, each video in the first video set is added into the preview window, and then the preview window is displayed inside the video playing interface, so that a user can preview other videos in the first video set through the preview window, and preview other videos is previewed through the set preview window.
Optionally, the preview window may include a sliding preview window;
the sliding preview window is used for presenting a set number of videos in the first video set in real time, and the videos initially presented in the sliding preview window are associated with the videos initially played in the video playing interface.
Optionally, the apparatus may further include:
and the presented video updating module is used for updating the video presented in real time in the sliding preview window according to the sliding operation of the sliding preview window by the user after the preview window is displayed in the video playing interface.
Optionally, the apparatus may further include:
and the second video playing module is used for playing the second video in the video playing interface according to the selection of the user on the second video currently presented in the sliding preview window after the preview window is displayed in the video playing interface.
Optionally, the apparatus may further include:
the additional video loading module is used for loading at least one additional video updating set corresponding to the first video set according to at least one additional video loading request corresponding to the video playing interface after the preview window is displayed in the video playing interface;
and the additional video adding module is used for adding the video in the at least one additional updating video set into the sliding preview window.
Optionally, the additional video loading module may be specifically configured to:
acquiring a reference time according to a currently acquired additional video loading request, wherein an initial value of the reference time is the earliest uploading time corresponding to the first video set;
according to the sequence of the difference value of the reference time from near to far, pulling the uploading videos which are located before the reference time and have the uploading time corresponding to the first video set in a set number from the server, and taking the uploading videos as the additional video updating set corresponding to the currently acquired additional video loading request;
and updating the reference time by using the earliest uploading time corresponding to the currently acquired additional video loading request.
Optionally, the apparatus may further include:
a first request generating module, configured to, before loading an additional video update set corresponding to the first video set according to an additional video loading request corresponding to the video playing interface, trigger generation of the additional video loading request corresponding to the video playing interface if it is determined that a video currently played by the video playing interface meets a preset position condition at a video position in an already loaded video set corresponding to the first video set, where the already loaded video set includes: the first video set, and/or at least one additional video update set; or,
and a second request generation module, configured to trigger generation of an additional video loading request corresponding to the video playing interface if a new video playing request of the user, which is obtained according to a sliding operation input by the user to the video playing interface, is a playing request for a next video of a last video in the loaded video set corresponding to the first video set before an additional video updating set corresponding to the first video set is loaded according to the additional video loading request corresponding to the video playing interface.
Optionally, the apparatus may further include:
the sliding operation acquisition module is used for acquiring the sliding operation input by a user in the video playing interface after the preview window is displayed in the video playing interface;
a third video playing module, configured to obtain, in the first video set and/or the at least one additional video update set, a third video matched with the sliding operation and play the third video in a video playing interface;
and the preview window updating module is used for updating the video displayed in the sliding preview window in real time according to the position of the third video in the first video set and/or at least one additional video updating set.
Optionally, the apparatus may further include:
the fourth video acquisition module is used for acquiring video information of a currently played fourth video in the video playing interface in real time after the preview window is displayed in the video playing interface;
and the video information providing module is used for providing the video information to the preview window so as to enable the preview window to highlight the fourth video.
Optionally, the initial value of the video presented in the sliding preview window includes: the first video, a video preceding the first video in the first video set, and a video succeeding the first video in the first video set.
Optionally, the presentation video update module may be specifically configured to:
if the video displayed in the sliding preview window in real time is determined to comprise the last uploaded video of the first user associated with the first video set, providing prompt information of switching users;
if a switching confirmation response is received, acquiring a second video set of a second user associated with the first user, and acquiring a fifth video included in the second video set;
playing the fifth video in the video playing interface;
after the videos included in the sliding preview window are emptied, adding each video in the second video set into the sliding preview window;
and updating the video presented in real time in the sliding preview window according to the position of the fifth video in the second video set.
Optionally, the video set adding module 320 may be specifically configured to:
displaying a user dimension transverse sliding list corresponding to at least one attention user in an attention user list in an attention user information display interface;
wherein, the user dimension horizontal sliding list comprises: a set number of videos corresponding to the user of interest;
according to the selection of a user on a first video in a first user dimension transverse sliding list, all uploaded videos included in the first user dimension transverse sliding list are obtained and serve as the first video set.
Optionally, the preview window is implemented by a section controller, and the section controller is managed by a collection-type view controller.
Optionally, the preview window and the video playing interface are commonly attached to the same parent view controller.
The product can execute the method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Referring now to fig. 4, a block diagram of a terminal device 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the terminal device 400 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 401 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the terminal apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the terminal device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates a terminal apparatus 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: 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 present disclosure, 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. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the terminal device; or may exist separately without being assembled into the terminal device.
The computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, 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).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a module or unit does not in some cases constitute a limitation of the module or unit itself, for example, a first video playback module may also be described as a "module for playing a first video in a video playback interface".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (12)

1. A video playing and displaying method is characterized by comprising the following steps:
playing a first video in a video playing interface;
acquiring a first video set associated with a first video, and adding each video in the first video set to a preview window;
displaying the preview window inside the video playing interface so that a user can preview other videos in the first video set through the preview window;
wherein the obtaining a first video set associated with a first video comprises: displaying a user dimension transverse sliding list corresponding to at least one attention user in an attention user list in an attention user information display interface; wherein, the user dimension horizontal sliding list comprises: a set number of videos corresponding to the user of interest; according to the selection of a user on a first video in a first user dimension transverse sliding list, acquiring all uploaded videos included in the first user dimension transverse sliding list as a first video set;
wherein the preview window comprises a sliding preview window;
the sliding preview window is used for presenting a set number of videos in the first video set in real time, and the videos initially presented in the sliding preview window are associated with the videos initially played in the video playing interface;
wherein the initial values for presenting the video in the sliding preview window comprise: the first video, a video preceding the first video in the first video set, and a video succeeding the first video in the first video set;
after the preview window is displayed inside the video playing interface, the method further includes:
updating the video presented in real time in the sliding preview window according to the sliding operation of the user on the sliding preview window;
the updating the video presented in real time in the sliding preview window according to the sliding operation of the user on the sliding preview window comprises:
if the video displayed in the sliding preview window in real time is determined to comprise the last uploaded video of the first user associated with the first video set, providing prompt information of switching users;
if a switching confirmation response is received, acquiring a second video set of a second user associated with the first user, and acquiring a fifth video included in the second video set; the second user associated with the first user is an attention user arranged behind and adjacent to the first user in the attention user information display interface;
playing the fifth video in the video playing interface;
after the videos included in the sliding preview window are emptied, adding each video in the second video set into the sliding preview window;
and updating the video presented in real time in the sliding preview window according to the position of the fifth video in the second video set.
2. The method of claim 1, after displaying the preview window within the video playback interface, further comprising:
and playing the second video in the video playing interface according to the selection of the user on the second video currently presented in the sliding preview window.
3. The method of claim 1, after displaying the preview window within the video playback interface, further comprising:
loading at least one additional video updating set corresponding to the first video set according to at least one additional video loading request corresponding to the video playing interface;
adding the video in the at least one supplemental update video set in the sliding preview window.
4. The method of claim 3, wherein loading at least one additional video update set corresponding to the first video set according to at least one additional video loading request corresponding to the video playing interface comprises:
acquiring a reference time according to a currently acquired additional video loading request, wherein an initial value of the reference time is the earliest uploading time corresponding to the first video set;
according to the sequence of the difference value of the reference time from near to far, pulling the uploading videos which are located before the reference time and have the uploading time corresponding to the first video set in a set number from the server, and taking the uploading videos as the additional video updating set corresponding to the currently acquired additional video loading request;
and updating the reference time by using the earliest uploading time corresponding to the currently acquired additional video loading request.
5. The method of claim 4, further comprising, before loading at least one additional video update set corresponding to the first video set according to at least one additional video loading request corresponding to the video playback interface:
if it is determined that the video currently played by the video playing interface meets a preset position condition at a video position in a loaded video set corresponding to the first video set, triggering to generate an additional video loading request corresponding to the video playing interface, where the loaded video set includes: the first video set, and/or at least one additional video update set; or,
and if the new video playing request of the user is obtained according to the sliding operation input by the user to the video playing interface and is a playing request for the next video of the last video in the loaded video set corresponding to the first video set, triggering and generating an additional video loading request corresponding to the video playing interface.
6. The method of any of claims 3-5, further comprising, after displaying the preview window within the video playback interface:
acquiring sliding operation input by a user in the video playing interface;
acquiring a third video matched with the sliding operation from the first video set and/or at least one additional video updating set, and playing the third video in a video playing interface;
and updating the video presented in real time in the sliding preview window according to the position of the third video in the first video set and/or at least one additional video updating set.
7. The method of claim 1, after displaying the preview window within the video playback interface, further comprising:
acquiring video information of a currently played fourth video in the video playing interface in real time;
and providing the video information to the preview window so that the preview window highlights the fourth video.
8. The method of claim 1, wherein the preview window is implemented by a section controller, the section controller managed by a collection class view controller.
9. The method of claim 1, wherein the preview window and the video playback interface are commonly attached within the same parent view controller.
10. A video playback display apparatus, comprising:
the first video playing module is used for playing a first video in the video playing interface;
the video set adding module is used for acquiring a first video set associated with a first video and adding each video in the first video set to a preview window;
the preview window display module is used for displaying the preview window in the video playing interface so that a user can preview other videos in the first video set through the preview window;
wherein the obtaining a first video set associated with a first video comprises: displaying a user dimension transverse sliding list corresponding to at least one attention user in an attention user list in an attention user information display interface; wherein, the user dimension horizontal sliding list comprises: a set number of videos corresponding to the user of interest; according to the selection of a user on a first video in a first user dimension transverse sliding list, acquiring all uploaded videos included in the first user dimension transverse sliding list as a first video set;
wherein the preview window comprises a sliding preview window;
the sliding preview window is used for presenting a set number of videos in the first video set in real time, and the videos initially presented in the sliding preview window are associated with the videos initially played in the video playing interface;
wherein the initial values for presenting the video in the sliding preview window comprise: the first video, a video preceding the first video in the first video set, and a video succeeding the first video in the first video set;
after the preview window is displayed inside the video playing interface, the method further includes:
updating the video presented in real time in the sliding preview window according to the sliding operation of the user on the sliding preview window;
the updating the video presented in real time in the sliding preview window according to the sliding operation of the user on the sliding preview window comprises:
if the video displayed in the sliding preview window in real time is determined to comprise the last uploaded video of the first user associated with the first video set, providing prompt information of switching users;
if a switching confirmation response is received, acquiring a second video set of a second user associated with the first user, and acquiring a fifth video included in the second video set; the second user associated with the first user is an attention user arranged behind and adjacent to the first user in the attention user information display interface;
playing the fifth video in the video playing interface;
after the videos included in the sliding preview window are emptied, adding each video in the second video set into the sliding preview window;
and updating the video presented in real time in the sliding preview window according to the position of the fifth video in the second video set.
11. A terminal device, characterized in that the device comprises:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the video playback display method of any of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processing device, implements a video playback display method as claimed in any one of claims 1 to 9.
CN201910290060.4A 2019-04-11 2019-04-11 Video playing and displaying method, device, equipment and storage medium Active CN110012339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910290060.4A CN110012339B (en) 2019-04-11 2019-04-11 Video playing and displaying method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910290060.4A CN110012339B (en) 2019-04-11 2019-04-11 Video playing and displaying method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110012339A CN110012339A (en) 2019-07-12
CN110012339B true CN110012339B (en) 2021-02-12

Family

ID=67171190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910290060.4A Active CN110012339B (en) 2019-04-11 2019-04-11 Video playing and displaying method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110012339B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399231B (en) * 2019-08-19 2023-10-24 上海哔哩哔哩科技有限公司 Playing method
CN112492399B (en) * 2019-09-11 2023-03-24 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment
CN110572705B (en) * 2019-09-17 2022-06-07 北京字节跳动网络技术有限公司 Control method, device, medium and electronic device for pop-up window
CN110519621B (en) 2019-09-20 2022-06-10 北京字节跳动网络技术有限公司 Video recommendation method and device, electronic equipment and computer readable medium
CN110619063A (en) * 2019-09-20 2019-12-27 北京字节跳动网络技术有限公司 Video pushing method and device based on video searching and electronic equipment
CN110830813B (en) * 2019-10-31 2020-11-06 北京达佳互联信息技术有限公司 Video switching method and device, electronic equipment and storage medium
CN111246304A (en) * 2020-01-20 2020-06-05 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN111596849B (en) * 2020-05-15 2024-09-20 腾讯科技(深圳)有限公司 Page processing method, device, equipment and storage medium
CN111666012A (en) * 2020-06-10 2020-09-15 北京字节跳动网络技术有限公司 Information display method, device and electronic device
CN112261226B (en) * 2020-10-21 2022-09-16 北京字跳网络技术有限公司 Horizontal screen interaction method and device, electronic equipment and storage medium
CN112584222A (en) * 2020-11-27 2021-03-30 北京搜狗科技发展有限公司 Video processing method and device for video processing
CN112487243A (en) * 2020-11-27 2021-03-12 上海连尚网络科技有限公司 Video display method, device and storage medium
CN112667936A (en) * 2020-12-25 2021-04-16 北京达佳互联信息技术有限公司 Video processing method, device, terminal, server and storage medium
CN112954440B (en) * 2021-02-09 2023-09-26 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN113676742B (en) * 2021-07-20 2023-08-18 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113727172B (en) * 2021-09-01 2023-02-28 北京字跳网络技术有限公司 Video cache playback method, device, electronic device and storage medium
CN114189733A (en) * 2021-12-03 2022-03-15 北京百度网讯科技有限公司 Video data display method, device, equipment and storage medium
CN117336549A (en) 2022-01-10 2024-01-02 抖音视界有限公司 Video processing method and device and non-volatile computer readable storage medium
CN115022720B (en) * 2022-05-20 2023-12-12 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9619470B2 (en) * 2014-02-04 2017-04-11 Google Inc. Adaptive music and video recommendations
CN105872841A (en) * 2015-12-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Episode list displaying method and device
CN105898571A (en) * 2016-04-25 2016-08-24 乐视控股(北京)有限公司 Video preview method and apparatus
CN107948740B (en) * 2017-10-30 2020-08-28 广州虎牙信息科技有限公司 Video playing control method, device and terminal
CN107656794B (en) * 2017-11-14 2021-03-19 上海银赛计算机科技有限公司 Interface display method and device
CN109120981B (en) * 2018-09-20 2021-12-07 北京达佳互联信息技术有限公司 Information list display method and device and storage medium

Also Published As

Publication number Publication date
CN110012339A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110012339B (en) Video playing and displaying method, device, equipment and storage medium
US12033671B2 (en) Video generation method and apparatus, electronic device, and storage medium
CN109413483B (en) Live content preview method, device, equipment and medium
CN109889880B (en) Information display method, device, equipment and storage medium for concerned user
CN109889869B (en) Video data loading method, device, equipment and storage medium
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN113783997B (en) Video publishing method and device, electronic equipment and storage medium
WO2022078165A1 (en) Live streaming interface interaction method and apparatus, electronic device, and computer-readable medium
EP4621596A1 (en) Media content recommendation method and apparatus, device, readable storage medium, and product
US20230137492A1 (en) Landscape interaction method and apparatus, electronic device, and storage medium
EP4319135A1 (en) Image fusion method and apparatus, electronic device, and storage medium
US11645338B2 (en) Method, apparatus and device, and storage medium for controlling display of comments
CN111147885B (en) Live broadcast room interaction method and device, readable medium and electronic equipment
US12430012B2 (en) Playing videos and displaying a posting identifier during a video posting process
EP4625161A1 (en) Media content display method and apparatus, and device, readable storage medium and product
CN109635131B (en) Multimedia content list display method, pushing method, device and storage medium
US12401859B2 (en) Method, device, terminal equipment and computer-readable storage medium for synchronous display of video information
JP2025520501A (en) INTERACTION METHOD, DEVICE, ELECTRONIC DEVICE, STORAGE MEDIUM, AND PROGRAM
JP2025522413A (en) Media content processing method, apparatus, device, readable storage medium, and product
WO2025036417A1 (en) User interaction method and apparatus based on display unit, and device and storage medium
CN115686290A (en) Interaction method, interaction device, electronic equipment and storage medium
JP2025522489A (en) Media content generation method, apparatus, device, readable storage medium, and product
JP7769122B2 (en) Virtual resource transfer method, device, equipment, readable storage medium and product
CN115079908B (en) Media content collection method, apparatus, electronic device, and computer-readable storage medium

Legal Events

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