Nothing Special   »   [go: up one dir, main page]

CN113014982B - Video sharing method, user equipment and computer storage medium - Google Patents

Video sharing method, user equipment and computer storage medium Download PDF

Info

Publication number
CN113014982B
CN113014982B CN202110194174.6A CN202110194174A CN113014982B CN 113014982 B CN113014982 B CN 113014982B CN 202110194174 A CN202110194174 A CN 202110194174A CN 113014982 B CN113014982 B CN 113014982B
Authority
CN
China
Prior art keywords
video
area
interest
user
user equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110194174.6A
Other languages
Chinese (zh)
Other versions
CN113014982A (en
Inventor
孙颖
张聪
张超
陈聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Music Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110194174.6A priority Critical patent/CN113014982B/en
Publication of CN113014982A publication Critical patent/CN113014982A/en
Application granted granted Critical
Publication of CN113014982B publication Critical patent/CN113014982B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV 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/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/4728End-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 selecting a Region Of Interest [ROI], e.g. for requesting a higher resolution version of a selected region

Landscapes

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

Abstract

本发明实施例涉及VR技术领域,公开了一种视频分享方法、用户设备及计算机存储介质。方法包括:在播放视频的过程中,实时检测第一用户在第一用户设备的显示区域上是否存在关注区域;若检测到关注区域,则实时录制在关注区域内播放的视频,以形成关注视频流;其中,关注视频流用于在播放视频时,在交互区域内进行播放,交互区域位于播放设备的显示区域内,播放设备包括第一用户的第一用户设备或第二用户的第二用户设备。本发明中,用户可以通过用户设备,以关注视频流的形式分享自己关注的具体内容,提升了用户体验。

Figure 202110194174

The embodiment of the present invention relates to the technical field of VR, and discloses a video sharing method, user equipment, and a computer storage medium. The method includes: during the process of playing the video, detecting in real time whether the first user has an attention area on the display area of the first user equipment; if the attention area is detected, recording the video played in the attention area in real time to form the attention video stream; where the attention video stream is used to play in the interactive area when playing the video, the interactive area is located in the display area of the playback device, and the playback device includes the first user equipment of the first user or the second user equipment of the second user . In the present invention, users can share specific content they care about in the form of watching video streams through user equipment, which improves user experience.

Figure 202110194174

Description

视频分享方法、用户设备及计算机存储介质Video sharing method, user equipment and computer storage medium

技术领域technical field

本发明实施例涉及VR技术领域,特别涉及视频分享方法、用户设备及计算机存储介质。Embodiments of the present invention relate to the technical field of VR, and in particular, to a video sharing method, user equipment, and computer storage media.

背景技术Background technique

随着技术的进步,VR(Virtual Reality,虚拟现实)技术更多地走进了我们的生活中,并给我们带来了全新的体验,VR设备可以在显示区域上同时播放多个采集设备采集到的多路视频流,以供用户通过VR设备进行观看。With the advancement of technology, VR (Virtual Reality, virtual reality) technology has entered our lives more and brought us a new experience. VR devices can simultaneously play multiple acquisition devices on the display area. The multiple video streams received by users can be watched through VR devices.

目前,用户在通过VR设备观看某一视频时,不能将视频中自己关注的具体内容通过VR设备进行分享,导致用户体验不佳。At present, when a user watches a certain video through a VR device, he cannot share the specific content he cares about in the video through the VR device, resulting in poor user experience.

发明内容Contents of the invention

本发明实施方式的目的在于提供一种视频分享方法、用户设备及计算机存储介质,使用户可以以关注视频流的形式,通过用户设备分享自己关注的具体内容,提升了用户体验。The purpose of the embodiments of the present invention is to provide a video sharing method, user equipment and computer storage medium, so that users can share specific content they care about through the user equipment in the form of watching video streams, thereby improving user experience.

为解决上述技术问题,本发明的实施方式提供了一种视频分享方法,包括以下步骤:在播放视频的过程中,实时检测第一用户在第一用户设备的显示区域上是否存在关注区域;若检测到关注区域,则实时录制在关注区域内播放的视频,以形成关注视频流;其中,关注视频流用于在播放视频时,在交互区域内进行播放,交互区域位于播放设备的显示区域内,播放设备包括第一用户设备和/或第二用户的第二用户设备。In order to solve the above technical problems, the embodiment of the present invention provides a video sharing method, including the following steps: during the process of playing the video, detect in real time whether the first user has an area of interest on the display area of the first user device; if When the attention area is detected, the video played in the attention area is recorded in real time to form the attention video stream; wherein, the attention video stream is used to play in the interactive area when the video is played, and the interactive area is located in the display area of the playback device. The playback device includes a first user device and/or a second user device of a second user.

本发明的实施方式还提供了一种视频分享方法,包括以下步骤:获取待播放的视频;在主体区域内播放获取的视频,在交互区域内同步播放获取的关注视频流,主体区域和交互区域包含在播放设备的显示区域内,播放设备包括第一用户的第一用户设备和/或第二用户的第二用户设备;其中,关注视频流是由第一用户设备在播放视频的过程中,根据检测到的第一用户在第一用户设备的显示区域上的关注区域,录制的在关注区域内播放的视频;在交互区域内当前播放的关注视频流在视频内的录制时间节点,与当前在主体区域内的视频的播放时间节点相同。Embodiments of the present invention also provide a video sharing method, comprising the following steps: acquiring a video to be played; playing the acquired video in the main area, synchronously playing the acquired attention video stream in the interactive area, the main area and the interactive area Included in the display area of the playback device, the playback device includes the first user equipment of the first user and/or the second user equipment of the second user; wherein, the video stream of interest is played by the first user equipment during the video playback process, According to the detected attention area of the first user on the display area of the first user equipment, the recorded video played in the attention area; the recording time node in the video of the attention video stream currently played in the interaction area, and the current The playback time nodes of the videos in the main area are the same.

本发明的实施方式还提供了一种用户设备,包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行上述视频分享方法。The embodiment of the present invention also provides a user equipment, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by at least one processor. Executed by a processor, so that at least one processor can execute the above video sharing method.

本发明的实施方式还提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时实现上述视频分享方法。Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, and implementing the above video sharing method when the computer program is executed by a processor.

本发明实施方式相对于相关技术而言,第一用户设备通过获取第一用户的关注区域来确定第一用户当前关注的具体内容,比如第一用户在观看周杰伦的演唱会录播视频时,关注于周杰伦的发型,此时第一用户设备就会将周杰伦发型周围区域的视频录制下来,以形成关注视频流,关注视频流用于在播放设备播放视频时,在位于播放设备(第一用户设备或第二用户设备)的显示区域内的交互区域内进行播放。用户可以通过用户设备,以关注视频流的形式分享自己关注的具体内容,提升了用户体验。Compared with related technologies, the embodiment of the present invention determines the specific content that the first user is currently concerned about by acquiring the attention area of the first user. For Jay Chou’s hairstyle, at this moment, the first user device will record the video of the area around Jay Chou’s hairstyle to form a video stream of interest. Play in the interactive area in the display area of the second user equipment). Users can share the specific content they care about in the form of watching video streams through the user equipment, which improves the user experience.

另外,当播放设备包括第二用户设备;实时录制在关注区域内播放的视频之后,还包括:实时上传关注视频流至存储设备,以供第二用户设备在播放视频时显示通过存储设备获取的关注视频流,提供了将关注视频流分享给作为播放设备的第二用户设备的一种具体实施方式。In addition, when the playback device includes the second user device; after recording the video played in the area of interest in real time, it also includes: uploading the video stream of interest to the storage device in real time, so that the second user device can display the video obtained through the storage device when playing the video. Focusing on the video stream provides a specific implementation manner of sharing the focused video stream to the second user equipment as a playback device.

