A kind of display methods of text subtitle information in webpage of the present invention is discussed in detail in embodiment two.
With reference to Fig. 2, a kind of display methods flow of text subtitle information in webpage described in the embodiment of the present invention two is shown
Figure.
Step 21, the dom tree that webpage is loaded in web browser is parsed;
Web browser sends various requests when accessing webpage, to the server where webpage, and to being sent out from server
The hypertext information and various multimedia data formats come is parsed, shown and is played.
In the above-mentioned course of work of web browser, information and data that webpage is included are stored in DOM, to DOM
It is parsed, forms dom tree, obtain the structure and attribute of the elements such as information and the data that webpage is included, then carry out to dom tree
Parsing, further obtains the related content of each element in webpage.The related content of each element is after dom tree parses in the webpage
Obtained analysis result.
Step 22, it is based on dom tree analysis result, obtains text subtitle information therein, and replicate text caption information;
Include many text subtitle informations in webpage, but not all text subtitle information is all the operation of this method
Object.Before replicating the text subtitle information, the script file based on the text subtitle information in web browser,
Judge whether the text subtitle information is to be regarded in webpage and/or the corresponding text subtitle information of audio file.
For example, judging text subtitle information corresponding script file in web browser, if indicate the text word
Curtain information is the music lyrics or singer's data or music album brief introduction etc..
Wherein, described to replicate being carried out by following steps for text caption information:
The pointer of text subtitle information is obtained by the method for calling IWebBrowser2Ptr interfaces;
It can be obtained by using the ObjectFromLresult functions in OLEACC.dll dynamic bases
IWebBrowser2Ptr interfaces recall the pointer that the interface obtains text subtitle information.
Based on the pointer, by calling IWebBrowser2Ptr interfaces to replicate text caption information.
Pointer again based on the text subtitle information continues that IWebBrowser2Ptr interfaces is called to replicate text word
Curtain information.
Also, the step of duplication text subtitle information is in web browser to the text subtitle in dom tree
Information executes before rendering.
The step 22 includes:
Step 221, it is based on dom tree analysis result, traverses each node in dom tree, inquires and believes including text subtitle
The web page joint of the XML document of breath;
In dom tree analysis result, including multiple nodes, wherein the text subtitle information is protected in the form of an xml document
There are in part of nodes.
In dom tree analysis result, each node is inquired one by one, by all XML documents for including text subtitle information
Web page joint check out.
Step 222, the text subtitle information in the web page joint is obtained;
After inquiry obtains the XML document including text subtitle information, according to the text subtitle information in XML texts
Corresponding identifier in shelves, determines its position in XML document, then obtains out the text subtitle information.
Step 223, the identification (RFID) tag of the text subtitle information in the web page joint is identified;
The text year caption information includes two class labels, and identification (RFID) tag is one kind therein, with the sound in text subtitle
It is illustrated for music and songs word, the format of the identification (RFID) tag of the music lyrics is " [identification name:Value] " include mainly following predefined
Information:
[ar:Singer name], [ti:Song title], [al:Album name], [by:Editor], [offset:Time bias value]
(its unit is millisecond, and positive value indicates whole and shift to an earlier date that negative value is opposite.)
After obtaining the text subtitle information, its identification (RFID) tag is identified, obtain predefined information in identification (RFID) tag.
Step 224, it is regarded and/or the information of audio file, is replicated and the load webpage according to corresponding in identification (RFID) tag
In regard and/or the corresponding text subtitle information of audio file;
In obtaining identification (RFID) tag after predefined information, determine whether the text subtitle information is in load webpage
Depending on and/or the corresponding text subtitle information of audio file, if it is, replicating the corresponding text subtitle information.
Step 23, a display window is created in the system desktop residing for web browser;
A display window is created on operating system desktop residing for web browser, this display window can be tradition
An actual window in meaning in operating system can also be one and fictionalize the window come, go out as a display carrier
It is existing.
Loading text caption information controls tool in the display window, including:Window minimize, it is window maximized,
Close, key search, text attribute setting.
Some tools controlled display window or text subtitle information can be loaded in the display window, with
The operating experience of abundant user.
The text subtitle includes multilingual text subtitle;
Key search, display and text attribute setting are carried out to multilingual text subtitle.
Text subtitle information described in the embodiment of the present invention two is not limited to the text subtitle of Chinese or English, can be with
It is multilingual;It can individually show a kind of text subtitle information of languages, can also show the text subtitle of multiple languages simultaneously
Information.And control operation can also be carried out to multilingual text subtitle information, as key search, display and text attribute are set
It sets.
The step 23 includes:
Step 231, obtain web browser described in regard and/or audio file where bookmark browser window;
According to the unique ID regarded and/or audio file place bookmark is bound, bookmark number corresponding with the ID is determined
According to obtaining browser window therein.
Step 232, the window of container of browser window is obtained;
After getting the browser window, according to the attribute information of the browser window, window of container is got.
Step 233, pop-up type display window is created by parent window of window of container.
Using the window of container as parent window, the display window for creating pop-up type on the table (has ws_popup windows
One's intention as revealed in what one says lattice);Because being the appearance of the browser window created by parent window of window of container, and window of container is the bookmark
Device window, so display window has correspondence with the bookmark.
Step 24, in the display window, by the text subtitle information of the duplication according in the load webpage
It is corresponding play depending on and/or audio file synchronize and shown.
In the display window created on the table, the text subtitle information of the duplication is shown.The display is
According to load webpage in, it is correspondings with the text subtitle information broadcasting depending on and/or audio file synchronize and shown.
According to the time frame information in the text subtitle information of the duplication, the text subtitle information of the duplication is with load
Corresponding in webpage regards and/or the corresponding subtitle of broadcasting simultaneous display of audio file.
When it is described load webpage in depending on and/or audio file be played to some specific time point when, corresponding text
This caption information also text subtitle at time point described in simultaneous display.As music file " he to listen my concert " is played to
5 points 20 seconds, then the corresponding music lyrics also show the lyrics at 5 points of 20 seconds this time frames.
When regarding and/or audio file plays, the display window top set is shown.
It is regarded and/or when audio file plays, top set show the display window on the table, with highest table described
Face display priority.
When the webpage is closed, the display window is closed together.
It regards described in will load and/or when the webpage of audio file is closed, the display window is also closed together, described aobvious
Show described in window and the load depending on and/or the webpage of audio file be always maintained at correspondence;But close the display window
Mouthful, it can't influence to regard described in the load and/or the webpage of audio file.
Step 25, user's operation is received, the display window and the text subtitle information are operated accordingly.
User can carry out the display window and the text subtitle information shown in the display window corresponding
Operation, such as the display location of change display window, maximization, minimum;Change font, the font size size of text subtitle information
With font display color etc..
Subtitle keyword is retrieved in the text subtitle information;
According to the corresponding time frame information of the subtitle keyword, regard the text subtitle information is corresponding and/or sound
Frequency file is jumped at time frame corresponding with the time frame information and is played out.
Subtitle keyword is retrieved in the text subtitle information, and keyword therein is such as retrieved in the music lyrics and " is drilled
Sing meeting ", according to keyword " concert " in the music lyrics corresponding time frame information " 5 ' 20 " ", i.e., 5 points 20 seconds, will be with institute
It states the corresponding music file of the music lyrics and is adjusted to 5 points at 20 seconds and play out.
When changing the display progress in the text subtitle information of display, changes the text subtitle information in real time and correspond to
Regard and/or the reproduction time frame of audio file is the corresponding time frame of the text subtitle information of the display.
When the display progress in the text subtitle information for changing the display, such as by the display progress of the music lyrics by showing
Show first make into display the tenth when, music file corresponding with the music lyrics also in real time by play first adjustment
To play the tenth.
User's operation is received, start or is closed is aobvious in the display window of the text subtitle information of the duplication on the table
Show.
The text word can be controlled by clicking startup or close button or other operations with the same function
Whether shown in the display window of curtain information on the table.
User's operation is received, the position of the display window on the table is adjusted.
The position of display window on the desktop arbitrarily can also adjust position or size according to actual needs.
User's operation is received, the word shown in the display window of the text subtitle information of the duplication on the table is changed
Font, font size, color;
Wherein, the character script, font size, color acquiescence are shown according to the parameter in the webpage of place.
The attribute informations such as font, font size size, color to the text subtitle information shown in display window on desktop into
The personalized modification of row.Such as select font for the Song typeface, Microsoft is refined black or other font types;It is 12 or 16 etc. to adjust font size size,
It can arbitrarily be adjusted according to personal like;Change the color of text subtitle, such as makes eye-candy green into.
The character script, font size, color are loaded in webpage according to the relevant parameter defined, when in institute
It states when being shown in display window, acquiescence is also to be shown according to the parameter.
A kind of display device of text subtitle information in webpage of the present invention is discussed in detail in example IV.
With reference to Fig. 4, a kind of display device structure of text subtitle information in webpage described in the embodiment of the present invention four is shown
Figure.
The display device of the text subtitle information in webpage includes:
Dom tree parsing module 401, text subtitle information obtain replication module 402, display window creation module 403, text
Caption information simultaneous display module 404, key search module 405, time frame jump module 406, time frame change module
407, start or closedown module 408, display window positions adjust module 409, text attribute changes module 410, and, text word
Curtain signal judgement module 411.
Wherein, the text subtitle information acquisition replication module 402 includes:
Web page joint inquires submodule 4021, text subtitle information acquisition submodule 4022, and identification (RFID) tag identifies submodule
Block 4023, text subtitle information first replicate submodule 4024, pointer acquisition submodule 4025, and, text subtitle information the
Two replicate submodule 4026.
The display window creation module 403 includes:
Control tool loads submodule 4031, browser window acquisition submodule 4032, window of container acquisition submodule
4033, and, pop-up type display window creates submodule 4034.
The relationship between the function and module of modules is discussed in detail separately below.
Dom tree parsing module 401 is configured to parse the dom tree for loading webpage in web browser;
The dom tree parsing module 401 parses the dom tree that webpage is loaded in web browser, obtains including net
The dom tree analysis result of each element related content in page.
Text subtitle information obtains replication module 402, is configured to dom tree analysis result, obtains text therein
Caption information, and replicate text caption information;
Obtained dom tree analysis result is parsed based on the dom tree parsing module 401, the text subtitle information obtains
Replication module 402 carries out the text subtitle information before web browser renders the text subtitle information in dom tree
It replicates, obtains the copy of the text subtitle information.
The operation object of web browser is the text subtitle information in dom tree, and the operation object of the present apparatus is text word
The copy of curtain information.
The text subtitle information obtains replication module 402 in web browser to the text subtitle information wash with watercolours in dom tree
Before dye, it is based on dom tree analysis result, obtains text subtitle information therein, and replicate text caption information.
The text subtitle information obtains replication module 402:
Web page joint inquires submodule 4021, is configured to dom tree analysis result, traverses each in dom tree
Node inquires the web page joint of the XML document including text subtitle information;
The web page joint inquires submodule 4021 in dom tree analysis result, to inquire each node one by one, by institute
There is the web page joint of the XML document including text subtitle information to check out.
Text subtitle information acquisition submodule 4022 is configured to obtain the text subtitle information in the web page joint;
The inquiry of submodule 4021, which is inquired, in the web page joint obtains the XML document for including text subtitle information
Afterwards, corresponding mark of the text subtitle information acquisition submodule 4022 according to the text subtitle information in XML document
Symbol determines its position in XML document, then obtains out the text subtitle information.
Identification (RFID) tag identifies submodule 4023, is configured to identify the mark of the text subtitle information in the web page joint
Label;
After the text subtitle information acquisition submodule 4022 obtains the text subtitle information, the identification (RFID) tag is known
Small pin for the case module 4023 identifies its identification (RFID) tag, obtains predefined information in identification (RFID) tag.
Text subtitle information first replicates submodule 4024, is configured to be regarded and/or sound according to corresponding in identification (RFID) tag
The information of frequency file replicates text subtitle information corresponding with regarding in the load webpage and/or audio file;
It is obtained in identification (RFID) tag after predefined information in identification (RFID) tag identification submodule 4023, the text subtitle
Information first replicates submodule 4024 and determines whether the text subtitle information is to load regarding in webpage and/or audio file pair
The text subtitle information answered, if it is, replicating the corresponding text subtitle information.
Pointer acquisition submodule 4025 is configured to obtain text by the method for calling IWebBrowser2Ptr interfaces
The pointer of caption information;
The pointer acquisition submodule 4025 is by using the ObjectFromLresult letters in OLEACC.dll dynamic bases
It counts and recalls the pointer that the interface obtains text subtitle information to obtain IWebBrowser2Ptr interfaces.
Text subtitle information second replicates submodule 4026, is configured to the pointer, passes through calling
IWebBrowser2Ptr interfaces replicate text caption information;
The text subtitle information second replicates pointer of the submodule 4026 again based on the text subtitle information, continues to adjust
Text caption information is replicated with IWebBrowser2Ptr interfaces.
Display window creation module 403 is configured to the system desktop residing for web browser and creates a display window
Mouthful;
The display window creation module 403 creates a display window in the system desktop residing for web browser,
This display window can be an actual window in operating system in traditional sense, can also be one and fictionalize the window come
Mouthful, occur as a display carrier.
When regarding and/or audio file plays, the display window top set is shown.
When the webpage is closed, the display window is closed together.
The display window creation module 403 includes:
Tool loads submodule 4031 is controlled, the loading text caption information in the display window is configured to and controls work
Tool, including:Window minimum, window maximized, close, key search, text attribute setting;
Text subtitle described in present apparatus embodiment includes multilingual text subtitle;
The control tool loads submodule 4031 carries out key search, display and text category to multilingual text subtitle
Property setting;
Browser window acquisition submodule 4032, is configured to obtain and is regarded and/or audio file described in web browser
The browser window of place bookmark;
The browser window acquisition submodule 4032 according to it is described regard and/or audio file where bookmark binding it is unique
ID determines bookmark data corresponding with the ID, obtains browser window therein.
Window of container acquisition submodule 4033 is configured to obtain the window of container of browser window;
After the browser window acquisition submodule 4032 gets the browser window, the window of container obtains
Submodule 4033 gets window of container according to the attribute information of the browser window.
It pops up type display window and creates submodule 4034, be configured to create pop-up type by parent window of window of container
Display window;
The pop-up type display window creates submodule 4034 using the window of container as parent window, creates on the table
Pop up the display window of type (there is ws_popup window styles).
Text subtitle information simultaneous display module 404 is configured to the text subtitle information by the duplication according to
Corresponding in load webpage play depending on and/or audio file synchronize and shown in the display window.
In the display window that the display window creation module 403 creates, the text subtitle information simultaneous display mould
Block 404 shows the obtained text subtitle information of replicating, the display be according in load webpage, and it is described multiple
The text subtitle information of system correspond to play depending on and/or audio file synchronize and shown.
The text subtitle information simultaneous display module 404 is believed according to the time frame in the text subtitle information of the duplication
Breath, the text subtitle information of the duplication is regarded with corresponding in load webpage and/or the broadcasting simultaneous display pair of audio file
The subtitle answered.
When it is described load webpage in depending on and/or audio file be played to some specific time point when, the text subtitle
Synchronizing information display module 404 is by the text subtitle at time point described in corresponding text subtitle information also simultaneous display.
If music file " he to listen my concert " is played to 5 points 20 seconds, then the text subtitle information simultaneous display module 404 will
The corresponding music lyrics also show the lyrics at 5 points of 20 seconds this time frames.
Key search module 405 is configured to retrieve subtitle keyword in the text subtitle information;
Time frame jump module 406 is configured to according to the corresponding time frame information of the subtitle keyword, by the text
This caption information it is corresponding depending on and/or audio file jump at time frame corresponding with the time frame information and play out;
The key search module 405 retrieves subtitle keyword in the text subtitle information, such as in the music lyrics
Middle retrieval keyword " concert " therein, the time frame jump module 406 is according to keyword " concert " in the music lyrics
In corresponding time frame information " 5 ' 20 " ", i.e., 5 points 20 seconds, music file corresponding with the music lyrics is adjusted to 5 point 20
It is played out at second.
Time frame changes module 407, real when being configured to change the display progress in the text subtitle information shown
When change the text subtitle information it is corresponding regard and/or the reproduction time frame of audio file as the display text subtitle believe
Cease corresponding time frame;
When the display progress in the text subtitle information for changing the display, such as by the display progress of the music lyrics by showing
Show first when making display the tenth into, the time frame changes module 407 will music file corresponding with the music lyrics
Also it is adjusted to play the tenth by playing first in real time.
Startup or closedown module 408 are configured to receive user's operation, start or close the text subtitle letter of the duplication
Display in the display window of breath on the table;
Can be started or close button or other operations with the same function by clicking, trigger the startup or
Whether shown in the display window of the control text subtitle information on the table described in closedown module 408.
Display window positions adjust module 409, are configured to receive user's operation, adjust the display window on the table
Position;
The display window positions adjustment module 409 arbitrarily can adjust the display on the desktop according to actual needs
The position of window or size.
Text attribute changes module 410, is configured to receive user's operation, the text subtitle information for changing the duplication exists
The character script, font size of display, color in display window on desktop;
Wherein, the character script, font size, color acquiescence are shown according to the parameter in the webpage of place;
Module 410 can be changed by the text attribute to the text subtitle information that is shown in display window on desktop
The attribute informations such as font, font size size, color carry out personalized modification.Such as select font for the Song typeface, Microsoft is refined black or other words
Body type;It is 12 or 16 etc. to adjust font size size, can arbitrarily be adjusted according to personal like;Change the color of text subtitle, such as
Make eye-candy green etc. into.
The character script, font size, color are loaded in webpage according to the relevant parameter defined, when in institute
It states when being shown in display window, acquiescence is also to be shown according to the parameter.
Text subtitle information judgment module 411 is configured to before replicating the text subtitle information, is based on the text
Script file of this caption information in web browser judges whether the text subtitle information is to be regarded in webpage and/or sound
The corresponding text subtitle information of frequency file;
The text subtitle information judgment module 411 replicates described in text subtitle information acquisition replication module 402
Before text subtitle information, the script file of text subtitle information is read, according to the judgement of the information such as the attribute of script file
Whether text subtitle information is to be regarded in webpage and/or the corresponding text subtitle information of audio file.
For each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of combination of actions, but
Be those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence because according to this
Inventive embodiments, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
Necessary to embodiment.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
Method and apparatus in the embodiments of the present invention, such as can be with suitable for various networks or client environment
It realizes in the computer equipment of such as PC device etc, or may be implemented logical in such as mobile phone, movement
Believe in other portable electronic devices such as equipment, personal digital assistant (PDA) or non-portable electronic device.Therefore this field
Technical staff is it will be clear that protection scope of the present invention is not limited to run the duplication text subtitle information in browser on PC
Function and the display text caption information function in the display window of establishment are only for the succinct of description and conveniently and in this hair
The duplication text subtitle information function of being run on PC in browser is used in bright embodiment and is shown in the display window of establishment
Show that text subtitle information function is described.
Above to a kind of display methods and device of text subtitle information in webpage provided by the present invention, carry out in detail
It introduces, principle and implementation of the present invention are described for specific case used herein, the explanation of above example
It is merely used to help understand the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to this
The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered
It is interpreted as limitation of the present invention.
The embodiment of the invention discloses A1, a kind of display methods of text subtitle information in webpage, including:
Dom tree to loading webpage in web browser parses;
Based on dom tree analysis result, text subtitle information therein is obtained, and replicates text caption information;
A display window is created in system desktop residing for web browser, and the text subtitle of the duplication is believed
Breath according to corresponding in the load webpage play depending on and/or audio file synchronize and shown.
The step of A2, method according to A1, the duplication text subtitle information is in web browser to DOM
Text subtitle information in tree executes before rendering.
A3, the method according to A1, it is described to be based on dom tree analysis result, obtain the step of text subtitle information therein
Suddenly include:
Based on dom tree analysis result, each node in dom tree is traversed, inquires the XML texts including text subtitle information
The web page joint of shelves;
Obtain the text subtitle information in the web page joint.
The step of A4, method according to A3, the duplication text caption information includes:
Identify the identification (RFID) tag of the text subtitle information in the web page joint;
Regarded and/or the information of audio file according to corresponding in identification (RFID) tag, replicate with regarding in the load webpage and/
Or the corresponding text subtitle information of audio file.
A5, the method according to A1, the text subtitle information by the duplication is according in the load webpage
It is corresponding play depending on and/or audio file synchronize the step of being shown and include:
According to the time frame information in the text subtitle information of the duplication, the text subtitle information of the duplication is with load
Corresponding in webpage regards and/or the corresponding subtitle of broadcasting simultaneous display of audio file.
A6, the method according to A1, loading text caption information controls tool in the display window, including:Window
Mouth minimum, window maximized, close, key search, text attribute setting.
A7, the method according to A6, further comprise:
Subtitle keyword is retrieved in the text subtitle information;
According to the corresponding time frame information of the subtitle keyword, regard the text subtitle information is corresponding and/or sound
Frequency file is jumped at time frame corresponding with the time frame information and is played out.
A8, the method according to A5, further comprise:
When changing the display progress in the text subtitle information of display, changes the text subtitle information in real time and correspond to
Regard and/or the reproduction time frame of audio file is the corresponding time frame of the text subtitle information of the display.
A9, the method according to A1 create a display window in the system desktop residing for web browser
The step of include:
Obtain web browser described in regard and/or audio file where bookmark browser window;
Obtain the window of container of browser window;
Pop-up type display window is created by parent window of window of container.
A10, the method according to A1, when regarding and/or audio file plays, the display window top set is shown.
A11, the method according to A1, when the webpage is closed, the display window is closed together.
A12, the method according to A6, the text subtitle include multilingual text subtitle;
Key search, display and text attribute setting are carried out to multilingual text subtitle.
A13, the method according to A1 further include:
User's operation is received, start or is closed is aobvious in the display window of the text subtitle information of the duplication on the table
Show.
A14, the method according to A1 further include:
User's operation is received, the position of the display window on the table is adjusted.
A15, the method according to A1 further include:
User's operation is received, the word shown in the display window of the text subtitle information of the duplication on the table is changed
Font, font size, color;
Wherein, the character script, font size, color acquiescence are shown according to the parameter in the webpage of place.
A16, the method according to A1, further comprise:
Before replicating the text subtitle information, the script text based on the text subtitle information in web browser
Part judges whether the text subtitle information is to be regarded in webpage and/or the corresponding text subtitle information of audio file.
The step of A17, method according to A1, the duplication text caption information, further comprises:
The pointer of text subtitle information is obtained by the method for calling IWebBrowser2Ptr interfaces;
Based on the pointer, by calling IWebBrowser2Ptr interfaces to replicate text caption information.
The embodiment of the invention also discloses B18, a kind of display devices of text subtitle information in webpage, including:
Dom tree parsing module is configured to parse the dom tree for loading webpage in web browser;
Text subtitle information obtains replication module, is configured to dom tree analysis result, obtains text subtitle therein
Information, and replicate text caption information;
Display window creation module is configured to create a display window in the system desktop residing for web browser
Mouthful;
Text subtitle information simultaneous display module, is configured to the text subtitle information of the duplication according to the load
Corresponding in webpage play depending on and/or audio file synchronize and shown in the display window.
B19, the device according to B18, the text subtitle information obtain replication module in web browser to dom tree
In text subtitle information render before, be based on dom tree analysis result, obtain text subtitle information therein, and replicate this article
This caption information.
B20, the device according to B18, the text subtitle information obtain replication module and include:
Web page joint inquires submodule, is configured to dom tree analysis result, traverses each node in dom tree,
Inquire the web page joint of the XML document including text subtitle information;
Text subtitle information acquisition submodule is configured to obtain the text subtitle information in the web page joint.
B21, the device according to B20, the text subtitle information obtain replication module and further include:
Identification (RFID) tag identifies submodule, is configured to identify the mark mark of the text subtitle information in the web page joint
Label;
Text subtitle information first replicate submodule, be configured to according in identification (RFID) tag it is corresponding regard and/or audio text
The information of part replicates text subtitle information corresponding with regarding in the load webpage and/or audio file.
B22, the device according to B18, the text subtitle information simultaneous display module is according to the text of the duplication
Time frame information in caption information, the text subtitle information of the duplication is regarded with corresponding in load webpage and/or audio
The corresponding subtitle of broadcasting simultaneous display of file.
B23, the device according to B18, the display window creation module include:
Tool loads submodule is controlled, the loading text caption information in the display window is configured to and controls tool,
Including:Window minimum, window maximized, close, key search, text attribute setting.
B24, the device according to B23, further comprise:
Key search module is configured to retrieve subtitle keyword in the text subtitle information;
Time frame jump module is configured to according to the corresponding time frame information of the subtitle keyword, by the text
Caption information it is corresponding depending on and/or audio file jump at time frame corresponding with the time frame information and play out.
B25, the device according to B22, further comprise:
Time frame changes module, when being configured to change the display progress in the text subtitle information shown, in real time
Change that the text subtitle information is corresponding to be regarded and/or the reproduction time frame of audio file is the text subtitle information of the display
Corresponding time frame.
B26, the device according to B18, the display window creation module include:
Browser window acquisition submodule, be configured to obtain web browser described in regard and/or audio file where
The browser window of bookmark;
Window of container acquisition submodule is configured to obtain the window of container of browser window;
It pops up type display window and creates submodule, be configured to show by parent window establishment pop-up type of window of container
Window.
B27, the device according to B18, when regarding and/or audio file plays, the display window top set is shown.
B28, the device according to B18, when the webpage is closed, the display window is closed together.
B29, the device according to B23, the text subtitle include multilingual text subtitle;
The control tool loads submodule carries out key search, display and text attribute to multilingual text subtitle and sets
It sets.
B30, the device according to B18 further include:
Startup or closedown module are configured to receive user's operation, start or close the text subtitle information of the duplication
Display in display window on the table.
B31, the device according to B18 further include:
Display window positions adjust module, are configured to receive user's operation, adjust the display window on the table
Position.
B32, the device according to B18 further include:
Text attribute changes module, is configured to receive user's operation, changes the text subtitle information of the duplication in table
The character script, font size of display, color in display window on face;
Wherein, the character script, font size, color acquiescence are shown according to the parameter in the webpage of place.
B33, the device according to B18, further comprise:
Text subtitle information judgment module is configured to before replicating the text subtitle information, is based on the text
Script file of the caption information in web browser judges whether the text subtitle information is to be regarded in webpage and/or audio
The corresponding text subtitle information of file.
B34, the device according to B18, the text subtitle information obtain replication module and further include:
Pointer acquisition submodule is configured to obtain text subtitle by the method for calling IWebBrowser2Ptr interfaces
The pointer of information;
Text subtitle information second replicates submodule, is configured to the pointer, passes through calling
IWebBrowser2Ptr interfaces replicate text caption information.