Movatterモバイル変換


[0]ホーム

URL:


CN113507632B - Video processing method, device, terminal and storage medium - Google Patents

Video processing method, device, terminal and storage medium
Download PDF

Info

Publication number
CN113507632B
CN113507632BCN202110924628.0ACN202110924628ACN113507632BCN 113507632 BCN113507632 BCN 113507632BCN 202110924628 ACN202110924628 ACN 202110924628ACN 113507632 BCN113507632 BCN 113507632B
Authority
CN
China
Prior art keywords
video
page
data
floating window
management module
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
CN202110924628.0A
Other languages
Chinese (zh)
Other versions
CN113507632A (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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Beijing Zitiao Network Technology Co LtdfiledCriticalBeijing Zitiao Network Technology Co Ltd
Priority to CN202110924628.0ApriorityCriticalpatent/CN113507632B/en
Publication of CN113507632ApublicationCriticalpatent/CN113507632A/en
Application grantedgrantedCritical
Publication of CN113507632BpublicationCriticalpatent/CN113507632B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开提供一种视频的处理方法、装置、终端和存储介质。本公开采用以下的技术方案。在一些实施例中,本公开提供一种视频的处理方法,包括:响应于在视频页显示第一视频,获取所述第一视频的关联信息;根据所述第一视频的关联信息确定所述第一视频的关联标识;在所述视频页显示所述关联标识,所述关联标识对应有关联页面;响应于对所述关联标识的触发操作,打开所述关联标识的关联页面,在所述关联页面显示浮窗,并通过所述浮窗继续播放播放所述第一视频。

Figure 202110924628

The present disclosure provides a video processing method, device, terminal and storage medium. The present disclosure adopts the following technical solutions. In some embodiments, the present disclosure provides a video processing method, including: in response to displaying the first video on a video page, acquiring associated information of the first video; determining the associated information of the first video according to the associated information of the first video The associated identification of the first video; the associated identification is displayed on the video page, and the associated identification corresponds to an associated page; in response to a trigger operation on the associated identification, the associated page of the associated identification is opened, and the associated page is opened in the described The associated page displays a floating window, and continues to play the first video through the floating window.

Figure 202110924628

Description

Translated fromChinese
视频的处理方法、装置、终端和存储介质Video processing method, device, terminal and storage medium

技术领域technical field

本公开涉及计算机技术领域,尤其涉及一种视频的处理方法、装置、终端和存储介质。The present disclosure relates to the field of computer technologies, and in particular to a video processing method, device, terminal and storage medium.

背景技术Background technique

在手机或计算机等智能终端中,可以安装视频软件进行视频的播放,例如可以播放小视频等,在视频的播放页中通常会显示有视频的相关介绍,以方便用户更好的了解视频信息。In smart terminals such as mobile phones or computers, video software can be installed to play videos, for example, small videos can be played, and video related introductions are usually displayed on the video playback page to facilitate users to better understand video information.

发明内容Contents of the invention

本公开提供一种视频的处理方法、装置、终端和存储介质。The present disclosure provides a video processing method, device, terminal and storage medium.

本公开采用以下的技术方案。The present disclosure adopts the following technical solutions.

在一些实施例中,本公开提供一种视频的处理方法,包括:In some embodiments, the present disclosure provides a video processing method, including:

响应于在视频页显示第一视频,获取所述第一视频的关联信息;In response to displaying the first video on the video page, acquiring associated information of the first video;

根据所述第一视频的关联信息确定所述第一视频的关联标识;determining the association identifier of the first video according to the association information of the first video;

在所述视频页显示所述关联标识,所述关联标识对应有关联页面;displaying the associated identifier on the video page, the associated identifier corresponding to an associated page;

响应于对所述关联标识的触发操作,打开所述关联标识的关联页面,在所述关联页面显示浮窗,并通过所述浮窗继续播放播放所述第一视频。In response to a trigger operation on the association identifier, an associated page of the association identifier is opened, a floating window is displayed on the associated page, and the first video is continued to be played through the floating window.

在一些实施例中,本公开提供一种视频的处理装置,包括:In some embodiments, the present disclosure provides a video processing device, including:

获取单元,用于响应于在视频页显示第一视频,获取所述第一视频的关联信息;An acquiring unit, configured to acquire associated information of the first video in response to displaying the first video on the video page;

确定单元,用于根据所述第一视频的关联信息确定所述第一视频的关联标识;A determining unit, configured to determine an associated identifier of the first video according to associated information of the first video;

显示单元,用于在所述视频页显示所述关联标识,所述关联标识对应有关联页面;A display unit, configured to display the association identifier on the video page, and the association identifier corresponds to an associated page;

所述显示单元还用于响应于对所述关联标识的触发操作,打开所述关联标识的关联页面,在所述关联页面显示浮窗,并通过所述浮窗继续播放播放所述第一视频。The display unit is further configured to open an associated page of the associated identifier in response to a trigger operation on the associated identifier, display a floating window on the associated page, and continue playing the first video through the floating window. .

在一些实施例中,本公开提供一种终端,包括:至少一个存储器和至少一个处理器;In some embodiments, the present disclosure provides a terminal, including: at least one memory and at least one processor;

其中,存储器用于存储程序代码,处理器用于调用所述存储器所存储的程序代码执行上述的方法。Wherein, the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.

在一些实施例中,本公开提供一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行上述的方法。In some embodiments, the present disclosure provides a storage medium, the storage medium is used for storing program code, and the program code is used for executing the above-mentioned method.

本公开实施例提供的视频的处理方法,能够方便用户快速获取视频相关的关联页面的内容,并且能够方便用户根据视频对照关联页面的内容,降低用户获取信息的成本。The video processing method provided by the embodiments of the present disclosure can facilitate the user to quickly obtain the content of the associated page related to the video, and can facilitate the user to compare the content of the associated page according to the video, thereby reducing the cost for the user to obtain information.

附图说明Description of drawings

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,元件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and elements and elements have not necessarily been drawn to scale.

图1是本公开实施例的视频的处理方法的流程图。FIG. 1 is a flowchart of a video processing method in an embodiment of the present disclosure.

图2是本公开实施例的视频页和关联页面的示意图。FIG. 2 is a schematic diagram of a video page and associated pages according to an embodiment of the disclosure.

图3是本公开实施例的一种确定关联标识的示意图。Fig. 3 is a schematic diagram of determining an association identifier according to an embodiment of the present disclosure.

图4是本公开实施例的一种播放第二视频的流程示意图。Fig. 4 is a schematic flow diagram of playing a second video according to an embodiment of the present disclosure.

图5是本公开实施例的逻辑分层示意图。FIG. 5 is a schematic diagram of logical layers of an embodiment of the present disclosure.

图6是本公开实施例的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that various steps described in the method implementation manners of the present disclosure may be executed in sequence and/or in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.

需要注意,本公开中提及的“一个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modification of "a" mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless the context clearly indicates otherwise.

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.

以下将结合附图,对本公开实施例提供的方案进行详细描述。The solutions provided by the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

视频播放软件在播放视频时,通常会显示视频的介绍信息,但这些介绍信息仅仅是介绍视频的标题、内容、视频主等内容,缺少与视频内容更相关和更重要的关键信息的展示,并且在展示关键信息时用户也希望能够结合视频以更好的了解关键信息。When the video player software plays a video, it usually displays the introduction information of the video, but the introduction information only introduces the title, content, and main content of the video, and lacks the display of key information that is more relevant and important to the video content, and When displaying key information, users also hope to be able to combine videos to better understand key information.

如图1所示,图1是本公开实施例的视频的处理方法的流程图,包括如下步骤。As shown in FIG. 1 , FIG. 1 is a flowchart of a video processing method according to an embodiment of the present disclosure, including the following steps.

S11:响应于在视频页显示第一视频,获取第一视频的关联信息。S11: Obtain associated information of the first video in response to displaying the first video on the video page.

一些实施例中,视频页例如可以是视频软件中播放视频的页面,也可以是非视频软件中播放的视频,例如可以是短视频软件中短视频的播放页面,也可以是新闻软件中播放视频的页面,第一视频可以是视频页中处于播放状态或者暂停状态的视频,视频页中可以内嵌有播放器,在播放器中显示第一视频,一个视频页可以是播放一个第一视频,也可以是播放多个第一视频。第一视频具有关联的信息,关联的信息例如可以是已经授权过的信息,包括但不限于第一视频的标题、第一视频的简介、第一视频的内容信息中的一个或多个,关联信息可以表征了第一视频的内容。In some embodiments, the video page can be, for example, a page that plays a video in video software, or a video that is played in non-video software, for example, it can be a play page of a short video in short video software, or it can be a page that plays a video in news software page, the first video can be a video in the playing state or paused state in the video page, a player can be embedded in the video page, and the first video can be displayed in the player, a video page can play a first video, or Multiple first videos may be played. The first video has associated information. The associated information can be, for example, authorized information, including but not limited to one or more of the title of the first video, the introduction of the first video, and the content information of the first video. The information may characterize the content of the first video.

S12:根据第一视频的关联信息确定第一视频的关联标识。S12: Determine an association identifier of the first video according to the association information of the first video.

一些实施例中,第一视频的关联标识例如可以是一个或多个,关联标识可以是图标或者带有链接的文字等。In some embodiments, for example, there may be one or more associated identifiers of the first video, and the associated identifiers may be icons or text with links.

S13:在视频页显示关联标识,关联标识对应有关联页面。S13: Displaying an association identifier on the video page, where the association identifier corresponds to an associated page.

一些实施例中,关联标识显示在视频页,可以是显示在第一视频的显示区内,或者是显示在第一视频的关联区内,从而显示出关联标识与第一视频的关联关系。关联标识对应有关联页面,关联页面可以是在确定关联标识为关联标识绑定的页面,关联页面可以是与视频页位于同一客户端的页面,例如本公开实施例中提出的方法用于视频软件时,关联页面与视频页分别是客户端中的不同页面。关联页面可以不是用于播放视频的页面,关联页面可以不是展示与第一视频类似的推荐视频的页面。In some embodiments, the association identifier is displayed on the video page, which may be displayed in the display area of the first video, or displayed in the association area of the first video, thereby showing the association relationship between the association identifier and the first video. The associated identifier corresponds to an associated page, and the associated page may be a page bound to the associated identifier after determining that the associated identifier is bound, and the associated page may be a page located on the same client as the video page, for example, when the method proposed in the embodiment of the present disclosure is used for video software , the associated page and the video page are different pages in the client. The associated page may not be a page for playing videos, and the associated page may not be a page displaying recommended videos similar to the first video.

S14:响应于对关联标识的触发操作,打开关联标识的关联页面,在关联页面显示浮窗,并通过浮窗继续播放播放第一视频。S14: In response to the trigger operation on the associated identifier, open the associated page of the associated identifier, display a floating window on the associated page, and continue playing the first video through the floating window.

在一些实施例中关联标识可以被触发,例如可以通过点击的方式触发关联标识,在关联标识被触发后显示关联标识对应的关联页面,此时可以关闭视频页,在关联页面显示浮窗,浮窗可以位于关联页面的上方,浮窗中可以有播放器,在播放器中播放第一视频。In some embodiments, the associated logo can be triggered, for example, the associated logo can be triggered by clicking, and the associated page corresponding to the associated logo is displayed after the associated logo is triggered. At this time, the video page can be closed, and a floating window is displayed on the associated page. The window can be located above the associated page, and there can be a player in the floating window, and the first video is played in the player.

在本公开的一些实施例中,根据用户播放的第一视频的关联信息生成关联标识,关联标识具有对应的关联页面,通过触发关联标识可以跳转到关联页面,这样在用户查看第一视频的时候可以方便为其展示与第一视频相关的页面内容,并且在展示关联页面时仍然通过浮窗播放第一视频,从而能够方便用户更好的结合第一视频了解关联页面的内容。In some embodiments of the present disclosure, an association identifier is generated according to the association information of the first video played by the user, and the association identifier has a corresponding associated page. By triggering the association identifier, you can jump to the associated page, so that when the user views the first video, the It is convenient to display the page content related to the first video at any time, and still play the first video through the floating window when displaying the associated page, so that the user can better understand the content of the associated page in combination with the first video.

为了方便更好的说明本公开实施例中提出的方法,请结合附图2,本公开实施例中提出的方法可以用于客户端,在客户端中显示图2(a)所示的视频页,视频页中显示有第一视频,用户可以通过例如上滑或下滑的方式切换视频页播放的第一视频,可以是对第一视频进行暂停、加速等操作,在视频页显示第一视频时,获取视频页中第一视频的关联信息,并根据关联信息确定关联标识,图2(a)中示意性的显示了关联标识1和关联标识2,每一个关联标识可以对应一个关联页面,通过触发关联标识,将客户端显示的页面从视频页切换到关联页面,在切换后可以释放视频页占用的资源,在关联页面中可以显示与关联标识相关的信息,并且在关联页面上显示有浮窗,浮窗继续播放视频页所播放的第一视频,从而可以方便用户结合第一视频更好的理解关联页面中的内容。In order to better illustrate the method proposed in the embodiment of the present disclosure, please refer to accompanying drawing 2, the method proposed in the embodiment of the present disclosure can be used in the client, and the video page shown in Fig. 2(a) is displayed on the client , the first video is displayed on the video page, the user can switch the first video played on the video page by, for example, sliding up or down, or perform operations such as pausing or accelerating the first video, when the first video is displayed on the video page , obtain the association information of the first video in the video page, and determine the association identifier according to the association information. Fig. 2 (a) schematically shows association identifier 1 andassociation identifier 2, each association identifier can correspond to an association page, through Trigger the associated logo to switch the page displayed on the client from the video page to the associated page. After the switch, the resources occupied by the video page can be released. Information related to the associated logo can be displayed on the associated page, and floating window, the floating window continues to play the first video played on the video page, so that the user can better understand the content of the associated page in combination with the first video.

以下以本公开实施例中的方法用于非视频客户端,而是预设主题的客户端为例,进行举例说明,在本实施例中,预设主题可以是股票,所述方法可以用于股票软件,在股票软件中,关联页面可以为股票信息页,在所述视频页获取与股票信息相关的已经授权的视频并显示,对于显示的第一视频,获取第一视频的关联信息,关联信息例如可以是该第一视频所相关的关联公司,根据第一视频的关联信息确定第一视频的关联标识,关联标识例如可以是用于标识关联公司,响应于对关联标识的触发操作,打开该关联公司的股票信息页并继续通过浮窗播放第一视频。本实施例中,在股票软件中聚合显示股票公司相关的新闻视频,根据视频确定关联的公司并显示标识,在标识被触发后打开公司的信息页并继续显示信息视频,从而帮助用户更好的结合新闻视频了解股票信息。The method in the embodiment of the present disclosure is used as an example for a client with a preset theme instead of a video client. In this embodiment, the preset theme can be a stock, and the method can be used for Stock software, in the stock software, the associated page can be a stock information page, and the authorized video related to the stock information is obtained and displayed on the video page, and for the displayed first video, the associated information of the first video is obtained, and the associated The information may be, for example, the associated company associated with the first video, and the associated identifier of the first video is determined according to the associated information of the first video. The associated identifier may, for example, be used to identify the affiliated company. The stock information page of the associated company and continue to play the first video through the floating window. In this embodiment, news videos related to stock companies are aggregated and displayed in the stock software, and the associated company is determined according to the video and the logo is displayed. After the logo is triggered, the company's information page is opened and the information video continues to be displayed, thereby helping users better Combined with news videos to understand stock information.

在本公开的一些实施例中,根据第一视频的关联信息确定第一视频的关联标识,包括:根据预设关键词从关联信息中确定关联标识。一些实施例中,预设关键词是预先设定的较为重要的词,通过识别关联信息中是否包括预设关键词从而确定关联标识,关联标识可以基于关联信息中包括的预设关键词所确定。通过设置预设关键词,可以提高确定关联标识的速度,从而快速的确定关联标识并显示,避免出现播放第一视频时未能及时显示关联标识造成用户无法查看到关联标识的问题。In some embodiments of the present disclosure, determining the association identifier of the first video according to the association information of the first video includes: determining the association identifier from the association information according to preset keywords. In some embodiments, the preset keyword is a preset relatively important word, and the association identifier is determined by identifying whether the preset keyword is included in the association information, and the association identifier can be determined based on the preset keyword included in the association information . By setting the preset keywords, the speed of determining the associated identifier can be increased, thereby quickly determining and displaying the associated identifier, and avoiding the problem that the associated identifier cannot be displayed in time when the first video is played, causing the user to be unable to view the associated identifier.

在本公开的一些实施例中,根据预设关键词从关联信息中确定关联标识,包括:对关联信息进行分段得到待识别段落;根据预设关键词确定待识别段落中包括的预设关键词;根据待识别段落包括的预设关键词确定关联标识。In some embodiments of the present disclosure, determining the association identifier from the association information according to the preset keywords includes: segmenting the association information to obtain the paragraphs to be identified; determining the preset keywords included in the paragraphs to be identified according to the preset keywords words; determine the association identifier according to the preset keywords included in the paragraph to be recognized.

在一些实施例中,先对关联信息进行分段,可以根据关联信息的语义结合关联信息中的标点符号对关联信息进行分段,得到一个或多个待识别段落。在得到待识别段落后可以对待识别段落进行预处理,例如去除其中的修饰词。然后从待识别段落中筛选出其包括的预设关键词,根据该预设关键词确定待识别标识。具体的,请参考图3,先获取已经被授权的关联信息和预设关键词,对关联信息进行分段产生待识别段落,确定是否有未处理的待识别段落,如果有,则取出未处理的待识别段落,过滤掉该未处理的待识别段落的修饰词后,筛选出待识别段落包括的预设关键词,然后确定已有的锚点中是否包括该待识别段落包括的预设关键词,如果没有,则将该待识别段落包括的预设关键词加入锚点,如果锚点中已经有了,则继续处理下一个待识别段落,直到所有待识别段落都处理完毕,得到了多个锚点,对使用锚点构建关联标识,关联标识带有链接,然后在第一页面输出关联标识,关联标识的链接可以是根据预设关键词确定的,一个关联标识中可以包括待识别段落中的一个预设关键词,预设关键词可以具有链接,将关联标识中的预设关键词的链接作为该关联标识的链接。In some embodiments, the associated information is segmented first, and the associated information may be segmented according to the semantics of the associated information and the punctuation marks in the associated information to obtain one or more paragraphs to be identified. After the paragraph to be recognized is obtained, preprocessing may be performed on the paragraph to be recognized, such as removing modifiers therein. Then, the preset keywords included in the paragraph to be recognized are screened out, and the identifier to be recognized is determined according to the preset keyword. Specifically, please refer to Figure 3, first obtain the authorized associated information and preset keywords, segment the associated information to generate paragraphs to be identified, determine whether there are unprocessed paragraphs to be identified, and if so, take out the unprocessed paragraphs After filtering out the modifiers of the unprocessed paragraph to be identified, filter out the preset keywords included in the paragraph to be identified, and then determine whether the existing anchor points include the preset keywords included in the paragraph to be identified word, if not, then add the preset keywords included in the paragraph to be recognized to the anchor point, if there is already one in the anchor point, continue to process the next paragraph to be recognized until all the paragraphs to be recognized are processed, and get more An anchor point, use the anchor point to construct an association identifier, the association identifier has a link, and then output the association identifier on the first page, the link of the association identifier can be determined according to the preset keyword, and an association identifier can include the paragraph to be identified A preset keyword in , the preset keyword may have a link, and the link of the preset keyword in the association identifier is used as the link of the association identifier.

在本公开的一些实施例中,根据第一视频的关联信息确定第一视频的关联标识之后,在视频页显示关联标识之前,还包括:将预设地址段落与关联标识对应的字符段拼接得到关联标识关联的页面的地址。In some embodiments of the present disclosure, after the association identifier of the first video is determined according to the association information of the first video, before the association identifier is displayed on the video page, it further includes: splicing the default address paragraph and the character segment corresponding to the association identifier to obtain The association identifies the address of the associated page.

一些实施例中,关联标识对应的字符段可以是关联标识中包括的预设关键词的字符,预设地址段落是预先设定的一个地址,两者结合得到关联标识的关联页面的地址,例如预设关键词可以是公司内部部门名,公司的内部部门的页面地址的前部分都相同,区别仅在于标识公司后部分(对应部门名)的区别,因此可以将公司部门的页面地址的统一的前部分提取出来作为预设地址段落,将公司部门名与预设地址段合在一起就可以得到公司部门的页面地址。采用这种方式,可以动态的在需要使用关联标识时确定关联标识的地址,无需预先确定每一个关联标识的地址,减少算力消耗并节省存储链接的空间。以本公开实施例中提出的方法用于客户端为例,客户端中预先存储有不同的关联页面,关联页面的地址的前半部分(预设地址段落)通常是相同的,不同的关联页面的区别仅在于后半部分(关联标识对应的字符段),因此,不需要预先知道每一个关联标识对应的关联页面的地址,只需要存储关联标识对应的字符段和预设地址段落,从而在需要打开关联标识的关联页面时,动态的确定关联页面的地址,一方面可以减少存储空间的用量,另一方面,可以防止请求数据被监听,客户端只需要向服务器发送关联标识对应的字符段以获取关联页面,而不是发送整个关联标识的关联页面的地址,因此,即使请求数据被监听也无法得到所打开的关联页面。In some embodiments, the character field corresponding to the association identifier can be the characters of the preset keywords included in the association identifier, and the preset address segment is a preset address, and the combination of the two can obtain the address of the associated page of the association identifier, for example The preset keyword can be the name of the company's internal department. The front part of the page address of the company's internal department is the same. The former part is extracted as the default address segment, and the page address of the company department can be obtained by combining the company department name and the default address segment. In this way, the address of the associated identifier can be dynamically determined when the associated identifier needs to be used, without pre-determining the address of each associated identifier, reducing computing power consumption and saving space for storing links. Take the method proposed in the embodiment of the present disclosure applied to the client as an example. Different associated pages are pre-stored in the client. The first half of the address of the associated page (preset address paragraph) is usually the same, and the addresses of different associated pages The difference is only in the second half (the character segment corresponding to the association identifier), therefore, it is not necessary to know the address of the associated page corresponding to each association identifier in advance, and only need to store the character segment corresponding to the association identifier and the preset address paragraph, so that when needed When opening the associated page of the associated identifier, dynamically determine the address of the associated page. On the one hand, it can reduce the amount of storage space used. On the other hand, it can prevent the request data from being monitored. Get the associated page instead of sending the address of the associated page with the entire associated ID, so even if the request data is monitored, the opened associated page cannot be obtained.

在本公开的一些实施例中,预先设置有数据管理模块,数据管理模块用于接收并存储视频数据,以及记录视频数据的播放进度;所述视频页和所述浮窗共享所述数据管理模块中的视频数据和播放进度。一些实施例中,在从视频页进行视频播放切换到在浮窗进行视频播放时,从数据管理模块获取视频数据以及播放进度从而在浮窗进行视频播放;在从浮窗进行视频播放切换到在视频页进行视频播放时,从第一存储空间获取视频数据以及播放进度。In some embodiments of the present disclosure, a data management module is preset, and the data management module is used to receive and store video data, and record the playback progress of video data; the video page and the floating window share the data management module Video data and playback progress in . In some embodiments, when switching from video page to video playback in the floating window, video data and playback progress are obtained from the data management module so as to perform video playback in the floating window; When the video page is playing the video, the video data and the playing progress are acquired from the first storage space.

一些实施例中,通过数据管理模块存储视频数据和播放进度,视频页和浮窗播放的视频数据和视频数据的播放进度被存储在数据管理模块,在数据管理模块中仅按照视频数据进行存储,而不区分视频数据是在视频页播放还是在浮窗中播放的,即视频页和浮窗共享视频数据和视频播放进度,例如在视频页播放了视频1,播放进度为30%,这些数据被存储在数据管理模块,这样浮窗可以从数据管理模块读取到该视频1和该播放进度30%,在浮窗中播放视频1时就可以继续从视频1的30%进行播放,同样的,在浮窗中播放视频2和播放进度50%也会被存储在数据管理模块,这样视频页在播放视频2时可以直接获取到播放进度50%,由于数据管理模块不区分视频数据是由视频页播放还是由浮窗播放,视频页和浮窗共享数据管理模块中存储的视频数据和视频数据的播放进度,因此可以实现浮窗和视频页的数据同步,避免出现用户在视频页播放了一个视频后,在浮窗播放同一个视频时没有获取到播放进度,以及在浮窗播放了视频后,在视频页播放同一视频时没有获取到播放进度的问题。数据管理模块可以是软件也可以是硬件或两者的结合,例如可以是一块存储空间或者缓存。In some embodiments, the video data and the playback progress are stored by the data management module, the video data played by the video page and the floating window and the playback progress of the video data are stored in the data management module, and only stored according to the video data in the data management module, It does not distinguish whether the video data is played on the video page or in the floating window, that is, the video page and the floating window share video data and video playback progress. For example, if video 1 is played on the video page, and the playback progress is 30%, these data are Stored in the data management module, so that the floating window can read the video 1 and the playback progress of 30% from the data management module. When playing video 1 in the floating window, it can continue to play from the 30% of video 1. Similarly, Playingvideo 2 and 50% of the playback progress in the floating window will also be stored in the data management module, so that the video page can directly obtain the playback progress of 50% when playingvideo 2, because the data management module does not distinguish between video data and video pages The playback is still played by the floating window. The video page and the floating window share the video data and the playback progress of the video data stored in the data management module, so the data synchronization between the floating window and the video page can be realized to avoid the user playing a video on the video page Finally, when playing the same video in the floating window, the playback progress is not obtained, and after the video is played in the floating window, the playback progress is not obtained when the same video is played on the video page. The data management module can be software or hardware or a combination of both, for example, it can be a storage space or cache.

在本公开的一些实施例中,在视频页和浮窗均关闭时,清除数据管理模块中存储的视频数据。在视频页和浮窗均关闭后,表明用户不想看视频,因此情况数据管理模块中存储的视频数据以节省空间,但可以保留播放进度,这样避免用户下次继续播放时从头观看视频。In some embodiments of the present disclosure, when both the video page and the floating window are closed, the video data stored in the data management module is cleared. After both the video page and the floating window are closed, it indicates that the user does not want to watch the video, so the video data stored in the data management module can save space, but the playback progress can be kept, so as to prevent the user from watching the video from the beginning next time.

在本公开的一些实施例中,还包括:响应于对浮窗外的第二视频的标识的触发操作,确定当前时刻是否显示有浮窗;若当前时刻显示有浮窗,根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制;或者,若当前时刻未显示有浮窗,根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制。In some embodiments of the present disclosure, it further includes: in response to the trigger operation of the identification of the second video outside the floating window, determining whether a floating window is displayed at the current moment; if a floating window is displayed at the current moment, according to the inside of the floating window The currently opened video and the video data stored in the data management module play control on the second video; or, if no floating window is displayed at the current moment, the video data stored in the data management module is used to Second video for playback control.

一些实施例中,第二视频的标识例如可以是第二视频的列表或者第二视频的播放图标,通过触发第二视频的标识以播放第二视频,在需要对第二视频进行播放时会先判断当前是否显示有浮窗,根据是否显示有浮窗,采取对应的控制方法。这样避免出现有浮窗时视频页和浮窗同时播放造成数据管理模块中存储的视频数据混乱,在一个时刻只播放一个视频。In some embodiments, the identifier of the second video may be, for example, a list of the second videos or a play icon of the second video. By triggering the identifier of the second video to play the second video, when the second video needs to be played, it will first It is judged whether there is a floating window currently displayed, and a corresponding control method is adopted according to whether there is a floating window displayed. In this way, when there is a floating window, the video page and the floating window are played at the same time, causing the video data stored in the data management module to be confused, and only one video is played at a time.

在本公开的一些实施例中,根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据并在所述视频页进行播放;或者,若所述数据管理模块中存储有所述第二视频的数据,则获取所述第二视频的数据和播放进度,并根据所述第二视频的播放进度在所述视频页播放所述第二视频。In some embodiments of the present disclosure, controlling the playback of the second video according to the video data stored in the data management module includes: if no data of the second video is stored in the data management module, Then obtain the data of the second video and play it on the video page; or, if the data management module stores the data of the second video, obtain the data and playback progress of the second video, And play the second video on the video page according to the playing progress of the second video.

一些实施例中,在没有显示浮窗的情况下,在视频页进行第二视频的播放,如果数据管理模块没存储有第二视频的数据,则需要获取第一视频的数据并进行播放,如果数据管理模块存储有第二视频的数据,则表明曾经播放过第二视频,因此会获取该第二视频和对应的播放进度,从该播放进度开始播放第二视频。In some embodiments, when the floating window is not displayed, the second video is played on the video page. If the data management module does not store the data of the second video, the data of the first video needs to be obtained and played. If If the data of the second video is stored in the data management module, it indicates that the second video has been played. Therefore, the second video and the corresponding playback progress will be acquired, and the second video will be played from the playback progress.

在本公开的一些实施例中,根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:确定所述第二视频是否为所述浮窗内当前打开的视频;若所述第二视频是所述浮窗内当前打开的视频,关闭所述浮窗,从所述数据管理模块中获取所述第二视频的数据以及所述浮窗关闭前所述第二视频的播放进度,在所述视频页打开所述第二视频并跳转至所述浮窗关闭前所述第二视频的播放位置进行播放;或者,若所述第二视频不是所述浮窗内当前打开的视频,判断所述数据管理模块中是否存储有所述第二视频的数据,根据判断结果,对所述第二视频进行播放控制。In some embodiments of the present disclosure, controlling the playback of the second video according to the currently opened video in the floating window and the video data stored in the data management module includes: determining whether the second video is The currently opened video in the floating window; if the second video is the currently opened video in the floating window, close the floating window, and obtain the data of the second video and the data from the data management module The playback progress of the second video before the floating window is closed, open the second video on the video page and jump to the playback position of the second video before the floating window is closed; or, if the The second video is not the currently opened video in the floating window, judge whether the data of the second video is stored in the data management module, and control the playing of the second video according to the judgment result.

一些实施例中,在显示有浮窗的情况下,需要判断浮窗中打开的视频与第二视频是否为同一个视频,如果是,表明用户想要在视频页播放该第二视频,因此从数据管理模块中获取浮窗播放的第二视频的播放进度,从而在视频页中从该播放进度继续播放。如果浮窗打开的视频与第二视频不是同一个视频,则表明用户想要播放另一个视频,此时需要判断是否曾经播放过该第二视频,也就是需要从数据管理模块中查询是否有该第二视频的数据,然后根据结果控制第二视频的播放。In some embodiments, when a floating window is displayed, it is necessary to determine whether the video opened in the floating window and the second video are the same video, and if so, it indicates that the user wants to play the second video on the video page, so from The playing progress of the second video played by the floating window is obtained in the data management module, so as to continue playing from the playing progress on the video page. If the video opened by the floating window is not the same video as the second video, it indicates that the user wants to play another video. At this time, it is necessary to judge whether the second video has been played, that is, it is necessary to query whether there is such a video from the data management module. The data of the second video, and then control the playback of the second video according to the result.

在本公开的一些实施例中,根据判断结果,对所述第二视频进行播放控制,包括:若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据,并在所述视频页播放所述第二视频;或者,若所述数据管理模块中存储有所述第二视频的数据,根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制。In some embodiments of the present disclosure, controlling the playback of the second video according to the judgment result includes: if the data of the second video is not stored in the data management module, acquiring the second video data, and play the second video on the video page; or, if the data of the second video is stored in the data management module, according to the playing status of the currently opened video in the floating window, the Play control of the second video.

一些实施例中,在数据管理模块中未存储有第二视频的数据的情况下,表明用户是首次打开第二视频,因此需要获取第二视频的数据(例如先从外部数据源将第二视频的数据获取到数据管理模块,再从数据管理模块获取第二视频的数据)并进行播放,如果数据管理模块中存储有第二视频的数据,则表明用户曾经播放过第二视频,此时需要进一步根据浮窗当前的播放状态进行判断,这是因为视频页和浮窗共享视频数据和播放进度,为了避免出现数据混乱,一个时刻只播放一个视频数据。In some embodiments, if the data of the second video is not stored in the data management module, it indicates that the user opens the second video for the first time, so the data of the second video needs to be obtained (for example, first download the second video from an external data source) The data of the second video is obtained from the data management module, and then the data of the second video is obtained from the data management module) and played. If the data of the second video is stored in the data management module, it indicates that the user has played the second video. Further judge according to the current playing state of the floating window, because the video page and the floating window share video data and playback progress, in order to avoid data confusion, only one video data is played at a time.

