CN112218113A - Video playing method and device, computer readable storage medium and electronic device - Google Patents

Video playing method and device, computer readable storage medium and electronic device Download PDF

Info

Publication number
CN112218113A
CN112218113A CN202011110904.1A CN202011110904A CN112218113A CN 112218113 A CN112218113 A CN 112218113A CN 202011110904 A CN202011110904 A CN 202011110904A CN 112218113 A CN112218113 A CN 112218113A
Authority
CN
China
Prior art keywords
video
played
list
live
display mode
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.)
Pending
Application number
CN202011110904.1A
Other languages
Chinese (zh)
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.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information 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 Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202011110904.1A priority Critical patent/CN112218113A/en
Publication of CN112218113A publication Critical patent/CN112218113A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a video playing method and device, a computer readable storage medium and an electronic device. The method comprises the following steps: displaying a video list to be played; responding to a first touch operation acting on a first video to be played in the video list to be played, and converting the first video to be played from a first display mode to a second display mode; under a second display mode, responding to a second touch operation acting on the first video to be played, and determining the moving direction of the first video to be played; detecting the contact ratio between the first video to be played and the second video to be played in the video list to be played based on the moving direction; and when the contact ratio is greater than a first threshold value, performing split-screen display on the first video to be played and the second video to be played in the live broadcast page. By the method and the device, the technical effect of improving the split-screen display efficiency of the live video is achieved.

Description