另外,在播放视频的过程中,实时识别第一用户的眼睛焦点,并根据眼睛焦点确定在第一用户设备的显示区域上的候选关注区域;实时检测第一用户在第一用户设备的显示区域上是否存在关注区域,包括:获取当前确定的候选关注区域与预设时长之前确定的候选关注区域的重合度;若重合度大于第一预设阈值,且第一用户的当前瞳孔大小大于第二预设阈值,则将预设时长之前确定的候选关注区域,作为检测到的关注区域。本实施例中,提供了确定关注区域的一种具体方式。In addition, during the process of playing the video, identify the eye focus of the first user in real time, and determine the candidate attention area on the display area of the first user equipment according to the eye focus; detect the first user in the display area of the first user equipment in real time Whether there is an attention area on the above, including: obtaining the coincidence degree between the currently determined candidate attention area and the candidate attention area determined before the preset time length; if the coincidence degree is greater than the first preset threshold, and the current pupil size of the first user is greater than the second If the threshold is preset, the candidate ROI determined before the preset time period is used as the detected ROI. In this embodiment, a specific manner of determining the attention area is provided.

另外,在实时录制在关注区域内播放的视频的过程中,若检测到关注区域发生变化,则停止录制在关注区域内播放的视频;其中,若当前确定的候选关注区域与预设时长之前确定的候选关注区域的重合度小于或等于第一预设阈值,则判定关注区域发生变化。本实施例中,提供了判定关注区域发生变化的一种具体方式。In addition, during the real-time recording of the video played in the attention area, if it is detected that the attention area has changed, the recording of the video played in the attention area is stopped; wherein, if the currently determined candidate attention area is determined before the preset duration If the coincidence degree of the candidate attention area is less than or equal to the first preset threshold, it is determined that the attention area has changed. In this embodiment, a specific manner of determining a change in the region of interest is provided.

另外,当播放设备包括第二用户设备,待播放的视频为直播视频;在主体区域内播放获取的视频,在交互区域内同步播放获取的关注视频流,包括:在主体区域内播放实时获取的直播视频,在交互区域内轮流播放实时从存储设备中获取的满足预设条件的多个关注视频流;其中,预设条件包括以下之一或其任意组合:关注视频流对应的第一用户与第二用户的相似度大于预设门限和/或关注视频流对应的第一用户的关注区域与第二用户的关注区域的重合度大于预设阈值。本实施例中,提供了待播放视频为直播视频时播放关注视频流的一种具体方式,可以根据用户之间的相似度或与当前关注内容的相似度,来获取多个关注视频流,在一定程度上提升了用户体验。In addition, when the playback device includes the second user equipment, the video to be played is a live video; the acquired video is played in the main area, and the acquired attention video stream is synchronously played in the interactive area, including: playing the real-time acquired video stream in the main area Live video, in which multiple video streams of interest obtained from storage devices in real time and satisfying preset conditions are played in turn in the interactive area; wherein, the preset conditions include one of the following or any combination thereof: the first user corresponding to the video stream of interest and The similarity of the second user is greater than a preset threshold and/or the overlapping degree of the attention area of the first user corresponding to the attention video stream and the attention area of the second user is greater than a preset threshold. In this embodiment, a specific method of playing the video stream of interest when the video to be played is a live video is provided. Multiple video streams of interest can be obtained according to the similarity between users or the similarity with the current content of interest. To a certain extent, the user experience is improved.

另外,当播放设备包括第二用户设备,待播放的视频为录播视频;在交互区域内同步播放获取的关注视频流,包括:在交互区域内同步播放从存储设备中获取的关注视频流,其中,存储设备中存储有多个关注视频流;在交互区域内同步播放从存储设备中获取的关注视频流之前,还包括:获取第二用户设备当前在主体区域内播放的视频的播放时间节点;从存储设备中存储的多个关注视频流中,筛选出包含有播放时间节点的多个关注视频流作为候选关注视频流;获取多个候选关注视频流共同包含的最小播放时间节点;在交互区域内同步播放从存储设备中获取的关注视频流,包括:当主体区域内播放的视频的播放时间节点到达最小播放时间节点,在交互区域内轮流播放多个候选关注视频流。本实施例中,提供了待播放视频为录播视频时播放关注视频流的一种具体方式。In addition, when the playback device includes the second user device, the video to be played is a recorded video; synchronously playing the acquired video stream of interest in the interactive area includes: synchronously playing the video stream of interest acquired from the storage device in the interactive area, Wherein, the storage device stores a plurality of video streams of interest; before synchronously playing the video streams of interest obtained from the storage device in the interactive area, it also includes: obtaining the playback time node of the video currently played by the second user equipment in the main area ; From the plurality of attention video streams stored in the storage device, select a plurality of attention video streams containing playback time nodes as candidate attention video streams; obtain the minimum playback time node contained in multiple candidate attention video streams; Synchronously playing the attention video streams obtained from the storage device in the area includes: when the play time node of the video played in the main area reaches the minimum play time node, multiple candidate attention video streams are played in turn in the interactive area. In this embodiment, a specific manner of playing the video stream of interest when the video to be played is a recorded video is provided.

另外,在交互区域内轮流播放多个候选关注视频流之前,还包括:若候选关注视频流的个数大于预设数目,则根据预设条件对多个候选关注视频流进行再次筛选,得到预设数目的候选关注视频流;在交互区域内轮流播放多个候选关注视频流,包括:当主体区域内播放的视频的播放时间节点到达最小播放时间节点,在交互区域内轮流播放预设数目的候选关注视频流;其中,预设条件包括以下之一或其任意组合:候选关注视频流对应的第一用户与第二用户的相似度大于预设门限和/或候选关注视频流对应的第一用户的关注区域与第二用户的关注区域的重合度大于预设阈值。本实施例中,可以根据用户之间的相似度或与当前关注内容的相似度,来获取预设数目的关注视频流,在一定程度上提升了用户体验。In addition, before playing multiple candidate video streams of interest in turn in the interactive area, it also includes: if the number of candidate video streams of interest is greater than the preset number, re-screening the multiple candidate video streams of interest according to preset conditions to obtain a predetermined number of video streams of interest. Set the number of candidate focus video streams; play multiple candidate focus video streams in turn in the interactive area, including: when the play time node of the video played in the main area reaches the minimum play time node, play a preset number of focus video streams in turn in the interactive area Candidate video streams of interest; wherein, the preset conditions include one of the following or any combination thereof: the similarity between the first user corresponding to the candidate video streams of interest and the second user is greater than a preset threshold and/or the first user corresponding to the candidate video streams of interest The overlapping degree of the attention area of the user and the attention area of the second user is greater than a preset threshold. In this embodiment, a preset number of focused video streams may be obtained according to the similarity between users or the similarity with the currently focused content, which improves user experience to a certain extent.

附图说明Description of drawings

一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute a limitation to the embodiments. Elements with the same reference numerals in the drawings represent similar elements. Unless otherwise stated, the drawings in the drawings are not limited to scale.

图1是根据本发明第一实施方式的一种视频分享方法的具体流程图;Fig. 1 is a specific flowchart of a video sharing method according to the first embodiment of the present invention;

图2是根据本发明第一实施方式的第一用户设备的主体区域和特写区域的位置关系图;Fig. 2 is a positional relationship diagram between the main body area and the close-up area of the first user equipment according to the first embodiment of the present invention;

图3是根据本发明第一实施方式的第一用户设备的候选关注区域在显示区域上的位置示意图;Fig. 3 is a schematic diagram of positions of candidate ROIs on the display area of the first user equipment according to the first embodiment of the present invention;

图4是根据本发明第一实施方式的第一用户设备的主体区域、特写区域和交互区域的位置关系图;Fig. 4 is a positional relationship diagram of the main body area, the close-up area and the interaction area of the first user equipment according to the first embodiment of the present invention;