一些实施例中,根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制,包括:若所述浮窗当前正在播放所打开的视频,则暂停播放所述第二视频,或者,若所述浮窗当前没有播放所打开的视频,则在所述视频页播放所述第二视频。In some embodiments, according to the playing status of the currently opened video in the floating window, the playback control of the second video includes: if the floating window is currently playing the opened video, pausing the playback of the second video. video, or, if the floating window is not currently playing the opened video, playing the second video on the video page.

一些实施例中,在浮窗正在播放视频的情况下,先暂停播放第二视频可以,在浮窗播放的视频结束后播放第二视频,即将第二视频设置为稍后播放。而在浮窗没有播放视频的情况下,例如视频处于暂停或播放结束的情况下,则可以关闭浮窗,在视频页播放第二视频。In some embodiments, when the floating window is playing a video, it is possible to pause and play the second video first, and then play the second video after the video played by the floating window ends, that is, set the second video to be played later. And when the floating window does not play the video, for example, when the video is paused or finished playing, the floating window can be closed and the second video can be played on the video page.

一些实施例中,播放第二视频的整体流程可以参考图4,在对第二视频的视频标识进行触发后,判断是否有浮窗显示,如果没有浮窗显示,则判断数据管理模块中是否存储有第二视频的数据,如果数据管理模块中没有存储有第二视频的数据的情况下,第一次拉取第二视频的数据,然后输出第二视频进行播放,在数据管理模块中存储有第二视频的数据的情况下,判断之前第二视频的播放状态,从之前第二视频的播放位置开始播放第二视频。如果当前显示有浮窗,则判断当前浮窗是否打开了第二视频,如果是,则关闭浮窗,向视频页同步第二视频的播放数据,让视频页跳转至浮窗的播放位置,然后播放第二视频。如果浮窗中没有打开第二视频,则判断数据管理模块中是否存储有第二视频的数据,如果未存储有,则关闭浮窗,第一次拉取第二视频的数据并播放第二视频,如果数据管理模块中存储有第二视频的数据,则检查是否需要播放第二视频,具体的,如果浮窗正在播放视频,则暂停播放第二视频,如果浮窗没有在播放视频,则在视频页播放第二视频,并可以关闭浮窗。In some embodiments, the overall process of playing the second video can refer to Figure 4. After the video identification of the second video is triggered, it is judged whether there is a floating window display, and if there is no floating window display, it is judged whether the data management module stores There is the data of the second video, if there is no data of the second video stored in the data management module, the data of the second video is pulled for the first time, and then the second video is output for playing, and the data stored in the data management module is In the case of the data of the second video, the playback state of the previous second video is judged, and the second video is played from the playback position of the previous second video. If there is a floating window currently displayed, judge whether the current floating window has opened the second video, if so, close the floating window, synchronize the playback data of the second video to the video page, and let the video page jump to the playback position of the floating window, Then play the second video. If the second video is not opened in the floating window, then judge whether the data of the second video is stored in the data management module, if not, close the floating window, pull the data of the second video for the first time and play the second video , if the data of the second video is stored in the data management module, then check whether the second video needs to be played, specifically, if the floating window is playing the video, then pause the second video, if the floating window is not playing the video, then in The video page plays the second video, and the floating window can be closed.