Video playing method and device, computer readable storage medium and electronic device
Technical Field
The present invention relates to the field of video playing, and in particular, to a video playing method, a video playing device, a computer-readable storage medium, and an electronic device.
Background
Currently, when browsing videos, a live Application (APP for short) is usually opened first, and is displayed in a split-screen view in a top-mounted manner, and then other live APPs are selected in a sliding manner to realize video split-screen display.
However, the method cannot enable a user to open the double screens in a single live broadcast software, and can only realize the preview effect similar to the double-screen live broadcast by combining other live broadcast software, and the operation flow is too long, so that the technical problem of low split-screen display efficiency of the live broadcast video exists.
Aiming at the technical problem of low efficiency of split screen display of live video in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The invention mainly aims to provide a video playing method, a video playing device, a computer readable storage medium and an electronic device, and at least solves the technical problem of low efficiency of split screen display of live videos.
To achieve the above object, according to one aspect of the present invention, there is provided a video playback method. The method can comprise the following steps: displaying a video list to be played; responding to a first touch operation acting on a first video to be played in a video list to be played, and converting the first video to be played from a first display mode to a second display mode, wherein the first display mode is used for showing that the first video to be played is displayed at a fixed position in the video list to be played according to the layout mode of the video list to be played, and the second display mode is used for showing that the first video to be played is displayed above the video list to be played in a suspension manner; under a second display mode, responding to a second touch operation acting on the first video to be played, and determining the moving direction of the first video to be played; detecting the contact ratio between the first video to be played and the second video to be played in the video list to be played based on the moving direction; and when the contact ratio is greater than a first threshold value, performing split-screen display on the first video to be played and the second video to be played in the live broadcast page.
Optionally, before the first video to be played and the second video to be played are displayed in a live page in a split screen manner, the method further includes: and displaying prompt information, wherein the prompt information is used for indicating that the first video to be played in the second display mode is moved to the first area of the video list to be played, so that the coincidence degree between the moved first video to be played and the second video to be played is greater than a first threshold value.
Optionally, displaying a prompt message, including: and displaying prompt information in a second area of the video list to be played, wherein the second area displays a second video to be played.
Optionally, displaying the prompt information in a second area of the video list to be played includes: and when the contact ratio between the moved first video to be played and the second area is greater than a second threshold value, displaying prompt information in the second area of the video list to be played, wherein the second threshold value is smaller than the first threshold value.
Optionally, the prompt message includes at least one of: color prompt information; text prompt information; and prompting information by using the icon.
Optionally, when the contact ratio is greater than a first threshold, performing split-screen display on the first video to be played and the second video to be played in the live broadcast page, including: when the contact ratio is larger than a first threshold value, releasing a second touch operation, and triggering a graphical user interface where a video list to be played is located to jump to a live broadcast page; and performing split-screen display on the first video to be played and the second video to be played in the live broadcast page.
Optionally, the performing, in a live page, split-screen display on the first video to be played and the second video to be played includes: the method comprises the steps of live broadcasting a first video to be played in a first live broadcasting area of a live broadcasting page, and live broadcasting a second video to be played in a second live broadcasting area of the live broadcasting page, wherein the second live broadcasting area is adjacent to the first live broadcasting area.
Optionally, before the first video to be played and the second video to be played are displayed in a live page in a split screen manner, the method further includes: displaying at least one third video to be played including a target identifier in a video list to be played, wherein the target identifier is used for indicating that the third video to be played and the first video to be played are allowed to be displayed in a split screen mode on a live broadcast page; and when the contact ratio between the first video to be played and the third video to be played after the movement is greater than a first threshold value, determining the third video to be played as a second video to be played.
Optionally, the moving direction comprises at least one of: left shift direction, right shift direction, up shift direction, and down shift direction.
In order to achieve the above object, according to another aspect of the present invention, there is provided a video playback apparatus. The apparatus may include: the display unit is used for displaying a video list to be played; the conversion unit is used for responding to a first touch operation acting on a first video to be played in the video list to be played and converting the first video to be played from a first display mode to a second display mode, wherein the first display mode is used for indicating that the first video to be played is displayed at a fixed position in the video list to be played according to the layout mode of the video list to be played, and the second display mode is used for indicating that the first video to be played is displayed above the video list to be played in a floating mode; the determining unit is used for responding to a second touch operation acting on the first video to be played in a second display mode and determining the moving direction of the first video to be played; the detection unit is used for detecting the contact ratio between the first video to be played and the second video to be played in the video list to be played based on the moving direction; and the display unit is used for performing split-screen display on the first video to be played and the second video to be played in the live broadcast page when the contact ratio is greater than the first threshold value.
To achieve the above object, according to another aspect of the present invention, there is provided a computer-readable storage medium. The computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the apparatus where the computer readable storage medium is located is controlled to execute the video playing method according to the embodiment of the present invention.
In order to achieve the above object, according to another aspect of the present invention, an electronic device is provided. The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the video playing method of the embodiment of the invention.
In the video playing method, a first video to be played in a video list to be played is displayed above the video list to be played in a floating mode by utilizing a first touch operation, a second touch operation is carried out on the first video to be played so as to move the first video to be played, when the coincidence degree between the moved first video to be played and a second video to be played in the video list to be played is larger than a first threshold value, the first video to be played and the second video to be played can be displayed in a same live broadcast page in a split mode, therefore, the double screens can be quickly opened in single live broadcast software, the requirement of a user for browsing a plurality of videos to be played simultaneously can be met, the situation that the preview effect similar to the double screens is intelligently achieved by combining other live broadcast software is avoided, the operation is simple, the psychological expectation of the user is met, the learning cost of the user is low, and the technical problem of low efficiency of split screen display of the live broadcast video, the technical effect of improving the efficiency of split-screen display of the live video is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal according to a video playing method of an embodiment of the present invention;
fig. 2 is a flowchart of a video playing method according to an embodiment of the present invention;
FIG. 3A is a schematic diagram of an interface for implementing video bi-parting according to the related art;
FIG. 3B is a schematic diagram of an interface for implementing video bi-parting according to another related art;
FIG. 3C is a schematic diagram of an interface for implementing video bi-parting according to another related art;
FIG. 3D is a schematic diagram of an interface for implementing video bi-parting according to another related art;
FIG. 4A is a schematic view of an interface for video bi-parting according to an embodiment of the present invention;
FIG. 4B is a schematic view of an interface for video biswitch according to an embodiment of the present invention;
FIG. 4C is a schematic view of an interface for video bisexs according to an embodiment of the present invention; and
fig. 5 is a schematic diagram of a video playback device according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a data processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, a video playing method operating in the mobile terminal is provided, and fig. 2 is a flowchart of a video playing method according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
step S202, displaying a video list to be played.
In the technical solution provided by step S202 in the present invention, the to-be-played video list may be a video list including a plurality of to-be-played videos, where each to-be-played video may display a corresponding video cover in the to-be-played video list, and thus the to-be-played video list of this embodiment may also be referred to as a video cover list. Optionally, each video to be played in this embodiment may receive a touch operation triggered by a user, which may be a live video to be played.
The embodiment displays the video list to be played, and can display the video list on a graphical user interface of the mobile terminal so as to show the video list to the user.
Step S204, in response to a first touch operation applied to a first video to be played in the video list to be played, converts the first video to be played from the first display mode to the second display mode.
In the technical solution provided in step S204 of the present invention, after the to-be-played video list is displayed, in response to a first touch operation applied to a first to-be-played video in the to-be-played video list, a first display mode of the first to-be-played video is converted into a second display mode, where the first display mode is used to indicate that the first to-be-played video is displayed at a fixed position in the to-be-played video list according to a layout mode of the to-be-played video list, and the second display mode is used to indicate that the first to-be-played video is displayed above the to-be-played video list in a floating manner.
In this embodiment, the to-be-played video list may include a first to-be-played video, where the first to-be-played video is a video that needs to be displayed in a split screen manner with other to-be-played videos in the to-be-played video list, and may also be referred to as a start video. Optionally, the first to-be-played video of this embodiment starts to be displayed in the to-be-played video list in a first display manner, where the first display manner is used to indicate that the first to-be-played video is displayed at a fixed position in the to-be-played video list according to the layout manner of the to-be-played video list, for example, the layout manner of the to-be-played video list is that a plurality of to-be-played videos are distributed in three rows and two columns, in addition to displaying a plurality of to-be-played videos distributed in three rows and two columns, the to-be-played video list may also display more to-be-played videos, and the first to-be-played video may be any to-be-played video of the plurality of to-be-played videos currently displayed in the to-be-played video list, that is, the first to-be-.
The first video to be played in the embodiment may receive a first touch operation triggered by a user, where the first touch operation may be a click touch operation or a long-press touch operation, for example, in a video list to be played, a click touch operation or a long-press touch operation is performed on a video cover of the first video to be played. In response to the first touch operation applied to the first video to be played, the embodiment can convert the first video to be played from the first display mode to a second display mode, where the second display mode is used to indicate that the first video to be played is displayed above the video list to be played in a floating manner. Optionally, in response to a first touch operation applied to the first video to be played, the embodiment may disengage the first video to be played from the video list to be played, and the first video to be played is in a floating state at this time, so that the first video to be played is displayed above the video list to be played in a floating manner.
It should be noted that, in the embodiment, the first touch operation is performed on the first video to be played in the video list to be played, that is, the operation of selecting the first video to be played from the video list to be played, which meets the psychological expectation of the user, is a simple gesture operation, and has low learning cost for the user.
In step S206, in the second display mode, the moving direction of the first video to be played is determined in response to the second touch operation applied to the first video to be played.
In the technical solution provided in step S206 of the present invention, after the first video to be played is converted from the first display mode to the second display mode, in the second display mode, the moving direction of the first video to be played may be determined in response to a second touch operation applied to the first video to be played.
In this embodiment, when the first video to be played is displayed in the second display manner, it may be shown that the first video to be played may support a second touch operation, and the second touch operation may be a moving touch operation, that is, a dragging touch operation, which meets the psychological expectation of the user, is a simple gesture operation, and has a low learning cost for the user. Optionally, if the first video to be played is not displayed in the second display mode, it may be indicated that the first video to be played does not support the second touch operation.
In the second display mode, in response to a second touch operation applied to the first video to be played, the moving direction of the first video to be played may be determined, where the moving direction is determined by an operation direction of the second touch operation and may include a left moving direction, a right moving direction, an upward moving direction, and a downward moving direction, where the left moving direction is used to indicate that the first video to be played moves toward the left side of the video list to be played, the right moving direction is used to indicate that the first video to be played moves toward the right side of the video list to be played, the upward moving direction is used to indicate that the first video to be played moves toward the upper side of the video list to be played, and the downward moving direction is used to indicate that the first video to be played moves toward the lower side of the video list to be played. After the moving direction of the first video to be played is determined, the first video to be played may be controlled to move freely in the video list to be played according to the moving direction, for example, the first video to be played is controlled to move to the bottom of the page and the top of the page of the video list to be played, and automatic upward or downward continuous movement may also be supported, which is not limited herein.
In step S208, a coincidence degree between the first video to be played and the second video to be played in the video list to be played is detected based on the moving direction.
In the technical solution provided by step S208 above in the present invention, after determining the moving direction of the first video to be played, the overlap ratio between the first video to be played and the second video to be played in the video list to be played may be detected based on the moving direction.
In this embodiment, in the process of controlling the first to-be-played video to move freely in the to-be-played video list according to the moving direction of the first to-be-played video, the first to-be-played video may be overlapped with other to-be-played videos in the to-be-played video list, so that more to-be-played videos may be selected, and the selection result is more accurate. The embodiment may detect a contact ratio between the first video to be played and the second video to be played in the video list to be played based on the moving direction, where the second video to be played may also be displayed in the video list to be played by using a video cover, which may be a live video to be played, and the contact ratio may refer to a contact ratio of an area between the video cover presented by the first video to be played in the video list to be played and the video cover presented by the second video to be played in the video list to be played.
Step S210, when the contact ratio is larger than a first threshold value, performing split-screen display on the first video to be played and the second video to be played in the live broadcast page.
In the technical solution provided in step S210 of the present invention, after detecting the coincidence degree between the first video to be played and the second video to be played in the video list to be played based on the moving direction, it may be determined whether the coincidence degree is greater than a first threshold. And if the coincidence degree is larger than the first threshold value, performing split-screen display on the first video to be played and the second video to be played in the live broadcast page, wherein the second video to be played can also be called as a double-opening video.
In this embodiment, the first threshold may be a preset critical threshold, for example, 75%, for triggering the second video to be played to be determined as the video to be played for split-screen display with the first video to be played. When the contact ratio is judged to be larger than the first threshold value, the graphical user interface can jump from the video list to be played to a live broadcast page, the live broadcast page is a live broadcast room page in single live broadcast software, and then the first video to be played and the second video to be played are displayed in the live broadcast page in a split screen mode, so that the purpose of quickly opening double screens in the single live broadcast software is achieved.
In the above steps S202 to S210 of the present application, the first to-be-played video in the to-be-played video list is displayed in a floating manner above the to-be-played video list by using the first touch operation, and the second touch operation is performed on the to-be-played video list, so as to move the to-be-played video list, when the coincidence degree between the moved first to-be-played video and the second to-be-played video in the to-be-played video list is greater than the first threshold value, the split-screen display of the first to-be-played video and the second to-be-played video in the same live broadcast page can be realized, thereby realizing the quick opening of the double screens in a single live broadcast software, meeting the requirement of the user for browsing a plurality of to-be-played videos simultaneously, avoiding intelligently realizing the preview effect similar to the double-screen live broadcast by combining other live broadcast software, and having simple operation, meeting the psychological expectation of the user, the technical effect of improving the efficiency of split-screen display of the live video is achieved.
The above-described method of this embodiment is further described below.
As an optional implementation manner, in step S210, before the split-screen displaying of the first video to be played and the second video to be played in the live page, the method further includes: and displaying prompt information, wherein the prompt information is used for indicating that the first video to be played in the second display mode is moved to the first area of the video list to be played, so that the coincidence degree between the moved first video to be played and the second video to be played is greater than a first threshold value.
In this embodiment, before the first video to be played and the second video to be played are displayed in a live page in a split screen manner, this embodiment may also display a reminder in the video list to be played, which reminder may be used to guide the user's actions, for instructing the user to move the first video to be played in the second display mode to the first area of the video list to be played, for example, the prompt message is the text displayed in the video list to be played, wherein the text is dragged and dropped to complete the double opening, so that when the first video to be played moves to the first area, the coincidence degree between the first video to be played and the second video to be played can be made larger than the first threshold value, and then carry out the split screen display to first video and the second video of waiting to broadcast fast in the live broadcast page, made things convenient for user operation, reduced user's study cost to the efficiency of live broadcast video split screen display has been improved.
As an optional implementation, displaying the prompt information includes: and displaying prompt information in a second area of the video list to be played, wherein the second area displays a second video to be played.
In this embodiment, the second video to be played may be displayed in the second area of the video list to be played, and this embodiment may display the above-mentioned prompt message in the second area to indicate that when the first video to be played is moved to the first area of the video list to be played, the second video to be played and the first video to be played may be displayed in a double-screen manner. The first region and the second region are overlapped, and the overlapping degree of the first region and the second region can be larger than the first threshold value.
As an optional implementation manner, displaying the prompt information in the second area of the video list to be played includes: and when the contact ratio between the moved first video to be played and the second area is greater than a second threshold value, displaying prompt information in the second area of the video list to be played, wherein the second threshold value is smaller than the first threshold value.
In this embodiment, the displaying of the prompt information in the second area may be performed at a certain time, or the displaying of the prompt information in the second area may be triggered when the moved first video to be played meets a certain condition. Optionally, in this embodiment, the coincidence degree between the second areas where the moved first video to be played and the second video to be played are displayed is detected in real time, and when it is detected that the coincidence degree between the second areas where the moved first video to be played and the second video to be played are displayed is greater than the second threshold, the display of the prompt information in the second area of the video list to be played is immediately triggered.
Optionally, in this embodiment, in the process that the first video to be played moves in the video list to be played according to the moving direction, the overlap ratio between the moved first video to be played and other videos to be played in the video list to be played may be detected in real time, the video to be played, of which the overlap ratio is first greater than the second threshold, is preferentially determined as the second video to be played, and the prompt information is preferentially triggered and displayed in the second area of the second video to be played.
As an optional implementation, the prompt message includes at least one of: color prompt information; text prompt information; and prompting information by using the icon.
In this embodiment, the displaying of the prompt information in the second area may include color prompt information, for example, when the overlap ratio between the moved first video to be played and the second area is greater than the second threshold, the second area is presented with a special color, for example, red, to indicate that when the first video to be played in the second display mode is moved to the first area of the video list to be played continuously, the first video to be played may be displayed in a split screen with the second video to be played displayed in the second area. Wherein the degree of overlap between the first region and the second region may be greater than 70%.
Optionally, the prompt information of this embodiment may further include a text prompt information, for example, when the overlap ratio between the moved first video to be played and the second region is greater than the second threshold, the text "dragging to this point to complete double opening" may be triggered to be displayed in the second region, so as to indicate that when the first video to be played in the second display mode continues to be moved to the first region, the first video to be played may be displayed in a split screen manner with the second video to be played displayed in the second region.
Optionally, the prompt information of this embodiment may further include icon prompt information, and when the coincidence degree between the moved first video to be played and the second region is greater than the second threshold, a special icon may be triggered to be displayed in the second region, so as to indicate that when the first video to be played in the second display mode is continuously moved to the first region where the special icon is located, the first video to be played and the second video to be played displayed in the second region may be displayed in a split screen manner.
It should be noted that the prompt information in this embodiment includes color prompt information, text prompt information, and icon prompt information, which is only an example of the embodiment of the present invention, and does not represent that the prompt information in the embodiment of the present invention includes only color prompt information, text prompt information, and icon prompt information, any prompt information that may be used to instruct to move the first video to be played in the second display mode to the first area of the video list to be played, so that the prompt information that the coincidence degree between the first video to be played and the second video to be played is greater than the first threshold value is within the range of the embodiment, and this is not illustrated here.
As an optional implementation manner, in step S208, when the overlap ratio is greater than the first threshold, performing split-screen display on the first video to be played and the second video to be played in the live page, including: when the contact ratio is larger than a first threshold value, releasing a second touch operation, and triggering a graphical user interface where a video list to be played is located to jump to a live broadcast page; and performing split-screen display on the first video to be played and the second video to be played in the live broadcast page.
In this embodiment, in a process of responding to a second touch operation applied to a first video to be played, determining a moving direction of the first video to be played, and controlling the first video to be played to move in a video list to be played according to the moving direction, when a contact ratio between the first video to be played and a second video to be played in the video list to be played is greater than a first threshold, if it is detected that the second touch operation is released, a gui where the video list to be played is located may be immediately triggered to jump to a live page. Optionally, if it is detected that the second touch operation is still acting on the first video to be played, the embodiment still displays the video list to be played on the graphical user interface. After the graphical user interface where the video list to be played is triggered to jump to the live broadcast page, the first video to be played and the second video to be played can be displayed in the live broadcast page in a split screen mode.
As an optional implementation manner, in step S208, performing split-screen display on the first video to be played and the second video to be played in a live page, includes: the method comprises the steps of live broadcasting a first video to be played in a first live broadcasting area of a live broadcasting page, and live broadcasting a second video to be played in a second live broadcasting area of the live broadcasting page, wherein the second live broadcasting area is adjacent to the first live broadcasting area.
In this embodiment, the live broadcast page may include a first live broadcast area and a second live broadcast area, and after triggering the graphical user interface where the video list to be played is located to jump to the live broadcast page, the first video to be played may be live broadcast in the first live broadcast area, that is, a picture of the first video to be played is displayed in the first live broadcast area. The embodiment can also live a second video to be played in the second live broadcast area, that is, display a picture of the second video to be played in the second live broadcast area. Optionally, the second live zone of this embodiment is adjacent to the first live zone, for example, the second live zone is located at the left of the first live zone, and is not limited in this respect.
As an optional implementation manner, before the first video to be played and the second video to be played are displayed in a live page in a split screen manner, the method further includes: displaying at least one third video to be played including a target identifier in a video list to be played, wherein the target identifier is used for indicating that the third video to be played and the first video to be played are allowed to be displayed in a split screen mode on a live broadcast page; and when the contact ratio between the first video to be played and the third video to be played after the movement is greater than a first threshold value, determining the third video to be played as a second video to be played.
In this embodiment, not all of the videos to be played displayed in the video list to be played may be displayed in a split screen with other videos to be played, for example, for some videos to be played with a higher importance degree, the videos to be played are not allowed to be displayed in a split screen with other videos to be played. Optionally, in this embodiment, at least one third video to be played including the target identifier may be displayed in the video list to be played, and the target identifier may indicate that the third video to be played is allowed to be displayed in a split screen manner with the first video to be played in a live page, and may be an icon identifier, a color identifier, a text identifier, and the like, where no specific limitation is made here, so that the user specifically triggers a second touch operation on the first video to be played, and further, in response to the second touch operation on the first video to be played, determines a moving direction of the first video to be played, and controls the first video to be played to move in the video list to be played according to the moving direction. When the contact ratio between the moved first video to be played and one of the third videos to be played is greater than the first threshold, the embodiment may determine the third video to be played as the second video to be played, and then perform split-screen display on the first video to be played and the second video to be played in the live page.
The video playing method of the embodiment is a quick double-opening method for live broadcast software video of the mobile terminal, the first touch operation and the second touch operation performed on the first video to be played meet the psychological expectation of a user, the video playing method is simple gesture operation, and the learning cost of the user is low; the embodiment can also support the user to freely drag the first video to be played, so that more second videos to be played can be selected in a rich manner and are selected more accurately; this implementation can realize the video two divisions fast, can satisfy the user and browse a plurality of needs of treating the broadcast video simultaneously, avoids can the user when mobile terminal browses the video selection interface, and in the face of selecting numerous videos from the beginning, does not know how to select or all want the circumstances of watching to the technical problem of the inefficiency that has solved live video and has divided the screen display has reached the technological effect that improves the efficiency that live video divides the screen display.
Preferred embodiments of the examples of the present invention are further illustrated below.
In the case of browsing videos on a mobile terminal, when a user faces a plurality of videos that can be selected, the user often faces the situation that the user does not know how to select the videos or wants to watch the videos.
Fig. 3A is a schematic diagram of an interface for implementing video bi-parting according to a related art. As shown in fig. 3A, clicking on the name of the live application 1 in the multitasking interface on the desktop of the mobile terminal (for example, the live application 1 is CC live), more options can be invoked, such as invoking application information, opening in a split screen view, opening in a pop-up view, locking an application, hiding content, fixing the application, and clicking "open in split screen view".
Fig. 3B is a schematic diagram of an interface for implementing video bi-parting according to another related art. As shown in fig. 3B, after "open in split screen view" is clicked, the live application 1 may be opened in the split screen view to be displayed at the top, and other live applications 2 in multiple tasks may appear below the live application (for example, the live application is mo strange live), and after any one of the other live applications 2 is selected by sliding left and right, split screen display of the live application 1 and the live application 2 may be immediately achieved.
Fig. 3C is a schematic diagram of an interface for implementing video bi-parting according to another related art. As shown in fig. 3C, when the live application 1 and the live application 2 are displayed in a split screen manner, the middle thick bar may be dragged to control the size of the area where the live application 1 and the live application 2 are located or to exit the split screen mode.
Fig. 3D is a schematic diagram of an interface for implementing video bi-parting according to another related art. As shown in fig. 3D, after dragging the middle thick horizontal bar, the area where the live application 1 is located may be decreased, and the area where the live application 2 is located may be increased.
Although the method can realize video double opening, the entrance is hidden, the operation flow is too long, the learning cost is high, and the efficiency is low; moreover, a user cannot start the double screens in single live broadcast software and can only realize the preview effect similar to double-screen live broadcast by combining other live broadcast software; when the method supports double-screen live broadcasting, a corresponding software interface needs to be operated to a specified room, so that the technical problem of low split-screen display efficiency of live video exists.
The embodiment of the invention realizes a method for quickly opening two live broadcast software videos of a mobile terminal, which is convenient for a user to press a first video to be played in a video list to be played by a gesture for a long time, so that the first video to be played is separated from the video list to be played and suspended and can move left, right, up and down, and after the first video to be played and the second video to be played are moved to the area where the second video to be played is located, the purpose of double-screen display of the first video to be played and the second video to be played is realized, thereby meeting the requirement of browsing a plurality of videos to be played at one time by the user.
Fig. 4A is a schematic view of an interface of a video bi-parting according to an embodiment of the invention. As shown in fig. 4A, the to-be-played video list includes video covers of a plurality of to-be-played videos, for example, video cover a, video cover b, video cover c, video cover d, video cover e, and video cover f. The user can select a video cover from video cover a, video cover b, video cover c, video cover d, video cover e, video cover f, for example, press video cover b for a long time, select the video to be played that video cover b corresponds to be the first video to be played.
FIG. 4B is a schematic diagram of an interface for video biswitch according to an embodiment of the invention. As shown in fig. 4B, after long-pressing the video cover B, the video cover B is displayed in a floating manner above the video list to be played. When the video cover b is displayed above the video list to be played in a floating mode, the video cover b can support left, right, up and down movement, can move to the bottom and the top of a page, and supports automatic up and down continuous movement. When the video to be played corresponding to the video cover b moves to about 75% of the area of the other video cover c, the prompt message T 'dragged to the area of the other video cover c to realize double opening' can be displayed in the area of the other video cover c, the area can be in a certain special color, for example, red (shown by a shaded part), and at the moment, a user releases the finger and opens a new live broadcast room page. Alternatively, the embodiment may display the image of the screen cover b in the original position of the screen cover b, or may display a blank.
FIG. 4C is a schematic view of another video bi-parting interface according to an embodiment of the invention. As shown in fig. 4C, after the user releases the finger and opens a new page of the live broadcast room, a video double-open mode can be realized, the video to be played corresponding to the video cover b is played in the first area X, and the video to be played corresponding to the video cover C is played in the second area Y, where the first area is located on the left of the second area.
The video playing method of the embodiment is a quick double-opening method for live broadcast software video of the mobile terminal, the first touch operation and the second touch operation performed on the first video to be played meet the psychological expectation of a user, the video playing method is simple gesture operation, and the learning cost of the user is low; the embodiment can also support the user to freely drag the first video to be played, so that more second videos to be played can be selected in a rich manner and are selected more accurately; this implementation can realize the video two divisions fast, can satisfy the user and browse a plurality of needs of treating the broadcast video simultaneously, avoids can the user when mobile terminal browses the video selection interface, and in the face of selecting numerous videos from the beginning, does not know how to select or all want the circumstances of watching to the technical problem of the inefficiency that has solved live video and has divided the screen display has reached the technological effect that improves the efficiency that live video divides the screen display.
The embodiment of the invention also provides a video playing device. It should be noted that the video playing apparatus of this embodiment can be used to execute the video playing method shown in fig. 2 according to the embodiment of the present invention.
Fig. 5 is a schematic diagram of a video playback device according to an embodiment of the present invention. As shown in fig. 5, the video playback apparatus 50 includes: a display unit 51, a conversion unit 52, a determination unit 53, a detection unit 54, and a display unit 55.
And a display unit 51 for displaying the video list to be played.
The converting unit 52 is configured to convert, in response to a first touch operation applied to a first video to be played in the video list to be played, the first video to be played from a first display mode to a second display mode, where the first display mode is used to indicate that the first video to be played is displayed at a fixed position in the video list to be played according to the layout mode of the video list to be played, and the second display mode is used to indicate that the first video to be played is displayed above the video list to be played in a floating manner.
The determining unit 53 is configured to determine a moving direction of the first video to be played in response to a second touch operation applied to the first video to be played in the second display mode.
The detecting unit 54 is configured to detect a coincidence degree between the first video to be played and the second video to be played in the video list to be played based on the moving direction.
And the display unit 55 is configured to perform split-screen display on the first video to be played and the second video to be played in the live broadcast page when the coincidence degree is greater than the first threshold value.
In the video playing device of this embodiment, the first to-be-played video in the to-be-played video list is displayed in a floating manner above the to-be-played video list by the first touch operation, and the second touch operation is performed on the to-be-played video list, so as to move the to-be-played video, when the overlap ratio between the moved first to-be-played video and the second to-be-played video in the to-be-played video list is greater than the first threshold value, the first to-be-played video and the second to-be-played video can be displayed in a split manner in the same live broadcast page, thereby realizing the quick opening of the double screens in a single live broadcast software, meeting the requirement of a user for browsing a plurality of to-be-played videos simultaneously, avoiding intelligently realizing a preview effect similar to double-screen live broadcast by combining other live broadcast software, having simple operation, meeting the psychological expectation of the user, having low learning cost of the user, the technical effect of improving the efficiency of split-screen display of the live video is achieved.
An embodiment of the present invention provides a computer-readable storage medium. The computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the apparatus where the computer readable storage medium is located is controlled to execute the video playing method according to the embodiment of the present invention.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A video playback method, comprising:
displaying a video list to be played;
responding to a first touch operation acting on a first video to be played in the video list to be played, and converting the first video to be played from a first display mode to a second display mode, wherein the first display mode is used for indicating that the first video to be played is displayed at a fixed position in the video list to be played according to the layout mode of the video list to be played, and the second display mode is used for indicating that the first video to be played is displayed above the video list to be played in a suspension manner;
under the second display mode, responding to a second touch operation acting on the first video to be played, and determining the moving direction of the first video to be played;
detecting the contact ratio between the first video to be played and a second video to be played in the video list to be played based on the moving direction;
and when the contact ratio is greater than a first threshold value, performing split-screen display on the first video to be played and the second video to be played in a live broadcast page.
2. The method of claim 1, wherein before the first video to be played and the second video to be played are displayed in a live page in a split screen manner, the method further comprises:
and displaying prompt information, wherein the prompt information is used for indicating that the first video to be played in the second display mode is moved to a first area of the video list to be played, so that the coincidence degree between the moved first video to be played and the second video to be played is greater than the first threshold value.
3. The method of claim 2, wherein displaying the prompt comprises:
and displaying the prompt information in a second area of the video list to be played, wherein the second area displays the second video to be played.
4. The method of claim 3, wherein displaying the cue information in the second area of the video list to be played comprises:
and when the contact ratio between the first video to be played and the second area after the movement is greater than a second threshold value, displaying the prompt message in the second area, wherein the second threshold value is smaller than the first threshold value.
5. The method of claim 2, wherein the prompt message comprises at least one of:
color prompt information;
text prompt information;
and prompting information by using the icon.
6. The method according to claim 1, wherein when the coincidence degree is greater than a first threshold value, performing split-screen display on the first video to be played and the second video to be played in a live page includes:
when the contact ratio is larger than the first threshold value, releasing the second touch operation, and triggering a graphical user interface where the video list to be played is located to jump to the live broadcast page;
and performing split-screen display on the first video to be played and the second video to be played in the live broadcast page.
7. The method of claim 1, wherein displaying the first video to be played and the second video to be played in the live page in a split screen manner comprises:
and live broadcasting the first video to be played in a first live broadcasting area of the live broadcasting page, and live broadcasting the second video to be played in a second live broadcasting area of the live broadcasting page, wherein the second live broadcasting area is adjacent to the first live broadcasting area.
8. The method of claim 1, wherein before the first video to be played and the second video to be played are displayed in a live page in a split screen manner, the method further comprises:
displaying at least one third video to be played including a target identifier in the video list to be played, wherein the target identifier is used for indicating that the third video to be played and the first video to be played are allowed to be displayed in a split screen mode on the live broadcast page;
and when the coincidence degree between the first video to be played and the third video to be played after the movement is greater than the first threshold value, determining the third video to be played as the second video to be played.
9. The method according to any one of claims 1 to 8, wherein the direction of movement comprises at least one of: left shift direction, right shift direction, up shift direction, and down shift direction.
10. A video playback apparatus, comprising:
the display unit is used for displaying a video list to be played;
the conversion unit is used for responding to a first touch operation acting on a first video to be played in the video list to be played and converting the first video to be played from a first display mode to a second display mode, wherein the first display mode is used for indicating that the first video to be played is displayed at a fixed position in the video list to be played according to the layout mode of the video list to be played, and the second display mode is used for indicating that the first video to be played is displayed above the video list to be played in a suspension mode;
a determining unit, configured to determine a moving direction of the first video to be played in response to a second touch operation applied to the first video to be played in the second display mode;
the detection unit is used for detecting the contact ratio between the first video to be played and the second video to be played in the video list to be played based on the moving direction;
and the display unit is used for performing split-screen display on the first video to be played and the second video to be played in a live broadcast page when the contact ratio is greater than a first threshold value.
11. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, controls an apparatus in which the computer-readable storage medium is located to carry out the method of any one of claims 1 to 9.
12. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 9.
CN202011110904.1A 2020-10-16 2020-10-16 Video playing method and device, computer readable storage medium and electronic device Pending CN112218113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011110904.1A CN112218113A (en) 2020-10-16 2020-10-16 Video playing method and device, computer readable storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011110904.1A CN112218113A (en) 2020-10-16 2020-10-16 Video playing method and device, computer readable storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112218113A true CN112218113A (en) 2021-01-12

Family

ID=74055494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011110904.1A Pending CN112218113A (en) 2020-10-16 2020-10-16 Video playing method and device, computer readable storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112218113A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342248A (en) * 2021-06-24 2021-09-03 广州博冠信息科技有限公司 Live broadcast display method and device, storage medium and electronic equipment
CN114745561A (en) * 2022-04-06 2022-07-12 珠海格力电器股份有限公司 Live broadcast room interaction method and device, electronic equipment and storage medium
WO2023197679A1 (en) * 2022-04-12 2023-10-19 Oppo广东移动通信有限公司 Video playing method and apparatus, electronic device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760043A (en) * 2012-06-19 2012-10-31 华为终端有限公司 Icon management method of user interface and touch device
CN103116440A (en) * 2013-01-23 2013-05-22 深圳市金立通信设备有限公司 Method and terminal for icon to move on terminal
KR20130131988A (en) * 2012-05-25 2013-12-04 주식회사 미래지기 Interactive live broadcasting system and method
US20150169141A1 (en) * 2013-12-16 2015-06-18 Samsung Electronics Co., Ltd. Method for controlling screen and electronic device thereof
CN105867722A (en) * 2015-12-15 2016-08-17 乐视移动智能信息技术(北京)有限公司 List item operation processing method and apparatus
CN106131651A (en) * 2016-08-23 2016-11-16 腾讯科技(深圳)有限公司 A kind of with screen live broadcasting method and device
CN106648314A (en) * 2016-12-09 2017-05-10 珠海市魅族科技有限公司 Method and device for splitting screen
CN108024135A (en) * 2017-12-13 2018-05-11 广州虎牙信息科技有限公司 Direct broadcasting room live picture exhibition method, storage device and computer equipment
CN109992336A (en) * 2018-01-03 2019-07-09 阿里巴巴集团控股有限公司 A kind of interface display method, device, terminal device and storage medium
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130131988A (en) * 2012-05-25 2013-12-04 주식회사 미래지기 Interactive live broadcasting system and method
CN102760043A (en) * 2012-06-19 2012-10-31 华为终端有限公司 Icon management method of user interface and touch device
CN103116440A (en) * 2013-01-23 2013-05-22 深圳市金立通信设备有限公司 Method and terminal for icon to move on terminal
US20150169141A1 (en) * 2013-12-16 2015-06-18 Samsung Electronics Co., Ltd. Method for controlling screen and electronic device thereof
CN105867722A (en) * 2015-12-15 2016-08-17 乐视移动智能信息技术(北京)有限公司 List item operation processing method and apparatus
CN106131651A (en) * 2016-08-23 2016-11-16 腾讯科技(深圳)有限公司 A kind of with screen live broadcasting method and device
CN106648314A (en) * 2016-12-09 2017-05-10 珠海市魅族科技有限公司 Method and device for splitting screen
CN108024135A (en) * 2017-12-13 2018-05-11 广州虎牙信息科技有限公司 Direct broadcasting room live picture exhibition method, storage device and computer equipment
CN109992336A (en) * 2018-01-03 2019-07-09 阿里巴巴集团控股有限公司 A kind of interface display method, device, terminal device and storage medium
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342248A (en) * 2021-06-24 2021-09-03 广州博冠信息科技有限公司 Live broadcast display method and device, storage medium and electronic equipment
CN114745561A (en) * 2022-04-06 2022-07-12 珠海格力电器股份有限公司 Live broadcast room interaction method and device, electronic equipment and storage medium
CN114745561B (en) * 2022-04-06 2023-05-30 珠海格力电器股份有限公司 Live broadcast room interaction method and device, electronic equipment and storage medium
WO2023197679A1 (en) * 2022-04-12 2023-10-19 Oppo广东移动通信有限公司 Video playing method and apparatus, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US11726645B2 (en) Display apparatus for classifying and searching content, and method thereof
US11137904B1 (en) Devices, methods, and graphical user interfaces for interacting with user interface objects corresponding to applications
CN109164964B (en) Content sharing method and device, terminal and storage medium
US11789603B2 (en) File processing method, terminal, and storage medium
CN112218113A (en) Video playing method and device, computer readable storage medium and electronic device
CN109618206B (en) Method and display device for presenting user interface
KR102006470B1 (en) Method and apparatus for multi-tasking in a user device
CN105353936A (en) Display method and electronic device
US20110161818A1 (en) Method and apparatus for video chapter utilization in video player ui
CN108334371B (en) Method and device for editing object
US10331327B2 (en) Message display method, apparatus and terminal
US11455086B2 (en) System and method for content selection
KR20150124235A (en) User terminal device, and Method for controlling for User terminal device, and multimedia system thereof
US20130141467A1 (en) Data display method and mobile device adapted thereto
US10642444B2 (en) Image display control device, and image display control method
CN106648864B (en) Method and device for opening and/or switching multiple applications
EP3454226B1 (en) Method and apparatus for displaying a user interface
CN106354372A (en) Information preview method and device
KR20150066129A (en) Display appratus and the method thereof
WO2021183690A1 (en) Devices, methods, and graphical user interfaces for interacting with user interface objects corresponding to applications
CN106020645A (en) Application starting method and apparatus
CN113452744A (en) File sharing method, device, equipment and storage medium
CN111447484A (en) Loading method and device of electronic program guide EPG and storage medium
CN114707092A (en) Live content display method, device, equipment, readable storage medium and product
CN111897607A (en) Application interface loading and interaction method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210112

RJ01 Rejection of invention patent application after publication