图5是根据本发明第二实施方式的一种视频分享方法的具体流程图;5 is a specific flowchart of a video sharing method according to the second embodiment of the present invention;

图6是根据本发明第三实施方式的一种视频分享方法的具体流程图;6 is a specific flowchart of a video sharing method according to a third embodiment of the present invention;

图7是根据本发明第四实施方式的一种视频分享方法的具体流程图;7 is a specific flowchart of a video sharing method according to a fourth embodiment of the present invention;

图8是根据本发明第五实施方式的一种用户设备的方框示意图。Fig. 8 is a schematic block diagram of a user equipment according to a fifth embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本发明的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

本发明的第一实施方式涉及一种视频分享方法。应用于用户设备,用户设备可以是VR设备。The first embodiment of the present invention relates to a video sharing method. Applied to user equipment, the user equipment may be a VR device.

本实施例的视频分享方法的具体流程如图1所示。The specific flow of the video sharing method in this embodiment is shown in FIG. 1 .

步骤101,在播放视频的过程中,实时检测第一用户在第一用户设备的显示区域上是否存在关注区域,若检测到关注区域,则进入步骤102;若未检测到关注区域,则返回步骤101。Step 101, in the process of playing the video, detect in real time whether the first user has an area of interest on the display area of the first user device, if an area of interest is detected, proceed to step 102; if no area of interest is detected, return to step 101.

步骤102,实时录制在关注区域内播放的视频,以形成关注视频流。Step 102, recording the video played in the area of interest in real time to form a video stream of interest.

本实施例中,第一用户设备通过获取第一用户的关注区域来确定第一用户当前感兴趣的具体内容,比如第一用户在观看周杰伦的演唱会录播视频时,关注于周杰伦的发型,此时第一用户设备就会将周杰伦发型周围区域的视频录制下来,以形成关注视频流,关注视频流用于在播放设备播放视频时,在位于播放设备(第一用户设备或第二用户设备)的显示区域内的交互区域内进行播放。用户可以通过用户设备,以关注视频流的形式分享自己关注的具体内容,提升了用户体验。In this embodiment, the first user equipment determines the specific content that the first user is currently interested in by acquiring the attention area of the first user. At this point, the first user equipment will record the video of the area around Jay Chou's hairstyle to form a video stream of interest. Play in the interactive area within the display area of the . Users can share the specific content they care about in the form of watching video streams through the user equipment, which improves the user experience.

下面对本实施方式的视频分享方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。The implementation details of the video sharing method in this embodiment will be described in detail below. The following content is only implementation details provided for easy understanding, and is not necessary for implementing this solution.

在步骤101中,第一用户可以在第一用户设备上选择需要播放的视频,第一用户设备会根据第一用户选择的需要播放的视频,匹配到该视频对应的视频ID,并根据该视频ID获取到其对应的视频类型,视频类型可以为录播视频或者直播视频,再由第一用户设备获取该视频ID对应的多路视频流,第一用户设备的显示区域包括主体区域和特写区域,主体区域和特写区域的位置关系以图2为例示出,但不限于此,第一用户设备将主采集设备采集到的视频流在第一用户设备的显示区域的主体区域内播放,将特写采集设备采集到的视频流在第一用户设备的显示区域的特写区域内播放,特写采集设备可以有多个,可以设置在特写区域内循环播放多个特写采集设备各自采集到的视频流,具体地,可以每隔预设时间轮流播放不同特写采集设备采集到的视频流,也可以将特写区域分成多个区域,在多个区域内分别同步播放各特写采集设备采集到的视频流。In step 101, the first user can select a video to be played on the first user device, and the first user device will match the video ID corresponding to the video according to the video selected by the first user to be played, and based on the video The video type corresponding to the ID is obtained. The video type can be recorded video or live video, and then the first user equipment obtains the multi-channel video stream corresponding to the video ID. The display area of the first user equipment includes the main body area and the close-up area. , the positional relationship between the main body area and the close-up area is shown in Figure 2 as an example, but it is not limited thereto. The video stream collected by the collection device is played in the close-up area of the display area of the first user equipment. There can be multiple close-up collection devices, and the video streams collected by multiple close-up collection devices can be set to loop in the close-up area. Specifically Specifically, the video streams captured by different close-up capture devices can be played in turn every preset time, or the close-up area can be divided into multiple areas, and the video streams captured by each close-up capture device can be played synchronously in multiple areas.

第一用户设备在播放视频时,实时检测第一用户是否发出第一触发信号,第一触发信号可以为第一用户的手势从右下角向左上角滑动或从左上角向右下角滑动,也可以为第一用户的眼睛焦点由右下角向左上角移动或由左上角向右下角移动,第一用户设备在检测到第一触发信号后,交换在主体区域内和在特写区域内当前播放的视频。When the first user equipment is playing the video, it detects in real time whether the first user sends out a first trigger signal. The first trigger signal can be the gesture of the first user sliding from the lower right corner to the upper left corner or sliding from the upper left corner to the lower right corner, or The eye focus of the first user moves from the lower right corner to the upper left corner or from the upper left corner to the lower right corner. After the first user equipment detects the first trigger signal, the video currently played in the subject area and the close-up area are exchanged. .

第一用户设备在播放该视频ID对应的视频的过程中,实时检测第一用户在第一用户设备的显示区域上是否存在关注区域。During the process of playing the video corresponding to the video ID, the first user equipment detects in real time whether there is an attention area of the first user on the display area of the first user equipment.

在步骤102中,若检测到存在关注区域,第一用户设备实时录制在关注区域内播放的视频,以形成关注视频流。In step 102, if an attention area is detected, the first user equipment records a video played in the attention area in real time to form an attention video stream.

在一个例子中,在播放视频的过程中,若第一用户设备检测到第一用户的眼睛焦点在某一区域内的停留时间超过预设的时长,具体地,第一用户设备实时识别第一用户的眼睛焦点在显示区域上的位置,并实时判断第一用户的当前瞳孔大小,在第一用户的当前瞳孔大小大于历史记录的第一用户的瞳孔大小的均值后,以此时第一用户的眼睛焦点在显示区域上的位置为中心,确定在显示区域上的候选关注区域,候选关注区域在显示区域上的位置示意以图3为例示出,但不限于此。第一用户设备每隔预设时长会确定一次候选关注区域,并会获取当前确定的候选关注区域与预设时长之前确定的候选关注区域之间的重合度,具体地,可以以当前确定的候选关注区域与预设时长之前确定的候选关注区域的重合面积S1,与单个候选关注区域面积S2的比值作为重合度。若获取到的重合度大于第一预设阈值,则近似认为第一用户当前视线仍在预设时长之前确定的候选关注区域内,并未转移视线,若此时第一用户的当前瞳孔大小大于第二预设阈值,第二预设阈值可以是第一用户的历史瞳孔大小的均值,则认为第一用户正在关注于预设时长之前确定的候选关注区域,故将该区域作为关注区域。进一步地,可以获得预设时长内获取的第一用户的瞳孔大小的最大值,并通过将第一用户的当前瞳孔大小的最大值与第三预设阈值进行比较,进一步确定第一用户是否的确关注于预设时长之前确定的候选关注区域,若第一用户的当前瞳孔大小的最大值大于第三预设阈值,则可以确定第一用户的确关注于预设时长之前确定的候选关注区域。In one example, if the first user equipment detects that the focus of the eyes of the first user stays in a certain area for longer than a preset duration during video playback, specifically, the first user equipment recognizes the first user in real time. The position of the focus of the user's eyes on the display area, and judge the current pupil size of the first user in real time. After the current pupil size of the first user is greater than the average pupil size of the first user recorded in history, the first user The position of the eye focus on the display area is the center, and the candidate attention area on the display area is determined. The position of the candidate attention area on the display area is schematically shown in FIG. 3 as an example, but it is not limited thereto. The first user equipment will determine the candidate ROIs every preset time length, and will obtain the coincidence degree between the currently determined candidate ROIs and the candidate ROIs determined before the preset time length. Specifically, the currently determined candidate ROIs can be The ratio of the overlapping area S1 of the attention area and the candidate attention area determined before the preset time length to the area S2 of a single candidate attention area is taken as the coincidence degree. If the obtained coincidence degree is greater than the first preset threshold, it is approximately considered that the first user's current line of sight is still in the candidate attention area determined before the preset time length, and the line of sight has not been shifted. If the first user's current pupil size is greater than The second preset threshold, the second preset threshold can be the average value of the first user's historical pupil size, then it is considered that the first user is paying attention to the candidate attention area determined before the preset time length, so this area is used as the attention area. Further, the maximum value of the pupil size of the first user obtained within a preset time period may be obtained, and by comparing the maximum value of the current pupil size of the first user with a third preset threshold, it is further determined whether the first user is indeed Focusing on the candidate attention area determined before the preset time length, if the maximum value of the current pupil size of the first user is greater than the third preset threshold, it can be determined that the first user is indeed paying attention to the candidate attention area determined before the preset time length.