在本公开的一些实施例中,在响应于对关联标识的触发操作之后,还包括:关闭视频页并释放视频页所占用的系统资源。一些实施例中,在触发了关联标识后会打开关联页面,因此也就暂时无需使用视频页,因而释放视频页占用的例如CPU资源、内存资源等,以减少资源的占用,提高响应速度。In some embodiments of the present disclosure, after responding to the triggering operation of the associated identifier, it further includes: closing the video page and releasing system resources occupied by the video page. In some embodiments, the associated page will be opened after the associated flag is triggered, so there is no need to use the video page temporarily, thus releasing CPU resources, memory resources, etc. occupied by the video page to reduce resource occupation and improve response speed.

在本公开的一些实施例中,在关闭所述视频页并释放所述视频页所占用的系统资源之前,还包括:记录当前用户在视频页的请求数据;方法还包括:响应于打开视频页,根据记录的请求数据加载视频页。一些实施例中,所述请求数据包括视频浏览记录、操作记录和视频播放进度中的一个或多个。In some embodiments of the present disclosure, before closing the video page and releasing the system resources occupied by the video page, it also includes: recording the request data of the current user on the video page; the method also includes: responding to opening the video page , load the video page based on the recorded request data. In some embodiments, the request data includes one or more of video browsing records, operation records and video playback progress.

