CN112738639B - Video switching method and device, electronic equipment and computer readable medium - Google Patents

Video switching method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN112738639B
CN112738639B CN202011573256.3A CN202011573256A CN112738639B CN 112738639 B CN112738639 B CN 112738639B CN 202011573256 A CN202011573256 A CN 202011573256A CN 112738639 B CN112738639 B CN 112738639B
Authority
CN
China
Prior art keywords
video
candidate
current
sources
source
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
CN202011573256.3A
Other languages
Chinese (zh)
Other versions
CN112738639A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011573256.3A priority Critical patent/CN112738639B/en
Publication of CN112738639A publication Critical patent/CN112738639A/en
Application granted granted Critical
Publication of CN112738639B publication Critical patent/CN112738639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Abstract

The disclosure discloses a video switching method and device, electronic equipment and a computer readable medium, and relates to the field of computers, in particular to the technical fields of small programs, computer vision and information flow. The specific implementation scheme is as follows: downloading a first frame image of a candidate video source in a video play list; the candidate video source is a video source associated with a current video, wherein the current video is a video played in a display screen by a player; sequentially arranging the first frame images of candidate video sources in the video play list; in the case of sliding the current video, the first frame map of the candidate video source in the video playlist is presented as the current video slides. The method can avoid the click feeling, so that the video switching process is smoother, and the user experience is improved.

Description