在另一个例子中,在播放视频的过程中,若检测到第一用户的眼睛焦点的移动轨迹圈出了某一区域,或者,若检测到第一用户点击了某一区域,则可以以该区域作为关注区域。In another example, in the process of playing the video, if it is detected that the moving track of the first user's eye focus encloses a certain area, or if it is detected that the first user clicks on a certain area, then the region as the region of interest.

在一个例子中,第一用户设备会实时上传关注视频流至存储设备,存储设备可以为服务器,播放设备会从存储设备中获取关注视频流,并在播放设备的显示区域内的交互区域内播放关注视频流,主体区域、特写区域和交互区域的位置关系以图4为例示出。播放设备可以为第一用户设备或第二用户设备,若形成关注视频流的第一用户设备播放的视频为直播视频,则第二用户设备可以在播放同一直播视频时,从存储设备中获取关注视频流,并将关注视频流显示在第二用户设备的交互区域内;若形成关注视频流的第一用户设备播放的视频为录播视频,则第二用户设备可以在播放同一录播视频时,从存储设备中获取关注视频流,并将关注视频流显示在第二用户设备的交互区域内,第一用户设备在形成并上传关注视频流至存储设备后,如再次播放该录播视频,则可以将已形成的关注视频流在第一用户设备的交互区域内进行播放,第一用户得以根据自己之前通过第一用户设备录制形成的关注视频流,回顾自己之前观看录播视频时关注的具体内容,提升了用户体验。In one example, the first user equipment will upload the video stream of interest to the storage device in real time, the storage device may be a server, and the playback device will obtain the video stream of interest from the storage device, and play it in the interactive area of the display area of the playback device Focusing on the video stream, the positional relationship between the subject area, the close-up area and the interaction area is shown in Figure 4 as an example. The playback device may be a first user device or a second user device. If the video played by the first user device that forms the video stream of interest is a live video, the second user device may acquire attention from the storage device when playing the same live video. video stream, and display the video stream of interest in the interaction area of the second user equipment; if the video played by the first user equipment that forms the video stream of interest is a recorded video, the second user equipment can play the same recorded video , obtain the video stream of interest from the storage device, and display the video stream of interest in the interaction area of the second user equipment. After the first user equipment forms and uploads the video stream of interest to the storage device, if the recorded video is played again, Then the formed attention video stream can be played in the interactive area of the first user equipment, and the first user can review the attention video stream formed by himself through the recording of the first user equipment before, and review the attention he paid attention to when he watched the recorded video before. Specific content improves user experience.

在一个例子中,第一用户设备在实时录制关注区域内播放的视频的过程中,若检测到当前确定的候选关注区域与预设时长之前确定的候选关注区域的重合度小于或等于第一预设阈值,则判定第一用户的关注区域发生变化,此时停止录制关注区域内播放的视频,故不会再形成关注视频流,也就没有关注视频流可以上传至存储设备了。In an example, during the real-time recording of the video played in the attention area by the first user equipment, if it detects that the coincidence degree between the currently determined candidate attention area and the candidate attention area determined before the preset duration is less than or equal to the first predetermined If the threshold is set, it is determined that the area of interest of the first user has changed, and at this time, the recording of the video played in the area of interest is stopped, so the video stream of interest will not be formed, and no video stream of interest can be uploaded to the storage device.

在本实施例中,第一用户设备通过获取第一用户的关注区域来确定第一用户当前感兴趣的具体内容,比如第一用户在观看周杰伦的演唱会录播视频时,关注于周杰伦的发型,此时第一用户设备就会将周杰伦发型周围区域的视频录制下来,以形成关注视频流,再将关注视频流实时上传至存储设备,若第一用户的关注区域改变,则停止录制之前关注区域内的视频,并重新确定关注区域,并实时录制新确定的关注区域内的视频,已形成关注视频流。第二用户设备可以在播放视频时,显示通过存储设备获取的第一用户设备产生的关注视频流,以供第二用户观看,即,用户可以通过用户设备,以关注视频流的形式分享自己感兴趣的具体内容,提升了用户体验。In this embodiment, the first user equipment determines the specific content that the first user is currently interested in by acquiring the attention area of the first user. , at this time, the first user device will record the video of the area around Jay Chou’s hairstyle to form a video stream of interest, and then upload the video stream of interest to the storage device in real time. If the area of interest of the first user changes, stop recording. The video in the area, and re-determine the area of interest, and record the video in real time in the newly determined area of interest, and a video stream of interest has been formed. When playing the video, the second user equipment may display the attention video stream generated by the first user equipment obtained through the storage device for the second user to watch, that is, the user may share his or her feelings in the form of attention video stream through the user equipment. The specific content of the interest improves the user experience.

本发明的第二实施方式涉及一种视频分享方法。应用于播放设备,播放设备可以为第一用户设备或第二用户设备,播放设备的显示区域包括主体区域、特写区域和交互区域。The second embodiment of the present invention relates to a video sharing method. Applied to a playback device, the playback device may be a first user device or a second user device, and the display area of the playback device includes a main body area, a close-up area and an interaction area.

本实施例的视频分享方法的具体流程如图5所示。The specific flow of the video sharing method in this embodiment is shown in FIG. 5 .

步骤201,获取待播放的视频。Step 201, acquire the video to be played.

步骤202,在主体区域内播放获取的视频,在交互区域内同步播放获取的关注视频流。Step 202: Play the acquired video in the main body area, and play the acquired attention video stream synchronously in the interaction area.

具体地,以播放设备为第二用户设备为例进行说明,第二用户设备会根据第二用户选择的需要播放的视频,匹配到该视频对应的视频ID,并根据该视频ID获取到其对应的视频类型,再由第二用户设备获取该视频ID对应的多路视频流,并将多路视频流显示在第二用户设备的显示区域内。第二用户设备在主体区域内播放主采集设备采集到的视频,在特写区域内播放特写采集设备采集到的视频。第二用户设备在检测到第二用户的第一触发信号后,可以将特写区域内当前播放的特写采集设备采集到的视频切换在主体区域内播放,在主体区域内播放视频的同时,在交互区域内同步播放第二用户设备从存储设备获取的关注视频流,同步播放是指在交互区域内当前播放的关注视频流在视频内的录制时间节点,与当前在主体区域内的视频的播放时间节点相同,第二用户设备从存储设备获取的关注视频流是由第一用户设备在播放视频的过程中,根据检测到的第一用户在第一用户设备的显示区域上的关注区域,录制的在关注区域内播放的视频。Specifically, taking the playback device as the second user equipment as an example for illustration, the second user equipment will match the video ID corresponding to the video according to the video selected by the second user to be played, and obtain its corresponding video ID according to the video ID. The video type, and then the second user equipment acquires multiple video streams corresponding to the video ID, and displays the multiple video streams in the display area of the second user equipment. The second user equipment plays the video captured by the main capture device in the main area, and plays the video captured by the close-up capture device in the close-up area. After the second user device detects the first trigger signal of the second user, it can switch the video captured by the close-up acquisition device currently played in the close-up area to play in the main area, and play the video in the main area. Synchronously play the video stream of interest obtained by the second user equipment from the storage device in the area. Synchronous playback refers to the recording time node in the video of the video stream of interest currently played in the interactive area, and the playback time of the video currently in the main area The nodes are the same, the video stream of interest obtained by the second user equipment from the storage device is recorded by the first user equipment during the video playback process, according to the detected focus area of the first user on the display area of the first user equipment Video played within the area of interest.