一些实施例中,在关联标识被触发后释放了视频页占用的系统资源,为了使得之后再次打开视频页时能够恢复视频页,因此在关闭视频页前记录了视频页的请求数据,可以将该请求数据记录在缓存中,这样在之后再次打开视频页时,则可以根据记录的请求数据恢复视频页,保证用户的数据不丢失。具体的,一些实施例中,在初始化浮窗时,缓存视频页的请求数据,然后创建浮窗,释放视频页占用的系统资源,在需要恢复视频页的时候,先构建视频页,使用记录的请求数据加载视频页,然后移除浮窗,显示视频页。In some embodiments, the system resources occupied by the video page are released after the association flag is triggered. In order to restore the video page when the video page is opened again later, the request data of the video page is recorded before the video page is closed. The request data is recorded in the cache, so that when the video page is opened again later, the video page can be restored according to the recorded request data to ensure that the user's data is not lost. Specifically, in some embodiments, when the floating window is initialized, the request data of the video page is cached, and then the floating window is created to release the system resources occupied by the video page. When the video page needs to be restored, the video page is constructed first, and the recorded Request data to load the video page, then remove the overlay and display the video page.

在本公开的一些实施例中,预先设置有逻辑管理模块,所述逻辑管理模块位于所述视频页所在的显示控件和所述浮窗所在的显示控件之外;所述逻辑管理模块用于控制所述视频页和所述浮窗中的视频播放。In some embodiments of the present disclosure, a logic management module is preset, and the logic management module is located outside the display control where the video page is located and the display control where the floating window is located; the logic management module is used to control The video in the video page and the floating window is played.

一些实施例中,逻辑管理模块可以是软件,将逻辑管理模块独立于视频页的显示控件和浮窗的显示控件之外,可以将视频的播放控制逻辑从页面逻辑中解耦出来,对于视频页和浮窗不需要考虑逻辑处理的部分,这样在之后需要对视频播逻辑进行更改时不需要修改视频页和浮窗的控制代码,从而减少维护和扩展的成本,而不需要考虑视频页和浮窗。举例而言,逻辑管理模块可以是用于控制视频播放的代码,视频页所在的显示控件可以是一个页面控件,页面控件中具有视频的显示代码,同理,浮窗所在的显示控件也可以是另一个页面控件,另一个页面控件中具有浮窗的显示代码,但是,在视频页和浮窗的页面控件中并不具有用于控制视频播放的代码,本实施例中将用于控制视频播放的代码写在视频页所在的页面控件和浮窗所在的页面控件之外,实现了控制与显示的代码解耦合,这样当视频页和浮窗的显示样式或显示元素变更时,不会对控制视频播放的代码进行影响,同样的,控制视频播放的代码变更时也不会影响视频页和浮窗的显示,并且,逻辑管理模块中,对于视频页和浮窗所采用的相同的控制逻辑部分可以共用控制代码,减少控制代码的长度。In some embodiments, the logic management module can be software. The logic management module is independent from the display controls of the video page and the display controls of the floating window, and the video playback control logic can be decoupled from the page logic. For the video page And the floating window does not need to consider the part of logic processing, so that when the video playback logic needs to be changed later, it is not necessary to modify the control code of the video page and floating window, thereby reducing the cost of maintenance and expansion, without considering the video page and floating window window. For example, the logic management module can be the code used to control video playback, the display control where the video page is located can be a page control, and the page control has video display codes, similarly, the display control where the floating window is located can also be Another page control has floating window display codes in another page control, but there is no code for controlling video playback in the video page and floating window page controls, which will be used to control video playback in this embodiment The code is written outside the page control where the video page is located and the page control where the floating window is located, realizing the decoupling of control and display codes, so that when the display style or display elements of the video page and floating window are changed, the control will not be affected. The code for video playback is affected. Similarly, when the code for controlling video playback is changed, it will not affect the display of the video page and floating window. Moreover, in the logic management module, the same control logic is used for the video page and floating window. The control code can be shared to reduce the length of the control code.

