技术领域technical field
本发明涉及浏览器技术领域,特别是涉及一种网页中文本字幕信息的显示方法和装置。The invention relates to the technical field of browsers, in particular to a method and device for displaying text subtitle information in a web page.
背景技术Background technique
随着互联网的普及,互联网给人们带来的应用也越来越多,越来越便捷,如听音乐、看视频等。针对具体的应用,推出了各种功能丰富的应用程序,听音乐有专门的音乐播放器,看视频也有专门的视频播放器。With the popularization of the Internet, the Internet brings more and more applications to people, such as listening to music and watching videos. For specific applications, various feature-rich applications have been launched. There is a dedicated music player for listening to music, and a dedicated video player for watching videos.
由于浏览器是访问互联网的主要工具,在众多与互联网相关的应用程序中,占有相当重要的位置,为此,浏览器的功能也越来越多,越来越人性化,不需要打开音乐播放器或视频播放器就可以直接在浏览器中实现听音乐或看视频的功能,但是,浏览器只能提供上述应用的基本功能,如仅仅播放音乐,或者在播放音乐的同时显示歌词。如果此时用户需要进行桌面上的操作,就需要关闭浏览器或者将浏览器最小化,浏览器中播放的音乐连同显示的歌词也一起关闭或最小化,用户不能在进行桌面上操作的同时,继续欣赏歌词,无法满足用户并行的、高效率的使用需求。Since the browser is the main tool for accessing the Internet, it occupies a very important position in many Internet-related applications. For this reason, the browser has more and more functions and is more and more humanized. It does not need to open the music player Browser or video player just can realize the function of listening to music or watching video directly in browser, but, browser can only provide the basic function of above-mentioned application, as only playing music, or display lyrics while playing music. If the user needs to perform operations on the desktop at this time, he needs to close the browser or minimize the browser, and the music played in the browser and the displayed lyrics are also closed or minimized together. The user cannot operate on the desktop. Continuing to appreciate the lyrics cannot meet the parallel and efficient use needs of users.
发明内容Contents of the invention
本发明所要解决的技术问题是提供一种网页中文本字幕信息的显示方法和装置,以解决现有技术不能满足用户并行的、高效率的使用需求的问题。The technical problem to be solved by the present invention is to provide a method and device for displaying text subtitle information in a web page, so as to solve the problem that the prior art cannot satisfy users' parallel and high-efficiency use requirements.
为了解决上述问题,本发明公开了一种网页中文本字幕信息的显示方法,包括:In order to solve the above problems, the invention discloses a method for displaying text subtitle information in a webpage, comprising:
对网页浏览器中加载网页的DOM树进行解析;Parse the DOM tree of the webpage loaded in the web browser;
基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息;Based on the DOM tree parsing result, obtain the text subtitle information therein, and copy the text subtitle information;
在网页浏览器所处的系统桌面上创建一个显示窗口,并将所述复制的文本字幕信息根据所述加载网页中的对应播放的视和/或音频文件同步进行显示。A display window is created on the system desktop where the web browser is located, and the copied text subtitle information is synchronously displayed according to the video and/or audio files played correspondingly in the loaded web page.
优选的,所述复制所述文本字幕信息的步骤是在网页浏览器对DOM树中的文本字幕信息渲染之前执行。Preferably, the step of copying the text subtitle information is executed before the web browser renders the text subtitle information in the DOM tree.
优选的,所述基于DOM树解析结果,获取其中的文本字幕信息的步骤包括:Preferably, the step of obtaining text subtitle information therein based on the DOM tree parsing result includes:
基于DOM树解析结果,遍历DOM树中的各个节点,查询到包括文本字幕信息的XML文档的网页节点;Based on the analysis result of the DOM tree, each node in the DOM tree is traversed, and the web page node of the XML document including text subtitle information is found;
获取该网页节点中的文本字幕信息。Obtain the text subtitle information in the web page node.
优选的,所述复制该文本字幕信息的步骤包括:Preferably, the step of copying the text subtitle information includes:
识别所述网页节点中的文本字幕信息的标识标签;identifying the identification tag of the text subtitle information in the webpage node;
根据标识标签中对应的视和/或音频文件的信息,复制与所述加载网页中的视和/或音频文件对应的文本字幕信息。Copying the text subtitle information corresponding to the video and/or audio file in the loaded webpage according to the information identifying the corresponding video and/or audio file in the tag.
优选的,所述将所述复制的文本字幕信息根据所述加载网页中的对应播放的视和/或音频文件同步进行显示的步骤包括:Preferably, the step of synchronously displaying the copied text subtitle information according to the corresponding video and/or audio files in the loaded webpage includes:
根据所述复制的文本字幕信息中的时间帧信息,所述复制的文本字幕信息随加载网页中的对应的视和/或音频文件的播放同步显示对应的字幕。According to the time frame information in the copied text subtitle information, the copied text subtitle information displays corresponding subtitles synchronously with the playback of corresponding video and/or audio files in the loaded webpage.
优选的,在所述显示窗口中加载文本字幕信息控制工具,包括:窗口最小化、窗口最大化、窗口关闭、关键字检索、文本属性设置。Preferably, text subtitle information control tools are loaded in the display window, including: window minimization, window maximization, window closing, keyword retrieval, and text attribute setting.
优选的,进一步包括:在所述文本字幕信息中检索字幕关键字;Preferably, it further includes: retrieving subtitle keywords in the text subtitle information;
根据所述字幕关键字对应的时间帧信息,将所述文本字幕信息对应的视和/或音频文件跳转到与所述时间帧信息对应的时间帧处进行播放。According to the time frame information corresponding to the subtitle keyword, the video and/or audio file corresponding to the text subtitle information is jumped to the time frame corresponding to the time frame information for playing.
优选的,进一步包括:改变显示的所述文本字幕信息中的显示进度时,实时改变所述文本字幕信息对应的视和/或音频文件的播放时间帧为所述显示的文本字幕信息对应的时间帧。Preferably, it further includes: when changing the display progress in the displayed text subtitle information, changing the playing time frame of the video and/or audio file corresponding to the text subtitle information in real time to the time corresponding to the displayed text subtitle information frame.
优选的,所述在网页浏览器所处的系统桌面上创建一个显示窗口的步骤包括:Preferably, the step of creating a display window on the system desktop where the web browser is located comprises:
获取网页浏览器中所述视和/或音频文件所在页签的浏览器窗口;Obtain the browser window of the tab where the video and/or audio file is located in the web browser;
获取浏览器窗口的容器窗口;Get the container window of the browser window;
以容器窗口为父窗口创建弹出类型显示窗口。Create a popup type display window with the container window as the parent window.
优选的,在视和/或音频文件播放时,所述显示窗口置顶显示。Preferably, when the video and/or audio file is played, the display window is displayed on top.
优选的,在所述网页关闭时,所述显示窗口一同关闭。Preferably, when the webpage is closed, the display window is closed together.
优选的,所述文本字幕包括多语种文本字幕;Preferably, the text subtitles include multilingual text subtitles;
对多语种文本字幕进行关键字检索、显示和文本属性设置。Perform keyword search, display and text attribute setting for multilingual text subtitles.
优选的,还包括:接收用户操作,启动或关闭所述复制的文本字幕信息在桌面上的显示窗口内显示。Preferably, the method further includes: receiving a user operation, enabling or disabling the display of the copied text subtitle information in the display window on the desktop.
优选的,还包括:接收用户操作,调整所述显示窗口在桌面上的位置。Preferably, the method further includes: receiving a user operation, and adjusting the position of the display window on the desktop.
优选的,还包括:接收用户操作,更改所述复制的文本字幕信息在桌面上的显示窗口内显示的文字字体、字号、颜色;Preferably, it also includes: receiving user operations, changing the text font, font size, and color displayed in the display window on the desktop of the copied text subtitle information;
其中,所述文字字体、字号、颜色默认按照所在网页中的参数进行显示。Wherein, the font, font size, and color of the text are displayed according to the parameters in the web page by default.
优选的,进一步包括:在复制所述文本字幕信息之前,基于所述文本字幕信息在网页浏览器中的脚本文件,判断所述文本字幕信息是否是网页中视和/或音频文件对应的文本字幕信息。Preferably, it further includes: before copying the text subtitle information, based on the script file of the text subtitle information in the web browser, judging whether the text subtitle information is the text subtitle information corresponding to the video and/or audio files in the web page .
优选的,所述复制该文本字幕信息的步骤进一步包括:Preferably, the step of copying the text subtitle information further includes:
通过调用IWebBrowser2Ptr接口的方法获取文本字幕信息的指针;Obtain the pointer of text subtitle information by calling the method of IWebBrowser2Ptr interface;
基于所述指针,通过调用IWebBrowser2Ptr接口复制该文本字幕信息。Based on the pointer, the text subtitle information is copied by calling the IWebBrowser2Ptr interface.
本发明还公开了一种网页中文本字幕信息的显示装置,包括:The invention also discloses a display device for text subtitle information in a webpage, comprising:
DOM树解析模块,其配置为对网页浏览器中加载网页的DOM树进行解析;DOM tree parsing module, which is configured to parse the DOM tree of the webpage loaded in the web browser;
文本字幕信息获取复制模块,其配置为基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息;The text subtitle information acquisition copying module is configured to obtain the text subtitle information therein based on the DOM tree parsing result, and copy the text subtitle information;
显示窗口创建模块,其配置为在网页浏览器所处的系统桌面上创建一个显示窗口;A display window creation module configured to create a display window on the system desktop where the web browser is located;
文本字幕信息同步显示模块,其配置为将所述复制的文本字幕信息根据所述加载网页中的对应播放的视和/或音频文件在所述显示窗口中同步进行显示。The text subtitle information synchronous display module is configured to synchronously display the copied text subtitle information in the display window according to the corresponding played video and/or audio files in the loaded webpage.
优选的,所述文本字幕信息获取复制模块在网页浏览器对DOM树中的文本字幕信息渲染之前,基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息。Preferably, before the web browser renders the text subtitle information in the DOM tree, the text subtitle information in the DOM tree is obtained by the text subtitle information based on the analysis result of the DOM tree, and the text subtitle information is copied.
优选的,所述文本字幕信息获取复制模块包括:Preferably, said text subtitle information acquisition copying module includes:
网页节点查询到子模块,其配置为基于DOM树解析结果,遍历DOM树中的各个节点,查询到包括文本字幕信息的XML文档的网页节点;The webpage node is queried into a submodule, which is configured to traverse each node in the DOM tree based on the DOM tree analysis result, and query the webpage node of the XML document including text subtitle information;
文本字幕信息获取子模块,其配置为获取该网页节点中的文本字幕信息。The text subtitle information acquisition submodule is configured to acquire the text subtitle information in the webpage node.
优选的,所述文本字幕信息获取复制模块还包括:Preferably, the text subtitle information acquisition and copying module also includes:
标识标签识别子模块,其配置为识别所述网页节点中的文本字幕信息的标识标签;An identification tag identification submodule configured to identify the identification tag of the text subtitle information in the web page node;
文本字幕信息第一复制子模块,其配置为根据标识标签中对应的视和/或音频文件的信息,复制与所述加载网页中的视和/或音频文件对应的文本字幕信息。The first copying submodule of text subtitle information is configured to copy the text subtitle information corresponding to the video and/or audio file in the loaded webpage according to the information of the corresponding video and/or audio file in the identification tag.
优选的,所述文本字幕信息同步显示模块根据所述复制的文本字幕信息中的时间帧信息,所述复制的文本字幕信息随加载网页中的对应的视和/或音频文件的播放同步显示对应的字幕。Preferably, the text subtitle information synchronous display module is based on the time frame information in the copied text subtitle information, and the copied text subtitle information is synchronously displayed corresponding to the playback of the corresponding video and/or audio files in the loaded webpage. subtitles.
优选的,所述显示窗口创建模块包括:Preferably, the display window creation module includes:
控制工具加载子模块,其配置为在所述显示窗口中加载文本字幕信息控制工具,包括:窗口最小化、窗口最大化、窗口关闭、关键字检索、文本属性设置。The control tool loading submodule is configured to load text subtitle information control tools in the display window, including: window minimization, window maximization, window closing, keyword retrieval, and text attribute setting.
优选的,进一步包括:Preferably, further comprising:
关键字检索模块,其配置为在所述文本字幕信息中检索字幕关键字;A keyword retrieval module configured to retrieve subtitle keywords in the text subtitle information;
时间帧跳转模块,其配置为根据所述字幕关键字对应的时间帧信息,将所述文本字幕信息对应的视和/或音频文件跳转到与所述时间帧信息对应的时间帧处进行播放。A time frame jump module configured to jump the video and/or audio file corresponding to the text subtitle information to the time frame corresponding to the time frame information according to the time frame information corresponding to the subtitle keyword play.
优选的,进一步包括:Preferably, further comprising:
时间帧改变模块,其配置为改变显示的所述文本字幕信息中的显示进度时,实时改变所述文本字幕信息对应的视和/或音频文件的播放时间帧为所述显示的文本字幕信息对应的时间帧。The time frame changing module is configured to change the playing time frame of the video and/or audio file corresponding to the text subtitle information in real time when changing the display progress in the displayed text subtitle information to correspond to the displayed text subtitle information time frame.
优选的,所述显示窗口创建模块包括:Preferably, the display window creation module includes:
浏览器窗口获取子模块,其配置为获取网页浏览器中所述视和/或音频文件所在页签的浏览器窗口;The browser window acquisition submodule is configured to acquire the browser window of the tab where the video and/or audio files are located in the web browser;
容器窗口获取子模块,其配置为获取浏览器窗口的容器窗口;A container window acquisition sub-module configured to acquire a container window of a browser window;
弹出类型显示窗口创建子模块,其配置为以容器窗口为父窗口创建弹出类型显示窗口。The popup type display window creation submodule is configured to create a popup type display window with the container window as the parent window.
优选的,在视和/或音频文件播放时,所述显示窗口置顶显示。Preferably, when the video and/or audio file is played, the display window is displayed on top.
优选的,在所述网页关闭时,所述显示窗口一同关闭。Preferably, when the webpage is closed, the display window is closed together.
优选的,所述文本字幕包括多语种文本字幕;Preferably, the text subtitles include multilingual text subtitles;
所述控制工具加载子模块对多语种文本字幕进行关键字检索、显示和文本属性设置。The loading sub-module of the control tool performs keyword retrieval, display and text attribute setting for multilingual text subtitles.
优选的,还包括:Preferably, it also includes:
启动或关闭模块,其配置为接收用户操作,启动或关闭所述复制的文本字幕信息在桌面上的显示窗口内显示。The activation or deactivation module is configured to receive user operations, and activate or deactivate the display of the copied text subtitle information in the display window on the desktop.
优选的,还包括:Preferably, it also includes:
显示窗口位置调整模块,其配置为接收用户操作,调整所述显示窗口在桌面上的位置。The display window position adjustment module is configured to receive user operations and adjust the position of the display window on the desktop.
优选的,还包括:Preferably, it also includes:
文本属性更改模块,其配置为接收用户操作,更改所述复制的文本字幕信息在桌面上的显示窗口内显示的文字字体、字号、颜色;A text attribute modification module, which is configured to receive user operations, to change the text font, font size, and color displayed in the display window on the desktop of the copied text subtitle information;
其中,所述文字字体、字号、颜色默认按照所在网页中的参数进行显示。Wherein, the font, font size, and color of the text are displayed according to the parameters in the web page by default.
优选的,进一步包括:Preferably, further comprising:
文本字幕信息判断模块,其配置为在复制所述文本字幕信息之前,基于所述文本字幕信息在网页浏览器中的脚本文件,判断所述文本字幕信息是否是网页中视和/或音频文件对应的文本字幕信息。Text subtitle information judging module, it is configured to before copying described text subtitle information, based on the script file of described text subtitle information in the web browser, judges whether described text subtitle information is corresponding to video and/or audio file in the webpage Text subtitle information.
优选的,所述文本字幕信息获取复制模块还包括:Preferably, the text subtitle information acquisition and copying module also includes:
指针获取子模块,其配置为通过调用IWebBrowser2Ptr接口的方法获取文本字幕信息的指针;Pointer obtaining submodule, which is configured to obtain the pointer of text subtitle information by calling the method of IWebBrowser2Ptr interface;
文本字幕信息第二复制子模块,其配置为基于所述指针,通过调用IWebBrowser2Ptr接口复制该文本字幕信息。The second copy submodule of the text subtitle information is configured to copy the text subtitle information by calling the IWebBrowser2Ptr interface based on the pointer.
与现有技术相比,本发明包括以下优点:Compared with the prior art, the present invention includes the following advantages:
本发明提出了一种网页中文本字幕信息的显示方法和装置,在浏览器对文本字幕信息渲染之前,复制所述文本字幕信息,显示在桌面上创建的显示窗口内,并对桌面上显示窗口内的文本字幕信息进行操作。提高了用户浏览网页中文本字幕信息的灵活度,也提高了用户的使用效率。The present invention proposes a method and device for displaying text subtitle information in a webpage. Before the browser renders the text subtitle information, the text subtitle information is copied and displayed in a display window created on the desktop, and the display window on the desktop is displayed. to operate on the text subtitle information within. The flexibility of browsing text subtitle information in the webpage by the user is improved, and the use efficiency of the user is also improved.
附图说明Description of drawings
图1是本发明实施例一所述一种网页中文本字幕信息的显示方法流程图;Fig. 1 is a flow chart of a method for displaying text subtitle information in a web page according to Embodiment 1 of the present invention;
图2是本发明实施例二所述一种网页中文本字幕信息的显示方法流程图;2 is a flow chart of a method for displaying text subtitle information in a web page according to Embodiment 2 of the present invention;
图3是本发明实施例三所述一种网页中文本字幕信息的显示装置结构图;3 is a structural diagram of a display device for text subtitle information in a web page according to Embodiment 3 of the present invention;
图4是本发明实施例四所述一种网页中文本字幕信息的显示装置结构图。FIG. 4 is a structural diagram of a device for displaying text subtitle information in a web page according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
本发明提出的一种网页中文本字幕信息的显示方法和装置,在网页浏览器对DOM树中的文本字幕信息渲染之前,复制所述文本字幕信息,并显示在桌面上创建的显示窗口内,还可以对显示窗口内显示的文本字幕信息进行操作。本发明提出的一种网页中文本字幕信息的显示方法和装置涉及到对文档对象模型(Document Object Model,DOM)进行解析。DOM是一种用于可扩展标记语言(Extensible Markup Language,XML)文档的对象模型,可用于直接访问XML文档的各个部分。在DOM中,文档被模拟为树状,其中XML语法的每个组成部分(例如元素或文本内容)都被表示为一个节点。作为一种应用程序编程接口(Application Programming Interface,API),DOM允许遍历文档树,从父节点移动到子节点和兄弟节点等,并可以利用各种节点类型特有的属性(元素具有属性)。A method and device for displaying text subtitle information in a webpage proposed by the present invention, before the web browser renders the text subtitle information in the DOM tree, copy the text subtitle information and display it in a display window created on the desktop, It is also possible to operate on the text subtitle information displayed in the display window. A method and device for displaying text subtitle information in a web page proposed by the present invention involves parsing a Document Object Model (DOM). DOM is an object model for Extensible Markup Language (XML) documents, which can be used to directly access various parts of XML documents. In DOM, a document is modeled as a tree, where each component of the XML syntax (such as an element or text content) is represented as a node. As an application programming interface (Application Programming Interface, API), DOM allows traversing the document tree, moving from parent nodes to child nodes and sibling nodes, etc., and can utilize attributes specific to various node types (elements have attributes).
DOM树是指通过DOM将超文本标记语言(HyperText MarkupLanguage,HTML)页面进行解析,并生成HTML树树状结构和对应的访问方法。解析DOM树,能直接而且简易的操作HTML页面上的每个标记内容。The DOM tree refers to parsing the HyperText Markup Language (HyperText MarkupLanguage, HTML) page through the DOM, and generating an HTML tree structure and corresponding access methods. By parsing the DOM tree, you can directly and easily manipulate the content of each tag on the HTML page.
下面通过列举几个具体的实施例详细介绍本发明提出的一种网页中文本字幕信息的显示方法和装置。A method and device for displaying text subtitle information in a web page proposed by the present invention will be described in detail below by enumerating several specific embodiments.
实施例一,详细介绍本发明所述一种网页中文本字幕信息的显示方法。Embodiment 1 describes in detail a method for displaying text subtitle information in a webpage according to the present invention.
参照图1,示出了本发明实施例一所述一种网页中文本字幕信息的显示方法流程图。Referring to FIG. 1 , it shows a flowchart of a method for displaying text subtitle information in a webpage according to Embodiment 1 of the present invention.
步骤11,对网页浏览器中加载网页的DOM树进行解析;Step 11, analyzing the DOM tree of the webpage loaded in the web browser;
网页浏览器在访问网页时,向网页所在的服务器发送各种请求,并对从服务器发来的超文本信息和各种多媒体数据格式进行解析、显示和播放。When a web browser accesses a web page, it sends various requests to the server where the web page is located, and parses, displays and plays the hypertext information and various multimedia data formats sent from the server.
在网页浏览器的上述工作过程中,网页所包含的信息和数据保存在DOM中,对DOM进行解析,形成DOM树,得到网页所包含的信息和数据等元素的结构和属性,再对DOM树进行解析,进一步得到网页中各元素的相关内容。所述网页中各元素的相关内容为DOM树解析后得到的解析结果。In the above-mentioned working process of the web browser, the information and data contained in the web page are stored in the DOM, the DOM is parsed to form a DOM tree, and the structure and attributes of elements such as the information and data contained in the web page are obtained, and then the DOM tree is analyzed. Perform analysis to further obtain relevant content of each element in the web page. The relevant content of each element in the webpage is the analysis result obtained after the DOM tree analysis.
步骤12,基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息;Step 12, based on the DOM tree parsing result, obtain the text subtitle information therein, and copy the text subtitle information;
得到DOM树解析结果后,复制DOM树解析结果中的文本字幕信息,得到文本字幕信息的副本。After the DOM tree analysis result is obtained, the text subtitle information in the DOM tree analysis result is copied to obtain a copy of the text subtitle information.
网页浏览器的操作对象是DOM树解析结果中的文本字幕信息,本方法的操作对象是文本字幕信息的副本。The operation object of the web browser is the text subtitle information in the DOM tree parsing result, and the operation object of this method is a copy of the text subtitle information.
步骤13,在网页浏览器所处的系统桌面上创建一个显示窗口,并将所述复制的文本字幕信息根据所述加载网页中的对应播放的视和/或音频文件同步进行显示。Step 13, create a display window on the system desktop where the web browser is located, and synchronously display the copied text subtitle information according to the corresponding played video and/or audio files in the loaded web page.
在网页浏览器所处的操作系统桌面上创建一个显示窗口,此显示窗口可以是传统意义上操作系统中的一个实际窗口,也可以是一个虚拟出来的窗口,当作一个显示载体出现。A display window is created on the desktop of the operating system where the web browser is located. This display window can be an actual window in the operating system in the traditional sense, or a virtual window, which appears as a display carrier.
在创建的所述显示窗口内,包括在实际窗口和虚拟出来的窗口内,将复制得到的文本字幕信息的副本显示出来,所述显示是根据加载网页中的,与所述复制的文本字幕信息对应播放的视和/或音频文件同步进行显示。In the created display window, including in the actual window and the virtual window, a copy of the copied text subtitle information is displayed, and the display is based on the content of the loaded web page and the copied text subtitle information The corresponding video and/or audio files are displayed synchronously.
综上所述,本发明实施例一提出的一种网页中文本字幕信息的显示方法与现有技术相比,具有以下优点:To sum up, compared with the prior art, the method for displaying text subtitle information in a webpage proposed by Embodiment 1 of the present invention has the following advantages:
本发明实施例一提出了一种网页中文本字幕信息的显示方法,在浏览器对文本字幕信息渲染之前,复制所述文本字幕信息,显示在桌面上创建的显示窗口内,并对桌面上显示窗口内的文本字幕信息进行操作。提高了用户浏览网页中文本字幕信息的灵活度,也提高了用户的使用效率。Embodiment 1 of the present invention proposes a method for displaying text subtitle information in a webpage. Before the browser renders the text subtitle information, the text subtitle information is copied, displayed in a display window created on the desktop, and displayed on the desktop. The text subtitle information in the window is operated. The flexibility of browsing text subtitle information in the webpage by the user is improved, and the use efficiency of the user is also improved.
实施例二,详细介绍本发明所述一种网页中文本字幕信息的显示方法。Embodiment 2 describes in detail a method for displaying text subtitle information in a webpage according to the present invention.
参照图2,示出了本发明实施例二所述一种网页中文本字幕信息的显示方法流程图。Referring to FIG. 2 , it shows a flowchart of a method for displaying text subtitle information in a web page according to Embodiment 2 of the present invention.
步骤21,对网页浏览器中加载网页的DOM树进行解析;Step 21, analyzing the DOM tree of the webpage loaded in the web browser;
网页浏览器在访问网页时,向网页所在的服务器发送各种请求,并对从服务器发来的超文本信息和各种多媒体数据格式进行解析、显示和播放。When a web browser accesses a web page, it sends various requests to the server where the web page is located, and parses, displays and plays the hypertext information and various multimedia data formats sent from the server.
在网页浏览器的上述工作过程中,网页所包含的信息和数据保存在DOM中,对DOM进行解析,形成DOM树,得到网页所包含的信息和数据等元素的结构和属性,再对DOM树进行解析,进一步得到网页中各元素的相关内容。所述网页中各元素的相关内容为DOM树解析后得到的解析结果。In the above-mentioned working process of the web browser, the information and data contained in the web page are stored in the DOM, the DOM is parsed to form a DOM tree, and the structure and attributes of elements such as the information and data contained in the web page are obtained, and then the DOM tree is analyzed. Perform analysis to further obtain relevant content of each element in the web page. The relevant content of each element in the webpage is the analysis result obtained after the DOM tree analysis.
步骤22,基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息;Step 22, based on the DOM tree parsing result, obtain the text subtitle information therein, and copy the text subtitle information;
网页中包含许多文本字幕信息,但并不是所有的文本字幕信息都是本方法的操作对象。在复制所述文本字幕信息之前,基于所述文本字幕信息在网页浏览器中的脚本文件,判断所述文本字幕信息是否是网页中视和/或音频文件对应的文本字幕信息。A web page contains a lot of text subtitle information, but not all text subtitle information is the operation object of this method. Before copying the text subtitle information, based on the script file of the text subtitle information in the web browser, it is judged whether the text subtitle information is the text subtitle information corresponding to the video and/or audio files in the web page.
例如,判断文本字幕信息在网页浏览器中对应的脚本文件,是否表示所述文本字幕信息是音乐歌词或演唱者资料还是音乐专辑简介等。For example, it is judged whether the script file corresponding to the text subtitle information in the web browser indicates whether the text subtitle information is music lyrics or singer information or a music album introduction, etc.
其中,所述复制该文本字幕信息的可以通过以下步骤进行:Wherein, said duplicating the text subtitle information can be carried out through the following steps:
通过调用IWebBrowser2Ptr接口的方法获取文本字幕信息的指针;Obtain the pointer of text subtitle information by calling the method of IWebBrowser2Ptr interface;
可以通过使用OLEACC.dll动态库中的ObjectFromLresult函数来获取IWebBrowser2Ptr接口,再调用所述接口获取文本字幕信息的指针。The IWebBrowser2Ptr interface can be obtained by using the ObjectFromLresult function in the OLEACC.dll dynamic library, and then the interface can be called to obtain the pointer of the text subtitle information.
基于所述指针,通过调用IWebBrowser2Ptr接口复制该文本字幕信息。Based on the pointer, the text subtitle information is copied by calling the IWebBrowser2Ptr interface.
再基于所述文本字幕信息的指针,继续调用IWebBrowser2Ptr接口复制该文本字幕信息。Based on the pointer of the text subtitle information, continue to call the IWebBrowser2Ptr interface to copy the text subtitle information.
并且,所述复制所述文本字幕信息的步骤是在网页浏览器对DOM树中的文本字幕信息渲染之前执行。Moreover, the step of copying the text subtitle information is executed before the web browser renders the text subtitle information in the DOM tree.
所述步骤22包括:Said step 22 comprises:
步骤221,基于DOM树解析结果,遍历DOM树中的各个节点,查询到包括文本字幕信息的XML文档的网页节点;Step 221, based on the DOM tree parsing result, traverse each node in the DOM tree, and query the webpage node of the XML document including text subtitle information;
在DOM树解析结果中,包括多个节点,其中所述文本字幕信息以XML文档的形式保存在部分节点中。The DOM tree parsing result includes multiple nodes, wherein the text subtitle information is stored in some nodes in the form of XML documents.
在DOM树解析结果中,要逐一查询各个节点,将所有包括文本字幕信息的XML文档的网页节点查询出来。In the DOM tree parsing result, each node should be queried one by one, and all webpage nodes of the XML document including text subtitle information are queried out.
步骤222,获取该网页节点中的文本字幕信息;Step 222, obtaining text subtitle information in the web page node;
在查询得到所述包括文本字幕信息的XML文档后,根据所述文本字幕信息在XML文档中的对应的标识符号,确定其在XML文档中的所在位置,然后获取出所述文本字幕信息。After obtaining the XML document including text subtitle information, determine its location in the XML document according to the corresponding identification symbol of the text subtitle information in the XML document, and then obtain the text subtitle information.
步骤223,识别所述网页节点中的文本字幕信息的标识标签;Step 223, identifying the identification tag of the text subtitle information in the web page node;
所述文本年字幕信息包括两类标签,标识标签是其中的一类,以文本字幕中的音乐歌词为例进行说明,音乐歌词的标识标签的格式为“[标识名:值]”主要包含以下预定义的信息:Described text year subtitle information comprises two types of labels, and identification label is wherein a class, is illustrated with the music lyrics in the text subtitles as example, and the format of the identification label of music lyrics is " [identification name: value] " mainly includes following Predefined information:
[ar:歌手名]、[ti:歌曲名]、[al:专辑名]、[by:编辑者]、[offset:时间补偿值](其单位是毫秒,正值表示整体提前,负值相反。)[ar: singer name], [ti: song name], [al: album name], [by: editor], [offset: time compensation value] (the unit is milliseconds, a positive value means the overall advance, and a negative value is the opposite .)
在获得所述文本字幕信息后,识别其标识标签,获得标识标签中预定义的信息。After obtaining the text subtitle information, identify its identification tag, and obtain the predefined information in the identification tag.
步骤224,根据标识标签中对应的视和/或音频文件的信息,复制与所述加载网页中的视和/或音频文件对应的文本字幕信息;Step 224, copying the text subtitle information corresponding to the video and/or audio file in the loaded webpage according to the information of the corresponding video and/or audio file in the identification tag;
在获得标识标签中预定义的信息后,确定所述文本字幕信息是否为加载网页中的视和/或音频文件对应的文本字幕信息,如果是,则复制所述对应的文本字幕信息。After obtaining the predefined information in the identification tag, determine whether the text subtitle information is the text subtitle information corresponding to the video and/or audio files in the loaded webpage, and if so, copy the corresponding text subtitle information.
步骤23,在网页浏览器所处的系统桌面上创建一个显示窗口;Step 23, create a display window on the system desktop where the web browser is located;
在网页浏览器所处的操作系统桌面上创建一个显示窗口,此显示窗口可以是传统意义上操作系统中的一个实际窗口,也可以是一个虚拟出来的窗口,当作一个显示载体出现。A display window is created on the desktop of the operating system where the web browser is located. This display window can be an actual window in the operating system in the traditional sense, or a virtual window, which appears as a display carrier.
在所述显示窗口中加载文本字幕信息控制工具,包括:窗口最小化、窗口最大化、窗口关闭、关键字检索、文本属性设置。The text subtitle information control tool is loaded in the display window, including: window minimization, window maximization, window closing, keyword retrieval, and text attribute setting.
在所述显示窗口中可以加载一些对显示窗口或文本字幕信息进行控制的工具,以丰富用户的操作体验。Some tools for controlling the display window or text subtitle information can be loaded in the display window to enrich the user's operating experience.
所述文本字幕包括多语种文本字幕;The text subtitles include multilingual text subtitles;
对多语种文本字幕进行关键字检索、显示和文本属性设置。Perform keyword search, display and text attribute setting for multilingual text subtitles.
本发明实施例二中所述的文本字幕信息不局限于中文或者英文的文本字幕,可以为多语种;可以单独显示一种语种的文本字幕信息,也可以同时显示多个语种的文本字幕信息。并且也可以对多语种文本字幕信息进行控制操作,如关键字检索、显示和文本属性设置等。The text subtitle information described in Embodiment 2 of the present invention is not limited to Chinese or English text subtitles, and can be multilingual; text subtitle information in one language can be displayed independently, and text subtitle information in multiple languages can also be displayed simultaneously. Moreover, it is also possible to perform control operations on multilingual text subtitle information, such as keyword retrieval, display, and text attribute setting.
所述步骤23包括:Described step 23 comprises:
步骤231,获取网页浏览器中所述视和/或音频文件所在页签的浏览器窗口;Step 231, obtaining the browser window of the tab where the video and/or audio files are located in the web browser;
根据所述视和/或音频文件所在页签绑定的唯一ID,确定与所述ID对应的页签数据,获取其中的浏览器窗口。According to the unique ID bound to the tab where the video and/or audio file is located, determine the tab data corresponding to the ID, and obtain the browser window therein.
步骤232,获取浏览器窗口的容器窗口;Step 232, obtaining the container window of the browser window;
获取到所述浏览器窗口后,根据所述浏览器窗口的属性信息,获取到容器窗口。After the browser window is obtained, the container window is obtained according to the attribute information of the browser window.
步骤233,以容器窗口为父窗口创建弹出类型显示窗口。Step 233, create a pop-up type display window with the container window as the parent window.
以所述容器窗口为父窗口,在桌面上创建弹出类型的显示窗口(具有ws_popup窗口风格);因为是以容器窗口为父窗口创建的,并且容器窗口为所述页签的浏览器窗口的容器窗口,所以显示窗口与所述页签有对应关系。Create a pop-up display window (with ws_popup window style) on the desktop with the container window as the parent window; because it is created with the container window as the parent window, and the container window is the container of the browser window of the tab window, so the display window has a corresponding relationship with the tab.
步骤24,在所述显示窗口内,将所述复制的文本字幕信息根据所述加载网页中的对应播放的视和/或音频文件同步进行显示。Step 24, in the display window, synchronously display the copied text subtitle information according to the corresponding played video and/or audio files in the loaded web page.
在所述在桌面上创建的显示窗口内,显示所述复制的文本字幕信息。所述显示是根据加载网页中的,与所述文本字幕信息对应播放的视和/或音频文件同步进行显示。In the display window created on the desktop, display the copied text subtitle information. The display is performed synchronously with the video and/or audio files played corresponding to the text subtitle information in the loaded webpage.
根据所述复制的文本字幕信息中的时间帧信息,所述复制的文本字幕信息随加载网页中的对应的视和/或音频文件的播放同步显示对应的字幕。According to the time frame information in the copied text subtitle information, the copied text subtitle information displays corresponding subtitles synchronously with the playback of corresponding video and/or audio files in the loaded webpage.
当所述加载网页中的视和/或音频文件播放到某个具体时间点时,与之对应的文本字幕信息也同步显示所述时间点处的文本字幕。如音乐文件“他来听我的演唱会”播放到5分20秒,则与之对应的音乐歌词也显示5分20秒这个时间帧处的歌词。When the video and/or audio file in the loaded web page is played to a specific time point, the text subtitle information corresponding thereto is also displayed synchronously with the text subtitle at the time point. If the music file "he came to listen to my concert" is played until 5 minutes and 20 seconds, then the corresponding music lyrics also show the lyrics at the time frame of 5 minutes and 20 seconds.
在视和/或音频文件播放时,所述显示窗口置顶显示。When the video and/or audio file is played, the display window is displayed on top.
在所述视和/或音频文件播放时,所述显示窗口在桌面上置顶显示,具有最高的桌面显示优先级。When the video and/or audio file is played, the display window is displayed on top of the desktop and has the highest desktop display priority.
在所述网页关闭时,所述显示窗口一同关闭。When the webpage is closed, the display window is closed together.
当将加载所述视和/或音频文件的网页关闭时,所述显示窗口也一同关闭,所述显示窗口与所述加载所述视和/或音频文件的网页一直保持对应关系;但是关闭所述显示窗口,并不会影响所述加载所述视和/或音频文件的网页。When the webpage that will load described video and/or audio file is closed, described display window is also closed together, and described display window and described loading described webpage that video and/or audio file keep corresponding relationship; But close all The above display window will not affect the webpage that loads the video and/or audio files.
步骤25,接收用户操作,对所述显示窗口和所述文本字幕信息进行相应的操作。Step 25, receiving user operations, and performing corresponding operations on the display window and the text subtitle information.
用户可以对所述显示窗口和在所述显示窗口中显示的文本字幕信息进行相应的操作,如改变显示窗口的显示位置、最大化、最小化等;改变文本字幕信息的字体、字号大小和字体显示颜色等。The user can perform corresponding operations on the display window and the text subtitle information displayed in the display window, such as changing the display position of the display window, maximizing, minimizing, etc.; changing the font, font size and font of the text subtitle information Show colors etc.
在所述文本字幕信息中检索字幕关键字;retrieving subtitle keywords in the text subtitle information;
根据所述字幕关键字对应的时间帧信息,将所述文本字幕信息对应的视和/或音频文件跳转到与所述时间帧信息对应的时间帧处进行播放。According to the time frame information corresponding to the subtitle keyword, the video and/or audio file corresponding to the text subtitle information is jumped to the time frame corresponding to the time frame information for playing.
在所述文本字幕信息中检索字幕关键字,如在音乐歌词中检索其中的关键字“演唱会”,根据关键字“演唱会”在音乐歌词中对应的时间帧信息“5’20””,即5分20秒,将与所述音乐歌词对应的音乐文件调整到5分20秒处进行播放。Retrieve the subtitle keyword in the text subtitle information, such as retrieving the keyword "concert" in the music lyrics, according to the time frame information "5'20" corresponding to the keyword "concert" in the music lyrics, That is, at 5 minutes and 20 seconds, the music file corresponding to the music lyrics is adjusted to play at 5 minutes and 20 seconds.
改变显示的所述文本字幕信息中的显示进度时,实时改变所述文本字幕信息对应的视和/或音频文件的播放时间帧为所述显示的文本字幕信息对应的时间帧。When changing the display progress in the displayed text subtitle information, change the playing time frame of the video and/or audio file corresponding to the text subtitle information in real time to the time frame corresponding to the displayed text subtitle information.
当改变所述显示的文本字幕信息中的显示进度时,如将音乐歌词的显示进度由显示第一句改成显示第十句时,与所述音乐歌词对应的音乐文件也实时地由播放第一句调整为播放第十句。When changing the display progress in the text subtitle information of the display, as the display progress of the music lyrics is changed from displaying the first sentence to showing the tenth sentence, the music file corresponding to the music lyrics is also played in real time by the first sentence. One sentence is adjusted to play the tenth sentence.
接收用户操作,启动或关闭所述复制的文本字幕信息在桌面上的显示窗口内显示。Receiving a user operation, enabling or disabling the display of the copied text subtitle information in the display window on the desktop.
可以通过点击启动或关闭按钮,或者其他具有相同功能的操作,控制所述文本字幕信息在桌面上的显示窗口内是否进行显示。Whether the text subtitle information is displayed in the display window on the desktop can be controlled by clicking the start or close button, or other operations with the same function.
接收用户操作,调整所述显示窗口在桌面上的位置。The user operation is received, and the position of the display window on the desktop is adjusted.
所述桌面上的显示窗口的位置也可以根据实际需要,随意调整位置或大小。The position or size of the display window on the desktop can also be adjusted arbitrarily according to actual needs.
接收用户操作,更改所述复制的文本字幕信息在桌面上的显示窗口内显示的文字字体、字号、颜色;Receive user operations, change the text font, font size, and color displayed in the display window on the desktop of the copied text subtitle information;
其中,所述文字字体、字号、颜色默认按照所在网页中的参数进行显示。Wherein, the font, font size, and color of the text are displayed according to the parameters in the web page by default.
对桌面上显示窗口内显示的文本字幕信息的字体、字号大小、颜色等属性信息进行个性化修改。如选择字体为宋体、微软雅黑或其他字体类型;调整字号大小为12或16等,可以根据个人喜好随意调整;改变文本字幕的颜色,如改成养眼的绿色等。Personalized modification of the font, font size, color and other attribute information of the text subtitle information displayed in the display window on the desktop. For example, choose the font as Arial, Microsoft Yahei or other font types; adjust the font size to 12 or 16, etc., which can be adjusted according to your personal preferences; change the color of the text subtitle, such as changing it to an eye-catching green.
所述文字字体、字号、颜色是按照已经定义好的相关参数在网页中加载的,当在所述显示窗口中显示时,默认也是按照所述参数显示。The font, font size, and color of the text are loaded in the webpage according to the relevant parameters that have been defined, and when displayed in the display window, it is also displayed according to the parameters by default.
实施例三,详细介绍本发明所述一种网页中文本字幕信息的显示装置。The third embodiment introduces in detail a device for displaying text subtitle information in a webpage according to the present invention.
参照图3,示出了本发明实施例三所述一种网页中文本字幕信息的显示装置结构图。Referring to FIG. 3 , it shows a structural diagram of a device for displaying text subtitle information in a web page according to Embodiment 3 of the present invention.
所述网页中文本字幕信息的显示装置包括:The display device of text subtitle information in the described webpage comprises:
DOM树解析模块31,文本字幕信息获取复制模块32,显示窗口创建模块33,以及,文本字幕信息同步显示模块34。DOM tree parsing module 31 , text subtitle information acquisition and copying module 32 , display window creation module 33 , and text subtitle information synchronous display module 34 .
下面分别详细介绍各个模块的功能以及模块之间的关系。The functions of each module and the relationship between modules are introduced in detail below.
DOM树解析模块31,其配置为对网页浏览器中加载网页的DOM树进行解析;The DOM tree parsing module 31 is configured to parse the DOM tree of the webpage loaded in the web browser;
所述DOM树解析模块31对网页浏览器中加载网页的DOM树进行解析,得到包括网页中各元素相关内容的DOM树解析结果。The DOM tree parsing module 31 parses the DOM tree of the webpage loaded in the web browser, and obtains a DOM tree parsing result including relevant content of each element in the webpage.
文本字幕信息获取复制模块32,其配置为基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息;Text subtitle information acquisition and copying module 32, which is configured to obtain the text subtitle information therein based on the DOM tree parsing result, and copy the text subtitle information;
基于所述DOM树解析模块31解析得到的DOM树解析结果,所述文本字幕信息获取复制模块32在网页浏览器对DOM树中的文本字幕信息渲染之前,对所述文本字幕信息进行复制,得到所述文本字幕信息的副本。Based on the DOM tree analysis result obtained by the analysis of the DOM tree analysis module 31, the text subtitle information acquisition and copying module 32 copies the text subtitle information before the web browser renders the text subtitle information in the DOM tree to obtain A copy of the text subtitle information.
网页浏览器的操作对象是DOM树中的文本字幕信息,本装置的操作对象是文本字幕信息的副本。The operation object of the web browser is the text subtitle information in the DOM tree, and the operation object of the device is the copy of the text subtitle information.
显示窗口创建模块33,其配置为在网页浏览器所处的系统桌面创建一个显示窗口;Display window creation module 33, which is configured to create a display window on the system desktop where the web browser is located;
所述显示窗口创建模块33在网页浏览器所处的系统桌面上创建一个显示窗口,此显示窗口可以是传统意义上操作系统中的一个实际窗口,也可以是一个虚拟出来的窗口,当作一个显示载体出现。The display window creation module 33 creates a display window on the system desktop where the web browser is located. This display window can be an actual window in the operating system in the traditional sense, or a virtual window, as a The display carrier appears.
文本字幕信息同步显示模块34,其配置为将所述复制的文本字幕信息根据所述加载网页中的对应播放的视和/或音频文件在所述显示窗口中同步进行显示。The text subtitle information synchronous display module 34 is configured to synchronously display the copied text subtitle information in the display window according to the corresponding played video and/or audio files in the loaded webpage.
在所述显示窗口创建模块33创建的显示窗口内,所述文本字幕信息同步显示模块34将所述复制得到的文本字幕信息进行显示,所述显示是根据加载网页中的,与所述复制的文本字幕信息对应播放的视和/或音频文件同步进行显示。In the display window created by the display window creation module 33, the text subtitle information synchronous display module 34 displays the copied text subtitle information, and the display is based on the content of the loaded web page and the copied text subtitle information. The text subtitle information is displayed synchronously corresponding to the played video and/or audio files.
综上所述,本发明实施例三提出的一种网页中文本字幕信息的显示装置与现有技术相比,具有以下优点:To sum up, compared with the prior art, the device for displaying text subtitle information in a webpage proposed by Embodiment 3 of the present invention has the following advantages:
本发明实施例三提出了一种网页中文本字幕信息的显示装置,在浏览器对文本字幕信息渲染之前,复制所述文本字幕信息,显示在桌面上创建的显示窗口内,并对桌面上显示窗口内的文本字幕信息进行操作。提高了用户浏览网页中文本字幕信息的灵活度,也提高了用户的使用效率。Embodiment 3 of the present invention proposes a display device for text subtitle information in a webpage. Before the browser renders the text subtitle information, the text subtitle information is copied, displayed in a display window created on the desktop, and displayed on the desktop. The text subtitle information in the window is operated. The flexibility of browsing text subtitle information in the webpage by the user is improved, and the use efficiency of the user is also improved.
实施例四,详细介绍本发明所述一种网页中文本字幕信息的显示装置。Embodiment 4 describes in detail a device for displaying text subtitle information in a webpage according to the present invention.
参照图4,示出了本发明实施例四所述一种网页中文本字幕信息的显示装置结构图。Referring to FIG. 4 , it shows a structure diagram of a device for displaying text subtitle information in a web page according to Embodiment 4 of the present invention.
所述网页中文本字幕信息的显示装置包括:The display device of text subtitle information in the described webpage comprises:
DOM树解析模块401,文本字幕信息获取复制模块402,显示窗口创建模块403,文本字幕信息同步显示模块404,关键字检索模块405,时间帧跳转模块406,时间帧改变模块407,启动或关闭模块408,显示窗口位置调整模块409,文本属性更改模块410,以及,文本字幕信息判断模块411。DOM tree analysis module 401, text subtitle information acquisition and copy module 402, display window creation module 403, text subtitle information synchronous display module 404, keyword retrieval module 405, time frame jump module 406, time frame change module 407, start or close Module 408 , display window position adjustment module 409 , text attribute modification module 410 , and text subtitle information judging module 411 .
其中,所述文本字幕信息获取复制模块402包括:Wherein, the text subtitle information acquisition copying module 402 includes:
网页节点查询到子模块4021,文本字幕信息获取子模块4022,标识标签识别子模块4023,文本字幕信息第一复制子模块4024,指针获取子模块4025,以及,文本字幕信息第二复制子模块4026。Webpage node query submodule 4021, text subtitle information acquisition submodule 4022, identification label identification submodule 4023, text subtitle information first copy submodule 4024, pointer acquisition submodule 4025, and text subtitle information second copy submodule 4026 .
所述显示窗口创建模块403包括:The display window creation module 403 includes:
控制工具加载子模块4031,浏览器窗口获取子模块4032,容器窗口获取子模块4033,以及,弹出类型显示窗口创建子模块4034。Control tool loading sub-module 4031 , browser window acquisition sub-module 4032 , container window acquisition sub-module 4033 , and pop-up type display window creation sub-module 4034 .
下面分别详细介绍各个模块的功能以及模块之间的关系。The functions of each module and the relationship between modules are introduced in detail below.
DOM树解析模块401,其配置为对网页浏览器中加载网页的DOM树进行解析;The DOM tree parsing module 401 is configured to parse the DOM tree of the webpage loaded in the web browser;
所述DOM树解析模块401对网页浏览器中加载网页的DOM树进行解析,得到包括网页中各元素相关内容的DOM树解析结果。The DOM tree parsing module 401 parses the DOM tree of the webpage loaded in the web browser, and obtains a DOM tree parsing result including relevant content of each element in the webpage.
文本字幕信息获取复制模块402,其配置为基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息;Text subtitle information acquisition and copying module 402, which is configured to obtain the text subtitle information therein based on the DOM tree parsing result, and copy the text subtitle information;
基于所述DOM树解析模块401解析得到的DOM树解析结果,所述文本字幕信息获取复制模块402在网页浏览器对DOM树中的文本字幕信息渲染之前,对所述文本字幕信息进行复制,得到所述文本字幕信息的副本。Based on the DOM tree parsing result obtained by the DOM tree parsing module 401, the text subtitle information acquisition and copying module 402 copies the text subtitle information before the web browser renders the text subtitle information in the DOM tree to obtain A copy of the text subtitle information.
网页浏览器的操作对象是DOM树中的文本字幕信息,本装置的操作对象是文本字幕信息的副本。The operation object of the web browser is the text subtitle information in the DOM tree, and the operation object of the device is the copy of the text subtitle information.
所述文本字幕信息获取复制模块402在网页浏览器对DOM树中的文本字幕信息渲染之前,基于DOM树解析结果,获取其中的文本字幕信息,并复制该文本字幕信息。The text subtitle information obtaining and copying module 402 obtains the text subtitle information in the DOM tree based on the DOM tree analysis result before the web browser renders the text subtitle information in the DOM tree, and copies the text subtitle information.
所述文本字幕信息获取复制模块402包括:The text subtitle information acquisition copying module 402 includes:
网页节点查询到子模块4021,其配置为基于DOM树解析结果,遍历DOM树中的各个节点,查询到包括文本字幕信息的XML文档的网页节点;Web page node query submodule 4021, which is configured to traverse each node in the DOM tree based on the DOM tree analysis result, and query the web page node of the XML document including text subtitle information;
所述网页节点查询到子模块4021在DOM树解析结果中,要逐一查询各个节点,将所有包括文本字幕信息的XML文档的网页节点查询出来。The webpage node query sub-module 4021 will query each node one by one in the DOM tree analysis result, and query all webpage nodes of the XML document including text subtitle information.
文本字幕信息获取子模块4022,其配置为获取该网页节点中的文本字幕信息;The text subtitle information acquisition submodule 4022 is configured to acquire the text subtitle information in the web page node;
在所述网页节点查询到子模块4021查询得到所述包括文本字幕信息的XML文档后,所述文本字幕信息获取子模块4022根据所述文本字幕信息在XML文档中的对应的标识符号,确定其在XML文档中的所在位置,然后获取出所述文本字幕信息。After the web page node query submodule 4021 obtains the XML document including text subtitle information, the text subtitle information acquisition submodule 4022 determines the text subtitle information according to the corresponding identification symbol in the XML document. at the location in the XML document, and then obtain the text subtitle information.
标识标签识别子模块4023,其配置为识别所述网页节点中的文本字幕信息的标识标签;Identification tag identification sub-module 4023, which is configured to identify the identification tag of the text subtitle information in the web page node;
在所述文本字幕信息获取子模块4022获得所述文本字幕信息后,所述标识标签识别子模块4023识别其标识标签,获得标识标签中预定义的信息。After the text subtitle information acquisition submodule 4022 obtains the text subtitle information, the identification label identification submodule 4023 identifies the identification label, and obtains the predefined information in the identification label.
文本字幕信息第一复制子模块4024,其配置为根据标识标签中对应的视和/或音频文件的信息,复制与所述加载网页中的视和/或音频文件对应的文本字幕信息;The first copying submodule 4024 of text subtitle information is configured to copy the text subtitle information corresponding to the video and/or audio file in the loaded web page according to the information of the corresponding video and/or audio file in the identification tag;
在所述标识标签识别子模块4023获得标识标签中预定义的信息后,所述文本字幕信息第一复制子模块4024确定所述文本字幕信息是否为加载网页中的视和/或音频文件对应的文本字幕信息,如果是,则复制所述对应的文本字幕信息。After the identification label identification submodule 4023 obtains the predefined information in the identification label, the first copy submodule 4024 of the text subtitle information determines whether the text subtitle information corresponds to the video and/or audio file in the loaded web page Text subtitle information, if yes, copying the corresponding text subtitle information.
指针获取子模块4025,其配置为通过调用IWebBrowser2Ptr接口的方法获取文本字幕信息的指针;The pointer obtains submodule 4025, which is configured to obtain the pointer of the text subtitle information by calling the method of the IWebBrowser2Ptr interface;
所述指针获取子模块4025通过使用OLEACC.dll动态库中的ObjectFromLresult函数来获取IWebBrowser2Ptr接口,再调用所述接口获取文本字幕信息的指针。The pointer obtaining sub-module 4025 obtains the IWebBrowser2Ptr interface by using the ObjectFromLresult function in the OLEACC.dll dynamic library, and then calls the interface to obtain the pointer of the text subtitle information.
文本字幕信息第二复制子模块4026,其配置为基于所述指针,通过调用IWebBrowser2Ptr接口复制该文本字幕信息;The second copying submodule 4026 of text subtitle information is configured to copy the text subtitle information by calling the IWebBrowser2Ptr interface based on the pointer;
所述文本字幕信息第二复制子模块4026再基于所述文本字幕信息的指针,继续调用IWebBrowser2Ptr接口复制该文本字幕信息。The second copying submodule 4026 of the text subtitle information continues to call the IWebBrowser2Ptr interface to copy the text subtitle information based on the pointer of the text subtitle information.
显示窗口创建模块403,其配置为在网页浏览器所处的系统桌面创建一个显示窗口;Display window creation module 403, which is configured to create a display window on the system desktop where the web browser is located;
所述显示窗口创建模块403在网页浏览器所处的系统桌面上创建一个显示窗口,此显示窗口可以是传统意义上操作系统中的一个实际窗口,也可以是一个虚拟出来的窗口,当作一个显示载体出现。The display window creation module 403 creates a display window on the system desktop where the web browser is located. This display window can be an actual window in the operating system in the traditional sense, or a virtual window, as a The display carrier appears.
在视和/或音频文件播放时,所述显示窗口置顶显示。When the video and/or audio file is played, the display window is displayed on top.
在所述网页关闭时,所述显示窗口一同关闭。When the webpage is closed, the display window is closed together.
所述显示窗口创建模块403包括:The display window creation module 403 includes:
控制工具加载子模块4031,其配置为在所述显示窗口中加载文本字幕信息控制工具,包括:窗口最小化、窗口最大化、窗口关闭、关键字检索、文本属性设置;Control tool loading sub-module 4031, which is configured to load text subtitle information control tools in the display window, including: window minimization, window maximization, window closing, keyword retrieval, text attribute setting;
本装置实施例中所述文本字幕包括多语种文本字幕;The text subtitles described in this device embodiment include multilingual text subtitles;
所述控制工具加载子模块4031对多语种文本字幕进行关键字检索、显示和文本属性设置;The control tool loading sub-module 4031 performs keyword retrieval, display and text attribute setting for multilingual text subtitles;
浏览器窗口获取子模块4032,其配置为获取网页浏览器中所述视和/或音频文件所在页签的浏览器窗口;The browser window acquisition submodule 4032 is configured to acquire the browser window of the tab where the video and/or audio files are located in the web browser;
所述浏览器窗口获取子模块4032根据所述视和/或音频文件所在页签绑定的唯一ID,确定与所述ID对应的页签数据,获取其中的浏览器窗口。The browser window acquisition sub-module 4032 determines the tab data corresponding to the ID according to the unique ID bound to the tab where the video and/or audio file is located, and acquires the browser window therein.
容器窗口获取子模块4033,其配置为获取浏览器窗口的容器窗口;The container window acquisition sub-module 4033 is configured to acquire the container window of the browser window;
在所述浏览器窗口获取子模块4032获取到所述浏览器窗口后,所述容器窗口获取子模块4033根据所述浏览器窗口的属性信息,获取到容器窗口。After the browser window obtaining sub-module 4032 obtains the browser window, the container window obtaining sub-module 4033 obtains the container window according to the attribute information of the browser window.
弹出类型显示窗口创建子模块4034,其配置为以容器窗口为父窗口创建弹出类型显示窗口;The pop-up type display window creates a submodule 4034, which is configured to create a pop-up type display window with the container window as the parent window;
所述弹出类型显示窗口创建子模块4034以所述容器窗口为父窗口,在桌面上创建弹出类型的显示窗口(具有ws_popup窗口风格)。The pop-up display window creation sub-module 4034 takes the container window as a parent window, and creates a pop-up display window (with the ws_popup window style) on the desktop.
文本字幕信息同步显示模块404,其配置为将所述复制的文本字幕信息根据所述加载网页中的对应播放的视和/或音频文件在所述显示窗口中同步进行显示。The text subtitle information synchronous display module 404 is configured to synchronously display the copied text subtitle information in the display window according to the corresponding played video and/or audio files in the loaded web page.
在所述显示窗口创建模块403创建的显示窗口内,所述文本字幕信息同步显示模块404将所述复制得到的文本字幕信息进行显示,所述显示是根据加载网页中的,与所述复制的文本字幕信息对应播放的视和/或音频文件同步进行显示。In the display window created by the display window creation module 403, the text subtitle information synchronous display module 404 displays the copied text subtitle information, and the display is based on the content of the loaded web page and the copied text subtitle information. The text subtitle information is displayed synchronously corresponding to the played video and/or audio files.
所述文本字幕信息同步显示模块404根据所述复制的文本字幕信息中的时间帧信息,所述复制的文本字幕信息随加载网页中的对应的视和/或音频文件的播放同步显示对应的字幕。The text subtitle information synchronous display module 404 according to the time frame information in the copied text subtitle information, the copied text subtitle information synchronously displays the corresponding subtitles with the playback of the corresponding video and/or audio files in the loaded web page .
当所述加载网页中的视和/或音频文件播放到某个具体时间点时,所述文本字幕信息同步显示模块404将与之对应的文本字幕信息也同步显示所述时间点处的文本字幕。如音乐文件“他来听我的演唱会”播放到5分20秒,则所述文本字幕信息同步显示模块404将与之对应的音乐歌词也显示5分20秒这个时间帧处的歌词。When the video and/or audio files in the loaded webpage are played to a specific time point, the text subtitle information synchronous display module 404 will also synchronously display the text subtitle information at the time point corresponding to it . If the music file "he came to listen to my concert" is played until 5 minutes and 20 seconds, then the text subtitle information synchronous display module 404 will also display the lyrics of the corresponding music lyrics at the time frame of 5 minutes and 20 seconds.
关键字检索模块405,其配置为在所述文本字幕信息中检索字幕关键字;A keyword retrieval module 405, configured to retrieve subtitle keywords in the text subtitle information;
时间帧跳转模块406,其配置为根据所述字幕关键字对应的时间帧信息,将所述文本字幕信息对应的视和/或音频文件跳转到与所述时间帧信息对应的时间帧处进行播放;Time frame jump module 406, which is configured to jump the video and/or audio file corresponding to the text subtitle information to the time frame corresponding to the time frame information according to the time frame information corresponding to the subtitle keyword to play;
所述关键字检索模块405在所述文本字幕信息中检索字幕关键字,如在音乐歌词中检索其中的关键字“演唱会”,所述时间帧跳转模块406根据关键字“演唱会”在音乐歌词中对应的时间帧信息“5’20””,即5分20秒,将与所述音乐歌词对应的音乐文件调整到5分20秒处进行播放。The keyword retrieval module 405 retrieves the subtitle keyword in the text subtitle information, such as retrieving the keyword "concert" in the music lyrics, and the time frame jump module 406 according to the keyword "concert" in The corresponding time frame information "5'20" in the music lyrics is 5 minutes and 20 seconds, and the music file corresponding to the music lyrics is adjusted to 5 minutes and 20 seconds for playback.
时间帧改变模块407,其配置为改变显示的所述文本字幕信息中的显示进度时,实时改变所述文本字幕信息对应的视和/或音频文件的播放时间帧为所述显示的文本字幕信息对应的时间帧;The time frame changing module 407 is configured to change the display time frame of the video and/or audio file corresponding to the text subtitle information in real time as the displayed text subtitle information when changing the display progress in the displayed text subtitle information the corresponding time frame;
当改变所述显示的文本字幕信息中的显示进度时,如将音乐歌词的显示进度由显示第一句改成显示第十句时,所述时间帧改变模块407将与所述音乐歌词对应的音乐文件也实时地由播放第一句调整为播放第十句。When changing the display progress in the displayed text subtitle information, such as changing the display progress of the music lyrics from the first sentence to the tenth sentence, the time frame change module 407 will The music file is also adjusted to play the tenth sentence by playing the first sentence in real time.
启动或关闭模块408,其配置为接收用户操作,启动或关闭所述复制的文本字幕信息在桌面上的显示窗口内显示;Start or close module 408, which is configured to receive user operations, start or close the display of the copied text subtitle information in the display window on the desktop;
可以通过点击启动或关闭按钮,或者其他具有相同功能的操作,触发所述启动或关闭模块408所述控制所述文本字幕信息在桌面上的显示窗口内是否进行显示。The start or close module 408 may be triggered to control whether the text subtitle information is displayed in the display window on the desktop by clicking the start or close button, or other operations with the same function.
显示窗口位置调整模块409,其配置为接收用户操作,调整所述显示窗口在桌面上的位置;Display window position adjustment module 409, which is configured to receive user operations and adjust the position of the display window on the desktop;
所述显示窗口位置调整模块409可以根据实际需要,随意调整所述桌面上的显示窗口的位置或大小。The display window position adjustment module 409 can freely adjust the position or size of the display window on the desktop according to actual needs.
文本属性更改模块410,其配置为接收用户操作,更改所述复制的文本字幕信息在桌面上的显示窗口内显示的文字字体、字号、颜色;Text property modification module 410, it is configured to receive user's operation, change the text font, font size, color that the text subtitle information of described duplication displays in the display window on the desktop;
其中,所述文字字体、字号、颜色默认按照所在网页中的参数进行显示;Wherein, the font, font size, and color of the text are displayed by default according to the parameters in the webpage where they are located;
可以通过所述文本属性更改模块410对桌面上显示窗口内显示的文本字幕信息的字体、字号大小、颜色等属性信息进行个性化修改。如选择字体为宋体、微软雅黑或其他字体类型;调整字号大小为12或16等,可以根据个人喜好随意调整;改变文本字幕的颜色,如改成养眼的绿色等。The font, font size, color and other attribute information of the text subtitle information displayed in the display window on the desktop can be modified individually through the text attribute modification module 410 . For example, choose the font as Arial, Microsoft Yahei or other font types; adjust the font size to 12 or 16, etc., which can be adjusted according to your personal preferences; change the color of the text subtitle, such as changing it to an eye-catching green.
所述文字字体、字号、颜色是按照已经定义好的相关参数在网页中加载的,当在所述显示窗口中显示时,默认也是按照所述参数显示。The font, font size, and color of the text are loaded in the webpage according to the relevant parameters that have been defined, and when displayed in the display window, it is also displayed according to the parameters by default.
文本字幕信息判断模块411,其配置为在复制所述文本字幕信息之前,基于所述文本字幕信息在网页浏览器中的脚本文件,判断所述文本字幕信息是否是网页中视和/或音频文件对应的文本字幕信息;Text subtitle information judging module 411, it is configured to before copying described text subtitle information, based on the script file of described text subtitle information in the web browser, judge whether described text subtitle information is corresponding to video and/or audio file in the webpage text subtitle information;
所述文本字幕信息判断模块411在所述文本字幕信息获取复制模块402复制所述文本字幕信息之前,读取文本字幕信息的脚本文件,根据脚本文件的属性等信息判断所述文本字幕信息是否是网页中视和/或音频文件对应的文本字幕信息。The text subtitle information judging module 411 reads the script file of the text subtitle information before the text subtitle information acquisition copying module 402 copies the text subtitle information, and judges whether the text subtitle information is Text subtitle information corresponding to video and/or audio files in the webpage.
对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明实施例所必须的。For the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequence, because according to this In the embodiment of the invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the present invention.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
上述本发明实施例中的方法和装置适用于各种网络或者客户端环境中,例如可以实现在诸如个人计算机设备之类的计算机设备中,或者可以实现在诸如移动电话、移动通信设备、个人数字助理(PDA)等其他便携式电子设备或者非便携式电子设备中。因此本领域技术人员要明确的是,本发明的保护范围并不限于PC上运行浏览器中的复制文本字幕信息功能和在创建的显示窗口内显示文本字幕信息功能,仅是出于描述的简洁和方便而在本发明实施例中采用了PC上运行浏览器中的复制文本字幕信息功能和在创建的显示窗口内显示文本字幕信息功能进行描述。The methods and devices in the above embodiments of the present invention are applicable to various network or client environments, for example, they can be implemented in computer equipment such as personal computer equipment, or can be implemented in computer equipment such as mobile phones, mobile communication equipment, personal digital Assistant (PDA) and other portable electronic devices or non-portable electronic devices. Therefore, those skilled in the art should be clear that the protection scope of the present invention is not limited to the function of copying text subtitle information in the browser running on the PC and displaying the text subtitle information function in the created display window, only for brevity of description For convenience and convenience, in the embodiment of the present invention, the functions of copying text subtitle information in a browser running on a PC and displaying text subtitle information in a created display window are used for description.
以上对本发明所提供的一种网页中文本字幕信息的显示方法和装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for displaying text subtitle information in a webpage provided by the present invention have been introduced in detail above. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as a limitation of the invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510133702.1ACN104735549B (en) | 2012-06-29 | 2012-06-29 | A kind of display methods and device of text subtitle information in webpage |
| CN201210227205.4ACN102752664B (en) | 2012-06-29 | 2012-06-29 | A method and device for displaying text subtitle information in a web page |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210227205.4ACN102752664B (en) | 2012-06-29 | 2012-06-29 | A method and device for displaying text subtitle information in a web page |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510133702.1ADivisionCN104735549B (en) | 2012-06-29 | 2012-06-29 | A kind of display methods and device of text subtitle information in webpage |
| Publication Number | Publication Date |
|---|---|
| CN102752664A CN102752664A (en) | 2012-10-24 |
| CN102752664Btrue CN102752664B (en) | 2015-05-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210227205.4AActive - ReinstatedCN102752664B (en) | 2012-06-29 | 2012-06-29 | A method and device for displaying text subtitle information in a web page |
| Country | Link |
|---|---|
| CN (1) | CN102752664B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103473016B (en)* | 2013-09-25 | 2016-08-24 | 东莞宇龙通信科技有限公司 | Multi-window display method and touch control terminal |
| CN103533442B (en)* | 2013-09-27 | 2018-01-23 | 北京奇虎科技有限公司 | The loading method and device of video barrage |
| CN104699374B (en)* | 2015-03-23 | 2018-12-14 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
| CN105704582A (en)* | 2015-05-11 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Browser-based subtitle displaying method and device |
| CN104954891A (en)* | 2015-05-26 | 2015-09-30 | 重庆大学 | Method for adding synchronous subtitles to videos in web pages and supportive to online modification and preview |
| CN106713986B (en)* | 2015-07-21 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Audio and video skipping playing method and device |
| CN106954095A (en)* | 2017-04-17 | 2017-07-14 | 腾讯科技(深圳)有限公司 | The player method and device of a kind of multimedia file |
| CN109672919A (en)* | 2018-12-26 | 2019-04-23 | 新华三技术有限公司合肥分公司 | Caption presentation method, device and user terminal |
| CN111800669B (en)* | 2020-08-10 | 2021-04-06 | 视若飞信息科技(上海)有限公司 | Rendering method and device of text subtitles under android system |
| CN112367549B (en)* | 2020-11-10 | 2021-08-06 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
| CN113438542B (en)* | 2021-05-28 | 2022-11-08 | 北京智慧星光信息技术有限公司 | Subtitle real-time translation method, system, electronic equipment and storage medium |
| CN117932182A (en)* | 2022-10-26 | 2024-04-26 | 华为技术有限公司 | Webpage barrage realization method and electronic equipment |
| CN118488257A (en)* | 2023-02-10 | 2024-08-13 | 北京字跳网络技术有限公司 | Information display method, device, equipment and storage medium |
| CN117270854B (en)* | 2023-11-17 | 2024-02-23 | 江西格如灵科技股份有限公司 | UGUI-based tree-shaped folding structure tab creation method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007005302A2 (en)* | 2005-07-01 | 2007-01-11 | Microsoft Corporation | Declaratively responding to state changes in an interactive multimedia environment |
| CN101593207A (en)* | 2009-07-06 | 2009-12-02 | 孟智平 | Method and system for constructing and generating webpage |
| CN101706796A (en)* | 2008-11-14 | 2010-05-12 | 北京搜狗科技发展有限公司 | Method and device for showing webpage resources |
| CN102426842A (en)* | 2011-12-15 | 2012-04-25 | 深圳Tcl新技术有限公司 | Lyric display method based on browser and terminal |
| CN102457613A (en)* | 2010-10-27 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Method and system for displaying web pages on mobile communication terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007005302A2 (en)* | 2005-07-01 | 2007-01-11 | Microsoft Corporation | Declaratively responding to state changes in an interactive multimedia environment |
| CN101706796A (en)* | 2008-11-14 | 2010-05-12 | 北京搜狗科技发展有限公司 | Method and device for showing webpage resources |
| CN101593207A (en)* | 2009-07-06 | 2009-12-02 | 孟智平 | Method and system for constructing and generating webpage |
| CN102457613A (en)* | 2010-10-27 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Method and system for displaying web pages on mobile communication terminal |
| CN102426842A (en)* | 2011-12-15 | 2012-04-25 | 深圳Tcl新技术有限公司 | Lyric display method based on browser and terminal |
| Publication number | Publication date |
|---|---|
| CN102752664A (en) | 2012-10-24 |
| Publication | Publication Date | Title |
|---|---|---|
| CN102752664B (en) | A method and device for displaying text subtitle information in a web page | |
| US7631260B1 (en) | Application modification based on feed content | |
| US8584002B2 (en) | Automatic sub-template selection based on content | |
| US8775472B2 (en) | Dynamic presentation framework | |
| US20110153330A1 (en) | System and method for rendering text synchronized audio | |
| US20060085735A1 (en) | Annotation management system, annotation managing method, document transformation server, document transformation program, and electronic document attachment program | |
| TWI394051B (en) | Web page rendering priority mechanism | |
| US20080235588A1 (en) | Media player playlist creation and editing within a browser interpretable document | |
| CN102819560A (en) | Display method and device of picture in webpage | |
| US20090083661A1 (en) | System and method for selectively displaying web page elements | |
| CN104735549B (en) | A kind of display methods and device of text subtitle information in webpage | |
| CN108028872A (en) | Method and electronic device for tab navigation and control | |
| JP2014518576A (en) | PDF document-based e-book multimedia playback system and playback method, and PC or mobile device application embodying the same | |
| Bulterman et al. | SMIL 2.0: Interactive Multimedia for Web and Mobile Devices; with 105 Figures and 81 Tables | |
| JP2004046357A (en) | Document editing method, document editing system, server device, and document editing program | |
| CN101593073A (en) | A kind of advertising display device that is integrated in the input method | |
| Goularte et al. | Interactive multimedia annotations: enriching and extending content | |
| Li et al. | Synote: development of a Web-based tool for synchronized annotations | |
| JP5552987B2 (en) | Search result output device, search result output method, and search result output program | |
| CN118917287A (en) | Electronic book editing method, electronic book editing device, storage medium, electronic book editing device and program product | |
| CN104424237A (en) | Whiteboard teaching system attachment preview method and whiteboard teaching system | |
| EP1161736A2 (en) | System, method and article for applying temporal elements to the attributes of a static document object | |
| KR20090027118A (en) | Multimedia content providing system and method | |
| JP2008046879A (en) | Page display device, page display method, and computer program | |
| WO2007103827A2 (en) | Method and apparatus for associating text with animated graphics |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| ASS | Succession or assignment of patent right | Owner name:QIZHI SOFTWARE (BEIJING) CO., LTD. Effective date:20121107 Owner name:BEIJING QIHU TECHNOLOGY CO., LTD. Free format text:FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD. Effective date:20121107 | |
| C41 | Transfer of patent application or patent right or utility model | ||
| COR | Change of bibliographic data | Free format text:CORRECT: ADDRESS; FROM: 100016 CHAOYANG, BEIJING TO: 100088 XICHENG, BEIJING | |
| TA01 | Transfer of patent application right | Effective date of registration:20121107 Address after:100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant after:BEIJING QIHOO TECHNOLOGY Co.,Ltd. Applicant after:Qizhi software (Beijing) Co.,Ltd. Address before:The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C Applicant before:Qizhi software (Beijing) Co.,Ltd. | |
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20150520 Termination date:20190629 | |
| RR01 | Reinstatement of patent right | ||
| RR01 | Reinstatement of patent right | Former decision:termination of patent right due to unpaid annual fee Former decision publication date:20200623 | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20220818 Address after:No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science and Technology Park, High-tech Zone, Binhai New District, Tianjin 300000 Patentee after:3600 Technology Group Co.,Ltd. Address before:100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before:BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before:Qizhi software (Beijing) Co.,Ltd. |