第二用户设备在播放视频时,实时检测第二用户是否发出第二触发信号,第二触发信号可以为第二用户的手势从右上角向左下角滑动或从左下角向右上角滑动,也可以为第二用户的眼睛焦点由右上角向左下角移动或由左下角向右上角移动,第二用户设备在检测到第二触发信号后,若当前主体区域播放的视频是采集设备采集到的多路视频流,则直接交换在主体区域内和在交互区域内当前播放的视频;若当前主体区域播放的视频是关注视频流,则将在交互区域内当前播放的视频切换在主体区域内播放,并根据当前主体区域内播放的视频,重新获取关注视频,并在交互区域内播放新获取的关注视频。When the second user equipment is playing the video, it detects in real time whether the second user sends out a second trigger signal. The second trigger signal can be the gesture of the second user sliding from the upper right corner to the lower left corner or sliding from the lower left corner to the upper right corner, or The eye focus of the second user moves from the upper right corner to the lower left corner or from the lower left corner to the upper right corner. After the second user equipment detects the second trigger signal, if the video played in the current subject area If there is no video stream, then directly exchange the video currently playing in the main area and in the interactive area; if the video currently playing in the main area is the video stream of interest, switch the video currently playing in the interactive area to play in the main area, And according to the video played in the current main area, reacquire the attention video, and play the newly obtained attention video in the interaction area.

在本实施例中,第二用户设备先获取待播放的视频,再在主体区域播放获取到的视频的同时,在交互区域内同步播放第二用户设备从存储设备中获取到的关注视频流,关注视频流是由第一用户设备在播放该视频的过程中,根据检测到的第一用户在第一用户设备的显示区域上的关注区域,录制的在关注区域内播放的视频,关注视频流即为第一用户分享的第一用户感兴趣的具体内容,即,用户可以通过其用户设备在观看视频时,观看到其他用户对该视频感兴趣的具体内容,提升了用户体验。In this embodiment, the second user equipment first acquires the video to be played, and then plays the acquired video in the main area while synchronously playing the concerned video stream acquired by the second user equipment from the storage device in the interactive area, The video stream of interest is a video recorded and played in the area of interest according to the detected area of interest of the first user on the display area of the first user equipment during the playback of the video by the first user equipment. That is, the specific content that the first user is interested in shared by the first user, that is, the user can watch the specific content that other users are interested in in the video through his user equipment when watching the video, which improves the user experience.

本发明的第三实施方式涉及一种视频分享方法。第三实施方式与第二实施方式大致相同,主要细化之处在于:待播放的视频为直播视频。The third embodiment of the present invention relates to a video sharing method. The third embodiment is roughly the same as the second embodiment, except that the video to be played is a live video.

本实施例的视频分享方法的具体流程如图6所示。The specific flow of the video sharing method in this embodiment is shown in FIG. 6 .

步骤301,获取待播放的直播视频。Step 301, acquire the live video to be played.

步骤302,在主体区域内播放实时获取的直播视频,并在交互区域内轮流播放实时从存储设备中获取的满足预设条件的多个关注视频流。Step 302: Play the live video obtained in real time in the main body area, and play multiple video streams of interest obtained from the storage device in real time and satisfying preset conditions in turn in the interaction area.

具体地,当待播放的视频为直播视频时,播放设备为第二用户设备,第二用户设备从存储设备中实时获取关注视频流,第二用户设备在主体区域内播放实时获取的直播视频的同时,在交互区域内同步播放实时从存储设备中获取的关注视频流,获取的关注视频流的个数可以为一个,也可以为多个,若获取到了多个关注视频流,第二用户设备则可以在交互区域内轮流播放从存储设备中获取的多个关注视频流。Specifically, when the video to be played is a live video, the playback device is the second user equipment, and the second user equipment acquires the video stream of interest from the storage device in real time, and the second user equipment plays the video stream of the live video acquired in real time in the main area. At the same time, in the interactive area, the attention video streams obtained from the storage device are played synchronously in real time. The number of attention video streams obtained may be one or multiple. If multiple attention video streams are obtained, the second user device Then, multiple video streams of interest obtained from the storage device may be played in turn in the interactive area.

第二用户设备可以在交互区域内轮流播放从存储设备中获取的满足预设条件的多个关注视频流,其中,预设条件可以包括关注视频流对应的第一用户与第二用户的相似度大于预设门限,和/或关注视频流对应的第一用户的关注区域与第二用户的关注区域的重合度大于预设阈值。具体地,第二用户设备可以计算第一用户与第二用户的用户信息的相似度,比如年龄越近相似度越高、职业越近相似度越高以及所在地域越近相似度越高等,并根据计算得到的相似度对获取多个关注视频流,或者获取第二用户的好友产生的关注视频流。The second user equipment may play in turn in the interaction area multiple video streams of interest that meet preset conditions acquired from the storage device, where the preset conditions may include the similarity between the first user and the second user corresponding to the video streams of interest is greater than a preset threshold, and/or the overlapping degree of the attention area of the first user corresponding to the attention video stream and the attention area of the second user is greater than a preset threshold. Specifically, the second user device may calculate the similarity between the user information of the first user and the second user, for example, the closer the age, the higher the similarity, the closer the occupation, the higher the similarity, and the closer the location, the higher the similarity, etc., and According to the calculated similarity pair, acquire a plurality of focused video streams, or acquire focused video streams generated by friends of the second user.

在本实施例中,若待播放的视频为直播视频,则第二用户设备会实时从存储设备中获取关注视频流,并将实时获取到的满足预设条件的关注视频流与主体区域播放的直播视频同步播放,使得用户在观看直播视频的过程中,可以观看到其他用户观看该直播视频时关注的具体内容,提升了用户体验。In this embodiment, if the video to be played is a live video, the second user equipment will obtain the video stream of interest from the storage device in real time, and combine the video stream of interest acquired in real time and satisfying the preset conditions with the video stream played in the main area. The live video is played synchronously, so that the user can watch the specific content that other users pay attention to when watching the live video, which improves the user experience.

本发明的第四实施方式涉及一种视频分享方法。第四实施方式与第三实施方式大致相同,主要区别之处在于:待播放的视频为录播视频。The fourth embodiment of the present invention relates to a video sharing method. The fourth embodiment is substantially the same as the third embodiment, except that the video to be played is a recorded video.

本实施例的视频分享方法的具体流程如图7所示。The specific flow of the video sharing method in this embodiment is shown in FIG. 7 .

步骤401,获取待播放的录播视频。Step 401, acquire the recorded video to be played.

步骤402,获取第二用户设备当前在主体区域内播放的视频的播放时间节点。Step 402, acquiring the playing time node of the video currently played by the second user equipment in the main body area.

步骤403,从获取到的多个关注视频流中,筛选出包含有播放时间节点的多个关注视频流作为候选关注视频流。Step 403 , from the obtained multiple focused video streams, select multiple focused video streams including playback time nodes as candidate focused video streams.