具体的,请参考图5,本公开实施例中的方法的执行方可以包括网络层、中间管理层和视图层,网络请求层用于从数据源获取视频数据,传递给中间管理层中的数据管理模块,数据管理模块用于存储视频数据和视频数据的播放记录,逻辑管理层用户控制视图层的视频播放。在视图层将不同来源的视频数据进行解析,并进行表示,根据标识进行分类,在视图层进行视频数据的播放,由于将视频的播放逻辑剥离到逻辑管理模块,因此可以减少代码耦合。在从关闭浮窗回到视频页继续进行视频播放时,因为视频页可以从数据管理模块获取到视频数据和播放进度,因此浮窗的线程和视频页的线程无需进行对象传递,而在安卓系统中则需要在两个线程之间通过Intent传递对象,本公开实施例中因为采用了共用的数据管理模块,避免了线程之间的对象传递,避免出现数据过多导致传递对象丢失的问题。Specifically, please refer to FIG. 5, the executor of the method in the embodiment of the present disclosure may include a network layer, an intermediate management layer, and a view layer, and the network request layer is used to obtain video data from a data source and pass it to the data in the intermediate management layer The management module, the data management module is used to store video data and video data playback records, and the logical management layer user controls the video playback of the view layer. In the view layer, the video data from different sources is analyzed and represented, classified according to the identification, and the video data is played in the view layer. Since the video playback logic is stripped to the logic management module, code coupling can be reduced. When returning to the video page from closing the floating window to continue video playback, because the video page can obtain video data and playback progress from the data management module, the thread of the floating window and the thread of the video page do not need to transfer objects, while in the Android system In this case, objects need to be transferred between two threads through Intents. In the embodiment of the present disclosure, since a shared data management module is adopted, object transfer between threads is avoided, and the problem of loss of transfer objects caused by too much data occurs.

在本公开的一些实施例中,所述视频页具有预设控件,所述预设控件用于被触发后关闭所述视频页并打开浮窗继续播放视频页所播放的视频;在所述预设控件被触发后,确定当前系统是否支持桌面级浮窗;若当前系统支持桌面级浮窗,则显示桌面级浮窗,否则,显示软件级浮窗。In some embodiments of the present disclosure, the video page has a preset control, and the preset control is used to close the video page and open the floating window to continue playing the video played on the video page after being triggered; After the control is triggered, determine whether the current system supports desktop-level floating windows; if the current system supports desktop-level floating windows, display desktop-level floating windows; otherwise, display software-level floating windows.

一些实施例中,预设控件例如可以是显示在视频页的浮窗模式按钮,在触发浮窗模式按钮后,将视频页播放的视频以浮窗的形式进行播放,对于浮窗分为桌面级浮窗和软件级浮窗,以本公开的方法的执行方为软件为例,桌面级浮窗是指软件被切换到后台后,会继续显示在桌面的浮窗,而软件级浮窗是指软件被切换到后台后,不继续显示的浮窗。本公开一些实施例中,在将和视频页切换到浮窗模式进行显示的情况下,会自动优先启用桌面级浮窗,在不能启用桌面级浮窗的情况下还会启用软件级浮窗,从而确保持续播放以及保持播放进度的能力,方便用户在软件内其他场景下播放视频的能力。一些实施例中,浮窗上显示有恢复控件,在恢复控件被触发后,恢复视频页并关闭浮窗,浮窗上还显示有关闭控件,在关闭控件被触发后关闭浮窗。In some embodiments, the preset control can be, for example, a floating window mode button displayed on the video page. After the floating window mode button is triggered, the video played on the video page will be played in the form of a floating window. The floating window is divided into desktop-level Floating windows and software-level floating windows, taking the executor of the disclosed method as software as an example, desktop-level floating windows refer to floating windows that will continue to be displayed on the desktop after the software is switched to the background, while software-level floating windows refer to After the software is switched to the background, the floating window will not continue to be displayed. In some embodiments of the present disclosure, when the video page is switched to the floating window mode for display, the desktop-level floating window will be automatically enabled preferentially, and the software-level floating window will also be enabled when the desktop-level floating window cannot be enabled. This ensures continuous playback and the ability to maintain playback progress, and facilitates the user's ability to play videos in other scenarios in the software. In some embodiments, a restoration control is displayed on the floating window. After the restoration control is triggered, the video page is restored and the floating window is closed. A closing control is also displayed on the floating window. After the closing control is triggered, the floating window is closed.

在本公开的一些实施例中,视频页显示的视频的关联标识的关联页面用于显示预设类型的信息;所述视频页显示的视频与所述预设类型的信息相关。一些实施例中,关联页面是预设类型的显示页面,例如股票信息页面,视频页所获取的视频的并不是随机获取的,只获取与预设类型的信息相关的视频,例如可能影响股票的相关的视频,这样通过特定性的选取视频,只选取与关联页面相关的视频进行显示,从而实现精确度视频推荐和展示,提高用户的使用体验。In some embodiments of the present disclosure, the associated page of the associated identifier of the video displayed on the video page is used to display preset types of information; the video displayed on the video page is related to the preset type of information. In some embodiments, the associated page is a preset type of display page, such as a stock information page. The videos acquired on the video page are not randomly acquired, but only videos related to preset types of information are acquired, such as those that may affect stocks. Related videos, in this way, through specific selection of videos, only videos related to the associated page are selected for display, so as to achieve accurate video recommendation and display, and improve user experience.

在本公开的一些实施例中,所述关联标识的显示样式和/或所述关联标识的至少部分内容与所述关联标识的关联页面中的目标数据相关联;所述关联标识的显示样式和/或所述关联标识的至少部分内容随所述关联页面中所述目标数据的变化而变化。In some embodiments of the present disclosure, the display style of the association identifier and/or at least part of the content of the association identifier is associated with the target data in the associated page of the association identifier; the display style of the association identifier and /or at least part of the content of the associated identifier changes with the change of the target data in the associated page.

一些实施例中,关联标识的显示样式和内容可以是与目标数据相绑定的,随目标数据的变化而变化,例如第一视频为中国参加奥运会的视频,关联标识可以是中国奥运金牌数,关联标识的关联页面可以是奥运金牌数的统计结果页面,在关联标识中可以显示当前中国的奥运金牌数,实现关联标识的内容随奥运金牌数的改变而改变,又例如,第一视频为某一场直播比赛的短视频,关联标识的颜色可以与该比赛的详情页面的关注人数关联,关注人数较多时采用红色,关注人数较少时采用绿色,通过关联标识的显示样式的变化显示该比赛的热度。In some embodiments, the display style and content of the associated identifier can be bound to the target data and change with the change of the target data. For example, the first video is a video of China participating in the Olympic Games, and the associated identifier can be the number of Chinese Olympic gold medals. The associated page of the associated logo can be the statistical result page of the number of Olympic gold medals. The current number of Olympic gold medals in China can be displayed in the associated logo, so that the content of the associated logo can change with the number of Olympic gold medals. For example, the first video is a certain For a short video of a live match, the color of the associated logo can be associated with the number of followers on the details page of the game. Red is used when the number of followers is large, and green is used when the number of followers is small. The game is displayed through the change of the display style of the associated logo heat.

在本公开的一些实施例中还提出一种视频的处理装置,包括:In some embodiments of the present disclosure, a video processing device is also proposed, including:

获取单元,用于响应于在视频页显示第一视频,获取第一视频的关联信息;An acquiring unit, configured to acquire associated information of the first video in response to displaying the first video on the video page;

确定单元,用于根据第一视频的关联信息确定第一视频的关联标识;A determining unit, configured to determine the association identifier of the first video according to the association information of the first video;

显示单元,用于在视频页显示关联标识,关联标识对应有关联页面;A display unit, configured to display an associated identifier on the video page, where the associated identifier corresponds to an associated page;

显示单元还用于响应于对关联标识的触发操作,打开关联标识的关联页面,在关联页面显示浮窗,并通过浮窗继续播放播放第一视频。The display unit is further configured to respond to the trigger operation on the association identifier, open the associated page of the association identifier, display a floating window on the associated page, and continue to play the first video through the floating window.

在一些实施例中,确定单元根据所述第一视频的关联信息确定所述第一视频的关联标识,包括:对所述关联信息进行分段得到待识别段落;根据所述预设关键词确定所述待识别段落中包括的预设关键词;根据所述待识别段落包括的预设关键词确定所述关联标识。In some embodiments, the determining unit determines the association identifier of the first video according to the association information of the first video, including: segmenting the association information to obtain a paragraph to be identified; determining according to the preset keywords Preset keywords included in the paragraph to be identified; determining the association identifier according to the preset keywords included in the paragraph to be identified.

在一些实施例中,确定单元还用于根据所述第一视频的关联信息确定所述第一视频的关联标识之后,显示单元所述视频页显示所述关联标识之前,将所述预设地址段落与所述关联标识对应的字符段拼接得到所述关联标识的关联页面的地址。In some embodiments, the determining unit is further configured to set the preset address to The address of the associated page of the association identifier is obtained by concatenating the paragraphs and the character segments corresponding to the association identifier.

在一些实施例中,视频的处理装置还包括预先设置的数据管理模块,所述数据管理模块用于接收并存储视频数据,以及记录所述视频数据的播放进度;所述视频页和所述浮窗共享所述数据管理模块中的视频数据和播放进度。In some embodiments, the video processing device further includes a preset data management module, the data management module is used to receive and store video data, and record the playing progress of the video data; the video page and the floating Windows share the video data and playback progress in the data management module.

在写实施例中,在所述视频页和所述浮窗均关闭时,清除所述数据管理模块中存储的视频数据。In an embodiment, when both the video page and the floating window are closed, the video data stored in the data management module is cleared.

在一些实施例中,显示单元还用于响应于对浮窗外的第二视频的标识的触发操作,确定当前时刻是否显示有浮窗;若当前时刻显示有浮窗,根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制;或者,若当前时刻未显示有浮窗,根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制。In some embodiments, the display unit is also used to determine whether a floating window is displayed at the current moment in response to the trigger operation of the identification of the second video outside the floating window; if a floating window is displayed at the current moment, according to the current time in the floating window The opened video and the video data stored in the data management module are used to control the playback of the second video; or, if no floating window is displayed at the current moment, the second video is controlled according to the video data stored in the data management module. Two video for playback control.

在一些实施例中,显示单元根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据并在所述视频页进行播放;或者,若所述数据管理模块中存储有所述第二视频的数据,则获取所述第二视频的数据和播放进度,并根据所述第二视频的播放进度在所述视频页播放所述第二视频。In some embodiments, the display unit controls the playback of the second video according to the video data stored in the data management module, including: if the data management module does not store the data of the second video, then Obtaining the data of the second video and playing it on the video page; or, if the data management module stores the data of the second video, obtaining the data and playing progress of the second video, and Playing the second video on the video page according to the playing progress of the second video.

一些实施例中,显示单元根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:确定所述第二视频是否为所述浮窗内当前打开的视频;若所述第二视频是所述浮窗内当前打开的视频,关闭所述浮窗,从所述数据管理模块中获取所述第二视频的数据以及所述浮窗关闭前所述第二视频的播放进度,在所述视频页打开所述第二视频并跳转至所述浮窗关闭前所述第二视频的播放位置进行播放;或者,若所述第二视频不是所述浮窗内当前打开的视频,判断所述数据管理模块中是否存储有所述第二视频的数据,根据判断结果,对所述第二视频进行播放控制。In some embodiments, the display unit performs play control on the second video according to the video currently opened in the floating window and the video data stored in the data management module, including: determining whether the second video is the The currently opened video in the floating window; if the second video is the currently opened video in the floating window, close the floating window, and obtain the data of the second video and the floating window from the data management module The playback progress of the second video before the window is closed, open the second video on the video page and jump to the playback position of the second video before the floating window is closed; or, if the second video is played; The second video is not the currently opened video in the floating window, judge whether the data of the second video is stored in the data management module, and control the playback of the second video according to the judgment result.

一些实施例中,显示单元根据判断结果,对所述第二视频进行播放控制,包括:若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据,并在所述视频页播放所述第二视频;或者,若所述数据管理模块中存储有所述第二视频的数据,根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制。In some embodiments, the display unit controls the playback of the second video according to the judgment result, including: if the data of the second video is not stored in the data management module, acquiring the data of the second video , and play the second video on the video page; or, if the data of the second video is stored in the data management module, according to the playing state of the video currently opened in the floating window, the second video is played. Two video for playback control.

一些实施例中,显示单元根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制,包括:若所述浮窗当前正在播放所打开的视频,则暂停播放所述第二视频,或者,若所述浮窗当前没有播放所打开的视频,则在所述视频页播放所述第二视频。In some embodiments, the display unit controls the playback of the second video according to the playing state of the currently opened video in the floating window, including: if the floating window is currently playing the opened video, then pause the playback of the video. The second video, or, if the floating window is not currently playing an open video, playing the second video on the video page.

一些实施例中,显示单元还用于在响应于对所述关联标识的触发操作之后,关闭所述视频页并释放所述视频页所占用的系统资源。In some embodiments, the display unit is further configured to close the video page and release system resources occupied by the video page after responding to the trigger operation on the association identifier.

在一些实施例中,在关闭所述视频页并释放所述视频页所占用的系统资源之前,显示单元还用于记录当前用户在所述视频页的请求数据;显示单元还用于响应于打开所述视频页,根据记录的请求数据加载所述视频页。In some embodiments, before closing the video page and releasing the system resources occupied by the video page, the display unit is also used to record the request data of the current user on the video page; the display unit is also used to respond to opening For the video page, load the video page according to the recorded request data.

在一些实施例中,所述请求数据包括视频浏览记录、操作记录和视频播放进度中的一个或多个。In some embodiments, the request data includes one or more of video browsing records, operation records and video playing progress.

在一些实施例中,视频的处理装置包括预先设置的逻辑管理模块,所述逻辑管理模块位于所述视频页所在的显示控件和所述浮窗所在的显示控件之外;所述逻辑管理模块用于控制所述视频页和所述浮窗中的视频播放。In some embodiments, the video processing device includes a preset logic management module, and the logic management module is located outside the display control where the video page is located and the display control where the floating window is located; the logic management module uses It is used to control the video playback in the video page and the floating window.

在一些实施例中,所述视频页显示的视频的关联标识的关联页面用于显示预设类型的信息;所述视频页显示的视频与所述预设类型的信息相关。In some embodiments, the associated page identified by the video displayed on the video page is used to display a preset type of information; the video displayed on the video page is related to the preset type of information.

在一些实施例中,所述关联标识的显示样式和/或所述关联标识的至少部分内容与所述关联标识的关联页面中的目标数据相关联;所述关联标识的显示样式和/或所述关联标识的至少部分内容随所述关联页面中所述目标数据的变化而变化。In some embodiments, the display style of the association identifier and/or at least part of the content of the association identifier is associated with the target data in the associated page of the association identifier; the display style of the association identifier and/or the At least part of the content of the associated identifier changes with the change of the target data in the associated page.

对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离模块说明的模块可以是或者也可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the embodiment of the device, since it basically corresponds to the embodiment of the method, for relevant parts, please refer to part of the description of the embodiment of the method. The device embodiments described above are merely illustrative, wherein the modules described as separate modules may or may not be separate. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.

以上,基于实施例和应用例说明了本公开的方法及装置。此外,本公开还提供一种终端及存储介质,以下说明这些终端和存储介质。The method and device of the present disclosure have been described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.

下面参考图6,其示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图中示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 800 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in the figure is just an example, and should not limit the functions and application scope of the embodiments of the present disclosure.

电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。Theelectronic device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 801, which may be loaded into a random access memory (RAM) 803 according to a program stored in a read-only memory (ROM) 802 or loaded from astorage device 808 Various appropriate actions and processing are performed by the program. In theRAM 803, various programs and data necessary for the operation of theelectronic device 800 are also stored. Theprocessing device 801 ,ROM 802 , andRAM 803 are connected to each other through abus 804 . An input/output (I/O)interface 805 is also connected to thebus 804 .

通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图中示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 805:input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration anoutput device 807 such as a computer; astorage device 808 including, for example, a magnetic tape, a hard disk, etc.; and acommunication device 809. The communication means 809 may allow theelectronic device 800 to communicate with other devices wirelessly or by wire to exchange data. While theelectronic device 800 is shown with various means, it is to be understood that implementing or having all the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 809 , or from storage means 808 , or fromROM 802 . When the computer program is executed by theprocessing device 801, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium (eg, communication network) interconnections. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的本公开的方法。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned method of the present disclosure.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (such as through an Internet Service Provider). Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

根据本公开的一个或多个实施例,【示例1】提供了一种视频的处理方法,包括:响应于在视频页显示第一视频,获取所述第一视频的关联信息;According to one or more embodiments of the present disclosure, [Example 1] provides a video processing method, including: in response to displaying the first video on the video page, acquiring associated information of the first video;

根据所述第一视频的关联信息确定所述第一视频的关联标识;determining the association identifier of the first video according to the association information of the first video;

在所述视频页显示所述关联标识,所述关联标识对应有关联页面;displaying the associated identifier on the video page, the associated identifier corresponding to an associated page;

响应于对所述关联标识的触发操作,打开所述关联标识的关联页面,在所述关联页面显示浮窗,并通过所述浮窗继续播放播放所述第一视频。In response to a trigger operation on the association identifier, an associated page of the association identifier is opened, a floating window is displayed on the associated page, and the first video is continued to be played through the floating window.

根据本公开的一个或多个实施例,【示例2】提供了【示例1】所述的方法,根据所述第一视频的关联信息确定所述第一视频的关联标识,包括:对所述关联信息进行分段得到待识别段落;根据所述预设关键词确定所述待识别段落中包括的预设关键词;根据所述待识别段落包括的预设关键词确定所述关联标识。According to one or more embodiments of the present disclosure, [Example 2] provides the method described in [Example 1], determining the association identifier of the first video according to the association information of the first video, including: Segmenting the associated information to obtain the paragraph to be identified; determining the preset keyword included in the paragraph to be identified according to the preset keyword; determining the association identifier according to the preset keyword included in the paragraph to be identified.

根据本公开的一个或多个实施例,【示例3】提供了【示例1】所述的方法,根据所述第一视频的关联信息确定所述第一视频的关联标识之后,在所述视频页显示所述关联标识之前,还包括:According to one or more embodiments of the present disclosure, [Example 3] provides the method described in [Example 1]. After determining the association identifier of the first video according to the association information of the first video, in the video Before the page displays the associated ID, also include:

将所述预设地址段落与所述关联标识对应的字符段拼接得到所述关联标识的关联页面的地址。The address of the associated page of the association identifier is obtained by splicing the preset address segment and the character segment corresponding to the association identifier.

根据本公开的一个或多个实施例,【示例4】提供了【示例1】所述的方法,预先设置有数据管理模块,所述数据管理模块用于接收并存储视频数据,以及记录所述视频数据的播放进度;According to one or more embodiments of the present disclosure, [Example 4] provides the method described in [Example 1], and a data management module is preset, and the data management module is used to receive and store video data, and record the The playback progress of the video data;

所述视频页和所述浮窗共享所述数据管理模块中的视频数据和播放进度。The video page and the floating window share video data and playing progress in the data management module.

根据本公开的一个或多个实施例,【示例5】提供了【示例4】所述的方法,在所述视频页和所述浮窗均关闭时,清除所述数据管理模块中存储的视频数据。According to one or more embodiments of the present disclosure, [Example 5] provides the method described in [Example 4], when both the video page and the floating window are closed, clear the video stored in the data management module data.

根据本公开的一个或多个实施例,【示例6】提供了【示例4】所述的方法,还包括:According to one or more embodiments of the present disclosure, [Example 6] provides the method described in [Example 4], further comprising:

响应于对浮窗外的第二视频的标识的触发操作,确定当前时刻是否显示有浮窗;Responding to the trigger operation of the identification of the second video outside the floating window, determine whether a floating window is displayed at the current moment;

若当前时刻显示有浮窗,根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制;或者,If a floating window is displayed at the current moment, the playback control of the second video is performed according to the currently opened video in the floating window and the video data stored in the data management module; or,

若当前时刻未显示有浮窗,根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制。If no floating window is displayed at the current moment, the playback control of the second video is performed according to the video data stored in the data management module.

根据本公开的一个或多个实施例,【示例7】提供了【示例6】所述的方法,根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:According to one or more embodiments of the present disclosure, [Example 7] provides the method described in [Example 6], controlling the playback of the second video according to the video data stored in the data management module, including:

若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据并在所述视频页进行播放;或者,If the data management module does not store the data of the second video, then acquire the data of the second video and play it on the video page; or,

若所述数据管理模块中存储有所述第二视频的数据,则获取所述第二视频的数据和播放进度,并根据所述第二视频的播放进度在所述视频页播放所述第二视频。If the data of the second video is stored in the data management module, the data and the playback progress of the second video are obtained, and the second video is played on the video page according to the playback progress of the second video. video.

根据本公开的一个或多个实施例,【示例8】提供了【示例6】所述的方法,根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:According to one or more embodiments of the present disclosure, [Example 8] provides the method described in [Example 6]. According to the currently opened video in the floating window and the video data stored in the data management module, the Playback control of the second video, including:

确定所述第二视频是否为所述浮窗内当前打开的视频;Determine whether the second video is the currently opened video in the floating window;

若所述第二视频是所述浮窗内当前打开的视频,关闭所述浮窗,从所述数据管理模块中获取所述第二视频的数据以及所述浮窗关闭前所述第二视频的播放进度,在所述视频页打开所述第二视频并跳转至所述浮窗关闭前所述第二视频的播放位置进行播放;或者,If the second video is the currently opened video in the floating window, close the floating window, obtain the data of the second video and the second video before the floating window is closed from the data management module , open the second video on the video page and jump to the playback position of the second video before the floating window is closed; or,

若所述第二视频不是所述浮窗内当前打开的视频,判断所述数据管理模块中是否存储有所述第二视频的数据,根据判断结果,对所述第二视频进行播放控制。If the second video is not the currently opened video in the floating window, it is judged whether the data of the second video is stored in the data management module, and the playing control of the second video is performed according to the judgment result.

根据本公开的一个或多个实施例,【示例9】提供了【示例8】所述的方法,根据判断结果,对所述第二视频进行播放控制,包括:According to one or more embodiments of the present disclosure, [Example 9] provides the method described in [Example 8]. According to the judgment result, the playback control of the second video is performed, including:

若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据,并在所述视频页播放所述第二视频;或者,If the data of the second video is not stored in the data management module, the data of the second video is obtained, and the second video is played on the video page; or,

若所述数据管理模块中存储有所述第二视频的数据,根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制。If the data of the second video is stored in the data management module, the playback control of the second video is performed according to the playback state of the currently opened video in the floating window.

根据本公开的一个或多个实施例,【示例10】提供了【示例9】所述的方法,根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制,包括:若所述浮窗当前正在播放所打开的视频,则暂停播放所述第二视频,或者,若所述浮窗当前没有播放所打开的视频,则在所述视频页播放所述第二视频。According to one or more embodiments of the present disclosure, [Example 10] provides the method described in [Example 9], controlling the playback of the second video according to the playback status of the video currently opened in the floating window, including : If the floating window is currently playing the opened video, then pause playing the second video, or, if the floating window is not currently playing the opened video, then play the second video on the video page .

根据本公开的一个或多个实施例,【示例11】提供了【示例1】所述的方法,在响应于对所述关联标识的触发操作之后,还包括:According to one or more embodiments of the present disclosure, [Example 11] provides the method described in [Example 1], after responding to the trigger operation on the association identifier, it further includes:

关闭所述视频页并释放所述视频页所占用的系统资源。closing the video page and releasing system resources occupied by the video page.

根据本公开的一个或多个实施例,【示例12】提供了【示例1】所述的方法,在关闭所述视频页并释放所述视频页所占用的系统资源之前,还包括:记录当前用户在所述视频页的请求数据;According to one or more embodiments of the present disclosure, [Example 12] provides the method described in [Example 1]. Before closing the video page and releasing the system resources occupied by the video page, it further includes: recording the current User request data on said video page;

所述方法还包括:响应于打开所述视频页,根据记录的请求数据加载所述视频页。The method also includes loading the video page according to the recorded request data in response to opening the video page.

根据本公开的一个或多个实施例,【示例13】提供了【示例12】所述的方法,所述请求数据包括视频浏览记录、操作记录和视频播放进度中的一个或多个。According to one or more embodiments of the present disclosure, [Example 13] provides the method described in [Example 12], the request data includes one or more of video browsing records, operation records, and video playback progress.

根据本公开的一个或多个实施例,【示例14】提供了【示例1】所述的方法,预先设置有逻辑管理模块,所述逻辑管理模块位于所述视频页所在的显示控件和所述浮窗所在的显示控件之外;According to one or more embodiments of the present disclosure, [Example 14] provides the method described in [Example 1], a logic management module is preset, and the logic management module is located between the display control where the video page is located and the Outside the display control where the floating window is located;

所述逻辑管理模块用于控制所述视频页和所述浮窗中的视频播放。The logic management module is used to control the video playing in the video page and the floating window.

根据本公开的一个或多个实施例,【示例15】提供了【示例1】所述的方法,所述视频页显示的视频的关联标识的关联页面用于显示预设类型的信息;所述视频页显示的视频与所述预设类型的信息相关。According to one or more embodiments of the present disclosure, [Example 15] provides the method described in [Example 1], the associated page of the associated identification of the video displayed on the video page is used to display preset types of information; the The videos displayed on the video page are related to the information of the preset type.

根据本公开的一个或多个实施例,【示例16】提供了【示例1】所述的方法,所述关联标识的显示样式和/或所述关联标识的至少部分内容与所述关联标识的关联页面中的目标数据相关联;According to one or more embodiments of the present disclosure, [Example 16] provides the method described in [Example 1], the display style of the associated identifier and/or at least part of the content of the associated identifier is the same as that of the associated identifier The target data in the associated page is associated;

所述关联标识的显示样式和/或所述关联标识的至少部分内容随所述关联页面中所述目标数据的变化而变化。The display style of the association identifier and/or at least part of the content of the association identifier changes with the change of the target data in the association page.

根据本公开的一个或多个实施例,【示例17】提供一种视频的处理装置,包括:获取单元,用于响应于在视频页显示第一视频,获取所述第一视频的关联信息;确定单元,用于根据所述第一视频的关联信息确定所述第一视频的关联标识;显示单元,用于在所述视频页显示所述关联标识,所述关联标识对应有关联页面;所述显示单元还用于响应于对所述关联标识的触发操作,打开所述关联标识的关联页面,在所述关联页面显示浮窗,并通过所述浮窗继续播放播放所述第一视频。According to one or more embodiments of the present disclosure, [Example 17] provides a video processing device, including: an acquiring unit, configured to acquire associated information of the first video in response to displaying the first video on the video page; A determining unit, configured to determine an associated identifier of the first video according to associated information of the first video; a display unit, configured to display the associated identifier on the video page, and the associated identifier corresponds to an associated page; The display unit is further configured to open an associated page of the associated identifier in response to a trigger operation on the associated identifier, display a floating window on the associated page, and continue playing the first video through the floating window.

根据本公开的一个或多个实施例,【示例18】提供一种终端,包括:According to one or more embodiments of the present disclosure, [Example 18] provides a terminal, including:

至少一个存储器和至少一个处理器;其中,所述至少一个存储器用于存储程序代码,所述至少一个处理器用于调用所述至少一个存储器所存储的程序代码执行【示例1】至【示例16】中任一项所述的方法。At least one memory and at least one processor; wherein, the at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute [Example 1] to [Example 16] any one of the methods described.

根据本公开的一个或多个实施例,【示例19】提供一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行【示例1】至【示例16】中任一项所述的方法。According to one or more embodiments of the present disclosure, [Example 19] provides a storage medium, the storage medium is used to store program code, and the program code is used to execute any one of [Example 1] to [Example 16]. method described in the item.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principle. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, while operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several specific implementation details, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (18)

Translated fromChinese
1.一种视频的处理方法,其特征在于,包括:1. A video processing method, characterized in that, comprising:响应于在视频页显示第一视频,获取所述第一视频的关联信息;In response to displaying the first video on the video page, acquiring associated information of the first video;根据所述第一视频的关联信息确定所述第一视频的关联标识;determining the association identifier of the first video according to the association information of the first video;在所述视频页显示所述关联标识,所述关联标识对应有关联页面;displaying the associated identifier on the video page, the associated identifier corresponding to an associated page;响应于对所述关联标识的触发操作,打开所述关联标识的关联页面,在所述关联页面显示浮窗,并通过所述浮窗继续播放所述第一视频;In response to the trigger operation on the associated identifier, open the associated page of the associated identifier, display a floating window on the associated page, and continue to play the first video through the floating window;所述关联标识的显示样式和/或所述关联标识的至少部分内容与所述关联标识的关联页面中的目标数据相关联;所述关联标识的显示样式和/或所述关联标识的至少部分内容随所述关联页面中所述目标数据的变化而变化。The display style of the associated identifier and/or at least part of the content of the associated identifier is associated with the target data in the associated page of the associated identifier; the display style of the associated identifier and/or at least part of the associated identifier The content changes with the change of the target data in the associated page.2.根据权利要求1所述的方法,其特征在于,根据所述第一视频的关联信息确定所述第一视频的关联标识,包括:2. The method according to claim 1, wherein determining the association identifier of the first video according to the association information of the first video comprises:对所述关联信息进行分段得到待识别段落;Segmenting the related information to obtain the paragraph to be identified;根据预设关键词确定所述待识别段落中包括的预设关键词;determining preset keywords included in the paragraph to be identified according to preset keywords;根据所述待识别段落包括的预设关键词确定所述关联标识。The association identifier is determined according to preset keywords included in the paragraph to be identified.3.根据权利要求1所述的方法,其特征在于,根据所述第一视频的关联信息确定所述第一视频的关联标识之后,在所述视频页显示所述关联标识之前,还包括:3. The method according to claim 1, wherein after determining the associated identifier of the first video according to the associated information of the first video, before displaying the associated identifier on the video page, further comprising:将预设地址段落与所述关联标识对应的字符段拼接得到所述关联标识的关联页面的地址。The address of the associated page of the association identifier is obtained by splicing the preset address segment and the character segment corresponding to the association identifier.4.根据权利要求1所述的方法,其特征在于,4. The method of claim 1, wherein,预先设置有数据管理模块,所述数据管理模块用于接收并存储视频数据,以及记录所述视频数据的播放进度;A data management module is preset, and the data management module is used to receive and store video data, and record the playing progress of the video data;所述视频页和所述浮窗共享所述数据管理模块中的视频数据和播放进度。The video page and the floating window share video data and playing progress in the data management module.5.根据权利要求4所述的方法,其特征在于,在所述视频页和所述浮窗均关闭时,清除所述数据管理模块中存储的视频数据。5. The method according to claim 4, wherein when both the video page and the floating window are closed, the video data stored in the data management module is cleared.6.根据权利要求4所述的方法,其特征在于,还包括:6. The method according to claim 4, further comprising:响应于对浮窗外的第二视频的标识的触发操作,确定当前时刻是否显示有浮窗;Responding to the trigger operation of the identification of the second video outside the floating window, determine whether a floating window is displayed at the current moment;若当前时刻显示有浮窗,根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制;或者,If a floating window is displayed at the current moment, the playback control of the second video is performed according to the currently opened video in the floating window and the video data stored in the data management module; or,若当前时刻未显示有浮窗,根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制。If no floating window is displayed at the current moment, the playback control of the second video is performed according to the video data stored in the data management module.7.根据权利要求6所述的方法,其特征在于,根据所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:7. The method according to claim 6, wherein the playing control of the second video according to the video data stored in the data management module comprises:若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据并在所述视频页进行播放;或者,If the data management module does not store the data of the second video, then acquire the data of the second video and play it on the video page; or,若所述数据管理模块中存储有所述第二视频的数据,则获取所述第二视频的数据和播放进度,并根据所述第二视频的播放进度在所述视频页播放所述第二视频。If the data of the second video is stored in the data management module, the data and the playback progress of the second video are obtained, and the second video is played on the video page according to the playback progress of the second video. video.8.根据权利要求6所述的方法,其特征在于,根据所述浮窗内当前打开的视频和所述数据管理模块中存储的视频数据对所述第二视频进行播放控制,包括:8. The method according to claim 6, wherein the playing control of the second video is performed according to the currently opened video in the floating window and the video data stored in the data management module, comprising:确定所述第二视频是否为所述浮窗内当前打开的视频;Determine whether the second video is the currently opened video in the floating window;若所述第二视频是所述浮窗内当前打开的视频,关闭所述浮窗,从所述数据管理模块中获取所述第二视频的数据以及所述浮窗关闭前所述第二视频的播放进度,在所述视频页打开所述第二视频并跳转至所述浮窗关闭前所述第二视频的播放位置进行播放;或者,If the second video is the currently opened video in the floating window, close the floating window, obtain the data of the second video and the second video before the floating window is closed from the data management module , open the second video on the video page and jump to the playback position of the second video before the floating window is closed; or,若所述第二视频不是所述浮窗内当前打开的视频,判断所述数据管理模块中是否存储有所述第二视频的数据,根据判断结果,对所述第二视频进行播放控制。If the second video is not the currently opened video in the floating window, it is judged whether the data of the second video is stored in the data management module, and the playing control of the second video is performed according to the judgment result.9.根据权利要求8所述的方法,其特征在于,根据判断结果,对所述第二视频进行播放控制,包括:9. The method according to claim 8, wherein, according to the judgment result, performing playback control on the second video comprises:若所述数据管理模块中未存储有所述第二视频的数据,则获取所述第二视频的数据,并在所述视频页播放所述第二视频;或者,If the data of the second video is not stored in the data management module, the data of the second video is obtained, and the second video is played on the video page; or,若所述数据管理模块中存储有所述第二视频的数据,根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制。If the data of the second video is stored in the data management module, the playback control of the second video is performed according to the playback state of the currently opened video in the floating window.10.根据权利要求9所述的方法,其特征在于,根据所述浮窗当前打开的视频的播放状态,对所述第二视频进行播放控制,包括:10. The method according to claim 9, wherein the playing control of the second video is performed according to the playback status of the currently opened video in the floating window, comprising:若所述浮窗当前正在播放所打开的视频,则暂停播放所述第二视频,或者,If the floating window is currently playing the opened video, then pause playing the second video, or,若所述浮窗当前没有播放所打开的视频,则在所述视频页播放所述第二视频。If the floating window does not currently play the opened video, then play the second video on the video page.11.根据权利要求1所述的方法,其特征在于,在响应于对所述关联标识的触发操作之后,还包括:11. The method according to claim 1, further comprising: after responding to the trigger operation on the association identifier:关闭所述视频页并释放所述视频页所占用的系统资源。closing the video page and releasing system resources occupied by the video page.12.根据权利要求11所述的方法,其特征在于,12. The method of claim 11, wherein,在关闭所述视频页并释放所述视频页所占用的系统资源之前,还包括:记录当前用户在所述视频页的请求数据;Before closing the video page and releasing the system resources occupied by the video page, it also includes: recording the request data of the current user on the video page;所述方法还包括:响应于打开所述视频页,根据记录的请求数据加载所述视频页。The method also includes loading the video page according to the recorded request data in response to opening the video page.13.根据权利要求12所述的方法,其特征在于,13. The method of claim 12, wherein,所述请求数据包括视频浏览记录、操作记录和视频播放进度中的一个或多个。The request data includes one or more of video browsing records, operation records and video playing progress.14.根据权利要求1所述的方法,其特征在于,14. The method of claim 1 wherein,预先设置有逻辑管理模块,所述逻辑管理模块位于所述视频页所在的显示控件和所述浮窗所在的显示控件之外;A logic management module is preset, and the logic management module is located outside the display control where the video page is located and the display control where the floating window is located;所述逻辑管理模块用于控制所述视频页和所述浮窗中的视频播放。The logic management module is used to control the video playing in the video page and the floating window.15.根据权利要求1所述的方法,其特征在于,15. The method of claim 1, wherein,所述视频页显示的视频的关联标识的关联页面用于显示预设类型的信息;The associated page of the associated identification of the video displayed on the video page is used to display preset types of information;所述视频页显示的视频与所述预设类型的信息相关。The video displayed on the video page is related to the preset type of information.16.一种视频的处理装置,其特征在于,包括:16. A video processing device, comprising:获取单元,用于响应于在视频页显示第一视频,获取所述第一视频的关联信息;An acquiring unit, configured to acquire associated information of the first video in response to displaying the first video on the video page;确定单元,用于根据所述第一视频的关联信息确定所述第一视频的关联标识;A determining unit, configured to determine an associated identifier of the first video according to associated information of the first video;显示单元,用于在所述视频页显示所述关联标识,所述关联标识对应有关联页面;A display unit, configured to display the association identifier on the video page, and the association identifier corresponds to an associated page;所述显示单元还用于响应于对所述关联标识的触发操作,打开所述关联标识的关联页面,在所述关联页面显示浮窗,并通过所述浮窗继续播放所述第一视频;The display unit is further configured to open an associated page of the associated identifier in response to a trigger operation on the associated identifier, display a floating window on the associated page, and continue to play the first video through the floating window;所述关联标识的显示样式和/或所述关联标识的至少部分内容与所述关联标识的关联页面中的目标数据相关联;所述关联标识的显示样式和/或所述关联标识的至少部分内容随所述关联页面中所述目标数据的变化而变化。The display style of the associated identifier and/or at least part of the content of the associated identifier is associated with the target data in the associated page of the associated identifier; the display style of the associated identifier and/or at least part of the associated identifier The content changes with the change of the target data in the associated page.17.一种终端,包括:17. A terminal comprising:至少一个存储器和至少一个处理器;at least one memory and at least one processor;其中,所述至少一个存储器用于存储程序代码,所述至少一个处理器用于调用所述至少一个存储器所存储的程序代码执行权利要求1至15中任一项所述的方法。Wherein, the at least one memory is used to store program codes, and the at least one processor is used to call the program codes stored in the at least one memory to execute the method according to any one of claims 1 to 15.18.一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行权利要求1至15中任一项所述的方法。18. A storage medium, the storage medium is used to store program codes, and the program codes are used to execute the method according to any one of claims 1 to 15.
CN202110924628.0A2021-08-122021-08-12Video processing method, device, terminal and storage mediumActiveCN113507632B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110924628.0ACN113507632B (en)2021-08-122021-08-12Video processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110924628.0ACN113507632B (en)2021-08-122021-08-12Video processing method, device, terminal and storage medium

Publications (2)

Publication NumberPublication Date
CN113507632A CN113507632A (en)2021-10-15
CN113507632Btrue CN113507632B (en)2023-02-28

Family

ID=78016048

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110924628.0AActiveCN113507632B (en)2021-08-122021-08-12Video processing method, device, terminal and storage medium

Country Status (1)

CountryLink
CN (1)CN113507632B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113573121B (en)*2021-07-132023-04-21富途网络科技(深圳)有限公司Video playing method, device and storage medium
CN115033812A (en)*2021-12-212022-09-09北京字跳网络技术有限公司Information processing method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101408886A (en)*2007-10-052009-04-15富士通株式会社Selecting tags for a document by analyzing paragraphs of the document
CN108363765A (en)*2018-02-062018-08-03深圳市鹰硕技术有限公司The recognition methods of audio paragraph and device
CN108495169A (en)*2018-03-232018-09-04北京焦点新干线信息技术有限公司Information displaying method and device
CN109618177A (en)*2018-12-262019-04-12北京微播视界科技有限公司Method for processing video frequency, device, electronic equipment and computer readable storage medium
CN111263235A (en)*2020-02-102020-06-09北京奇艺世纪科技有限公司Video playing method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101408886A (en)*2007-10-052009-04-15富士通株式会社Selecting tags for a document by analyzing paragraphs of the document
CN108363765A (en)*2018-02-062018-08-03深圳市鹰硕技术有限公司The recognition methods of audio paragraph and device
CN108495169A (en)*2018-03-232018-09-04北京焦点新干线信息技术有限公司Information displaying method and device
CN109618177A (en)*2018-12-262019-04-12北京微播视界科技有限公司Method for processing video frequency, device, electronic equipment and computer readable storage medium
CN111263235A (en)*2020-02-102020-06-09北京奇艺世纪科技有限公司Video playing method and device, electronic equipment and storage medium

Also Published As

Publication numberPublication date
CN113507632A (en)2021-10-15

Similar Documents

PublicationPublication DateTitle
CN112261226B (en)Horizontal screen interaction method and device, electronic equipment and storage medium
CN113259744B (en)Video display method, device, equipment and medium
US11928152B2 (en)Search result display method, readable medium, and terminal device
CN113395572B (en)Video processing method and device, storage medium and electronic equipment
US12137262B2 (en)Information push method, apparatus, electronic device and storage medium
CN111240564B (en)Material display method and device, electronic equipment and storage medium
CN113259740A (en)Multimedia processing method, device, equipment and medium
CN113507632B (en)Video processing method, device, terminal and storage medium
WO2023284437A1 (en)Media file processing method and apparatus, device, readable storage medium, and product
WO2023051294A1 (en)Prop processing method and apparatus, and device and medium
CN111460211A (en)Audio information playing method and device and electronic equipment
CN112000267A (en)Information display method, device, equipment and storage medium
CN114201705A (en)Video processing method and device, electronic equipment and storage medium
CN112165652A (en)Video processing method, device, equipment and computer readable storage medium
JP2023536365A (en) Video processing method and apparatus
CN112565870B (en)Content caching and reading method, client and storage medium
WO2023279951A1 (en)Screen recording video processing method and apparatus, and readable medium and electronic device
CN116156265A (en) Playing method, device, equipment, storage medium and program product of live content
CN115639934A (en)Content sharing method, device, equipment, computer readable storage medium and product
CN115547330B (en) Information display method, device and electronic device based on voice interaction
JP2025523537A (en) Video push processing method, device, equipment and medium
CN116861109A (en) Login methods, devices and electronic equipment
CN115328558A (en) Power-on method, device and electronic device
JP2023527174A (en) Video special effect arrangement method, video special effect arrangement device, device and storage medium
CN115379245A (en) Information display method, device and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp