WO2017181598A1 - Method and device for playing video - Google Patents

Method and device for playing video Download PDF

Info

Publication number
WO2017181598A1
WO2017181598A1 PCT/CN2016/100351 CN2016100351W WO2017181598A1 WO 2017181598 A1 WO2017181598 A1 WO 2017181598A1 CN 2016100351 W CN2016100351 W CN 2016100351W WO 2017181598 A1 WO2017181598 A1 WO 2017181598A1
Authority
WO
WIPO (PCT)
Prior art keywords
preview
video
window
video identifier
area
Prior art date
Application number
PCT/CN2016/100351
Other languages
French (fr)
Chinese (zh)
Inventor
昝晓飞
Original Assignee
乐视控股(北京)有限公司
乐视网信息技术(北京)股份有限公司
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 乐视控股(北京)有限公司, 乐视网信息技术(北京)股份有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017181598A1 publication Critical patent/WO2017181598A1/en

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a video playing method and apparatus.
  • the TV has many channels, and the user can switch channels to watch different videos played by the TV.
  • a video list is displayed on the screen of the TV.
  • the video list includes multiple lines. Each line stores the number of a channel and the name of the video currently playing on the channel. The user can select the user according to the name of the video in the video list. The video of interest, and then switch to the channel that plays the video selected by the user.
  • the user since the amount of information that can be expressed by the name of the video is limited, the user has a low selection accuracy when selecting a video of interest to the user based on the name of the video only in the video list.
  • the present invention provides a video playing method and apparatus.
  • a video playing method which is applied to a terminal, and the method includes:
  • the terminal plays the preset video in the play window, detecting whether a preview operation of the target video identifier in the preview video identifier list is received;
  • the detecting the preview operation of receiving the target video identifier in the preview video identifier list includes:
  • the duration of the pause in the trigger area of the target video identifier in the video identification list reaches a preset duration, it is determined that the preview operation of the target video identifier in the preview video identifier list is received.
  • the determining the preview area on the screen of the terminal includes:
  • a preview area is determined in an area other than the play window in the screen.
  • the size of the play window is larger than the size of the preview window
  • the method further includes:
  • the video corresponding to the target video identifier is played in the play window.
  • the method further includes:
  • a video playback apparatus which is applied to a terminal, where the apparatus includes:
  • a first detecting module configured to detect, when the terminal plays a preset video in the playing window, whether a preview operation of the target video identifier in the preview video identifier list is received;
  • a determining module configured to determine a preview area on a screen of the terminal when the preview operation is received area
  • a display module configured to display a preview window in the preview area
  • a first playing module configured to play a video corresponding to the target video identifier in the preview window.
  • the first detection module includes:
  • a judging unit configured to determine whether a dwell duration in a trigger area of the target video identifier of the cursor in the video identifier list reaches a preset duration
  • a determining unit configured to determine, when the cursor stays in the trigger region of the target video identifier in the video identifier list, a preview duration, to receive a preview operation of the target video identifier in the preview video identifier list.
  • the determining module includes:
  • a first determining unit configured to determine a preview area in an area of the play window
  • a second determining unit configured to determine a preview area in an area other than the play window in the screen.
  • the size of the play window is larger than the size of the preview window
  • the device also includes:
  • a second detecting module configured to detect whether a trigger operation that triggers the preview window is received
  • the second playing module is configured to play the video corresponding to the target video identifier in the play window when the triggering operation is received.
  • the device further includes:
  • a deleting module configured to delete the preview window from the screen
  • a third playing module configured to play the preset video in the preview window.
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer executable instructions for executing any of the above videos. Play method.
  • An embodiment of the present invention further provides an electronic device, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being Set to perform any of the above video playback methods.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform any of the above video playback methods.
  • the terminal when the terminal plays the preset video in the play window, it detects whether a preview operation of the target video identifier in the preview video identifier list is received; when the preview operation is received, determines the preview area on the screen of the terminal. ; Display a preview window in the preview area; play the video corresponding to the target video ID in the preview window.
  • the terminal when the terminal plays the preset video, the terminal may also play the video corresponding to the video identifier selected by the user from the video identifier list, and determine whether the user is interested in the video according to the played video content.
  • the user selects the video of the user's interest only in the video list according to the name of the video.
  • the user determines whether the user is interested in the video according to the video content of the video played by the terminal, thereby improving the selection accuracy. Sex.
  • FIG. 1 is a flowchart of a video playing method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a video playing method according to an exemplary embodiment
  • FIG. 3 is a block diagram of a video playback apparatus according to an exemplary embodiment
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a video playing method according to an exemplary embodiment. As shown in FIG. 1 , the method is used in a terminal, and the method includes the following steps.
  • step S101 when the terminal plays the preset video in the play window, it is detected whether a preview operation of the target video identifier in the preview video identifier list is received;
  • the terminal when the terminal displays the play window on the screen and plays the preset video in the play window, the terminal simultaneously displays the video identifier list on the screen; the video identifier list stores videos of different videos. logo.
  • the preview operation of the target video identifier in the preview video identification list may be input in the terminal.
  • the target video identifier is any video identifier in the video identification list. Therefore, for the terminal, it is necessary to detect whether a preview operation of the target video identifier in the preview video identification list is received.
  • the terminal can determine whether the duration of the cursor in the trigger area of the target video identifier in the video identifier list reaches a preset duration; when the cursor reaches the preset duration in the trigger region of the target video identifier in the video identifier list When the duration is set, it is determined that the preview operation of receiving the target video identifier in the preview video identification list is received.
  • step S102 a preview area is determined on the screen of the terminal.
  • the preview area is an area for playing a video corresponding to the target video identifier.
  • the purpose of the embodiment of the present invention is to play the video corresponding to the target video identifier in the preview window of the terminal when the terminal plays the preset video in the play window, so that the user can watch the preset video played by the terminal.
  • the terminal may determine the preview area in an area of the play window in which the preset video is played; the size of the preview area is smaller than the size of the play window.
  • the preview area is determined in an area other than the play window in the screen so that the preview area does not coincide with the play area.
  • step S103 a preview window is displayed in the preview area
  • this step may display the preview window on the play window.
  • the preview window may be displayed in the preview area, and the preview window is suspended in the play window. That is, the preview window will block a portion of the area in the playback window.
  • the preview window since the size of the preview area is smaller than the size of the play window, the preview window does not completely obscure the play window, so the preview window does not affect the user watching the preset video played in the play window.
  • step S104 the video corresponding to the target video identifier is played in the preview window.
  • the terminal when the terminal plays the preset video in the play window, it detects whether a preview operation of the target video identifier in the preview video identifier list is received; when the preview operation is received, determines the preview area on the screen of the terminal. ; Display a preview window in the preview area; play the video corresponding to the target video ID in the preview window.
  • the terminal when the terminal plays the preset video, the terminal may also play the video corresponding to the video identifier selected by the user from the video identifier list, and determine whether the user is interested in the video according to the played video content.
  • the user selects the video of the user's interest only in the video list according to the name of the video.
  • the user determines whether the user is interested in the video according to the video content of the video played by the terminal, thereby improving the selection accuracy. Sex.
  • the size of the play window is larger than the size of the preview window; the size of the play window is large, and the video currently played by the user when playing the preset video played by the window, and the video played by the preview window may be of interest to the user. video. If the user is interested in the video corresponding to the target video identifier played by the preview window, the user may control the terminal to play the video corresponding to the target video identifier in the play window.
  • step S103 the method further includes:
  • step S201 it is detected whether a trigger operation of triggering the preview window is received
  • step S202 the video corresponding to the target video identifier is played in the playback window.
  • the terminal can delete from the screen.
  • the terminal can delete from the screen.
  • the terminal can delete from the screen.
  • the terminal can delete from the screen.
  • the video corresponding to the target video identifier is stopped, and the preset video is played in the preview window.
  • the preset video played by the user watching the terminal is not affected during the process of the user watching the video corresponding to the target video identifier played by the playback window.
  • FIG. 3 is a block diagram of a video playback apparatus, according to an exemplary embodiment.
  • the apparatus includes:
  • the first detecting module 11 is configured to detect, when the terminal plays the preset video in the playing window, whether a preview operation of the target video identifier in the preview video identifier list is received;
  • a determining module 12 configured to determine a preview area on a screen of the terminal when the preview operation is received
  • a display module 13 configured to display a preview window in the preview area
  • the first playing module 14 is configured to play a video corresponding to the target video identifier in the preview window.
  • the first detecting module 11 includes:
  • a judging unit configured to determine whether a dwell duration in a trigger area of the target video identifier of the cursor in the video identifier list reaches a preset duration
  • a determining unit configured to determine, when the cursor stays in the trigger region of the target video identifier in the video identifier list, a preview duration, to receive a preview operation of the target video identifier in the preview video identifier list.
  • the determining module 12 includes:
  • a first determining unit configured to determine a preview area in an area of the play window
  • a second determining unit configured to determine a preview area in an area other than the play window in the screen.
  • the size of the play window is larger than the size of the preview window
  • the device also includes:
  • a second detecting module configured to detect whether a trigger operation that triggers the preview window is received
  • the second playing module is configured to play the video corresponding to the target video identifier in the play window when the triggering operation is received.
  • the device further includes:
  • a deleting module configured to delete the preview window from the screen
  • a third playing module configured to play the preset video in the preview window.
  • the terminal when the terminal plays the preset video in the play window, it detects whether a preview operation of the target video identifier in the preview video identifier list is received; when the preview operation is received, determines the preview area on the screen of the terminal. ; Display a preview window in the preview area; play the video corresponding to the target video ID in the preview window.
  • the terminal when the terminal plays the preset video, the terminal may also play the video corresponding to the video identifier selected by the user from the video identifier list, and determine whether the user is interested in the video according to the played video content.
  • the user selects the video of the user's interest only in the video list according to the name of the video.
  • the user determines whether the user is interested in the video according to the video content of the video played by the terminal, thereby improving the selection accuracy. Sex.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium stores computer executable instructions, which can execute the video in any of the foregoing method embodiments. Play method.
  • FIG. 4 is a schematic structural diagram of hardware of an electronic device for performing a video playing method according to an embodiment of the present application. As shown in FIG. 4, the device includes:
  • One or more processors 810 and memory 820, one processor 810 is taken as an example in FIG.
  • the apparatus that performs the video playing method may further include: an input device 830 and an output device 840.
  • the processor 810, the memory 820, the input device 830, and the output device 840 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 820 is used as a non-transitory computer readable storage medium, and can be used for storing a non-transitory software program, a non-transitory computer executable program, and a module, such as a program instruction/module corresponding to the video playing method in the embodiment of the present application ( For example, the first detecting module 11, the determining module 12, the display module 13, and the first playing module 14) shown in FIG.
  • the processor 810 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory 820, that is, implementing the video playback method of the above method embodiment.
  • the memory 820 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the video playback device, and the like.
  • memory 820 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • memory 820 can optionally include memory remotely located relative to processor 810, which can be connected to the video playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 830 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the video playback device.
  • the output device 840 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 820, and when executed by the one or more processors 810, perform a video playback method in any of the above method embodiments.
  • the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the program when executed, may include the flow of an embodiment of the methods as described above.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided in the embodiments of the present invention are a method and a device for playing a video. The method comprises: when a terminal plays a preset video in a play window, detecting whether a preview operation to preview a target video identifier in a video identifier list is received; if the preview operation is received, determining a preview region on the screen of the terminal; displaying a preview window in the preview region; and playing the video corresponding to the target video identifier in the preview window. By means of the method of the embodiments of the present invention, when playing a preset video, the terminal can also play the video corresponding to a video identifier selected by a user from the video identifier list, and determine, according to the contents of the played video, whether the user is interested in the video. Compared to the prior art where the user selects videos of interest merely according to the names of the videos in a video list, in the embodiments of the present invention, the user determines, according to the video contents of the video played by the terminal, whether he or she is interested in the video, which can improve selection accuracy.

Description

视频播放方法及装置Video playing method and device
本申请要求于2016年4月19日提交中国专利局、申请号为201610245325.5、发明名称为“视频播放方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, filed on Apr. 19, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种视频播放方法及装置。The present invention relates to the field of computer technologies, and in particular, to a video playing method and apparatus.
背景技术Background technique
随着技术的飞速发展,人们常常利用电视播放视频,通常情况下,电视具有很多个频道,用户可以切换频道来观看电视播放的不同的视频。With the rapid development of technology, people often use television to play video. Usually, the TV has many channels, and the user can switch channels to watch different videos played by the TV.
当用户正在观看一个频道的视频时,如果用户对这个频道的视频不感兴趣,用户可以切换至其他播放用户感兴趣的视频的频道,但是,在切换之前,用户也不知道哪些频道播放的视频为用户感兴趣的视频。有时候电视的屏幕上会显示一个视频列表,视频列表包括多行,每一行都存储了一个频道的编号和该频道当前播放的视频的名称,用户可以在视频列表中根据视频的名称来选择用户感兴趣的视频,进而切换到播放用户选择的视频的频道。When the user is watching a video of a channel, if the user is not interested in the video of the channel, the user can switch to another channel that plays the video of interest to the user, but before switching, the user does not know which channels play the video. A video of interest to the user. Sometimes a video list is displayed on the screen of the TV. The video list includes multiple lines. Each line stores the number of a channel and the name of the video currently playing on the channel. The user can select the user according to the name of the video in the video list. The video of interest, and then switch to the channel that plays the video selected by the user.
然而,由于视频的名称所能表达的视频的信息量有限,用户在视频列表中仅仅根据视频的名称选择用户感兴趣的视频时的选择准确性较低。However, since the amount of information that can be expressed by the name of the video is limited, the user has a low selection accuracy when selecting a video of interest to the user based on the name of the video only in the video list.
发明内容Summary of the invention
为克服相关技术中存在的问题,本发明提供一种视频播放方法及装置。To overcome the problems in the related art, the present invention provides a video playing method and apparatus.
根据本发明实施例的第一方面,提供一种视频播放方法,应用于终端,所述方法包括:According to a first aspect of the present invention, a video playing method is provided, which is applied to a terminal, and the method includes:
在所述终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;When the terminal plays the preset video in the play window, detecting whether a preview operation of the target video identifier in the preview video identifier list is received;
当接收到所述预览操作时,在所述终端的屏幕上确定预览区域;Determining a preview area on a screen of the terminal when the preview operation is received;
在所述预览区域中显示预览窗口; Displaying a preview window in the preview area;
在所述预览窗口中播放与所述目标视频标识对应的视频。Playing a video corresponding to the target video identifier in the preview window.
其中,所述检测是否接收到预览视频标识列表中的目标视频标识的预览操作,包括:The detecting the preview operation of receiving the target video identifier in the preview video identifier list includes:
判断光标在视频标识列表中的目标视频标识的触发区域内的停留时长是否达到预设时长;Determining whether the duration of the pause in the trigger area of the target video identifier in the video identifier list reaches a preset duration;
当光标在视频标识列表中的目标视频标识的触发区域内的停留时长达到预设时长时,确定接收到预览视频标识列表中的目标视频标识的预览操作。When the duration of the pause in the trigger area of the target video identifier in the video identification list reaches a preset duration, it is determined that the preview operation of the target video identifier in the preview video identifier list is received.
其中,所述在所述终端的屏幕上确定预览区域,包括:The determining the preview area on the screen of the terminal includes:
在所述播放窗口的区域中确定预览区域;Determining a preview area in an area of the play window;
或者,or,
在所述屏幕中的所述播放窗口以外的区域中确定预览区域。A preview area is determined in an area other than the play window in the screen.
进一步地,所述播放窗口的尺寸大于所述预览窗口的尺寸;Further, the size of the play window is larger than the size of the preview window;
所述在所述预览窗口中播放与所述目标视频标识对应的视频之后,还包括:After the video corresponding to the target video identifier is played in the preview window, the method further includes:
检测是否接收到触发所述预览窗口的触发操作;Detecting whether a trigger operation that triggers the preview window is received;
当接收到所述触发操作时,在所述播放窗口中播放所述目标视频标识对应的视频。When the triggering operation is received, the video corresponding to the target video identifier is played in the play window.
进一步地,所述在所述播放窗口中播放所述目标视频标识对应的视频之后,还包括:Further, after the playing the video corresponding to the target video identifier in the play window, the method further includes:
从所述屏幕上删除所述预览窗口;Removing the preview window from the screen;
或者,or,
在所述预览窗口中播放所述预设视频。Playing the preset video in the preview window.
根据本发明实施例的第二方面,提供一种视频播放装置,应用于终端,所述装置包括:According to a second aspect of the embodiments of the present invention, a video playback apparatus is provided, which is applied to a terminal, where the apparatus includes:
第一检测模块,用于在所述终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;a first detecting module, configured to detect, when the terminal plays a preset video in the playing window, whether a preview operation of the target video identifier in the preview video identifier list is received;
确定模块,用于当接收到所述预览操作时,在所述终端的屏幕上确定预览区 域;a determining module, configured to determine a preview area on a screen of the terminal when the preview operation is received area;
显示模块,用于在所述预览区域中显示预览窗口;a display module, configured to display a preview window in the preview area;
第一播放模块,用于在所述预览窗口中播放与所述目标视频标识对应的视频。a first playing module, configured to play a video corresponding to the target video identifier in the preview window.
其中,所述第一检测模块包括:The first detection module includes:
判断单元,用于判断光标在视频标识列表中的目标视频标识的触发区域内的停留时长是否达到预设时长;a judging unit, configured to determine whether a dwell duration in a trigger area of the target video identifier of the cursor in the video identifier list reaches a preset duration;
确定单元,用于当光标在视频标识列表中的目标视频标识的触发区域内的停留时长达到预设时长时,确定接收到预览视频标识列表中的目标视频标识的预览操作。And a determining unit, configured to determine, when the cursor stays in the trigger region of the target video identifier in the video identifier list, a preview duration, to receive a preview operation of the target video identifier in the preview video identifier list.
其中,所述确定模块包括:The determining module includes:
第一确定单元,用于在所述播放窗口的区域中确定预览区域;a first determining unit, configured to determine a preview area in an area of the play window;
或者,or,
第二确定单元,用于在所述屏幕中的所述播放窗口以外的区域中确定预览区域。And a second determining unit, configured to determine a preview area in an area other than the play window in the screen.
进一步地,所述播放窗口的尺寸大于所述预览窗口的尺寸;Further, the size of the play window is larger than the size of the preview window;
所述装置还包括:The device also includes:
第二检测模块,用于检测是否接收到触发所述预览窗口的触发操作;a second detecting module, configured to detect whether a trigger operation that triggers the preview window is received;
第二播放模块,用于当接收到所述触发操作时,在所述播放窗口中播放所述目标视频标识对应的视频。The second playing module is configured to play the video corresponding to the target video identifier in the play window when the triggering operation is received.
进一步地,所述装置还包括:Further, the device further includes:
删除模块,用于从所述屏幕上删除所述预览窗口;a deleting module, configured to delete the preview window from the screen;
或者,or,
第三播放模块,用于在所述预览窗口中播放所述预设视频。a third playing module, configured to play the preset video in the preview window.
本发明实施例还提供了一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项视频播放方法。 The embodiment of the present invention further provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer executable instructions for executing any of the above videos. Play method.
本发明实施例还提供了一种电子设备,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设置为用于执行上述任一项视频播放方法。An embodiment of the present invention further provides an electronic device, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being Set to perform any of the above video playback methods.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一项视频播放方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform any of the above video playback methods.
本发明的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
在本发明实施例中,在终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;当接收到预览操作时,在终端的屏幕上确定预览区域;在预览区域中显示预览窗口;在预览窗口中播放与目标视频标识对应的视频。通过本发明实施例的方法,在终端播放预设视频时,终端还可以播放用户从视频标识列表中选择的视频标识对应的视频,并根据播放的视频内容确定用户是否为该视频感兴趣,相比于现有技术中的用户在视频列表中仅仅根据视频的名称选择用户感兴趣的视频,本发明实施例中用户根据终端播放的视频的视频内容来确定用户是否对视频感兴趣可以提高选择准确性。In the embodiment of the present invention, when the terminal plays the preset video in the play window, it detects whether a preview operation of the target video identifier in the preview video identifier list is received; when the preview operation is received, determines the preview area on the screen of the terminal. ; Display a preview window in the preview area; play the video corresponding to the target video ID in the preview window. According to the method of the embodiment of the present invention, when the terminal plays the preset video, the terminal may also play the video corresponding to the video identifier selected by the user from the video identifier list, and determine whether the user is interested in the video according to the played video content. The user in the prior art selects the video of the user's interest only in the video list according to the name of the video. In the embodiment of the present invention, the user determines whether the user is interested in the video according to the video content of the video played by the terminal, thereby improving the selection accuracy. Sex.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in the specification of FIG
图1是根据一示例性实施例示出的一种视频播放方法的流程图;FIG. 1 is a flowchart of a video playing method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种视频播放方法的流程图;FIG. 2 is a flowchart of a video playing method according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种视频播放装置的框图;FIG. 3 is a block diagram of a video playback apparatus according to an exemplary embodiment;
图4为本发明实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述 涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Description below Where the figures are referred to, the same numerals in the different figures represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the appended claims.
图1是根据一示例性实施例示出的一种视频播放方法的流程图,如图1所示,该方法用于终端中,该方法包括以下步骤。FIG. 1 is a flowchart of a video playing method according to an exemplary embodiment. As shown in FIG. 1 , the method is used in a terminal, and the method includes the following steps.
在步骤S101中,在终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;In step S101, when the terminal plays the preset video in the play window, it is detected whether a preview operation of the target video identifier in the preview video identifier list is received;
在本发明实施例中,当终端在屏幕上显示播放窗口并在该播放窗口播放预设视频时,终端同时会在屏幕上显示视频标识列表;视频标识列表中存储了多个不同的视频的视频标识。当用户在观看终端播放的预设视频的同时,如果需要预览视频标识列表中的目标视频标识对应的视频时,可以在终端中输入预览视频标识列表中的目标视频标识的预览操作。目标视频标识为视频标识列表中的任意一个视频标识。因此,对于终端而言,需要检测是否接收到预览视频标识列表中的目标视频标识的预览操作。In the embodiment of the present invention, when the terminal displays the play window on the screen and plays the preset video in the play window, the terminal simultaneously displays the video identifier list on the screen; the video identifier list stores videos of different videos. Logo. When the user is watching the preset video played by the terminal, if the video corresponding to the target video identifier in the video identification list needs to be previewed, the preview operation of the target video identifier in the preview video identification list may be input in the terminal. The target video identifier is any video identifier in the video identification list. Therefore, for the terminal, it is necessary to detect whether a preview operation of the target video identifier in the preview video identification list is received.
具体地,终端呢可以判断光标在视频标识列表中的目标视频标识的触发区域内的停留时长是否达到预设时长;当光标在视频标识列表中的目标视频标识的触发区域内的停留时长达到预设时长时,确定接收到接收到预览视频标识列表中的目标视频标识的预览操作。Specifically, the terminal can determine whether the duration of the cursor in the trigger area of the target video identifier in the video identifier list reaches a preset duration; when the cursor reaches the preset duration in the trigger region of the target video identifier in the video identifier list When the duration is set, it is determined that the preview operation of receiving the target video identifier in the preview video identification list is received.
当接收到该预览操作时,在步骤S102中,在终端的屏幕上确定预览区域;When the preview operation is received, in step S102, a preview area is determined on the screen of the terminal;
在本发明实施例中,预览区域为用于播放目标视频标识对应的视频的区域。In the embodiment of the present invention, the preview area is an area for playing a video corresponding to the target video identifier.
本发明实施例的目的是为了当终端在播放窗口播放预设视频时,同时在终端的预览窗口中播放目标视频标识对应的视频,以使用户在观看终端播放的预设视频的同时还可以观看终端播放的目标视频标识对应的视频。The purpose of the embodiment of the present invention is to play the video corresponding to the target video identifier in the preview window of the terminal when the terminal plays the preset video in the play window, so that the user can watch the preset video played by the terminal. The video corresponding to the target video identifier played by the terminal.
因此,为了在用户观看终端播放的目标视频标识对应的视频的同时不影响用户观看终端播放的预设视频。在本发明实施例中,终端可以在播放预设视频的播放窗口的区域中确定预览区域;预览区域的尺寸小于播放窗口的尺寸。或者,在屏幕中的播放窗口以外的区域中确定预览区域,以使预览区域与播放区域不重合。 Therefore, in order to watch the video corresponding to the target video identifier played by the terminal, the user does not affect the preset video played by the user viewing the terminal. In the embodiment of the present invention, the terminal may determine the preview area in an area of the play window in which the preset video is played; the size of the preview area is smaller than the size of the play window. Alternatively, the preview area is determined in an area other than the play window in the screen so that the preview area does not coincide with the play area.
在步骤S103中,在预览区域中显示预览窗口;In step S103, a preview window is displayed in the preview area;
在本发明实施例中,如果在步骤S102中是播放预设视频的播放窗口的区域中确定预览区域,则本步骤可以将预览窗口悬浮显示在播放窗口上。In the embodiment of the present invention, if the preview area is determined in the area of the play window in which the preset video is played in step S102, this step may display the preview window on the play window.
在本发明实施例中,如果在步骤S102中预览区域是在播放窗口的区域中确定的,则在本步骤中,可以将预览窗口显示在预览区域中,并将预览窗口悬浮显示在播放窗口上,也即,预览窗口会遮挡播放窗口中的一部分区域。In the embodiment of the present invention, if the preview area is determined in the area of the play window in step S102, in this step, the preview window may be displayed in the preview area, and the preview window is suspended in the play window. That is, the preview window will block a portion of the area in the playback window.
这样,由于预览区域的尺寸小于播放窗口的尺寸,因此,预览窗口不会全部遮挡住播放窗口,所以,预览窗口不会影响用户观看播放窗口中播放的预设视频。Thus, since the size of the preview area is smaller than the size of the play window, the preview window does not completely obscure the play window, so the preview window does not affect the user watching the preset video played in the play window.
在步骤S104中,在预览窗口中播放与目标视频标识对应的视频。In step S104, the video corresponding to the target video identifier is played in the preview window.
在本发明实施例中,在终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;当接收到预览操作时,在终端的屏幕上确定预览区域;在预览区域中显示预览窗口;在预览窗口中播放与目标视频标识对应的视频。通过本发明实施例的方法,在终端播放预设视频时,终端还可以播放用户从视频标识列表中选择的视频标识对应的视频,并根据播放的视频内容确定用户是否为该视频感兴趣,相比于现有技术中的用户在视频列表中仅仅根据视频的名称选择用户感兴趣的视频,本发明实施例中用户根据终端播放的视频的视频内容来确定用户是否对视频感兴趣可以提高选择准确性。In the embodiment of the present invention, when the terminal plays the preset video in the play window, it detects whether a preview operation of the target video identifier in the preview video identifier list is received; when the preview operation is received, determines the preview area on the screen of the terminal. ; Display a preview window in the preview area; play the video corresponding to the target video ID in the preview window. According to the method of the embodiment of the present invention, when the terminal plays the preset video, the terminal may also play the video corresponding to the video identifier selected by the user from the video identifier list, and determine whether the user is interested in the video according to the played video content. The user in the prior art selects the video of the user's interest only in the video list according to the name of the video. In the embodiment of the present invention, the user determines whether the user is interested in the video according to the video content of the video played by the terminal, thereby improving the selection accuracy. Sex.
在本发明实施例中,播放窗口的尺寸大于预览窗口的尺寸;播放窗口的尺寸较大,播放窗口播放的预设视频时用户当前需要观看的视频,预览窗口播放的视频可能是用户感兴趣的视频。如果用户对预览窗口播放的目标视频标识对应的视频感兴趣,用户可以控制终端在播放窗口中播放目标视频标识对应的视频。In the embodiment of the present invention, the size of the play window is larger than the size of the preview window; the size of the play window is large, and the video currently played by the user when playing the preset video played by the window, and the video played by the preview window may be of interest to the user. video. If the user is interested in the video corresponding to the target video identifier played by the preview window, the user may control the terminal to play the video corresponding to the target video identifier in the play window.
因此,在本发明另一实施例中,参见图2,在步骤S103之后,该方法还包括:Therefore, in another embodiment of the present invention, referring to FIG. 2, after step S103, the method further includes:
在步骤S201中,检测是否接收到触发预览窗口的触发操作;In step S201, it is detected whether a trigger operation of triggering the preview window is received;
当接收到触发操作时,在步骤S202中,在播放窗口中播放目标视频标识对应的视频。When the triggering operation is received, in step S202, the video corresponding to the target video identifier is played in the playback window.
进一步地,由于已经在播放窗口中播放目标视频标识对应的视频,也就无需继续再在预览窗口中播放目标视频标识对应的视频,因此,终端可以从屏幕上删 除预览窗口,以实现停止播放目标视频标识对应的视频。Further, since the video corresponding to the target video identifier is already played in the play window, the video corresponding to the target video identifier does not need to be played in the preview window, so the terminal can delete from the screen. In addition to the preview window, to stop playing the video corresponding to the target video ID.
或者,在预览窗口中停止播放目标视频标识对应的视频,以及在预览窗口中播放预设视频。如此使得在用户观看播放窗口播放的目标视频标识对应的视频的过程中不影响用户观看终端播放的预设视频。Or, in the preview window, the video corresponding to the target video identifier is stopped, and the preset video is played in the preview window. In this way, the preset video played by the user watching the terminal is not affected during the process of the user watching the video corresponding to the target video identifier played by the playback window.
图3是根据一示例性实施例示出的一种视频播放装置的框图。参照图3,该装置包括:FIG. 3 is a block diagram of a video playback apparatus, according to an exemplary embodiment. Referring to Figure 3, the apparatus includes:
第一检测模块11,用于在所述终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;The first detecting module 11 is configured to detect, when the terminal plays the preset video in the playing window, whether a preview operation of the target video identifier in the preview video identifier list is received;
确定模块12,用于当接收到所述预览操作时,在所述终端的屏幕上确定预览区域;a determining module 12, configured to determine a preview area on a screen of the terminal when the preview operation is received;
显示模块13,用于在所述预览区域中显示预览窗口;a display module 13 configured to display a preview window in the preview area;
第一播放模块14,用于在所述预览窗口中播放与所述目标视频标识对应的视频。The first playing module 14 is configured to play a video corresponding to the target video identifier in the preview window.
其中,所述第一检测模块11包括:The first detecting module 11 includes:
判断单元,用于判断光标在视频标识列表中的目标视频标识的触发区域内的停留时长是否达到预设时长;a judging unit, configured to determine whether a dwell duration in a trigger area of the target video identifier of the cursor in the video identifier list reaches a preset duration;
确定单元,用于当光标在视频标识列表中的目标视频标识的触发区域内的停留时长达到预设时长时,确定接收到预览视频标识列表中的目标视频标识的预览操作。And a determining unit, configured to determine, when the cursor stays in the trigger region of the target video identifier in the video identifier list, a preview duration, to receive a preview operation of the target video identifier in the preview video identifier list.
其中,所述确定模块12包括:The determining module 12 includes:
第一确定单元,用于在所述播放窗口的区域中确定预览区域;a first determining unit, configured to determine a preview area in an area of the play window;
或者,or,
第二确定单元,用于在所述屏幕中的所述播放窗口以外的区域中确定预览区域。And a second determining unit, configured to determine a preview area in an area other than the play window in the screen.
进一步地,所述播放窗口的尺寸大于所述预览窗口的尺寸; Further, the size of the play window is larger than the size of the preview window;
所述装置还包括:The device also includes:
第二检测模块,用于检测是否接收到触发所述预览窗口的触发操作;a second detecting module, configured to detect whether a trigger operation that triggers the preview window is received;
第二播放模块,用于当接收到所述触发操作时,在所述播放窗口中播放所述目标视频标识对应的视频。The second playing module is configured to play the video corresponding to the target video identifier in the play window when the triggering operation is received.
进一步地,所述装置还包括:Further, the device further includes:
删除模块,用于从所述屏幕上删除所述预览窗口;a deleting module, configured to delete the preview window from the screen;
或者,or,
第三播放模块,用于在所述预览窗口中播放所述预设视频。a third playing module, configured to play the preset video in the preview window.
在本发明实施例中,在终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;当接收到预览操作时,在终端的屏幕上确定预览区域;在预览区域中显示预览窗口;在预览窗口中播放与目标视频标识对应的视频。通过本发明实施例的方法,在终端播放预设视频时,终端还可以播放用户从视频标识列表中选择的视频标识对应的视频,并根据播放的视频内容确定用户是否为该视频感兴趣,相比于现有技术中的用户在视频列表中仅仅根据视频的名称选择用户感兴趣的视频,本发明实施例中用户根据终端播放的视频的视频内容来确定用户是否对视频感兴趣可以提高选择准确性。In the embodiment of the present invention, when the terminal plays the preset video in the play window, it detects whether a preview operation of the target video identifier in the preview video identifier list is received; when the preview operation is received, determines the preview area on the screen of the terminal. ; Display a preview window in the preview area; play the video corresponding to the target video ID in the preview window. According to the method of the embodiment of the present invention, when the terminal plays the preset video, the terminal may also play the video corresponding to the video identifier selected by the user from the video identifier list, and determine whether the user is interested in the video according to the played video content. The user in the prior art selects the video of the user's interest only in the video list according to the name of the video. In the embodiment of the present invention, the user determines whether the user is interested in the video according to the video content of the video played by the terminal, thereby improving the selection accuracy. Sex.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。With regard to the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment relating to the method, and will not be explained in detail herein.
本申请实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的视频播放方法。The embodiment of the present application further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium stores computer executable instructions, which can execute the video in any of the foregoing method embodiments. Play method.
图4是本申请实施例提供的执行视频播放方法的电子设备的硬件结构示意图,如图4所示,该设备包括:4 is a schematic structural diagram of hardware of an electronic device for performing a video playing method according to an embodiment of the present application. As shown in FIG. 4, the device includes:
一个或多个处理器810以及存储器820,图4中以一个处理器810为例。One or more processors 810 and memory 820, one processor 810 is taken as an example in FIG.
执行视频播放方法的设备还可以包括:输入装置830和输出装置840。 The apparatus that performs the video playing method may further include: an input device 830 and an output device 840.
处理器810、存储器820、输入装置830和输出装置840可以通过总线或者其他方式连接,图4中以通过总线连接为例。The processor 810, the memory 820, the input device 830, and the output device 840 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器820作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本申请实施例中的视频播放方法对应的程序指令/模块(例如,附图3所示的第一检测模块11、确定模块12、显示模块13和第一播放模块14)。处理器810通过运行存储在存储器820中的非暂态软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例视频播放方法。The memory 820 is used as a non-transitory computer readable storage medium, and can be used for storing a non-transitory software program, a non-transitory computer executable program, and a module, such as a program instruction/module corresponding to the video playing method in the embodiment of the present application ( For example, the first detecting module 11, the determining module 12, the display module 13, and the first playing module 14) shown in FIG. The processor 810 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory 820, that is, implementing the video playback method of the above method embodiment.
存储器820可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据视频播放装置的使用所创建的数据等。此外,存储器820可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器820可选包括相对于处理器810远程设置的存储器,这些远程存储器可以通过网络连接至视频播放装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 820 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the video playback device, and the like. Moreover, memory 820 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 820 can optionally include memory remotely located relative to processor 810, which can be connected to the video playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置830可接收输入的数字或字符信息,以及产生与视频播放装置的用户设置以及功能控制有关的键信号输入。输出装置840可包括显示屏等显示设备。 Input device 830 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the video playback device. The output device 840 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器820中,当被所述一个或者多个处理器810执行时,执行上述任意方法实施例中的视频播放方法。The one or more modules are stored in the memory 820, and when executed by the one or more processors 810, perform a video playback method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本发明实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the invention exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。 (2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非暂态计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Finally, it should be understood that those skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-transitory computer. In a readable storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由所附的权利要求指出。Other embodiments of the invention will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present invention, which are in accordance with the general principles of the present invention and include common general knowledge or conventional technical means in the art that are not disclosed in the present invention. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details of The scope of the invention is limited only by the appended claims.

Claims (17)

  1. 一种视频播放方法,应用于终端,其特征在于,所述方法包括:A video playing method is applied to a terminal, where the method includes:
    在所述终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;When the terminal plays the preset video in the play window, detecting whether a preview operation of the target video identifier in the preview video identifier list is received;
    当接收到所述预览操作时,在所述终端的屏幕上确定预览区域;Determining a preview area on a screen of the terminal when the preview operation is received;
    在所述预览区域中显示预览窗口;Displaying a preview window in the preview area;
    在所述预览窗口中播放与所述目标视频标识对应的视频。Playing a video corresponding to the target video identifier in the preview window.
  2. 根据权利要求1所述的方法,其特征在于,所述检测是否接收到预览视频标识列表中的目标视频标识的预览操作,包括:The method according to claim 1, wherein the detecting whether the preview operation of the target video identifier in the preview video identifier list is received comprises:
    判断光标在视频标识列表中的目标视频标识的触发区域内的停留时长是否达到预设时长;Determining whether the duration of the pause in the trigger area of the target video identifier in the video identifier list reaches a preset duration;
    当光标在视频标识列表中的目标视频标识的触发区域内的停留时长达到预设时长时,确定接收到预览视频标识列表中的目标视频标识的预览操作。When the duration of the pause in the trigger area of the target video identifier in the video identification list reaches a preset duration, it is determined that the preview operation of the target video identifier in the preview video identifier list is received.
  3. 根据权利要求1所述的方法,其特征在于,所述在所述终端的屏幕上确定预览区域,包括:The method according to claim 1, wherein the determining a preview area on a screen of the terminal comprises:
    在所述播放窗口的区域中确定预览区域;Determining a preview area in an area of the play window;
    或者,or,
    在所述屏幕中的所述播放窗口以外的区域中确定预览区域。A preview area is determined in an area other than the play window in the screen.
  4. 根据权利要求1所述的方法,其特征在于,所述播放窗口的尺寸大于所述预览窗口的尺寸;The method according to claim 1, wherein the size of the play window is larger than the size of the preview window;
    所述在所述预览窗口中播放与所述目标视频标识对应的视频之后,还包括:After the video corresponding to the target video identifier is played in the preview window, the method further includes:
    检测是否接收到触发所述预览窗口的触发操作;Detecting whether a trigger operation that triggers the preview window is received;
    当接收到所述触发操作时,在所述播放窗口中播放所述目标视频标识对应的 视频。Playing the triggering operation, playing the target video identifier corresponding to the playback window video.
  5. 根据权利要求4所述的方法,其特征在于,所述在所述播放窗口中播放所述目标视频标识对应的视频之后,还包括:The method according to claim 4, wherein after the playing the video corresponding to the target video identifier in the play window, the method further includes:
    从所述屏幕上删除所述预览窗口;Removing the preview window from the screen;
    或者,or,
    在所述预览窗口中播放所述预设视频。Playing the preset video in the preview window.
  6. 一种视频播放装置,应用于终端,其特征在于,所述装置包括:A video playback device is applied to a terminal, wherein the device includes:
    第一检测模块,用于在所述终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;a first detecting module, configured to detect, when the terminal plays a preset video in the playing window, whether a preview operation of the target video identifier in the preview video identifier list is received;
    确定模块,用于当接收到所述预览操作时,在所述终端的屏幕上确定预览区域;a determining module, configured to determine a preview area on a screen of the terminal when the preview operation is received;
    显示模块,用于在所述预览区域中显示预览窗口;a display module, configured to display a preview window in the preview area;
    第一播放模块,用于在所述预览窗口中播放与所述目标视频标识对应的视频。a first playing module, configured to play a video corresponding to the target video identifier in the preview window.
  7. 根据权利要求6所述的装置,其特征在于,所述第一检测模块包括:The apparatus according to claim 6, wherein the first detecting module comprises:
    判断单元,用于判断光标在视频标识列表中的目标视频标识的触发区域内的停留时长是否达到预设时长;a judging unit, configured to determine whether a dwell duration in a trigger area of the target video identifier of the cursor in the video identifier list reaches a preset duration;
    确定单元,用于当光标在视频标识列表中的目标视频标识的触发区域内的停留时长达到预设时长时,确定接收到预览视频标识列表中的目标视频标识的预览操作。And a determining unit, configured to determine, when the cursor stays in the trigger region of the target video identifier in the video identifier list, a preview duration, to receive a preview operation of the target video identifier in the preview video identifier list.
  8. 根据权利要求6所述的装置,其特征在于,所述确定模块包括:The apparatus according to claim 6, wherein the determining module comprises:
    第一确定单元,用于在所述播放窗口的区域中确定预览区域;a first determining unit, configured to determine a preview area in an area of the play window;
    或者, Or,
    第二确定单元,用于在所述屏幕中的所述播放窗口以外的区域中确定预览区域。And a second determining unit, configured to determine a preview area in an area other than the play window in the screen.
  9. 根据权利要求6所述的装置,其特征在于,所述播放窗口的尺寸大于所述预览窗口的尺寸;The device according to claim 6, wherein the size of the play window is larger than the size of the preview window;
    所述装置还包括:The device also includes:
    第二检测模块,用于检测是否接收到触发所述预览窗口的触发操作;a second detecting module, configured to detect whether a trigger operation that triggers the preview window is received;
    第二播放模块,用于当接收到所述触发操作时,在所述播放窗口中播放所述目标视频标识对应的视频。The second playing module is configured to play the video corresponding to the target video identifier in the play window when the triggering operation is received.
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:
    删除模块,用于从所述屏幕上删除所述预览窗口;a deleting module, configured to delete the preview window from the screen;
    或者,or,
    第三播放模块,用于在所述预览窗口中播放所述预设视频。a third playing module, configured to play the preset video in the preview window.
  11. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:A non-transitory computer readable storage medium storing computer executable instructions, the computer executable instructions being set to:
    在所述终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;When the terminal plays the preset video in the play window, detecting whether a preview operation of the target video identifier in the preview video identifier list is received;
    当接收到所述预览操作时,在所述终端的屏幕上确定预览区域;Determining a preview area on a screen of the terminal when the preview operation is received;
    在所述预览区域中显示预览窗口;Displaying a preview window in the preview area;
    在所述预览窗口中播放与所述目标视频标识对应的视频。Playing a video corresponding to the target video identifier in the preview window.
  12. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中, a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    在所述终端在播放窗口播放预设视频时,检测是否接收到预览视频标识列表中的目标视频标识的预览操作;When the terminal plays the preset video in the play window, detecting whether a preview operation of the target video identifier in the preview video identifier list is received;
    当接收到所述预览操作时,在所述终端的屏幕上确定预览区域;Determining a preview area on a screen of the terminal when the preview operation is received;
    在所述预览区域中显示预览窗口;Displaying a preview window in the preview area;
    在所述预览窗口中播放与所述目标视频标识对应的视频。Playing a video corresponding to the target video identifier in the preview window.
  13. 根据权利要求12所述的电子设备,其特征在于,所述检测是否接收到预览视频标识列表中的目标视频标识的预览操作,包括:The electronic device according to claim 12, wherein the detecting whether the preview operation of the target video identifier in the preview video identifier list is received comprises:
    判断光标在视频标识列表中的目标视频标识的触发区域内的停留时长是否达到预设时长;Determining whether the duration of the pause in the trigger area of the target video identifier in the video identifier list reaches a preset duration;
    当光标在视频标识列表中的目标视频标识的触发区域内的停留时长达到预设时长时,确定接收到预览视频标识列表中的目标视频标识的预览操作。When the duration of the pause in the trigger area of the target video identifier in the video identification list reaches a preset duration, it is determined that the preview operation of the target video identifier in the preview video identifier list is received.
  14. 根据权利要求12所述的电子设备,其特征在于,所述在所述终端的屏幕上确定预览区域,包括:The electronic device according to claim 12, wherein the determining a preview area on a screen of the terminal comprises:
    在所述播放窗口的区域中确定预览区域;Determining a preview area in an area of the play window;
    或者,or,
    在所述屏幕中的所述播放窗口以外的区域中确定预览区域。A preview area is determined in an area other than the play window in the screen.
  15. 根据权利要求12所述的电子设备,其特征在于,所述播放窗口的尺寸大于所述预览窗口的尺寸;The electronic device according to claim 12, wherein the size of the play window is larger than the size of the preview window;
    所述在所述预览窗口中播放与所述目标视频标识对应的视频之后,所述指令还设置为:After the video corresponding to the target video identifier is played in the preview window, the instruction is further set to:
    检测是否接收到触发所述预览窗口的触发操作;Detecting whether a trigger operation that triggers the preview window is received;
    当接收到所述触发操作时,在所述播放窗口中播放所述目标视频标识对应的视频。When the triggering operation is received, the video corresponding to the target video identifier is played in the play window.
  16. 根据权利要求15所述的电子设备,其特征在于,所述在所述播放窗口中播放所述目标视频标识对应的视频之后,所述指令还设置为: The electronic device according to claim 15, wherein after the playing the video corresponding to the target video identifier in the play window, the instruction is further set to:
    从所述屏幕上删除所述预览窗口;Removing the preview window from the screen;
    或者,or,
    在所述预览窗口中播放所述预设视频。Playing the preset video in the preview window.
  17. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至5任一项所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute The method of any one of claims 1 to 5.
PCT/CN2016/100351 2016-04-19 2016-09-27 Method and device for playing video WO2017181598A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610245325.5A CN105915979A (en) 2016-04-19 2016-04-19 Video play method and device
CN201610245325.5 2016-04-19

Publications (1)

Publication Number Publication Date
WO2017181598A1 true WO2017181598A1 (en) 2017-10-26

Family

ID=56746460

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100351 WO2017181598A1 (en) 2016-04-19 2016-09-27 Method and device for playing video

Country Status (2)

Country Link
CN (1) CN105915979A (en)
WO (1) WO2017181598A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111079051A (en) * 2019-12-13 2020-04-28 北京字节跳动网络技术有限公司 Display content playing method and device
CN111176600A (en) * 2020-01-02 2020-05-19 深圳震有科技股份有限公司 Video canvas control method, video monitoring device and storage medium
US20210014570A1 (en) * 2018-03-28 2021-01-14 Huawei Technologies Co., Ltd. Video Preview Method and Electronic Device
CN112954440A (en) * 2021-02-09 2021-06-11 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN114007119A (en) * 2021-10-29 2022-02-01 海信视像科技股份有限公司 Video playing method and display equipment
CN114338615A (en) * 2021-12-22 2022-04-12 咪咕音乐有限公司 Multimedia color ring playing method, device and storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915979A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Video play method and device
CN108712670A (en) * 2018-03-30 2018-10-26 武汉斗鱼网络科技有限公司 A kind of method, apparatus and computer equipment for video preview
CN108900807A (en) * 2018-07-16 2018-11-27 北京奇虎科技有限公司 A kind of image processing method and terminal device
CN109618177B (en) 2018-12-26 2020-02-28 北京微播视界科技有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN109640188B (en) * 2018-12-28 2020-02-07 北京微播视界科技有限公司 Video preview method and device, electronic equipment and computer readable storage medium
CN112395530A (en) * 2019-08-19 2021-02-23 北京字节跳动网络技术有限公司 Data content output method and device, electronic equipment and computer readable medium
CN111246305A (en) * 2020-01-20 2020-06-05 百度在线网络技术(北京)有限公司 Video preview method, device, equipment and storage medium
CN113727170A (en) * 2021-08-27 2021-11-30 北京字跳网络技术有限公司 Video interaction method, device, equipment and medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143493A1 (en) * 2005-12-04 2007-06-21 Turner Broadcasting System, Inc. System and method for delivering video and audio content over a network
CN102685414A (en) * 2011-03-07 2012-09-19 中兴通讯股份有限公司 Method and device for processing mobile television channels
CN102915194A (en) * 2012-11-13 2013-02-06 北京奇艺世纪科技有限公司 Method, device and mobile terminal for implementing video previews based on ME (mobile equipment)
CN102932679A (en) * 2012-11-21 2013-02-13 合一网络技术(北京)有限公司 Network video previewing system and method
CN103325396A (en) * 2012-03-23 2013-09-25 深圳市快播科技有限公司 Playblast method and system used for player
CN103634686A (en) * 2013-12-19 2014-03-12 北京奇艺世纪科技有限公司 Method and device for previewing video
CN103747358A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Video playing method and apparatus
CN103905909A (en) * 2012-12-27 2014-07-02 华为技术有限公司 Video preview display method and terminal device
CN104079979A (en) * 2014-07-15 2014-10-01 可牛网络技术(北京)有限公司 Video playing method and system
WO2015103454A1 (en) * 2014-01-03 2015-07-09 Google Inc. Product availability notifications
CN104869429A (en) * 2015-05-19 2015-08-26 乐视致新电子科技(天津)有限公司 Video previewing method and apparatus
CN105472440A (en) * 2015-12-30 2016-04-06 深圳Tcl数字技术有限公司 Video program preview method and smart television
CN105915979A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Video play method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101536777B1 (en) * 2009-01-06 2015-07-14 엘지전자 주식회사 Digital broadcating reciever and channel browser
CN101924891B (en) * 2010-08-05 2012-05-30 北京歌华有线电视网络股份有限公司 Digital television channel switching method and system
CN102301736A (en) * 2011-07-06 2011-12-28 华为技术有限公司 Method, device and mobile terminal for switching video display contents
CN102314496A (en) * 2011-08-25 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for previewing media file
CN102547377A (en) * 2011-12-21 2012-07-04 深圳创维数字技术股份有限公司 Method and device for transmitting video data to Set-top box
CN103096172B (en) * 2013-01-18 2016-08-10 深圳市同洲电子股份有限公司 A kind of method and apparatus showing recommendation program
CN103841430B (en) * 2013-04-03 2017-09-26 海信集团有限公司 A kind of display methods of electric program menu

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143493A1 (en) * 2005-12-04 2007-06-21 Turner Broadcasting System, Inc. System and method for delivering video and audio content over a network
CN102685414A (en) * 2011-03-07 2012-09-19 中兴通讯股份有限公司 Method and device for processing mobile television channels
CN103325396A (en) * 2012-03-23 2013-09-25 深圳市快播科技有限公司 Playblast method and system used for player
CN102915194A (en) * 2012-11-13 2013-02-06 北京奇艺世纪科技有限公司 Method, device and mobile terminal for implementing video previews based on ME (mobile equipment)
CN102932679A (en) * 2012-11-21 2013-02-13 合一网络技术(北京)有限公司 Network video previewing system and method
CN103905909A (en) * 2012-12-27 2014-07-02 华为技术有限公司 Video preview display method and terminal device
CN103634686A (en) * 2013-12-19 2014-03-12 北京奇艺世纪科技有限公司 Method and device for previewing video
CN103747358A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Video playing method and apparatus
WO2015103454A1 (en) * 2014-01-03 2015-07-09 Google Inc. Product availability notifications
CN104079979A (en) * 2014-07-15 2014-10-01 可牛网络技术(北京)有限公司 Video playing method and system
CN104869429A (en) * 2015-05-19 2015-08-26 乐视致新电子科技(天津)有限公司 Video previewing method and apparatus
CN105472440A (en) * 2015-12-30 2016-04-06 深圳Tcl数字技术有限公司 Video program preview method and smart television
CN105915979A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Video play method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210014570A1 (en) * 2018-03-28 2021-01-14 Huawei Technologies Co., Ltd. Video Preview Method and Electronic Device
US11785304B2 (en) * 2018-03-28 2023-10-10 Huawei Technologies Co., Ltd. Video preview method and electronic device
CN111079051A (en) * 2019-12-13 2020-04-28 北京字节跳动网络技术有限公司 Display content playing method and device
CN111079051B (en) * 2019-12-13 2023-07-21 北京字节跳动网络技术有限公司 Method and device for playing display content
CN111176600A (en) * 2020-01-02 2020-05-19 深圳震有科技股份有限公司 Video canvas control method, video monitoring device and storage medium
CN112954440A (en) * 2021-02-09 2021-06-11 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN112954440B (en) * 2021-02-09 2023-09-26 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN114007119A (en) * 2021-10-29 2022-02-01 海信视像科技股份有限公司 Video playing method and display equipment
CN114338615A (en) * 2021-12-22 2022-04-12 咪咕音乐有限公司 Multimedia color ring playing method, device and storage medium
CN114338615B (en) * 2021-12-22 2024-03-08 咪咕音乐有限公司 Method, device and storage medium for playing multimedia color ring

Also Published As

Publication number Publication date
CN105915979A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
WO2017181598A1 (en) Method and device for playing video
WO2017096953A1 (en) Hot video displaying method and device
WO2018000661A1 (en) Barrage display method and apparatus
CN109640129B (en) Video recommendation method and device, client device, server and storage medium
WO2017181597A1 (en) Method and device for video playback
US9330098B2 (en) User interface operating method and electronic device with the user interface and program product storing program for operating the user interface
WO2017181600A1 (en) Method and device for controlling overlay comment
US20170163580A1 (en) Interactive method and device for playback of multimedia
WO2018000624A1 (en) Video playing control method and device
WO2019006939A1 (en) On-screen comment display method and apparatus, and electronic device
CN111107421B (en) Video processing method and device, terminal equipment and storage medium
WO2017181594A1 (en) Video display method and apparatus
WO2017096983A1 (en) Method for switching video playing terminal, and terminal device
WO2017096961A1 (en) Video playing processing method, player, and terminal device
WO2017181652A1 (en) Method and system for generating dynamic program list
CN110691281B (en) Video playing processing method, terminal device, server and storage medium
US20170195614A1 (en) Method and electronic device for playing video
US20170195710A1 (en) Method and electronic device for preview play
US20170171643A1 (en) Method and electronic device for displaying watermark
CN104572875B (en) Promotion message launches validity and determines method and device
US20170134789A1 (en) Operation instructing method and apparatus for remote controller of intelligent television
WO2017113708A1 (en) Video playback method and device
WO2022257797A1 (en) Target content display method and apparatus, device, readable storage medium, and product
WO2017113855A1 (en) Application program interaction method and terminal
US20170150203A1 (en) Method, apparatus, mobile terminal and computer device for previewing multimedia contents

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16899183

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899183

Country of ref document: EP

Kind code of ref document: A1