Video switching method and device, electronic equipment and computer readable medium
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to the field of applet, computer vision, and information flow technologies, and in particular, to a video switching method and apparatus, an electronic device, and a computer readable medium.
Background
The applet is an application which can be used without downloading and installing, and is popular with users due to convenient use. The applets comprise a plurality of types such as tools, information, shopping, video and the like, and different types of applets have different functions and can meet different user requirements.
The video applet may be used to select and play video assets. For convenience of use, more and more video applets support touch modes to select video resources, such as by sliding a touch screen with a finger, so that selection and switching of the video resources are completed.
Disclosure of Invention
The disclosure provides a video switching method and device, electronic equipment and a computer readable medium.
According to a first aspect of the present disclosure, there is provided a video switching method, including:
downloading a first frame image of a candidate video source in a video play list, wherein the candidate video source is a video source associated with a current video, and the current video is a video played in a display screen of a player;
sequentially arranging the first frame images of candidate video sources in the video play list;
in the case of sliding the current video, the first frame map of the candidate video source in the video playlist is caused to be shown as the current video slides.
According to a second aspect of the present disclosure, there is provided a video switching method, including:
determining candidate video sources associated therewith based on the current video; the current video is a video which is played in a display screen by a player;
and obtaining a video play list based on the candidate video sources, and sequentially arranging and transmitting the first frame images of the candidate video sources in the video play list to a terminal so that the terminal can display the first frame images of the candidate video sources in the video play list along with the sliding of the current video under the condition of sliding the current video.
According to a third aspect of the present disclosure, there is provided a video switching apparatus, comprising:
the downloading module is used for downloading the first frame image of the candidate video source in the video play list; the candidate video source is a video source associated with a current video, wherein the current video is a video played in a display screen by a player;
the sequencing module is used for sequentially sequencing the first frame pictures of the candidate video sources in the video play list;
and the switching module is used for enabling the first frame image of the candidate video source in the video play list to be displayed along with the sliding of the current video under the condition of sliding the current video.
According to a fourth aspect of the present disclosure, there is provided a video switching apparatus, comprising:
a determining module for determining candidate video sources associated therewith based on the current video; the current video is a video which is played in a display screen by a player;
and the list generation module is used for obtaining a video play list based on the candidate video sources, and sequentially arranging and transmitting the first frame images of the candidate video sources in the video play list to a terminal so that the terminal can display the first frame images of the candidate video sources in the video play list along with the sliding of the current video under the condition of sliding the current video.
According to a fifth aspect of the present disclosure, there is provided an electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any one of the video switching methods.
According to a sixth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform any one of the video switching methods.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of any one of the video switching methods described above.
According to the video switching method provided by the embodiment of the disclosure, when the current video is switched, the first frame image of the candidate video source is displayed along with the sliding of the current video, and a user can visually obtain the interactive feedback of the first frame image of the candidate video source and the sliding operation, so that the click feeling is avoided, the video switching process is smoother, and the user experience is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is an application scenario diagram implementing an embodiment of the present application;
FIG. 2 is a schematic diagram according to a first embodiment of the present disclosure;
fig. 3 is a schematic diagram of a video switching process in an embodiment of the disclosure;
FIG. 4 is a schematic diagram according to a second embodiment of the present disclosure;
FIG. 5 is a schematic diagram according to a third embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a fourth embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device for implementing a video switching method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The video switching is an interaction process between the user and the terminal, is also a conventional operation of selecting the video by the user, and can improve the user experience smoothly.
In order to improve viewing experience, a user often sets a player to a full-screen mode to view videos, however, when in full-screen switching, the current videos and contents covered on the current videos cannot move (slide) along with touch actions, namely, display contents on a display screen cannot move along with the touch actions when touched, and video sources displayed in the display screen can be replaced after the touch actions are finished.
Fig. 1 is an application scenario diagram implementing an embodiment of the present application. In the application scenario shown in fig. 1, the method includes: terminal 11 and video platform 12, terminal 11 and video platform 12 carry out data transmission through the network.
The terminal 11 includes, but is not limited to, a personal computer, a smart phone, a tablet computer, a personal digital assistant, and a server. The user can select a video to be played through the terminal 11.
Video platform 12 is a website capable of providing video sources. The video platform 12 may not only provide video sources for the terminal 11, but may also recommend video sources for the terminal 11. Video platform 12 may recommend video sources based on factors such as the viewing habits of the user, the amount of full network clicks, and the like.
The user selects a video source provided by the video platform 12 through the terminal 11 and plays the selected video source using the player. At the same time, particularly in the case of a full screen display, the player can only play one video source, and cannot play two or more video sources.
In a first aspect, an embodiment of the present disclosure provides a video switching method, which may be applied to a terminal, to implement smooth switching of full-screen video.
Fig. 2 is a schematic diagram according to a first embodiment of the present disclosure. Referring to fig. 2, the video switching method includes:
step 201, downloading a first frame map of candidate video sources in a video playlist.
The video source is stored in a video server of the video platform, and the video server can be a server owned or leased by a video operator, can store different types of video sources, and can also store different video sources of the same type.
The candidate video source is a video source associated with a current video, where the current video is a video that the player is playing in the display screen. In some embodiments, the candidate video source is a video source of the same type as the current video. For example, the current video source is a tenth episode of a television series, and the candidate video sources are other episodes of the television series, such as a ninth episode and an eleventh episode.
In some embodiments, the candidate video sources are one or more of the video sources recommended based on the user's viewing habits. The user may be a user currently watching the video, or may be another user. For example, the current video is a certain variety program, and after the user watches the variety program, the candidate video source of the user is the video source liked by the user or the similar user. Wherein the similar user is a user having a similar viewing habit to the user. For another example, the current video is a movie, and the video source with the highest click rate after watching the movie is the other movie works of the director of the movie, and then the other movie works of the director are recommended video sources.
In some embodiments, the candidate video sources include both video sources that are of the same type as the current video and video sources that are recommended based on the user's viewing habits, i.e., both video sources that are of the same type as the current video and video sources that are recommended to the user based on the user's viewing habits are candidate video sources.
In some embodiments, the video playlist is a list generated by the video platform based on the candidate video sources. After determining the video play list, the video platform sends the first frame image of the candidate video source to the terminal.
Step 202, arranging the first frame images of candidate video sources in the video play list in sequence.
In some embodiments, the video platform may also order candidate video sources in the video playlist, the first frame map of the top ranked candidate video source being closer to the current video. For example, the ranking is based on the click rate of the candidate video sources, the more the click rate, the more the candidate video sources are ranked, and the closer the current video is in the sequence ranking.
In some embodiments, the terminal may rank the candidate video sources according to quality such as the click rate provided by the video platform, and the first frame map of the candidate video source ranked earlier is closer to the current video.
It should be noted that, the video platform and the terminal may sort the candidate video sources according to the click rate, or sort the candidate video sources according to other indexes, and the sorted indexes are not limited in the disclosure.
According to the video source selection method and device, the video source which belongs to the same type as the current video and the video source recommended based on the watching habit of the user are used as candidate video sources, so that the user can quickly select favorite videos, the selection time is shortened, and the user experience is improved.
In the embodiment of the present disclosure, the first frame images of the candidate video sources may be arranged in an up-down order, or may be arranged in a left-right order.
Step 202, in the case of sliding the current video, making the first frame map of the candidate video source in the video playlist be displayed along with the sliding of the current video.
In some embodiments, the current video is full screen display, and the user switches the video by sliding the current video with a finger.
Fig. 3 is a schematic diagram of a video switching process in an embodiment of the disclosure. In the figure, the first frame map 32 of the first candidate video is arranged next to the current video 31, and the first frame map 33 of the second candidate video is arranged next to the first frame map 32 of the first candidate video.
When the video is switched, the finger 34 contacts the display screen 35 and slides on the display screen 35, such as sliding upwards, the current video 31 slides upwards along with the finger of the player playing the current video 31, and the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video are displayed while sliding upwards along with the finger. Wherein the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video are full screen displays.
In some embodiments, the current video 31 slides by how much, and the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video move in the same direction by how much. For example, in the movement direction of the finger 34, the movement amounts of the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video are the same as the sliding amount of the current video 31.
It should be noted that, in the embodiment of the present disclosure, the video playlist includes the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video, but this does not indicate that only the first frame map of two candidate videos can be included in the video playlist. The present disclosure does not limit the number of first frame pictures of candidate videos in a video playlist.
According to the video switching method provided by the embodiment of the disclosure, when the current video is slid to switch, the first frame image of the candidate video source in the video play list is displayed along with the sliding of the current video, and the user can obtain interactive feedback from the vision, so that the click feeling is avoided, the switching process is smooth, and the user experience is improved.
In some embodiments, step 202, after causing the first frame map of the candidate video source in the video playlist to be shown with the sliding of the current video in the case of sliding the current video, further comprises:
and determining a target video source, and moving a player playing the current video to the first frame image of the target video source under the condition that the first frame image of the target video source is completely switched to the display screen.
Wherein the target video source is one of the candidate video sources in the video playlist.
In some embodiments, the user selects a target video source from among the candidate video sources in the course of switching videos, the target video source being a video source that the user wishes to view.
And after the user selects the target video source through the first frame image of the candidate video source, stopping the first frame image of the target video source on the display screen. At this time, the player leaves the display screen with the current video, so the target video source cannot be played, and the player and the target video source are bound to play the target video source.
Therefore, in the video switching process, after the first frame image of the target video source is stopped on the display screen, the player moves to the target video source, and plays after obtaining the target video source from the video server.
It should be noted that, the target video source may be the candidate video source closest to the current video in the video playlist, or may be a candidate video source at another position in the video playlist. In practice, the target video source is any video source selected by the user from among the candidate video sources.
In the embodiment of the disclosure, since the movement of the player does not affect the first frame image of the target video source displayed in the display screen, the user does not feel the switching process of the player, and compared with the switching process of the player along with the first frame image of the target video source, the switching fluency is improved, and thus the user experience is improved.
According to the video switching method provided by the embodiment of the disclosure, when the current video is slid to switch the video, the first frame image of the candidate video source in the video play list is displayed along with the sliding of the current video, and the user can obtain interactive feedback from the vision, so that the click feeling is avoided, the switching process is smooth, and the user experience is improved.
In a second aspect, embodiments of the present disclosure provide a video switching method, which is applicable to a video platform.
Fig. 4 is a schematic diagram according to a second embodiment of the present disclosure. Referring to fig. 4, a video switching method provided in an embodiment of the present disclosure includes:
step 401, determining candidate video sources associated therewith based on the current video.
Wherein the current video is the video being played by the player in the display screen. The video sources are stored in a video server of the video platform, and the video server can be a server owned or leased by a video operator, can store different types of video sources, and can also store different video sources of the same type.
In some embodiments, the candidate video source is a video source of the same type as the current video. For example, the current video source is the tenth episode of a television series, and the candidate video sources are other episodes of the television series, such as the ninth episode and the eleventh episode.
In some embodiments, the candidate video sources are one or more of the video sources recommended based on the user's viewing habits. The user may be a user currently watching the video, or may be another user. For example, the current video is a certain variety program, and after the user watches the variety program, the candidate video source of the user is the video source liked by the user or the similar user. Wherein the similar user is a user having a similar viewing habit to the user. For another example, the current video is a movie, and the video source with the highest click rate after watching the movie is the other movie works of the director of the movie, and then the other movie works of the director are recommended video sources.
According to the video source selection method and device based on the video source selection, the video source associated with the current video and the video source recommended based on the watching habit of the user are used as candidate video sources, so that the user can quickly select favorite videos, and user experience is improved.
Step 402, obtaining a video play list based on the candidate video sources, and sequentially arranging and sending the first frame images of the candidate video sources in the video play list to the terminal so that the terminal can display the first frame images of the candidate video sources in the video play list along with the sliding of the current video under the condition of sliding the current video.
In some embodiments, the video platform may also order candidate video sources in the video playlist, the first frame map of the top ranked candidate video source being closer to the current video. For example, the ranking is based on the click rate of the candidate video sources, the more the click rate, the more the candidate video sources are ranked, and the closer the current video is in the sequence ranking.
It should be noted that, the video platform may rank the candidate video sources according to the click rate, and may rank the candidate video sources according to other indexes, where the indexes of the ranking are not limited in the disclosure.
According to the video switching method provided by the embodiment of the disclosure, the candidate video sources associated with the current video are determined based on the current video, the video play list is obtained based on the candidate video sources, and the first frame images of the candidate video sources in the video play list are sequentially arranged and sent to the terminal, so that when the terminal slides the current video to switch, the first frame images of the candidate video sources in the video play list are displayed along with the sliding of the current video, a user can visually obtain interactive feedback, the click feeling is avoided, the switching process is smooth, and the user experience is improved.
In a third aspect, embodiments of the present disclosure provide a video switching apparatus that may be applied to a terminal to achieve smooth full-screen video switching.
Fig. 5 is a schematic diagram according to a third embodiment of the present disclosure. Referring to fig. 5, a video switching apparatus 500 includes:
a downloading module 501, configured to download a first frame image of a candidate video source in a video playlist; wherein the candidate video source is a video source associated with a current video, the current video being a video being played by a player in a display screen.
The video source is stored in a video server of the video platform, and the video server can be a server owned or leased by a video operator, can store different types of video sources, and can also store different video sources of the same type.
The candidate video source is a video source associated with a current video, where the current video is a video that the player is playing in the display screen. In some embodiments, the candidate video source is a video source of the same type as the current video. For example, the current video source is a tenth episode of a television series, and the candidate video sources are other episodes of the television series, such as a ninth episode and an eleventh episode.
In some embodiments, the candidate video sources are one or more of the video sources recommended based on the user's viewing habits. The user may be a user currently watching the video, or may be another user. For example, the current video is a certain variety program, and after the user watches the variety program, the candidate video source of the user is the video source liked by the user or the similar user. Wherein the similar user is a user having a similar viewing habit to the user. For another example, the current video is a movie, and the video source with the highest click rate after watching the movie is the other movie works of the director of the movie, and then the other movie works of the director are recommended video sources.
In some embodiments, the video playlist is a list generated by the video platform based on the candidate video sources. After determining the video play list, the video platform sends the first frame image of the candidate video source to the terminal.
The ordering module 502 is configured to sequentially arrange the first frame images of the candidate video sources in the video playlist.
In some embodiments, the video platform may also order candidate video sources in the video playlist, the first frame map of the top ranked candidate video source being closer to the current video. For example, the ranking is based on the click rate of the candidate video sources, the more the click rate, the more the candidate video sources are ranked, and the closer the current video is in the sequence ranking.
In some embodiments, the terminal may rank the candidate video sources according to quality such as the click rate provided by the video platform, and the first frame map of the candidate video source ranked earlier is closer to the current video.
It should be noted that, the video platform and the terminal may sort the candidate video sources according to the click rate, or sort the candidate video sources according to other indexes, and the sorted indexes are not limited in the disclosure.
According to the video source selection method and device based on the video source selection, the video source associated with the current video and the video source recommended based on the watching habit of the user are used as candidate video sources, so that the user can quickly select favorite videos, and user experience is improved.
And the switching module 503 is configured to cause the first frame image of the candidate video source in the video playlist to be displayed along with the sliding of the current video in the case of sliding the current video.
In some embodiments, the current video is full screen display, and the user switches the video by sliding the current video with a finger.
Fig. 3 is a schematic diagram of a video switching process in an embodiment of the disclosure. In the figure, the first frame map 32 of the first candidate video is arranged next to the current video 31, and the first frame map 33 of the second candidate video is arranged next to the first frame map 32 of the first candidate video.
When the video is switched, the finger 34 contacts the display screen 35 and slides on the display screen 35, such as sliding upwards, the current video 31 slides upwards along with the finger of the player playing the current video 31, and the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video are displayed while sliding upwards along with the finger. Wherein the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video are full screen displays.
In some embodiments, the current video 31 slides by how much, and the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video move in the same direction by how much. For example, in the movement direction of the finger 34, the movement amounts of the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video are the same as the sliding amount of the current video 31.
It should be noted that, in the embodiment of the present disclosure, the video playlist includes the first frame map 32 of the first candidate video and the first frame map 33 of the second candidate video, but this does not indicate that only the first frame map of two candidate videos can be included in the video playlist. The present disclosure does not limit the number of first frame pictures of candidate videos in a video playlist.
In some embodiments, the switching module 503 is further configured to move the player playing the current video to the first frame map of the target video source when the first frame map of the target video source is completely switched to the display screen; wherein the target video source is one of the candidate video sources in the video playlist.
Wherein the target video source is one of the candidate video sources in the video playlist.
In some embodiments, the user selects a target video source from among the candidate video sources in the course of switching videos, the target video source being a video source that the user wishes to view.
And after the user selects the target video source through the first frame image of the candidate video source, stopping the first frame image of the target video source on the display screen. At this time, the player leaves the display screen with the current video, so the target video source cannot be played, and the player and the target video source are bound to play the target video source.
Therefore, in the video switching process, after the first frame image of the target video source is stopped on the display screen, the player moves to the target video source, and plays after obtaining the target video source from the video server.
It should be noted that, the target video source may be the candidate video source closest to the current video in the video playlist, or may be a candidate video source at another position in the video playlist. In practice, the target video source is any video source selected by the user from among the candidate video sources.
In the embodiment of the disclosure, since the movement of the player does not affect the first frame image of the target video source displayed in the display screen, the user does not feel the switching process of the player, and compared with the switching process of the player along with the first frame image of the target video source, the switching fluency is improved, and thus the user experience is improved.
The video switching device provided by the embodiment of the disclosure is used for sequentially arranging the first frame images of the candidate video sources in the video play list by the ordering module; when the switching module slides the current video to switch the video, the first frame image of the candidate video source in the video play list is displayed along with the sliding of the current video, and the user can visually obtain interactive feedback, so that the click feeling is avoided, the switching process is smooth, and the user experience is improved.
In a fourth aspect, the present disclosure provides a video switching apparatus that is applicable to a video platform to provide smooth full-screen video switching for a user.
Fig. 6 is a schematic diagram of a fourth embodiment of the present disclosure. Referring to fig. 6, a video switching apparatus 600 includes:
a determining module 601 is configured to determine candidate video sources associated therewith based on the current video.
Wherein the current video is the video being played by the player in the display screen. The video sources are stored in a video server of the video platform, and the video server can be a server owned or leased by a video operator, can store different types of video sources, and can also store different video sources of the same type.
In some embodiments, the candidate video sources include at least one of the following video sources: video sources belonging to the same type as the current video and video sources recommended based on the user's viewing habits. The candidate video source is a video source of the same type as the current video. For example, the current video source is the tenth episode of a television series, and the candidate video sources are other episodes of the television series, such as the ninth episode and the eleventh episode.
In some embodiments, the candidate video sources are one or more of the video sources recommended based on the user's viewing habits. The user may be a user currently watching the video, or may be another user. For example, the current video is a certain variety program, and after the user watches the variety program, the candidate video source of the user is the video source liked by the user or the similar user. Wherein the similar user is a user having a similar viewing habit to the user. For another example, the current video is a movie, and the video source with the highest click rate after watching the movie is the other movie works of the director of the movie, and then the other movie works of the director are recommended video sources.
According to the video source selection method and device based on the video source selection, the video source associated with the current video and the video source recommended based on the watching habit of the user are used as candidate video sources, so that the user can quickly select favorite videos, and user experience is improved.
The list generation module 602 is configured to obtain a video playlist based on the candidate video sources, and sequentially arrange and send the first frame images of the candidate video sources in the video playlist to the terminal, so that the terminal displays the first frame images of the candidate video sources in the video playlist along with the sliding of the current video when the current video is slid.
In some embodiments, the video platform may also order candidate video sources in the video playlist, the first frame map of the top ranked candidate video source being closer to the current video. For example, the ranking is based on the click rate of the candidate video sources, the more the click rate, the more the candidate video sources are ranked, and the closer the current video is in the sequence ranking.
It should be noted that, the video platform may rank the candidate video sources according to the click rate, and may rank the candidate video sources according to other indexes, where the indexes of the ranking are not limited in the disclosure.
According to the video switching device provided by the embodiment of the disclosure, the determining module is used for determining the candidate video source associated with the current video based on the current video, the list generating module is used for obtaining the video play list based on the candidate video source, and sequentially arranging and sending the first frame images of the candidate video source in the video play list to the terminal, so that when the terminal slides the current video to switch, the first frame images of the candidate video source in the video play list are displayed along with the sliding of the current video, and a user can obtain interactive feedback from the vision, so that the click feeling is avoided, the switching process is smooth, and the user experience is improved.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program in a Random Access Memory (RAM) 703 from a storage unit 708. In the RAM703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM702, and the RAM703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704. Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the respective methods and processes described above, for example, a video switching method. For example, in some embodiments, the video switching method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM702 and/or communication unit 709. When a computer program is loaded into RAM703 and executed by computing unit 701, one or more steps of the video switching method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the video switching method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to an embodiment of the present disclosure, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements any one of the above-mentioned video switching methods.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (6)

1. A video switching method, comprising:
downloading a first frame image of a candidate video source in a video play list; the candidate video source is a video source associated with a current video, wherein the current video is a video played in a display screen by a player; the candidate video sources are video sources belonging to the same type as the current video and recommended based on the watching habit of the user; the candidate video sources are ordered based on the click volume, and the higher the click volume is, the closer the candidate video is to the current video;
sequentially arranging the first frame images of the candidate video sources;
under the condition of sliding the current video, displaying the first frame image of the candidate video source in the video play list along with the sliding of the current video, wherein the sliding quantity of the first frame image of the candidate video source is the same as the sliding quantity of the current video;
determining a target video source, and moving a player playing the current video to the first frame image of the target video source under the condition that the first frame image of the target video source is completely switched to a display screen; wherein the target video source is one of the candidate video sources in the video playlist.
2. A video switching method, comprising:
determining candidate video sources associated therewith based on the current video; the current video is a video which is played in a display screen by a player; the candidate video sources are video sources belonging to the same type as the current video and recommended based on the watching habit of the user; the candidate video sources are ordered based on the click volume, and the higher the click volume is, the closer the candidate video is to the current video;
obtaining a video play list based on the candidate video source, sequentially arranging and sending the first frame images of the candidate video source in the video play list to a terminal so that the terminal can display the first frame images of the candidate video source in the video play list along with the sliding of the current video under the condition of sliding the current video, the sliding quantity of the first frame images of the candidate video source is the same as the sliding quantity of the current video, determining a target video source by the terminal, and moving a player for playing the current video to the first frame images of the target video source under the condition that the first frame images of the target video source are completely switched to a display screen; wherein the target video source is one of the candidate video sources in the video playlist.
3. A video switching apparatus, comprising:
the downloading module is used for downloading the first frame image of the candidate video source in the video play list; the candidate video source is a video source associated with a current video, wherein the current video is a video played in a display screen by a player; the candidate video sources are video sources belonging to the same type as the current video and recommended based on the watching habit of the user; the candidate video sources are ordered based on the click volume, and the higher the click volume is, the closer the candidate video is to the current video;
the sequencing module is used for sequentially sequencing the first frame pictures of the candidate video sources;
the switching module is used for displaying the first frame image of the candidate video source in the video play list along with the sliding of the current video under the condition of sliding the current video, and the sliding amount of the first frame image of the candidate video source is the same as the sliding amount of the current video;
the switching module is further configured to move a player that plays the current video to the first frame map of the target video source when the first frame map of the target video source is completely switched to the display screen; wherein the target video source is one of the candidate video sources in the video playlist.
4. A video switching apparatus, comprising:
a determining module for determining candidate video sources associated therewith based on the current video; the current video is a video which is played in a display screen by a player; the candidate video sources are video sources belonging to the same type as the current video and recommended based on the watching habit of the user; the candidate video sources are ordered based on the click volume, and the higher the click volume is, the closer the candidate video is to the current video;
the list generation module is used for obtaining a video play list based on the candidate video sources, and sequentially arranging and sending the first frame images of the candidate video sources in the video play list to a terminal so that the terminal can display the first frame images of the candidate video sources in the video play list along with the sliding of the current video under the condition that the current video is slid, wherein the sliding quantity of the first frame images of the candidate video sources is the same as the current video sliding quantity; the terminal determines a target video source, and moves a player playing the current video to the first frame image of the target video source under the condition that the first frame image of the target video source is completely switched to a display screen; wherein the target video source is one of the candidate video sources in the video playlist.
5. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-2.
6. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-2.
CN202011573256.3A 2020-12-25 2020-12-25 Video switching method and device, electronic equipment and computer readable medium Active CN112738639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011573256.3A CN112738639B (en) 2020-12-25 2020-12-25 Video switching method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011573256.3A CN112738639B (en) 2020-12-25 2020-12-25 Video switching method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN112738639A CN112738639A (en) 2021-04-30
CN112738639B true CN112738639B (en) 2023-08-18

Family

ID=75617116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011573256.3A Active CN112738639B (en) 2020-12-25 2020-12-25 Video switching method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN112738639B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766265A (en) * 2021-09-10 2021-12-07 北京快来文化传播集团有限公司 Live broadcast short video loading method, equipment and storage medium based on WeChat applet

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572374A (en) * 2015-10-09 2017-04-19 中国电信股份有限公司 Multi-video playing control method and terminal
CN109246461A (en) * 2018-11-30 2019-01-18 北京微播视界科技有限公司 Method, applications client and the electronic equipment that video preloads
CN109874044A (en) * 2019-01-30 2019-06-11 广州华多网络科技有限公司 A kind of data pre-storage method, system, equipment and computer-readable medium
CN110913257A (en) * 2019-11-29 2020-03-24 广州市百果园信息技术有限公司 Video data playing method, device, equipment and storage medium
CN110996134A (en) * 2019-12-23 2020-04-10 腾讯科技(深圳)有限公司 Video playing method, device and storage medium
CN111246304A (en) * 2020-01-20 2020-06-05 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2509323B (en) * 2012-12-28 2015-01-07 Glide Talk Ltd Reduced latency server-mediated audio-video communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572374A (en) * 2015-10-09 2017-04-19 中国电信股份有限公司 Multi-video playing control method and terminal
CN109246461A (en) * 2018-11-30 2019-01-18 北京微播视界科技有限公司 Method, applications client and the electronic equipment that video preloads
CN109874044A (en) * 2019-01-30 2019-06-11 广州华多网络科技有限公司 A kind of data pre-storage method, system, equipment and computer-readable medium
CN110913257A (en) * 2019-11-29 2020-03-24 广州市百果园信息技术有限公司 Video data playing method, device, equipment and storage medium
CN110996134A (en) * 2019-12-23 2020-04-10 腾讯科技(深圳)有限公司 Video playing method, device and storage medium
CN111246304A (en) * 2020-01-20 2020-06-05 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112738639A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US20220394340A1 (en) Video recommendation method and apparatus, electronic device, and computer-readable medium
US11586345B2 (en) Method and apparatus for interaction control of display page
KR102400019B1 (en) Content viewing device and Method for displaying content viewing options thereon
JP5850833B2 (en) Apparatus and method for transmitting and receiving a user interface in a communication system
CN106488252A (en) A kind of direct broadcasting room list processing method and processing device
US11930252B2 (en) Video recommendation method and apparatus, electronic device, and storage medium
US20230029698A1 (en) Video interaction method and apparatus, electronic device, and computer-readable storage medium
CN112836086B (en) Video processing method and device and electronic equipment
CN103747308A (en) Method and system for controlling smart television with analog keys, and mobile terminal
CN113727170A (en) Video interaction method, device, equipment and medium
CN114168250A (en) Page display method and device, electronic equipment and storage medium
WO2015078257A1 (en) Search information display device and method
CN113946271A (en) Display control method, display control device, electronic equipment and storage medium
CN112738639B (en) Video switching method and device, electronic equipment and computer readable medium
CN115567745A (en) Display method, display device, electronic equipment and computer readable medium
CN111246305A (en) Video preview method, device, equipment and storage medium
CN114168793A (en) Anchor display method, device, equipment and storage medium
CN112383825B (en) Video recommendation method and device, electronic equipment and medium
CN108008894B (en) Content display method and device and terminal equipment
CN113761411A (en) Page processing method and device
CN111035919A (en) Operation mode determination method, device, equipment and storage medium
CN114817809A (en) Information display method, device, equipment and storage medium
CN113836415A (en) Information recommendation method, device, medium and equipment
CN113204299A (en) Display method, display device, electronic equipment and storage medium
CN115113773B (en) Information processing method, information processing device, computer readable storage medium, and electronic device

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