步骤404,获取多个候选关注视频流共同包含的最小播放时间节点。Step 404, obtaining the minimum playing time node jointly included in multiple candidate video streams of interest.

步骤405,当主体区域内播放的视频的播放时间节点到达最小播放时间节点,在交互区域内轮流播放多个候选关注视频流。Step 405, when the playing time node of the video played in the main area reaches the minimum playing time node, multiple candidate video streams of interest are played in turn in the interactive area.

具体地,当待播放的视频为录播视频,且播放设备为第二用户设备时,不同的第一用户可能在该录播视频的不同播放时间节点形成过关注视频流,第二用户设备无法保证直接从存储设备中获取到的多个关注视频流是从同一时间节点开始录制的,由于第二用户设备在获取到多个关注视频流,会在后台程序同时播放多个关注视频流,需要说明的是,这里的播放指的并不是将多个关注视频流均显示在显示区域上,而是指多个关注视频流的播放时间节点同步前移。若直接将多个从不同时间节点开始录制的关注视频流插入在交互区域内进行轮流播放,则会导致多个关注视频流在轮流播放时的画面不连贯,举例来说,候选关注视频流1是从录播视频的第50秒开始录制的,候选关注视频流2是从录播视频的第55秒开始录制的,候选关注视频流3是从录播视频的第60秒开始录制的,若第二用户设备先播放候选关注视频流1,在2秒后需要切换播放候选关注视频流2,这时候选关注视频流2的播放时间节点也经过了2秒,于是候选关注视频流2开始从第57秒播放,切换前的画面是录播视频的第52秒的画面,而切换后的画面是录播视频的第57秒的画面,故会导致交互区域播放的画面不连贯。Specifically, when the video to be played is a recorded video, and the playback device is the second user equipment, different first users may have formed concerned video streams at different playback time nodes of the recorded video, and the second user equipment cannot Ensure that multiple video streams of interest obtained directly from the storage device are recorded from the same time node. Since the second user device obtains multiple video streams of interest, it will play multiple video streams of interest in the background program at the same time. It should be noted that playing here does not refer to displaying multiple video streams of interest on the display area, but means that the playing time nodes of the multiple video streams of interest move forward synchronously. If multiple video streams of interest recorded from different time nodes are directly inserted into the interactive area for alternate playback, the images of multiple video streams of interest will be incoherent when they are played in turn. For example, the candidate video stream of interest 1 is recorded from the 50th second of the recorded video, candidate video stream 2 is recorded from the 55th second of the recorded video, candidate video stream 3 is recorded from the 60th second of the recorded video, if The second user equipment first plays the candidate attention video stream 1, and needs to switch to play the candidate attention video stream 2 after 2 seconds. At this time, the playback time node of the selected attention video stream 2 has also passed 2 seconds, so the candidate attention video stream 2 starts from Playing at the 57th second, the screen before switching is the screen at the 52nd second of the recorded video, and the screen after switching is the screen at the 57th second of the recorded video, so the screen played in the interactive area will be incoherent.

为了解决这一问题,第二用户设备可以获取第二用户设备当前在主体区域内播放的视频的播放时间节点,并在获取到的多个关注视频流中,筛选出包含有该播放时间节点的多个关注视频流作为候选关注视频流,再获取筛选得到的多个候选关注视频流共同包含的最小播放时间节点,举例来说,候选关注视频流1是从录播视频的第50秒开始录制的,候选关注视频流2是从录播视频的第55秒开始录制的,候选关注视频流3是从录播视频的第60秒开始录制的,则候选关注视频流1至3共同包含的最小播放时间节点即为第60秒。当主体区域内播放的视频的播放时间节点到达最小播放时间节点后,第二用户设备在交互区域内轮流播放多个候选关注视频流,这时第二用户设备控制多个候选关注视频流均从最小播放时间节点开始播放,以保证第二用户设备在交互区域内播放的画面的连贯性,在一定程度上提升了用户体验。In order to solve this problem, the second user equipment can obtain the playing time node of the video currently played by the second user equipment in the main area, and filter out the video streams that contain the playing time node among the obtained multiple video streams of interest. Multiple attention video streams are used as candidate attention video streams, and then the minimum playback time node included in the screened multiple candidate attention video streams is obtained. For example, candidate attention video stream 1 is recorded from the 50th second of the recorded video If the candidate attention video stream 2 is recorded from the 55th second of the recording video, and the candidate attention video stream 3 is recorded from the 60th second of the recording video, then the candidate attention video streams 1 to 3 contain the minimum The playback time node is the 60th second. When the playing time node of the video played in the main area reaches the minimum playing time node, the second user equipment plays multiple candidate attention video streams in turn in the interaction area, and at this time the second user equipment controls the multiple candidate attention video streams from Playing starts at the minimum playing time node to ensure the continuity of the picture played by the second user equipment in the interaction area, which improves user experience to a certain extent.

在一个例子中,若候选关注视频流的个数大于预设数目,第二用户设备则根据预设条件对多个候选关注视频流进行再次筛选,得到预设数目的候选关注视频流,预设条件可以为:候选关注视频流对应的第一用户与第二用户的相似度大于预设门限,和/或候选关注视频流对应的第一用户的关注区域与第二用户的关注区域的重合度大于预设阈值。当主体区域内播放的视频的播放时间节点到达最小播放时间节点,第二用户设备在交互区域内轮流播放预设数目的候选关注视频流。In an example, if the number of candidate video streams of interest is greater than the preset number, the second user equipment re-screens multiple candidate video streams of interest according to preset conditions to obtain a preset number of candidate video streams of interest, preset The condition may be: the similarity between the first user corresponding to the candidate video stream of interest and the second user is greater than a preset threshold, and/or the degree of overlap between the area of interest of the first user corresponding to the candidate video stream of interest and the area of interest of the second user greater than the preset threshold. When the playing time node of the video played in the main area reaches the minimum playing time node, the second user equipment plays a preset number of candidate focused video streams in turn in the interactive area.

对于录播视频,第二用户设备可以在第二用户播放视频前就获取每个时间节点对应的关注视频流,也可以在播放视频的过程中实时根据当前主体区域内的播放内容,选择更符合第二用户偏好的关注视频流,可以进一步地提升用户体验。For recorded and broadcast videos, the second user equipment can obtain the concerned video stream corresponding to each time node before the second user plays the video, or can select a more suitable The second user preference focuses on video streams, which can further improve user experience.

在本实施例中,第二用户设备会对获取到的多个关注视频流进行筛选,使其满足预设条件和预设数目,并且,第二用户设备筛选出包含有当前在主体区域内播放的视频的播放时间节点的关注视频流作为候选关注视频流,并在主体区域内播放的视频的播放时间节点到达多个关注视频共同包含的最小播放时间节点后,控制多个候选关注视频流在交互区域内轮流播放,并于主体区域内播放的视频同步播放,以保证第二用户设备在交互区域内播放的画面的连贯性,在一定程度上提升了用户体验。In this embodiment, the second user equipment screens the acquired video streams of interest so that they meet the preset conditions and the preset number, and the second user equipment screens out the video streams currently playing in the main area. The attention video stream of the playback time node of the video is used as the candidate attention video stream, and after the playback time node of the video played in the main area reaches the minimum playback time node contained in multiple attention videos, control multiple candidate attention video streams in the The interactive area is played in turn, and the video played in the main area is played synchronously to ensure the continuity of the images played by the second user equipment in the interactive area, which improves the user experience to a certain extent.

本发明第五实施方式涉及一种用户设备,如图8所示,包括:至少一个处理器501;以及,与至少一个处理器501通信连接的存储器502;其中,存储器502存储有可被至少一个处理器501执行的指令,指令被至少一个处理器501执行,以使至少一个处理器能够执行上述实施方式的视频分享方法。The fifth embodiment of the present invention relates to a user equipment, as shown in FIG. 8 , including: at least one processor 501; and a memory 502 communicatively connected to at least one processor 501; Instructions executed by the processor 501, the instructions are executed by at least one processor 501, so that at least one processor can execute the video sharing method of the above-mentioned embodiment.

其中,存储器和处理器采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器和存储器的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器。Wherein, the memory and the processor are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together. The bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the transceivers. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna, further, the antenna also receives the data and transmits the data to the processor.

处理器负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器可以被用于存储处理器在执行操作时所使用的数据。The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, memory can be used to store data that the processor uses when performing operations.

本发明第六实施方式涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。The sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.

即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, the program is stored in a storage medium, and includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.

本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present invention. scope.

Claims (8)

1.一种视频分享方法,其特征在于,包括:1. A video sharing method, characterized in that, comprising: 在播放视频的过程中,实时检测第一用户在第一用户设备的显示区域上是否存在关注区域;In the process of playing the video, it is detected in real time whether the first user has an attention area on the display area of the first user equipment; 若检测到所述关注区域,则实时录制在所述关注区域内播放的视频,以形成关注视频流;If the area of interest is detected, record the video played in the area of interest in real time to form a video stream of interest; 其中,所述关注视频流用于在播放所述视频时,在交互区域内进行播放,所述交互区域位于播放设备的显示区域内,所述播放设备包括所述第一用户设备和/或第二用户的第二用户设备;Wherein, the concerned video stream is used to play in an interactive area when playing the video, and the interactive area is located in a display area of a playback device, and the playback device includes the first user equipment and/or the second user equipment. the user's second user equipment; 当所述播放设备包括所述第二用户设备;When the playback device includes the second user equipment; 所述实时录制在所述关注区域内播放的视频之后,还包括:After the real-time recording of the video played in the area of interest, it also includes: 实时上传所述关注视频流至存储设备,以供所述第二用户设备在播放所述视频时显示通过所述存储设备获取的所述关注视频流,其中,所述存储设备中存储有多个所述关注视频流;Uploading the video stream of interest to a storage device in real time, so that the second user equipment can display the video stream of interest obtained through the storage device when playing the video, wherein the storage device stores a plurality of The video stream of interest; 获取所述第二用户设备当前在主体区域内播放的视频的播放时间节点;Obtain the playing time node of the video currently played by the second user equipment in the main area; 从所述存储设备中存储的多个所述关注视频流中,筛选出包含有所述播放时间节点的多个所述关注视频流作为候选关注视频流;From the plurality of video streams of interest stored in the storage device, selecting a plurality of video streams of interest including the playback time node as candidate video streams of interest; 获取多个所述候选关注视频流共同包含的最小播放时间节点;Obtaining the minimum playing time node contained in multiple candidate video streams of interest; 当所述主体区域内播放的视频的播放时间节点到达所述最小播放时间节点,在所述交互区域内轮流播放多个所述候选关注视频流。When the playing time node of the video played in the main body area reaches the minimum playing time node, multiple video streams of interest are played in turn in the interaction area. 2.根据权利要求1所述的视频分享方法,其特征在于,还包括:2. The video sharing method according to claim 1, further comprising: 在播放视频的过程中,实时识别所述第一用户的眼睛焦点,并根据所述眼睛焦点确定在所述第一用户设备的显示区域上的候选关注区域;During the process of playing the video, identify the eye focus of the first user in real time, and determine a candidate focus area on the display area of the first user device according to the eye focus; 所述实时检测第一用户在第一用户设备的显示区域上是否存在关注区域,包括:The real-time detection of whether the first user has an attention area on the display area of the first user equipment includes: 获取当前确定的候选关注区域与预设时长之前确定的候选关注区域的重合度;Obtain the degree of overlap between the currently determined candidate ROI and the candidate ROI determined before a preset duration; 若所述重合度大于第一预设阈值,且所述第一用户的当前瞳孔大小大于第二预设阈值,则将所述预设时长之前确定的候选关注区域,作为检测到的所述关注区域。If the coincidence degree is greater than a first preset threshold and the current pupil size of the first user is greater than a second preset threshold, the candidate focus area determined before the preset time length is used as the detected focus area. 3.根据权利要求2所述的视频分享方法,其特征在于,还包括:3. The video sharing method according to claim 2, further comprising: 在所述实时录制在所述关注区域内播放的视频的过程中,若检测到所述关注区域发生变化,则停止录制在所述关注区域内播放的视频;During the real-time recording of the video played in the area of interest, if it is detected that the area of interest changes, stop recording the video played in the area of interest; 其中,若当前确定的候选关注区域与所述预设时长之前确定的候选关注区域的重合度小于或等于所述第一预设阈值,则判定所述关注区域发生变化。Wherein, if the degree of overlap between the currently determined candidate attention area and the candidate attention area determined before the preset time length is less than or equal to the first preset threshold, it is determined that the attention area has changed. 4.一种视频分享方法,其特征在于,包括:4. A video sharing method, characterized in that, comprising: 获取待播放的视频;Get the video to be played; 在主体区域内播放获取的所述视频,在交互区域内同步播放获取的关注视频流,所述主体区域和所述交互区域包含在播放设备的显示区域内,所述播放设备包括第一用户的第一用户设备和/或第二用户的第二用户设备;The obtained video is played in the main body area, and the acquired attention video stream is played synchronously in the interactive area, the main body area and the interactive area are included in the display area of the playback device, and the playback device includes the first user's the first user equipment and/or the second user equipment of the second user; 其中,所述关注视频流是由所述第一用户设备在播放所述视频的过程中,根据检测到的所述第一用户在所述第一用户设备的显示区域上的关注区域,录制的在所述关注区域内播放的视频;在所述交互区域内当前播放的所述关注视频流在所述视频内的录制时间节点,与当前在所述主体区域内的所述视频的播放时间节点相同;Wherein, the video stream of interest is recorded by the first user equipment according to the detected attention area of the first user on the display area of the first user equipment during the process of playing the video The video played in the attention area; the recording time node in the video of the attention video stream currently played in the interaction area, and the playback time node of the video currently in the main body area same; 当所述播放设备包括所述第二用户设备,所述待播放的视频为录播视频;When the playback device includes the second user equipment, the video to be played is a recorded video; 所述在交互区域内同步播放获取的关注视频流,包括:The synchronously playing the acquired attention video stream in the interactive area includes: 在所述交互区域内同步播放从存储设备中获取的所述关注视频流,其中,所述存储设备中存储有多个所述关注视频流;synchronously playing the video stream of interest acquired from a storage device in the interaction area, wherein a plurality of video streams of interest are stored in the storage device; 所述在所述交互区域内同步播放从存储设备中获取的所述关注视频流之前,还包括:Before the synchronously playing the video stream of interest obtained from the storage device in the interactive area, it also includes: 获取所述第二用户设备当前在所述主体区域内播放的视频的播放时间节点;Acquiring the playing time node of the video currently played by the second user equipment in the main area; 从所述存储设备中存储的多个所述关注视频流中,筛选出包含有所述播放时间节点的多个所述关注视频流作为候选关注视频流;From the plurality of video streams of interest stored in the storage device, selecting a plurality of video streams of interest including the playback time node as candidate video streams of interest; 获取多个所述候选关注视频流共同包含的最小播放时间节点;Obtaining the minimum playing time node contained in multiple candidate video streams of interest; 所述在所述交互区域内同步播放从存储设备中获取的所述关注视频流,包括:The synchronously playing the video stream of interest obtained from the storage device in the interactive area includes: 当所述主体区域内播放的视频的播放时间节点到达所述最小播放时间节点,在所述交互区域内轮流播放多个所述候选关注视频流。When the playing time node of the video played in the main body area reaches the minimum playing time node, multiple video streams of interest are played in turn in the interaction area. 5.根据权利要求4所述的视频分享方法,其特征在于,当所述播放设备包括所述第二用户设备,所述待播放的视频为直播视频;5. The video sharing method according to claim 4, wherein when the playback device includes the second user equipment, the video to be played is a live video; 所述在主体区域内播放获取的所述视频,在交互区域内同步播放获取的关注视频流,包括:Said playing the obtained video in the main body area, and synchronously playing the acquired attention video stream in the interaction area, including: 在所述主体区域内播放实时获取的直播视频,在所述交互区域内轮流播放实时从存储设备中获取的满足预设条件的多个所述关注视频流;Play the live video acquired in real time in the main body area, and play in turn in the interaction area a plurality of video streams of interest obtained from the storage device in real time and satisfying preset conditions; 其中,所述预设条件包括以下之一或其任意组合:Wherein, the preset conditions include one or any combination of the following: 所述关注视频流对应的第一用户与所述第二用户的相似度大于预设门限,和/或所述关注视频流对应的第一用户的关注区域与所述第二用户的关注区域的重合度大于预设阈值。The similarity between the first user corresponding to the video stream of interest and the second user is greater than a preset threshold, and/or the area of interest of the first user corresponding to the video stream of interest is similar to the area of interest of the second user The coincidence degree is greater than the preset threshold. 6.根据权利要求5所述的视频分享方法,其特征在于,所述在所述交互区域内轮流播放多个所述候选关注视频流之前,还包括:6. The video sharing method according to claim 5, wherein before playing a plurality of the candidate attention video streams in turn in the interactive area, further comprising: 若所述候选关注视频流的个数大于预设数目,则根据预设条件对多个所述候选关注视频流进行再次筛选,得到所述预设数目的候选关注视频流;If the number of the candidate video streams of interest is greater than the preset number, then according to preset conditions, a plurality of the candidate video streams of interest are re-screened to obtain the preset number of candidate video streams of interest; 所述在所述交互区域内轮流播放多个所述候选关注视频流,包括:Said playing multiple video streams of interest in turn in said interaction area includes: 当所述主体区域内播放的视频的播放时间节点到达所述最小播放时间节点,在所述交互区域内轮流播放所述预设数目的候选关注视频流;When the playing time node of the video played in the main body area reaches the minimum playing time node, playing the preset number of candidate attention video streams in turn in the interactive area; 其中,所述预设条件包括以下之一或其任意组合:Wherein, the preset conditions include one or any combination of the following: 所述候选关注视频流对应的第一用户与所述第二用户的相似度大于预设门限和/或所述候选关注视频流对应的第一用户的关注区域与所述第二用户的关注区域的重合度大于预设阈值。The similarity between the first user corresponding to the candidate video stream of interest and the second user is greater than a preset threshold and/or the area of interest of the first user corresponding to the candidate video stream of interest is the area of interest of the second user The coincidence degree is greater than the preset threshold. 7.一种用户设备,其特征在于,包括:7. A user equipment, characterized in that, comprising: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至3中任一所述的视频分享方法,或者,执行如权利要求4至6中任一所述的视频分享方法。The memory is stored with instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform any one of claims 1 to 3 video sharing method, or, execute the video sharing method as described in any one of claims 4 to 6. 8.一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至3中任一项所述的视频分享方法,或者,实现权利要求4至6中任一项所述的视频分享方法。8. A computer-readable storage medium, storing a computer program, characterized in that, when the computer program is executed by a processor, the video sharing method according to any one of claims 1 to 3 is realized, or the method of claim 1 is realized The video sharing method described in any one of 4 to 6.
CN202110194174.6A 2021-02-20 2021-02-20 Video sharing method, user equipment and computer storage medium Active CN113014982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110194174.6A CN113014982B (en) 2021-02-20 2021-02-20 Video sharing method, user equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110194174.6A CN113014982B (en) 2021-02-20 2021-02-20 Video sharing method, user equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN113014982A CN113014982A (en) 2021-06-22
CN113014982B true CN113014982B (en) 2023-06-30

Family

ID=76404736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110194174.6A Active CN113014982B (en) 2021-02-20 2021-02-20 Video sharing method, user equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113014982B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949807A (en) * 2020-08-18 2020-11-17 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050042399A (en) * 2003-11-03 2005-05-09 삼성전자주식회사 Apparatus and method for processing video data using gaze detection
US20100128118A1 (en) * 2008-11-26 2010-05-27 Locarna Systems, Inc. Identification of visual fixations in a video stream
JP5474062B2 (en) * 2009-06-12 2014-04-16 パナソニック株式会社 Content reproduction apparatus, content reproduction method, program, and integrated circuit
EP2621171A1 (en) * 2012-01-27 2013-07-31 Alcatel Lucent System and method for sharing videos
JP6111932B2 (en) * 2013-08-26 2017-04-12 ソニー株式会社 Action support device, action support method, program, and storage medium
JP2016162234A (en) * 2015-03-02 2016-09-05 キヤノン株式会社 Attention area detection device, attention area detection method and program
CN105979382A (en) * 2016-06-01 2016-09-28 乐视控股(北京)有限公司 Method and device for sharing video through capturing image
WO2018147084A1 (en) * 2017-02-07 2018-08-16 コニカミノルタ株式会社 Line-of-sight information sharing method and line-of-sight information sharing system
CN108200458A (en) * 2018-02-02 2018-06-22 优酷网络技术(北京)有限公司 Video interaction method, subscription client, server and storage medium
CN108595133B (en) * 2018-03-15 2021-12-24 北京雷石天地电子技术有限公司 Picture-in-picture display method and system
CN110545430A (en) * 2018-05-28 2019-12-06 北京松果电子有限公司 video transmission method and device
EP3894995A2 (en) * 2018-12-14 2021-10-20 Apple Inc. Gaze-driven recording of video

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949807A (en) * 2020-08-18 2020-11-17 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨箭 ; .基于用户行为与内容综合分析评估的视频推荐方法研究.电子技术与软件工程.2016,(13),全文. *

Also Published As

Publication number Publication date
CN113014982A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
US10832057B2 (en) Methods, systems, and user interface navigation of video content based spatiotemporal pattern recognition
US11861905B2 (en) Methods and systems of spatiotemporal pattern recognition for video content development
US11778244B2 (en) Determining tactical relevance and similarity of video sequences
US11810321B2 (en) Methods and systems for multiplayer tagging using artificial intelligence
US11275949B2 (en) Methods, systems, and user interface navigation of video content based spatiotemporal pattern recognition
US12143683B2 (en) Optimizing timing of display of a video overlay
US20170125064A1 (en) Method and Apparatus for Automatic Video Production
EP3384495B1 (en) Processing of multiple media streams
US11343595B2 (en) User interface elements for content selection in media narrative presentation
US20180132006A1 (en) Highlight-based movie navigation, editing and sharing
US20190110002A1 (en) Method for Using Deep Learning for Facilitating Real-Time View Switching and Video Editing on Computing Devices
CN111279709A (en) Providing video recommendations
US20110096994A1 (en) Similar image retrieval system and similar image retrieval method
CN110324679B (en) Video data processing method and device
KR20200112802A (en) Video distribution device, video distribution system, video distribution method and video distribution program
US20200051594A1 (en) Generating method and playing method of multimedia file, multimedia file generation apparatus and multimedia file playback apparatus
US20240031619A1 (en) Determining tactical relevance and similarity of video sequences
JP6203188B2 (en) Similar image search device
CN113014982B (en) Video sharing method, user equipment and computer storage medium
Truong et al. Extracting regular fov shots from 360 event footage
CN113473244A (en) Free viewpoint video playing control method and device
JP2012242878A (en) Similar image search system
KR101714998B1 (en) Video combined playback device with video in e-commerce
US20040027365A1 (en) Controlling playback of a temporal stream with a user interface device
US20240104832A1 (en) Image processing system, image processing method, and storage media

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant