Video display method, device, computer readable medium and electronic device

By detecting changes in video display mode on the video playback platform and automatically switching the associated target videos, the problem of low video search and switching efficiency in the prior art is solved, and the user experience is improved.

CN115278326BActive Publication Date: 2025-04-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110475658.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2025-04-25
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

After the existing video playback platform browses the video of interest, the efficiency of finding and switching related videos is low, resulting in poor user experience.

Method used

By detecting the video presentation mode of the user interface, when the mode is switched from vertical to horizontal, the target video associated with the initial video is automatically switched, and the target video contains part or all of the content of the initial video.

Benefits of technology

It improves the efficiency of video search and switching, reduces user interaction process, and provides an immersive video viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278326B_ABST
    Figure CN115278326B_ABST
Patent Text Reader

Abstract

The present application belongs to the field of computer technology, and specifically relates to a video display method, a video display device, a computer-readable medium, and an electronic device. The video display method includes: displaying an initial video in a vertical screen mode on a user interface; in response to the video display mode of the user interface being switched from the vertical screen mode to the horizontal screen mode, and displaying a target video associated with the initial video in a horizontal screen mode on the user interface, wherein the target video contains part or all of the video content of the initial video. The embodiments of the present application can improve the efficiency of video search and switching, and reduce the computing power consumption of computer equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and specifically relates to a video display method, a video display device, a computer-readable medium, and an electronic device. Background Art

[0002] When a user browses a video of interest on a video playback platform, if he wants to continue watching content related to the video, he generally needs to search for other videos related to the video on the current platform or switch to other platforms. This way of watching videos requires users to spend more time and energy on video search and switching, and the user experience is poor. Summary of the invention

[0003] The purpose of the present application is to provide a video display method, a video display device, a computer-readable medium and an electronic device, which can at least to some extent overcome the technical problems existing in the related art such as low efficiency of video search and switching and long interaction process.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a video display method is provided, the method comprising: displaying an initial video in a portrait mode on a user interface; in response to the video display mode of the user interface switching from the portrait mode to the landscape mode, displaying a target video associated with the initial video in the landscape mode on the user interface, the target video containing part or all of the video content of the initial video.

[0006] According to one aspect of an embodiment of the present application, a video display device is provided, which includes: a vertical screen display module, configured to display an initial video in a vertical screen mode on a user interface; a horizontal screen display module, configured to display a target video associated with the initial video in a horizontal screen mode on the user interface in response to the video display mode of the user interface being switched from the vertical screen mode to the horizontal screen mode.

[0007] In some embodiments of the present application, based on the above technical solution, the initial video is a short video whose video duration is less than or equal to a duration threshold, and the target video is a medium-length video whose video duration is greater than the duration threshold.

[0008] In some embodiments of the present application, based on the above technical solution, the horizontal screen display module includes: a list acquisition unit, configured to acquire a video recommendation list that is content-relevant to the initial video, the video recommendation list including multiple candidate videos that are content-relevant to the initial video, and the video duration of the candidate videos is greater than the video duration of the initial video; a matching detection unit, configured to perform matching detection on the initial video with each candidate video in the video recommendation list, so as to select the candidate video with the highest matching degree with the initial video from the video recommendation list as the target video; a video display unit, configured to display the target video in horizontal screen mode on the user interface.

[0009] In some embodiments of the present application, based on the above technical solution, the list acquisition unit includes: a video acquisition subunit, configured to acquire horizontal screen videos suitable for display in the horizontal screen mode from one or more video sources; a label adding subunit, configured to add content tags for identifying video content features of the horizontal screen video to each of the horizontal screen videos; a video clustering subunit, configured to cluster the horizontal screen videos according to the label overlap of the content tags to obtain multiple candidate video lists; a list selection subunit, configured to select a video recommendation list that has content relevance to the initial video from the candidate video list according to the content tags.

[0010] In some embodiments of the present application, based on the above technical solution, the video display unit includes: an image acquisition subunit, configured to acquire the current video image of the initial video; a node search subunit, configured to search the target video for a video time node corresponding to the current video image; a node display subunit, configured to use the video time node as the current display node and display the target video in horizontal screen mode on the user interface.

[0011] In some embodiments of the present application, based on the above technical solution, the device also includes: a switching control display module, configured to display a mode switching control on the user interface; a switching control response module, configured to respond to a trigger operation acting on the mode switching control, and switch the video display mode of the user interface from the portrait mode to the landscape mode.

[0012] In some embodiments of the present application, based on the above technical solution, the mode switching control includes at least one control element, and the control element includes one or more of an image element, a text element, and a quantity element; the image element is used to identify a list image of a video recommendation list associated with the initial video, the text element is used to identify a list name of the video recommendation list, and the quantity element is used to identify the number of videos in the video recommendation list.

[0013] In some embodiments of the present application, based on the above technical solution, the device further includes: an expansion control display module, configured to display a list expansion control on the user interface;

[0014] An expansion control response module is configured to respond to a trigger operation acting on the list expansion control and display a video recommendation list associated with the initial video on the user interface, wherein the video recommendation list includes multiple candidate videos that are content-relevant to the initial video, and the video length of the candidate videos is greater than the video length of the initial video.

[0015] In some embodiments of the present application, based on the above technical solution, the device also includes: a list response module, configured to respond to a video selection operation on the video recommendation list, and switch the target video displayed in horizontal mode on the user interface to the selected video.

[0016] In some embodiments of the present application, based on the above technical solution, the device further includes: a list updating module configured to update the video recommendation list according to the selected video.

[0017] In some embodiments of the present application, based on the above technical solution, the device also includes: a return control display module, configured to display a return control on the user interface; a return control response module, configured to respond to a trigger operation acting on the return control, switching the current video displayed on the user interface to a previous video displayed before the current video, switching the current video displayed on the user interface to a previous video displayed before the current video, wherein the previous video is a video displayed in horizontal screen mode or a video displayed in vertical screen mode.

[0018] In some embodiments of the present application, based on the above technical solution, the device also includes: a restoration control display module, configured to display a mode restoration control on the user interface; a restoration control response module, configured to respond to a trigger operation acting on the mode restoration control, and switch the current video displayed in a horizontal screen mode on the user interface to the initial video displayed in a vertical screen mode on the user interface.

[0019] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the video display method in the above technical solution is implemented.

[0020] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the video display method in the above technical solution by executing the executable instructions.

[0021] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the video display method in the above technical solution.

[0022] In the technical solution provided in the embodiment of the present application, by detecting the video display mode of the user interface, other videos related to the displayed content can be automatically switched when the video display mode is switched from the portrait mode to the landscape mode, thereby improving the efficiency of video search and switching and reducing the computing power consumption of the computer device. The technical solution provided in the embodiment of the present application eliminates the user's search and search process for related videos, thereby reducing the user's interaction process and providing the user with an immersive video viewing experience.

[0023] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 The exemplary system architecture block diagram applying the technical solution of the present application is schematically shown.

[0026] Figure 2 A flowchart showing the steps of a video display method in one embodiment of the present application is shown.

[0027] Figure 3 A schematic diagram of interface changes for changing video display content based on switching of video display modes in an application scenario of an embodiment of the present application is shown.

[0028] Figure 4 A flowchart of the steps for displaying a target video in horizontal mode in one embodiment of the present application is shown.

[0029] Figure 5 A flowchart of the steps of obtaining a video recommendation list in one embodiment of the present application is shown.

[0030] Figure 6 A schematic diagram of the process of constructing a video recommendation list in one embodiment of the present application is shown.

[0031] Figure 7 A schematic diagram of video switching effects based on different data sources in one embodiment of the present application is shown.

[0032] Figure 8 A schematic diagram of a user interface based on a vertical screen mode in an application scenario of an embodiment of the present application is shown.

[0033] Fig. 9 A schematic diagram of a user interface based on a horizontal screen mode in an application scenario of an embodiment of the present application is shown.

[0034] Fig.10 The structural block diagram of the video display device provided in the embodiment of the present application is schematically shown.

[0035] Fig.11 The structure block diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0036] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0037] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0038] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0039] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0040] Figure 1 The exemplary system architecture block diagram applying the technical solution of the present application is schematically shown.

[0041] like Figure 1 As shown, the system architecture 100 may include a terminal device 110, a network 120, and a server 130. The terminal device 110 may include various electronic devices such as a smart phone, a tablet computer, a laptop computer, and a desktop computer. The server 130 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The network 120 may be a communication medium of various connection types that can provide a communication link between the terminal device 110 and the server 130, such as a wired communication link or a wireless communication link.

[0042] According to the implementation requirements, the system architecture in the embodiment of the present application can have any number of terminal devices, networks and servers. For example, the server 130 can be a server group composed of multiple server devices. In addition, the technical solution provided in the embodiment of the present application can be applied to the terminal device 110, can also be applied to the server 130, or can be implemented by the terminal device 110 and the server 130 together, and the present application does not make any special restrictions on this.

[0043] For example, a video client may be installed on the terminal device 110 , and the user may communicate data with the server 130 by accessing the video client, and obtain the video data stream sent by the server 130 , thereby watching online network videos on the terminal device 110 .

[0044] According to the length of time, videos can generally be divided into three types: short videos, medium videos and long videos. For example, a short video can be a video with a length of less than 5 minutes, a medium video can be a video with a length of 5-30 minutes, and a long video can be a video with a length of more than 30 minutes.

[0045] In the related technology of the present application, taking the short video application that provides short video playback service as an example, users can browse and watch short videos sent by the server through the short video application installed on the terminal device. When a user watches a short video of interest, if he wants to continue watching other content related to the short video, he needs to actively search for other videos related to the short video content. For example, a short video is a video clip formed by editing the content of a certain film or television work. Then, when the user wants to watch the complete content of the film or television work, he needs to know the title of the film or television work, the characters and other related information in advance, and then switch to the application that provides the film and television work playback service, and then use the relevant information to search for the complete content of the film or television work. This process undoubtedly requires users to perform a lot of interactive operations, wasting a lot of time and energy.

[0046] In view of the problems existing in the above related technologies, the embodiments of the present application mainly provide a technical solution for jumping to play related videos by switching the video playback mode. The video display method, video display device, computer readable medium and electronic device provided by the present application are described in detail below in combination with specific implementation methods.

[0047] Figure 2 The flowchart of the steps of the video display method in one embodiment of the present application is shown. The video display method can be executed by a terminal device, or by a server, or by both a terminal device and a server. The present application embodiment takes the video display method executed on a terminal device as an example for explanation. Figure 2 As shown, the video display method may include the following steps S210 to S220.

[0048] Step S210: Displaying the initial video in a vertical screen mode on the user interface.

[0049] The User Interface (UI) is the medium for operational interaction and information interaction between applications installed on terminal devices and users, and can also be called an interactive interface. When displaying videos on the user interface, according to the different size and direction of the user interface, it can be divided into two different video display modes, namely landscape mode and portrait mode. Among them, the landscape mode refers to a video display mode in which the horizontal size of the user interface is larger than the vertical size, and the portrait mode refers to a video display mode in which the horizontal size of the user interface is smaller than the vertical size. At present, short videos are basically played in portrait mode.

[0050] Step S220: In response to the video display mode of the user interface switching from the portrait mode to the landscape mode, a target video associated with the initial video is displayed in the landscape mode on the user interface, wherein the target video includes part or all of the video content of the initial video.

[0051] While the initial video is displayed on the user interface, the video display mode of the user interface can be detected in real time. If it is detected that the video display mode is switched from the vertical screen mode to the horizontal screen mode, a target video associated with the initial video can be displayed in the horizontal screen mode. The target video can be another video with content relevance to the initial video, for example, another video with at least a portion of the same content as the initial video.

[0052] Figure 3 The following is a schematic diagram showing the interface changes of changing the video display content based on the switching of the video display mode in an application scenario of the embodiment of the present application. Figure 3 As shown, the first user interface 301 located on the left side of the figure displays the initial video 302 in portrait mode. In portrait mode, the horizontal size of the first user interface 301 is smaller than its vertical size. When the video display mode is switched from portrait mode to landscape mode, the second user interface 303 located on the right side of the figure displays the target video 304 in landscape mode. In landscape mode, the horizontal size of the second user interface 303 is larger than its vertical size.

[0053] In one embodiment of the present application, the initial video is a short video whose video duration is less than or equal to the duration threshold, and the target video is a medium-long video whose video duration is greater than the duration threshold. In the embodiment of the present application, the user interface displays a short video with a relatively short video duration in a portrait mode, and when it is detected that the video display mode is switched from the portrait mode to the landscape mode, the currently displayed short video can be closed, and at the same time, a medium-long video with a relatively long video duration is displayed in the landscape mode.

[0054] In one embodiment of the present application, the initial video is a video clip containing part of the video content in the target video. For example, the target video is a video with a duration of 1 hour, such as a movie or a TV series; the initial video can be a video clip with a duration of 5 minutes formed by cutting part of the video content from the video.

[0055] In an embodiment of the present application, the initial video is a video clip containing a video content, the target video can be a complete video containing the video content, or the target video can be another video clip containing the video content and having a duration longer than the initial video.

[0056] In the video display method provided in the embodiment of the present application, by detecting the video display mode of the user interface, when the video display mode is switched from the portrait mode to the landscape mode, the target video related to the display content can be automatically switched, thereby improving the efficiency of video search and switching, and reducing the computing power consumption of the computer device. The video display method provided in the embodiment of the present application eliminates the user's search and search process for related videos, thereby reducing the user's interaction process and providing the user with an immersive video viewing experience.

[0057] Figure 4 A flowchart of the steps of displaying a target video in landscape mode in one embodiment of the present application is shown. Figure 4 As shown, based on the above embodiment, displaying the target video associated with the initial video in horizontal mode on the user interface in step S220 may include the following steps S410 to S430.

[0058] Step S410: obtaining a video recommendation list having content relevance to the initial video, wherein the video recommendation list includes a plurality of candidate videos having content relevance to the initial video, wherein the video duration of the candidate videos is greater than the video duration of the initial video.

[0059] The embodiment of the present application can pre-acquire a video database including a large amount of video content, and classify and aggregate each video in the video database according to a specified granularity (such as the number of episodes, IP or characters, etc.), forming a large number of candidate video lists. Any two candidate video lists can have completely different video content or partially the same video content. Based on content relevance, an association relationship between the initial video and one or more candidate video lists can be established in advance, so that when the initial video is displayed, a video recommendation list with content relevance to it can be obtained.

[0060] In one embodiment of the present application, all candidate videos in each candidate video list are medium-length videos whose video duration is greater than a duration threshold.

[0061] In one embodiment of the present application, all candidate videos in each candidate video list are horizontal screen videos suitable for display in horizontal screen mode.

[0062] Step S420: performing a match detection on the initial video and each candidate video in the video recommendation list, so as to select a candidate video with the highest matching degree with the initial video from the video recommendation list as the target video.

[0063] The method of performing matching detection between the initial video and the candidate video may include at least one of image matching detection and label matching detection.

[0064] In one embodiment of the present application, an image matching detection method is used to obtain the matching degree between the initial video and the candidate video. In this embodiment of the present application, the image content of some video images of the initial video can be compared with that of the candidate video. When a certain frame of video image of the initial video has the same or similar image content as any frame of video image in the candidate video, it indicates that the two videos have a relatively high matching degree. On the contrary, if a certain frame of video image in the initial video has a large difference from all video images in the candidate video, it indicates that the two videos have a relatively low matching degree.

[0065] In one embodiment of the present application, a tag matching detection method is used to obtain the matching degree between the initial video and the candidate video. In the embodiment of the present application, corresponding content tags can be pre-assigned to the initial video and each candidate video according to the video content features. When the initial video and a candidate video have content tags with a high degree of overlap, it indicates that the two videos have a relatively high matching degree. On the contrary, if the content tags of the initial video and a candidate video are greatly different, it indicates that the two videos have a relatively low matching degree.

[0066] In one embodiment of the present application, the image matching detection and label matching detection methods may be used simultaneously to comprehensively evaluate the matching degree between the initial video and the candidate video based on the image matching results and the label matching results.

[0067] Step S430: Display the target video in horizontal mode on the user interface.

[0068] After the target video is obtained, it can be played and displayed from the starting position of the target video, or it can be played and displayed from the middle position of the target video.

[0069] In one embodiment of the present application, a method for displaying a target video from the middle position of the target video may include: obtaining a current video image of an initial video; searching for a video time node corresponding to the current video image in the target video; using the video time node as the current display node, and displaying the target video in horizontal mode on a user interface, so that the target video in horizontal mode can seamlessly continue to play the content after the corresponding content of the initial video.

[0070] In an embodiment of the present application, the current video image may include the last frame or multiple frames of the initial video displayed on the user interface before switching from the portrait mode to the landscape mode. The embodiment of the present application can search for a target video image having the same image content as the current video image in the target video, and use the time node where the target video image is located as the video time node corresponding to the current video image. On this basis, the target video is displayed in landscape mode using the video time node as the current display node, which can achieve a visual effect in which the initial video and the target video are seamlessly connected in terms of video content.

[0071] Figure 5 A flowchart of the steps of obtaining a video recommendation list in one embodiment of the present application is shown. Figure 5 As shown, based on the above embodiment, obtaining a video recommendation list having content relevance to the initial video in step S410 may include the following steps S510 to S540.

[0072] Step S510: Acquire a horizontal screen video suitable for display in horizontal screen mode from one or more video sources.

[0073] The video source for acquiring the horizontal screen video may include an internal video database of the video service platform where the initial video is located, and may also include an external video database of other video service platforms.

[0074] Step S520: adding a content tag for identifying video content features of the horizontal screen video to each horizontal screen video.

[0075] In an embodiment of the present application, content tags based on multiple specified dimensions can be added to each horizontal screen video. The corresponding tag dimensions may include, for example, video name, characters, video type, etc.

[0076] Step S530: clustering the horizontal screen videos according to the label overlap of the content labels to obtain multiple candidate video lists.

[0077] The content labels of each horizontal screen video under multiple label dimensions are respectively calculated for overlap, and are sorted according to the overlap, so as to form multiple candidate video lists through clustering. Each horizontal screen video in each candidate video list has a relatively high label overlap.

[0078] Step S540: Select a video recommendation list that has content relevance to the initial video from the candidate video list.

[0079] The embodiment of the present application can compare the content tags of the initial video with the tag combinations corresponding to each candidate video list, and select one or more video recommendation lists that have content relevance to the initial video.

[0080] Figure 6 FIG. 1 is a schematic diagram showing the process of constructing a video recommendation list in one embodiment of the present application. Figure 6 As shown, in the embodiment of the present application, the horizontal content library 601 (feedid) of the short video platform and the horizontal content library 602 (vid) of the medium and long video platform can be selected as video sources. All videos in the horizontal content library 601 of the short video platform are videos suitable for display in horizontal mode. All videos in the horizontal content library 602 of the medium and long video platform are medium and long videos suitable for display in horizontal mode, for example, they can include medium horizontal videos with a duration of 5-30 minutes and long horizontal videos with a duration of more than 30 minutes.

[0081] The embodiment of the present application can add content tags to each video content in the video source according to the same structure and granularity through a pre-trained machine learning model, and form a horizontal screen video full content library 603 (vid+feedid).

[0082] Videos carrying content tags can be automatically aggregated to generate a large number of related video recommendation lists 604 under specific tag dimensions by calculating and sorting the tag overlap.

[0083] In one embodiment of the present application, in addition to relying on algorithmic calculations to screen and sort video content to form a video recommendation list, the individual videos in the video recommendation list can also be sorted by manual intervention, or the video recommendation list can be created by manual intervention. For example, an embodiment of the present application can obtain a list editing instruction input by a user, and adjust or create a video recommendation list according to the list editing instruction. List editing instructions may include, for example, various instructions triggered by clicks, slides, or other touch operations, and editing operations such as adding, deleting, and sorting videos in the video recommendation list can be implemented based on relevant instructions.

[0084] Figure 7 A schematic diagram of video switching effects based on different data sources in one embodiment of the present application is shown. Figure 7 As shown, short video A is displayed in the first user interface 701 based on the portrait mode. Short video A comes from the short video portrait content library 702. All videos in the short video portrait content library 702 are portrait videos suitable for display using the data mode. When the first user interface 701 based on the portrait mode is switched to the second user interface 703 based on the landscape mode, the currently displayed short video A can be switched to the landscape follow-up video B and the related recommended video C on the user interface. The recommended video list composed of the landscape follow-up video B and the related recommended video C comes from the landscape video full content library 704. The landscape video full content library 704 may include a short video landscape content library 705 and a medium and long video landscape content library 706.

[0085] For example, short video A is a video clip of the first episode of a TV series, then the horizontal version of the continuation video B can be the complete video of the first episode of the TV series, and the related recommended video C can be other episodes of the TV series and other video clips of the TV series.

[0086] The embodiment of the present application associates a vertical short video with a horizontal medium-length video recommendation list, uses the existing image recognition capabilities of the platform to match the videos in the list through database collision, and calculates the medium-length video with the highest matching degree based on label overlap as the follow-up video for switching to the horizontal version. It can achieve positioning the card point to the current playback position when switching from a vertical short video to a horizontal medium-length video and continue playing.

[0087] Figure 8 FIG. 1 shows a user interface schematic diagram based on the vertical screen mode in an application scenario of an embodiment of the present application. Figure 8 As shown, a vertical screen video 810 based on the vertical screen mode can be displayed on the user interface 800, and a mode switching control 820 can be displayed on the user interface 800. The mode switching control 820 is used to switch the video display mode under the triggering of the user's operation. In the embodiment of the present application, in response to the triggering operation (such as a click operation) acting on the mode switching control 820, the video display mode of the user interface can be switched from the vertical screen mode to the horizontal screen mode.

[0088] Continue to refer Figure 8 As shown, in one embodiment of the present application, the mode switching control 820 may include at least one control element, and the control element may include, for example, one or more of an image element 821, a text element 822, and a quantity element 823. The image element 821 is used to identify the list image of the video recommendation list associated with the initial video, the text element 822 is used to identify the list name of the video recommendation list, and the quantity element 823 is used to identify the number of videos in the video recommendation list.

[0089] In the embodiments of the present application, in addition to configuring the mode switching control on the user interface, other methods can also be used to implement the switching function of the video display mode. For example, the video display mode can be switched from the portrait mode to the landscape mode according to a pre-set touch gesture (such as a sliding gesture along a set direction). In addition, the embodiments of the present application can also enter the landscape mode through other channels such as external jumps and message pushes to display a landscape video stream.

[0090] In one embodiment of the present application, when displaying video content on the user interface of a terminal device, the posture information of the terminal device can be obtained, for example, the posture can be detected by a gyroscope configured in the terminal device, and when it is detected that the terminal device is switched from a vertical posture to a horizontal posture, the video display mode on the user interface can be automatically triggered to switch from a vertical screen mode to a horizontal screen mode. In an application scenario, a user can watch a short video by holding the phone vertically. When the user changes the posture of holding the phone vertically to holding the phone horizontally, the short video currently being played can be switched to a medium-length video associated with the short video.

[0091] Fig. 9 FIG. 1 shows a user interface schematic diagram based on the horizontal screen mode in an application scenario of an embodiment of the present application. Fig. 9 As shown, a horizontal video 910 based on the horizontal mode can be displayed on the user interface 900, and a list expansion control 920 can be displayed on the user interface 900. In response to a trigger operation (such as a click operation or a slide operation) acting on the list expansion control 920, a video recommendation list 921 associated with the initial video displayed in the vertical mode can be displayed on the user interface 900, and the video recommendation list 921 includes multiple candidate videos with content relevance to the initial video, and the video duration of the candidate videos is greater than the video duration of the initial video. For example, the initial video is a short video, and the candidate videos are medium-long videos.

[0092] In one embodiment of the present application, when the user triggers to select a candidate video in the video recommendation list 921, the video content of the selected candidate video can be switched for display. In the embodiment of the present application, in response to the video selection operation acting on the video recommendation list, the target video displayed in the horizontal screen mode on the user interface is switched to the selected video.

[0093] When the target video displayed in landscape mode on the user interface is switched to a candidate video selected by the user, the video recommendation list 921 can be updated according to the selected video, that is, the video recommendation list 921 will be updated in real time according to the video content displayed in landscape mode on the user interface.

[0094] Continue to refer Fig. 9As shown, a return control 930 may also be displayed on the user interface 900. In an embodiment of the present application, in response to a trigger operation (such as a click operation) acting on the return control 930, the current video displayed on the user interface is switched to a previous video displayed before the current video, and the previous video is a video displayed in the landscape mode or a video displayed in the portrait mode. In an embodiment of the present application, when the user triggers the return control 930, if there is a previous video displayed based on the landscape mode, the video is returned to play; and if there is no previous video display content in the landscape mode before the current video, the video is returned to the portrait mode display based on the portrait mode before entering the landscape mode.

[0095] Continue to refer Fig. 9 As shown, a mode restoration control 940 may also be displayed on the user interface 900. In the embodiment of the present application, in response to a trigger operation acting on the mode restoration control, the current video displayed in the horizontal screen mode on the user interface is switched to the initial video displayed in the vertical screen mode on the user interface. In the horizontal screen mode, when the user clicks to trigger the display mode restoration control 940, it can directly return to the vertical screen video displayed based on the vertical screen mode before entering the horizontal screen mode.

[0096] The embodiments of the present application provide users with the ability to quickly and conveniently watch more medium and long videos in horizontal screen format within the short video app. Compared with the traditional method of switching apps to watch medium and long videos, this saves users' energy and smartphone computing power, and increases users' consumption time and user stickiness within the short video app.

[0097] In one embodiment of the present application, when displaying video content on the user interface of a terminal device, the posture information of the terminal device can be obtained, for example, the posture can be detected by a gyroscope configured in the terminal device. When it is detected that the terminal device is switched from a horizontal screen posture to a vertical screen posture, the video display mode on the user interface can be automatically triggered to switch from a horizontal screen mode to a vertical screen mode, thereby returning to the vertical screen video displayed before entering the horizontal screen mode. In an application scenario, a user can watch a medium-length video by holding the phone horizontally. When the user changes from holding the phone horizontally to holding the phone vertically, the user can switch from the currently playing medium-length video to the recently watched short video played in vertical screen mode.

[0098] In one embodiment of the present application, additional information can be shared across video sources between the landscape mode and the portrait mode, and the additional information may include comment information such as bullet screen, emoticons, text, etc. For example, in the landscape mode, the bullet screen content of the landscape video can be synchronously obtained from the video source of the landscape video, so that the user can view or send the video bullet screen while watching the video content.

[0099] In one embodiment of the present application, the additional information may also include information such as user type, user level, etc. For example, if a user registers as a VIP user at the video source of a horizontal video, then when switching from the vertical mode to the horizontal mode, the user rights can be automatically obtained, so that the user can obtain extended user rights on different video playback platforms.

[0100] In one embodiment of the present application, the additional information may also include interactive information such as forwarding, liking, commenting, following, and collecting, so that the user can perform corresponding interactive operations in both horizontal and vertical screen modes.

[0101] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0102] The following introduces an apparatus embodiment of the present application, which can be used to execute the video display method in the above-mentioned embodiment of the present application. Fig.10 The structure block diagram of the video display device provided in the embodiment of the present application is schematically shown. Fig.10 As shown, the video display device 1000 may mainly include: a vertical screen display module 1010, configured to display an initial video in a vertical screen mode on a user interface; a horizontal screen display module 1020, configured to display a target video associated with the initial video in a horizontal screen mode on the user interface in response to the video display mode of the user interface being switched from the vertical screen mode to the horizontal screen mode.

[0103] In some embodiments of the present application, based on the above embodiments, the initial video is a short video whose video duration is less than or equal to a duration threshold, and the target video is a medium-length video whose video duration is greater than the duration threshold.

[0104] In some embodiments of the present application, based on the above embodiments, the horizontal screen display module 1020 includes: a list acquisition unit, configured to acquire a video recommendation list that is content-relevant to the initial video, the video recommendation list including multiple candidate videos that are content-relevant to the initial video, and the video duration of the candidate videos is greater than the video duration of the initial video; a matching detection unit, configured to perform matching detection on the initial video with each candidate video in the video recommendation list, so as to select the candidate video with the highest matching degree with the initial video from the video recommendation list as the target video; a video display unit, configured to display the target video in horizontal screen mode on the user interface.

[0105] In some embodiments of the present application, based on the above embodiments, the list acquisition unit includes: a video acquisition subunit, configured to acquire horizontal screen videos suitable for display in the horizontal screen mode from one or more video sources; a label adding subunit, configured to add content tags for identifying video content features of the horizontal screen video to each of the horizontal screen videos; a video clustering subunit, configured to cluster the horizontal screen videos according to the label overlap of the content tags to obtain multiple candidate video lists; and a list selection subunit, configured to select a video recommendation list that has content relevance to the initial video from the candidate video list.

[0106] In some embodiments of the present application, based on the above embodiments, the video display unit includes: an image acquisition subunit, configured to acquire the current video image of the initial video; a node search subunit, configured to search the target video for a video time node corresponding to the current video image; and a node display subunit, configured to use the video time node as the current display node and display the target video in horizontal screen mode on the user interface.

[0107] In some embodiments of the present application, based on the above embodiments, the video display device 1000 also includes: a switching control display module, configured to display a mode switching control on the user interface; a switching control response module, configured to respond to a trigger operation acting on the mode switching control, and switch the video display mode of the user interface from the portrait mode to the landscape mode.

[0108] In some embodiments of the present application, based on the above embodiments, the mode switching control includes at least one control element, and the control element includes one or more of an image element, a text element, and a quantity element; the image element is used to identify a list image of a video recommendation list associated with the initial video, the text element is used to identify a list name of the video recommendation list, and the quantity element is used to identify the number of videos in the video recommendation list.

[0109] In some embodiments of the present application, based on the above embodiments, the video display device 1000 further includes: an expansion control display module configured to display a list expansion control on the user interface;

[0110] An expansion control response module is configured to respond to a trigger operation acting on the list expansion control and display a video recommendation list associated with the initial video on the user interface, wherein the video recommendation list includes multiple candidate videos that are content-relevant to the initial video, and the video length of the candidate videos is greater than the video length of the initial video.

[0111] In some embodiments of the present application, based on the above embodiments, the video display device 1000 also includes: a list response module, configured to respond to a video selection operation on the video recommendation list, and switch the target video displayed in horizontal mode on the user interface to the selected video.

[0112] In some embodiments of the present application, based on the above embodiments, the video display device 1000 further includes: a list updating module configured to update the video recommendation list according to the selected video.

[0113] In some embodiments of the present application, based on the above embodiments, the video display device 1000 also includes: a return control display module, configured to display a return control on the user interface; a return control response module, configured to respond to a trigger operation acting on the return control, switching the current video displayed on the user interface to a previous video displayed before the current video, switching the current video displayed on the user interface to a previous video displayed before the current video, the previous video being a video displayed in horizontal screen mode or a video displayed in vertical screen mode.

[0114] In some embodiments of the present application, based on the above embodiments, the video display device 1000 also includes: a restoration control display module, configured to display a mode restoration control on the user interface; a restoration control response module, configured to respond to a trigger operation acting on the mode restoration control, and switch the current video displayed in a horizontal screen mode on the user interface to the initial video displayed in a vertical screen mode on the user interface.

[0115] The specific details of the video display device provided in each embodiment of the present application have been described in detail in the corresponding method embodiments and will not be repeated here.

[0116] Fig.11 The structure block diagram of a computer system for implementing an electronic device according to an embodiment of the present application is schematically shown.

[0117] It should be noted that Fig.11 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0118] like Fig.11As shown, the computer system 1100 includes a central processing unit 1101 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 1102 (ROM) or the program loaded from the storage part 1108 to the random access memory 1103 (RAM). Various programs and data required for system operation are also stored in the random access memory 1103. The central processing unit 1101, the read-only memory 1102 and the random access memory 1103 are connected to each other through a bus 1104. An input / output interface 1105 (Input / Output interface, i.e., I / O interface) is also connected to the bus 1104.

[0119] The following components are connected to the input / output interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the input / output interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.

[0120] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the central processor 1101, various functions defined in the system of the present application are executed.

[0121] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0122] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0123] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0124] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0125] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.

[0126] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A video display method, characterized in that: include: Display the initial video in portrait mode on the user interface; Obtaining horizontal videos suitable for display in horizontal mode from one or more video sources; Adding a content tag for identifying a video content feature of the horizontal screen video to each of the horizontal screen videos; Clustering the horizontal screen videos according to the label overlap of the content labels to obtain multiple candidate video lists; Selecting a video recommendation list having content relevance to the initial video from the candidate video list; In response to the video display mode of the user interface switching from the portrait mode to the landscape mode, a target video associated with the initial video selected from the video recommendation list is displayed in the landscape mode on the user interface, wherein the target video contains part or all of the video content of the initial video.

2. The video display method according to claim 1, characterized in that: The initial video is a short video whose video duration is less than or equal to a duration threshold, and the target video is a medium-length video whose video duration is greater than the duration threshold.

3. The video display method according to claim 1, characterized in that: Displaying a target video associated with the initial video selected from the video recommendation list on the user interface in a horizontal screen mode includes: Acquire a video recommendation list having content relevance to the initial video, the video recommendation list including a plurality of candidate videos having content relevance to the initial video, wherein the video duration of the candidate videos is greater than the video duration of the initial video; Performing a match detection between the initial video and each candidate video in the video recommendation list, so as to select a candidate video with the highest matching degree with the initial video from the video recommendation list as a target video; The target video is displayed in a horizontal screen mode on the user interface.

4. The video display method according to claim 1, characterized in that: Displaying a target video associated with the initial video selected from the video recommendation list on the user interface in a horizontal screen mode includes: Acquire a current video image of the initial video; Acquire a target video associated with the initial video; Searching for a video time node corresponding to the current video image in the target video; The target video is displayed in a horizontal screen mode on the user interface using the video time node as the current display node.

5. The video display method according to claim 1, characterized in that: When the video is displayed in the vertical screen mode on the user interface, the method further includes: displaying a mode switching control on the user interface; In response to a triggering operation acting on the mode switching control, the video display mode of the user interface is switched from the portrait mode to the landscape mode.

6. The video display method according to claim 5, characterized in that: The mode switching control includes at least one control element, which includes one or more of an image element, a text element and a quantity element; the image element is used to identify a list image of a video recommendation list associated with the initial video, the text element is used to identify a list name of the video recommendation list, and the quantity element is used to identify the number of videos in the video recommendation list.

7. The video display method according to claim 1, characterized in that: After displaying the target video associated with the initial video selected from the video recommendation list on the user interface in a horizontal screen mode, the method further includes: Displaying a list expansion control on the user interface; In response to a trigger operation acting on the list expansion control, a video recommendation list associated with the initial video is displayed on the user interface, the video recommendation list includes multiple candidate videos that are content-relevant to the initial video, and the video length of the candidate videos is greater than the video length of the initial video.

8. The video display method according to claim 7, characterized in that: After displaying the video recommendation list associated with the initial video on the user interface, the method further includes: In response to a video selection operation performed on the video recommendation list, a target video displayed in landscape mode on the user interface is switched to a selected video.

9. The video display method according to claim 8, characterized in that: After displaying the selected video in the horizontal screen mode on the user interface, the method further includes: The video recommendation list is updated according to the selected video.

10. The video display method according to claim 1, characterized in that: When the video is displayed in the horizontal screen mode on the user interface, the method further includes: Displaying a return control on the user interface; In response to a trigger operation acting on the return control, the current video displayed on the user interface is switched to a previous video displayed before the current video, wherein the previous video is a video displayed in a horizontal screen mode or a video displayed in a vertical screen mode.

11. The video display method according to claim 1, characterized in that: When the video is displayed in the horizontal screen mode on the user interface, the method further includes: displaying a mode restore control on the user interface; In response to a triggering operation acting on the mode restoration control, the current video displayed in the horizontal mode on the user interface is switched to the initial video displayed in the vertical mode on the user interface.

12. A video display device, characterized in that: include: A vertical screen display module, configured to display the initial video in a vertical screen mode on the user interface; A horizontal screen display module is configured to obtain horizontal screen videos suitable for display in horizontal screen mode from one or more video sources; and add a content tag for identifying a video content feature of the horizontal screen video to each of the horizontal screen videos; Clustering the horizontal screen videos according to the label overlap of the content labels to obtain multiple candidate video lists; selecting a video recommendation list having content relevance to the initial video from the candidate video lists; In response to the video display mode of the user interface being switched from the portrait mode to the landscape mode, a target video associated with the initial video selected from the video recommendation list is displayed in the landscape mode on the user interface.

13. A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the video display method according to any one of claims 1 to 11.

14. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the video display method described in any one of claims 1 to 11 by executing the executable instructions.

15. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the video display method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Video recommendation method and apparatus, computer device and storage medium

    CN108024145A

  • Method and equipment for presenting landscape video in information flow

    CN110769300A