WO2017107962A1 - 在应用中进行视频播放的方法和装置 - Google Patents

在应用中进行视频播放的方法和装置 Download PDF

Info

Publication number
WO2017107962A1
WO2017107962A1 PCT/CN2016/111560 CN2016111560W WO2017107962A1 WO 2017107962 A1 WO2017107962 A1 WO 2017107962A1 CN 2016111560 W CN2016111560 W CN 2016111560W WO 2017107962 A1 WO2017107962 A1 WO 2017107962A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
application
window
video data
virtual context
Prior art date
Application number
PCT/CN2016/111560
Other languages
English (en)
French (fr)
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 WO2017107962A1 publication Critical patent/WO2017107962A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • H04N5/45Picture in picture, e.g. displaying simultaneously another television channel in a region of the screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet
    • 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

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method and apparatus for performing video playback in an application.
  • Virtual Situation is a purposeful interactive experience that is performed entirely in a virtual information environment.
  • a game application is a typical form of a virtual situation in which a user engages in an entertaining interactive experience in a virtual context created by a game application.
  • game application design is more and more complicated, allowing users to complete the video of the game that other people need to record for reference. If the user needs to refer to the game video to play the game, it is necessary to constantly switch between the game application and the video player. Since the game application and the operation of the video player are always continued, the user's switching operation may cause the user not to pay attention to the progress of the game or the player's play in time, so that it is difficult to refer to the game video to play the game.
  • the present invention has been made in order to provide a method and apparatus for video playback in an application that overcomes the above problems or at least partially solves or alleviates the above problems.
  • a method for video playback in an application comprising: receiving a request for video playback issued by an application, the application generating a virtual context image; drawing a video window, the video window floating on On the virtual context image; acquiring video data and playing the video data in the video window.
  • an apparatus for performing video playback in an application includes: a request receiving module, configured to receive a request for video playback issued by an application, the application generates a virtual context image; and the video window is drawn a module for drawing a video window, the video window floating on the virtual context image; a video data acquiring module, configured to acquire video data, and play the video data in the video window.
  • a computer program including computing
  • the machine readable code when the computer readable code is run on a computing device, causes the computing device to perform the method of video playback in an application as described in any of the above.
  • a computer readable medium storing the above computer program is provided.
  • the video window is drawn on the virtual context image for video playback, so that the user can simultaneously pay attention to the virtual context image and the video, so the user can refer to the content played by the video, and perform virtual The interaction between situations.
  • FIG. 1 shows a flow chart of a method of video playback in an application, in accordance with one embodiment of the present invention
  • FIG. 2 shows a flow chart of a method of video playback in an application, in accordance with one embodiment of the present invention
  • FIG. 3 shows a flow chart of a method of video playback in an application, in accordance with one embodiment of the present invention
  • FIG. 4 shows a flow chart of a method of video playback in an application, in accordance with one embodiment of the present invention
  • FIG. 5 shows a block diagram of an apparatus for video playback in an application, in accordance with one embodiment of the present invention
  • FIG. 6 shows a block diagram of an apparatus for video playback in an application, in accordance with one embodiment of the present invention
  • Figure 7 is a schematic block diagram of a computing device for performing a method of video playback in an application in accordance with the present invention.
  • Fig. 8 schematically shows a storage unit for holding or carrying program code implementing a method of performing video playback in an application according to the present invention.
  • an embodiment of the present invention provides a method for performing video playback in an application, including:
  • Step 110 Receive a request for video playback issued by the application, and the application generates a virtual context image.
  • the application may be a game, and the image in the game is a virtual situation image.
  • step 120 a video window is drawn, and the video window floats on the virtual situation image.
  • the size of the video window is required to be smaller than the size of the virtual context image.
  • step 130 video data is acquired, and the video data is played in a video window.
  • the video data may be data related to the virtual context image; in the technical solution of the embodiment, since the video window floats on the virtual context image, the user may pay attention to the video data in the video window.
  • the virtual context image can be focused on at the same time, which facilitates the user to interact with the virtual context image with reference to the content of the video data. For example, when the user is playing a game, a window appears on the game image, the window plays the video content related to the game, and the user refers to the video content to play the game.
  • an embodiment of the present invention provides a method for performing video playback in an application, including:
  • Step 210 Receive a request for video playback issued by the application, and the application generates a virtual context image.
  • Step 220 According to various content displayed on the virtual situation image, the virtual situation image is Divided into multiple areas; multiple areas contain multiple content.
  • a plurality of areas are often divided in the game screen, such as a menu bar area including menu options, and a toolbar area including tool options.
  • the video window is placed on an area corresponding to the predetermined content among the plurality of contents.
  • the menu bar area and the toolbar area are often used by the user, so the video window can be placed in the menu bar area or the toolbar area, so that the presence of the video window does not affect the user. Focus on the active part of the game screen.
  • Step 240 Acquire data of the virtual situation screen as video data, and play the video data in the video window.
  • the data displayed by the video window is actually data that the user interacts with the virtual context; for example, when the user broadcasts his own game playing game on a live video website, the video window may be collected and played by himself.
  • the video of the game allows the user to pay attention to whether the video content to be displayed on the live website is normal at any time. If the user is not normal, the user can make adjustments in time.
  • an embodiment of the present invention provides a method for performing video playback in an application, including:
  • Step 310 Receive a request for video playback issued by the application, and the application generates a virtual context image.
  • Step 320 Select a video play area from the virtual context image according to the pre-recorded number and position of the touch operation on the virtual context image, and place the video window on the video display area; the user touches on the video display area.
  • the number of operations is below the preset threshold.
  • the user performs more touches on the game image, indicating that the touched position is a position that the user needs to frequently operate, and the setting position of the video window should avoid the user. Frequently operated locations so that the presence of a video window does not affect the user's operation of the game interface.
  • Step 330 Send a request for acquiring video data corresponding to the application to the predetermined server according to the identifier of the application, and receive video data from the predetermined server, and play the video data in the video window.
  • the corresponding server may be automatically selected according to the identifier of the application, and the video data related to the application is obtained for reference by the user; for example, when the application is a game, the identifier of the application may be the name or number of the game, corresponding to The server can be a server of the video website, and the server can save the identifier of the game to the server.
  • the video corresponding to the game is found in the stored video and sent to the user for reference.
  • an embodiment of the present invention provides a method for performing video playback in an application, including:
  • Step 410 Receive a request for video playback sent by the application, and the application generates a virtual context image.
  • Step 420 Select a video play area on the virtual context image according to the pre-recorded video play position information corresponding to the application, and place the video window on the video display area.
  • the video display area is preset in the application for different applications, so that the video window can be directly displayed on the video display area when the application is opened.
  • Step 430 Send video data corresponding to the attention account to the predetermined server according to the pre-recorded account corresponding to the user, and receive video data from the predetermined server, and play the video data in the video window.
  • the user pays attention to the anchor account of the live broadcast game process on a live video website, and when the user starts the corresponding game, the user directly connects to the server of the live broadcast website. Obtain the video data related to the live account and provide it to the user for reference.
  • an embodiment of the present invention provides an apparatus for performing video playback in an application, including:
  • the request receiving module 510 receives a request for video playback issued by the application, and the application generates a virtual context image.
  • the application may be a game, and the image in the game is a virtual situation image.
  • the video window drawing module 520 draws a video window, and the video window floats on the virtual situation image.
  • the size of the video window is required to be smaller than the size of the virtual context image.
  • the video data obtaining module 530 acquires video data and plays the video data in a video window.
  • the video data may be data related to the virtual context image; in the technical solution of the embodiment, since the video window floats on the virtual context image, the user may pay attention to the video data in the video window.
  • the virtual context image can be focused on at the same time, which facilitates the user to interact with the virtual context image with reference to the content of the video data. For example, when the user is playing a game, a window appears on the game image, and the window plays the Game related video content, the user refers to the video content to play the game.
  • an embodiment of the present invention provides an apparatus for performing video playback in an application, including:
  • the request receiving module 610 receives a request for video playback issued by the application, and the application generates a virtual context image.
  • the area dividing module 620 divides the virtual situation image into a plurality of areas according to the plurality of contents displayed on the virtual situation image; the plurality of areas respectively comprise a plurality of types of content.
  • a plurality of areas are often divided in the game screen, such as a menu bar area including menu options, and a toolbar area including tool options.
  • the video window drawing module 630 places the video window on an area corresponding to the predetermined content among the plurality of contents.
  • the menu bar area and the toolbar area are often used by the user, so the video window can be placed in the menu bar area or the toolbar area, so that the presence of the video window does not affect the user. Focus on the active part of the game screen.
  • the video data obtaining module 640 acquires data of the virtual context picture as video data, and plays the video data in the video window.
  • the data displayed by the video window is actually data that the user interacts with the virtual context; for example, when the user broadcasts his own game playing game on a live video website, the video window may be collected and played by himself.
  • the video of the game allows the user to pay attention to whether the video content to be displayed on the live website is normal at any time. If the user is not normal, the user can make adjustments in time.
  • An embodiment of the present invention provides an apparatus for performing video playback in an application, including:
  • the request receiving module 510 receives a request for video playback issued by the application, and the application generates a virtual context image.
  • the video window drawing module 520 selects a video playing area from the virtual context image according to the pre-recorded number and position of the touch operation on the virtual context image, and places the video window on the video display area; the user is in the video display area.
  • the number of touch operations on the screen is lower than the preset threshold.
  • the user performs more touches on the game image, indicating that the location of the touch is frequently required by the user.
  • the position of the operation, at this time, the setting position of the video window should avoid the position frequently operated by the user, so as to prevent the existence of the video window from affecting the operation of the user interface.
  • the video data obtaining module 530 sends a request for acquiring video data corresponding to the application to the predetermined server according to the identifier of the application, and receives video data from the predetermined server, and plays the video data in the video window.
  • the corresponding server may be automatically selected according to the identifier of the application, and the video data related to the application is obtained for reference by the user; for example, when the application is a game, the identifier of the application may be the name or number of the game, corresponding to The server may be a server of the video website. After the identifier of the game is sent to the server, the server may find the video corresponding to the game from the stored video and send it to the user for reference.
  • An embodiment of the present invention provides an apparatus for performing video playback in an application, including:
  • the request receiving module 510 receives a request for video playback issued by the application, and the application generates a virtual context image.
  • the video window drawing module 520 selects a video playing area on the virtual context image according to the pre-recorded video playing position information corresponding to the application, and places the video window on the video display area.
  • the video display area is preset in the application for different applications, so that the video window can be directly displayed on the video display area when the application is opened.
  • the video data obtaining module 530 sends the video data corresponding to the attention account to the predetermined server according to the pre-recorded account corresponding to the user, and receives the video data from the predetermined server, and plays the video data in the video window.
  • the user pays attention to the anchor account of the live broadcast game process on a live video website, and when the user starts the corresponding game, the user directly connects to the server of the live broadcast website. Obtain the video data related to the live account and provide it to the user for reference.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of a device for video playback in an application in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 7 illustrates a computing device, such as an application server, that can implement a method of video playback in an application in accordance with the present invention.
  • the computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
  • Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 720 has a memory space 730 for program code 731 for performing any of the method steps described above.
  • storage space 730 for program code may include various program code 731 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 720 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 731', ie, code readable by a processor, such as 710, that when executed by a computing device causes the computing device to perform each of the methods described above step.

Landscapes

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

Abstract

本发明公开了一种在应用中进行视频播放的方法和装置,方法包括:接收应用发出的进行视频播放的请求,应用产生虚拟情境图像;绘制视频窗口,视频窗口浮在虚拟情境图像上;获取视频数据,并将视频数据在视频窗口进行播放。根据本发明,应用发出视频播放的请求后,在虚拟情境图像上绘制视频窗口进行视频播放,使得用户可以同时关注虚拟情境图像和视频,所以用户可以参考视频播放的内容,进行与虚拟情境之间的交互。

Description

在应用中进行视频播放的方法和装置 技术领域
本发明涉及计算机技术领域,尤其涉及一种在应用中进行视频播放的方法和装置。
背景技术
虚拟情境(Virtual Situation,VS)是一种完全在虚拟的信息环境中进行的有目的性的交互体验。游戏应用是虚拟情境的一种典型形式,用户在游戏应用营造的虚拟情境中进行具有娱乐性的交互体验。
现在游戏应用设计越来越复杂,使得用户完成需要其他人录制的进行游戏的视频来进行参考。如果用户需要参考游戏视频来进行游戏的话,就需要在游戏应用和视频播放器之间不断地切换。由于游戏应用以及视频播放器的运行始终持续,所以用户的切换操作会导致用户没有及时关注游戏的进行或播放器的播放,从而难以参考游戏视频来进行游戏。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的在应用中进行视频播放的方法和装置。
根据本发明的一个方面,提供了一种在应用中进行视频播放的方法,包括:接收应用发出的进行视频播放的请求,所述应用产生虚拟情境图像;绘制视频窗口,所述视频窗口浮在所述虚拟情境图像上;获取视频数据,并将所述视频数据在所述视频窗口进行播放。
根据本发明的另一个方面,提供了一种在应用中进行视频播放的装置,包括:请求接收模块,用于接收应用发出的进行视频播放的请求,所述应用产生虚拟情境图像;视频窗口绘制模块,用于绘制视频窗口,所述视频窗口浮在所述虚拟情境图像上;视频数据获取模块,用于获取视频数据,并将所述视频数据在所述视频窗口进行播放。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算 机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行上述任一个所述的在应用中进行视频播放的方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了上述计算机程序。
本发明的有益效果为:
根据本发明的技术方案,应用发出视频播放的请求后,在虚拟情境图像上绘制视频窗口进行视频播放,使得用户可以同时关注虚拟情境图像和视频,所以用户可以参考视频播放的内容,进行与虚拟情境之间的交互。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明的一个实施例的在应用中进行视频播放的方法的流程图;
图2示出了根据本发明的一个实施例的在应用中进行视频播放的方法的流程图;
图3示出了根据本发明的一个实施例的在应用中进行视频播放的方法的流程图;
图4示出了根据本发明的一个实施例的在应用中进行视频播放的方法的流程图;
图5示出了根据本发明的一个实施例的在应用中进行视频播放的装置的框图;
图6示出了根据本发明的一个实施例的在应用中进行视频播放的装置的框图;
图7示意性地示出了用于执行根据本发明的在应用中进行视频播放的方法的计算设备的框图;以及
图8示意性地示出了用于保持或者携带实现根据本发明的在应用中进行视频播放的方法的程序代码的存储单元。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
如图1所示,本发明的一个实施例中提供了一种在应用中进行视频播放的方法,包括:
步骤110,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。在本实施例中,应用可以是游戏,游戏中的图像即为虚拟情境图像。
步骤120,绘制视频窗口,视频窗口浮在虚拟情境图像上。在本实施中,要求视频窗口的尺寸小于虚拟情境图像的尺寸。
步骤130,获取视频数据,并将视频数据在视频窗口进行播放。在本实施例中,视频数据可以是与虚拟情境图像相关的数据;在本实施例的技术方案中,由于视频窗口浮在虚拟情境图像上,使得用户可以在关注视频窗口中的视频数据时,可以同时关注虚拟情境图像,有利于用户参考视频数据的内容来与虚拟情境图像进行交互。例如,用户在玩游戏时,在游戏图像上浮现一个窗口,该窗口播放该游戏相关的视频内容,用户参考视频内容进行游戏。
如图2所示,本发明的一个实施例中提供了一种在应用中进行视频播放的方法,包括:
步骤210,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。
步骤220,根据虚拟情境图像上显示的多种内容,将虚拟情境图像 划分为多个区域;多个区域分别包含多种内容。在本实施例中,以游戏应用为例,游戏画面中往往划分了多个区域,其中例如包含菜单选项的菜单栏区域、包括工具选项的工具栏区域。
步骤230,将视频窗口放置在多种内容中预定内容对应的区域上。在本实施例中,菜单栏区域、工具栏区域往往都是用户较少使用的区域,所以可以将视频窗口放置在菜单栏区域或工具栏区域上,从而使得视频窗口的存在不会影响到用户对游戏画面活动部分的关注。
步骤240,获取虚拟情境画面的数据作为视频数据,并将视频数据在视频窗口进行播放。在本实施例中,视频窗口展现的数据实际上是用户自己与虚拟情境交互的数据;例如,用户在某视频直播网站上直播自己的玩游戏的过程,则视频窗口可以是采集的自己正在玩游戏的视频,使得用户随时自己关注到待在直播网站上展示的视频内容是否正常,如果不正常用户可以及时进行调整。
如图3所示,本发明的一个实施例中提供了一种在应用中进行视频播放的方法,包括:
步骤310,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。
步骤320,根据预记录的用户在虚拟情境图像上的触摸操作的次数和位置,从虚拟情境图像上选取视频播放区域,并将视频窗口放置在视频显示区域上;用户在视频显示区域上的触摸操作次数低于预设阈值。在本实施例的技术方案中,以游戏应用为例,用户在游戏图像上进行触摸的次数较多,说明触摸的位置为用户需要频繁操作的位置,此时视频窗口的设置位置应当避开用户频繁操作的位置,以免使得视频窗口的存在影响了用户对游戏界面的操作。
步骤330,根据应用的标识,向预定服务器发出获取应用对应的视频数据的请求,并从预定服务器接收视频数据,并将视频数据在视频窗口进行播放。在本实施例中,根据应用的标识可以自动选择对应的服务器,获取与应用相关的视频数据以供用户参考使用;例如,应用为游戏时,应用的标识可以为游戏的名称或编号,对应的服务器可以是视频网站的服务器,将游戏的标识发送至服务器后服务器可以从存 储的视频中找到游戏对应的视频,发送给用户进行参考。
如图4所示,本发明的一个实施例中提供了一种在应用中进行视频播放的方法,包括:
步骤410,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。
步骤420,按照预记录的与应用对应的视频播放位置信息,在虚拟情境图像上选取视频播放区域,并将视频窗口放置在视频显示区域上。在本实施例的技术方案中,对于不同的应用,预先设置好了视频显示区域,所以开启应用时可以将视频窗口直接显示在视频显示区域上即可。
步骤430,根据预记录的用户对应的关注账号,向预定服务器发出获取关注账号对应的视频数据,并从预定服务器接收视频数据,并将视频数据在视频窗口进行播放。在本实施例的技术方案中,以游戏应用为例,用户关注了在某视频直播网站上直播玩游戏过程的主播账号,则用户在开启相应游戏时,则直接连接该视频直播网站的服务器,获取该直播账号相关的视频数据,提供给用户进行参考。
如图5所示,本发明的一个实施例中提供了一种在应用中进行视频播放的装置,包括:
请求接收模块510,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。在本实施例中,应用可以是游戏,游戏中的图像即为虚拟情境图像。
视频窗口绘制模块520,绘制视频窗口,视频窗口浮在虚拟情境图像上。在本实施中,要求视频窗口的尺寸小于虚拟情境图像的尺寸。
视频数据获取模块530,获取视频数据,并将视频数据在视频窗口进行播放。在本实施例中,视频数据可以是与虚拟情境图像相关的数据;在本实施例的技术方案中,由于视频窗口浮在虚拟情境图像上,使得用户可以在关注视频窗口中的视频数据时,可以同时关注虚拟情境图像,有利于用户参考视频数据的内容来与虚拟情境图像进行交互。例如,用户在玩游戏时,在游戏图像上浮现一个窗口,该窗口播放该 游戏相关的视频内容,用户参考视频内容进行游戏。
如图6所示,本发明的一个实施例中提供了一种在应用中进行视频播放的装置,包括:
请求接收模块610,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。
区域划分模块620,根据虚拟情境图像上显示的多种内容,将虚拟情境图像划分为多个区域;多个区域分别包含多种内容。在本实施例中,以游戏应用为例,游戏画面中往往划分了多个区域,其中例如包含菜单选项的菜单栏区域、包括工具选项的工具栏区域。
视频窗口绘制模块630,将视频窗口放置在多种内容中预定内容对应的区域上。在本实施例中,菜单栏区域、工具栏区域往往都是用户较少使用的区域,所以可以将视频窗口放置在菜单栏区域或工具栏区域上,从而使得视频窗口的存在不会影响到用户对游戏画面活动部分的关注。
视频数据获取模块640,获取虚拟情境画面的数据作为视频数据,并将视频数据在视频窗口进行播放。在本实施例中,视频窗口展现的数据实际上是用户自己与虚拟情境交互的数据;例如,用户在某视频直播网站上直播自己的玩游戏的过程,则视频窗口可以是采集的自己正在玩游戏的视频,使得用户随时自己关注到待在直播网站上展示的视频内容是否正常,如果不正常用户可以及时进行调整。
本发明的一个实施例中提供了一种在应用中进行视频播放的装置,包括:
请求接收模块510,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。
视频窗口绘制模块520,根据预记录的用户在虚拟情境图像上的触摸操作的次数和位置,从虚拟情境图像上选取视频播放区域,并将视频窗口放置在视频显示区域上;用户在视频显示区域上的触摸操作次数低于预设阈值。在本实施例的技术方案中,以游戏应用为例,用户在游戏图像上进行触摸的次数较多,说明触摸的位置为用户需要频繁 操作的位置,此时视频窗口的设置位置应当避开用户频繁操作的位置,以免使得视频窗口的存在影响了用户对游戏界面的操作。
视频数据获取模块530,根据应用的标识,向预定服务器发出获取应用对应的视频数据的请求,并从预定服务器接收视频数据,并将视频数据在视频窗口进行播放。在本实施例中,根据应用的标识可以自动选择对应的服务器,获取与应用相关的视频数据以供用户参考使用;例如,应用为游戏时,应用的标识可以为游戏的名称或编号,对应的服务器可以是视频网站的服务器,将游戏的标识发送至服务器后服务器可以从存储的视频中找到游戏对应的视频,发送给用户进行参考。
本发明的一个实施例中提供了一种在应用中进行视频播放的装置,包括:
请求接收模块510,接收应用发出的进行视频播放的请求,应用产生虚拟情境图像。
视频窗口绘制模块520,按照预记录的与应用对应的视频播放位置信息,在虚拟情境图像上选取视频播放区域,并将视频窗口放置在视频显示区域上。在本实施例的技术方案中,对于不同的应用,预先设置好了视频显示区域,所以开启应用时可以将视频窗口直接显示在视频显示区域上即可。
视频数据获取模块530,根据预记录的用户对应的关注账号,向预定服务器发出获取关注账号对应的视频数据,并从预定服务器接收视频数据,并将视频数据在视频窗口进行播放。在本实施例的技术方案中,以游戏应用为例,用户关注了在某视频直播网站上直播玩游戏过程的主播账号,则用户在开启相应游戏时,则直接连接该视频直播网站的服务器,获取该直播账号相关的视频数据,提供给用户进行参考。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为 了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的 技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的在应用中进行视频播放的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图7示出了可以实现根据本发明的在应用中进行视频播放的方法的计算设备,例如应用服务器。该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,用于程序代码的存储空间730可以包括分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图8所述的便携式或者固定存储单元。该存储单元可以具有与图7的计算设备中的存储器720类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码731’,即可以由例如诸如710之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位 于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (16)

  1. 一种在应用中进行视频播放的方法,包括:
    接收应用发出的进行视频播放的请求,所述应用产生虚拟情境图像;
    绘制视频窗口,所述视频窗口浮在所述虚拟情境图像上;
    获取视频数据,并将所述视频数据在所述视频窗口进行播放。
  2. 根据权利要求1所述的在应用中进行视频播放的方法,其中,绘制视频窗口,具体包括:
    根据所述虚拟情境图像上显示的多种内容,将所述虚拟情境图像划分为多个区域;所述多个区域分别包含多种内容;
    将所述视频窗口放置在所述多种内容中预定内容对应的区域上。
  3. 根据权利要求1所述的在应用中进行视频播放的方法,其中,绘制视频窗口,具体包括:
    根据预记录的用户在所述虚拟情境图像上的触摸操作的次数和位置,从所述虚拟情境图像上选取视频播放区域,并将所述视频窗口放置在所述视频显示区域上;所述用户在所述视频显示区域上的触摸操作次数低于预设阈值。
  4. 根据权利要求1所述的在应用中进行视频播放的方法,其中,绘制视频窗口,具体包括:
    按照预记录的与所述应用对应的视频播放位置信息,在所述虚拟情境图像上选取视频播放区域,并将所述视频窗口放置在所述视频显示区域上。
  5. 根据权利要求1所述的在应用中进行视频播放的方法,其中,获取视频数据,具体包括:
    获取所述虚拟情境画面的数据作为所述视频数据。
  6. 根据权利要求1所述的在应用中进行视频播放的方法,其中,获取视频数据,具体包括:
    根据所述应用的标识,向预定服务器发出获取所述应用对应的所述视频数据的请求,并从所述预定服务器接收所述视频数据。
  7. 根据权利要求1所述的在应用中进行视频播放的方法,其中, 获取视频数据,具体包括:
    根据预记录的用户对应的关注账号,向预定服务器发出获取所述关注账号对应的所述视频数据,并从所述预定服务器接收所述视频数据。
  8. 一种在应用中进行视频播放的装置,包括:
    请求接收模块,用于接收应用发出的进行视频播放的请求,所述应用产生虚拟情境图像;
    视频窗口绘制模块,用于绘制视频窗口,所述视频窗口浮在所述虚拟情境图像上;
    视频数据获取模块,用于获取视频数据,并将所述视频数据在所述视频窗口进行播放。
  9. 根据权利要求8所述的在应用中进行视频播放的装置,其中,还包括:
    区域划分模块,用于根据所述虚拟情境图像上显示的多种内容,将所述虚拟情境图像划分为多个区域;所述多个区域分别包含多种内容;
    所述视频窗口绘制模块将所述视频窗口放置在所述多种内容中预定内容对应的区域上。
  10. 根据权利要求8所述的在应用中进行视频播放的装置,其中,
    所述视频窗口绘制模块根据预记录的用户在所述虚拟情境图像上的触摸操作的次数和位置,从所述虚拟情境图像上选取视频播放区域,并将所述视频窗口放置在所述视频显示区域上;所述用户在所述视频显示区域上的触摸操作次数低于预设阈值。
  11. 根据权利要求8所述的在应用中进行视频播放的装置,其中,
    所述视频窗口绘制模块按照预记录的与所述应用对应的视频播放位置信息,在所述虚拟情境图像上选取视频播放区域,并将所述视频窗口放置在所述视频显示区域上。
  12. 根据权利要求8所述的在应用中进行视频播放的装置,其中,
    所述视频数据获取模块获取所述虚拟情境画面的数据作为所述视频数据。
  13. 根据权利要求8所述的在应用中进行视频播放的装置,其中,
    所述视频数据获取模块根据所述应用的标识,向预定服务器发出获取所述应用对应的所述视频数据的请求,并从所述预定服务器接收所述视频数据。
  14. 根据权利要求8所述的在应用中进行视频播放的装置,其中,
    所述视频数据获取模块根据预记录的用户对应的关注账号,向预定服务器发出获取所述关注账号对应的所述视频数据,并从所述预定服务器接收所述视频数据。
  15. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-7中的任一个所述的在应用中进行视频播放的方法。
  16. 一种计算机可读介质,其中存储了如权利要求15所述的计算机程序。
PCT/CN2016/111560 2015-12-24 2016-12-22 在应用中进行视频播放的方法和装置 WO2017107962A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510993222.2A CN105554424A (zh) 2015-12-24 2015-12-24 在应用中进行视频播放的方法和装置
CN201510993222.2 2015-12-24

Publications (1)

Publication Number Publication Date
WO2017107962A1 true WO2017107962A1 (zh) 2017-06-29

Family

ID=55833339

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111560 WO2017107962A1 (zh) 2015-12-24 2016-12-22 在应用中进行视频播放的方法和装置

Country Status (2)

Country Link
CN (1) CN105554424A (zh)
WO (1) WO2017107962A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115098012A (zh) * 2022-06-24 2022-09-23 北京字跳网络技术有限公司 显示方法、电子设备和计算机程序产品

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554424A (zh) * 2015-12-24 2016-05-04 北京奇虎科技有限公司 在应用中进行视频播放的方法和装置
CN106060574B (zh) * 2016-06-21 2019-05-24 北京奇虎科技有限公司 在游戏中展现直播视频流的方法及装置
CN105915993B (zh) * 2016-06-27 2019-03-01 北京奇虎科技有限公司 利用寄生工具包实现的视频播放模式设置方法及装置
CN107596687B (zh) * 2017-08-24 2021-03-02 网易(杭州)网络有限公司 游戏画面显示系统及方法、存储介质、电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745733A (zh) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 一种视频播放控制方法及视频播放器
CN104740874A (zh) * 2015-03-26 2015-07-01 广州博冠信息科技有限公司 一种在二维游戏场景中播放视频的方法及系统
CN104808907A (zh) * 2015-05-20 2015-07-29 腾讯科技(深圳)有限公司 一种内容同屏显示方法、装置及终端设备
CN105187939A (zh) * 2015-09-21 2015-12-23 合一网络技术(北京)有限公司 一种实现网页游戏中播放视频的方法及装置
CN105554424A (zh) * 2015-12-24 2016-05-04 北京奇虎科技有限公司 在应用中进行视频播放的方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9916072B2 (en) * 2013-02-20 2018-03-13 Lg Electronics Inc. Application and notification window display management in a mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745733A (zh) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 一种视频播放控制方法及视频播放器
CN104740874A (zh) * 2015-03-26 2015-07-01 广州博冠信息科技有限公司 一种在二维游戏场景中播放视频的方法及系统
CN104808907A (zh) * 2015-05-20 2015-07-29 腾讯科技(深圳)有限公司 一种内容同屏显示方法、装置及终端设备
CN105187939A (zh) * 2015-09-21 2015-12-23 合一网络技术(北京)有限公司 一种实现网页游戏中播放视频的方法及装置
CN105554424A (zh) * 2015-12-24 2016-05-04 北京奇虎科技有限公司 在应用中进行视频播放的方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115098012A (zh) * 2022-06-24 2022-09-23 北京字跳网络技术有限公司 显示方法、电子设备和计算机程序产品

Also Published As

Publication number Publication date
CN105554424A (zh) 2016-05-04

Similar Documents

Publication Publication Date Title
WO2017107962A1 (zh) 在应用中进行视频播放的方法和装置
US10425679B2 (en) Method and device for displaying information on video image
JP6623500B2 (ja) 類似ビデオ捜索方法、装置、設備及びプログラム
CN106951881B (zh) 一种三维场景呈现方法、装置及系统
EP3264222B1 (en) An apparatus and associated methods
JP2010257509A (ja) オーサリング装置、オーサリング方法およびプログラム
US20130335447A1 (en) Electronic device and method for playing real-time images in a virtual reality
CN107450874B (zh) 一种多媒体数据双屏播放方法及系统
WO2018001201A1 (zh) 视频推送方法、装置、程序及介质
CN111800668B (zh) 弹幕的处理方法、装置、设备及存储介质
WO2014134979A1 (en) Method and device for switching current information providing mode
US9607651B2 (en) Method and apparatus for controlling contents in electronic device
EP3252690A1 (en) Apparatus and associated methods
CN104104900B (zh) 一种数据播放方法
WO2017000744A1 (zh) 用于在线播放的字幕加载方法和装置
WO2017101414A1 (zh) 基于安卓平台的多媒体播放方法、装置及移动终端设备
KR20210091082A (ko) 영상 처리 장치, 이의 제어 방법 및 컴퓨터 프로그램이 기록된 기록 매체
US20150181154A1 (en) Method and system for playing video
WO2017161771A1 (zh) 一种广告数据的展示方法和装置
US9310957B2 (en) Method and device for switching current information providing mode
WO2018121546A1 (zh) 一种行车记录装置屏幕内容的展示方法和装置
US20150046957A1 (en) Tvod song playing method and player therefor
WO2017107887A1 (zh) 在移动终端上切换组图的方法及装置
WO2020220649A1 (zh) 在线列表与本地列表的同窗切换方法、及计算设备
WO2023160288A1 (zh) 会议纪要生成方法、装置、电子设备和可读存储介质

Legal Events

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

Ref document number: 16877772

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877772

Country of ref document: EP

Kind code of ref document: A1