CN106210840B - A kind of text display method and equipment - Google Patents
A kind of text display method and equipment Download PDFInfo
- Publication number
- CN106210840B CN106210840B CN201610500353.7A CN201610500353A CN106210840B CN 106210840 B CN106210840 B CN 106210840B CN 201610500353 A CN201610500353 A CN 201610500353A CN 106210840 B CN106210840 B CN 106210840B
- Authority
- CN
- China
- Prior art keywords
- text
- file
- multimedia file
- multimedia
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
Abstract
Embodiments of the present invention provide a kind of text display method.This method comprises: carrying out real time parsing to the multi-medium data of the current multimedia file for completing buffering after being switched to text file corresponding with multimedia file content;Based on analysis result, text fragment corresponding with the multimedia data contents is determined in this article this document;And according to default display mode, determining text fragment is shown.The corresponding text fragment of multi-medium data of buffering is completed by showing according to predetermined manner, so that user is very clear to the buffering progress of present multimedia file, to improve the efficiency that user plays multimedia file significantly, better experience is brought for user.In addition, embodiments of the present invention provide a kind of text display.
Description
Technical field
Embodiments of the present invention are related to field of information processing, more specifically, embodiments of the present invention are related to a kind of text
This display methods and equipment.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this section.
In the prior art, user is when playing multimedia file (such as: viewing video file listens to audio file etc.),
It often will appear and play slack phenomenon, even will affect user when serious and continue to watch or listen to.In this case, user
The buffering that multimedia file can only passively be waited waits bufferings that could continue to play after the completion, and the time that user waits is usual
It is determined by Network status at that time, so the waiting time and not knowing, affects the continuity that user obtains multimedia messages.
In view of the above-mentioned problems, proposing following solution: not smooth when occurring playing in multimedia file playing process
When phenomenon, text file corresponding with multimedia file content is determined, and determine current with multimedia file in this article this document
The corresponding synchronizing text content of the content that time point is played, is shown, it may be assumed that is resumed studies mode into context synchronization.Such as: it is acute
Feelings have the video file of corresponding novel, can be switched to and currently playing plot when the video file plays not smooth
Corresponding novel paragraph, which synchronizes, resumes studies;Audio file with the lyrics, can be when audio file plays not smooth, switching
It synchronizes and resumes studies to the currently playing corresponding lyrics of audio.In this way, user can be by way of reading synchronizing text
Continue to obtain multimedia messages, improves the continuity that user obtains multimedia messages.
But there is also some problems for above-mentioned solution: user, can only after resuming studies mode into context synchronization
Carry out text reading, the solution have ignored text reading be multimedia file play occur it is not smooth when, connect user
Obtain the supplementary means of multimedia messages with passing through, most users are still wished to continue to play after the completion of multimedia file buffers more
Media file, therefore in above-mentioned solution, user needs frequently to be manually switched to multimedia file to determine multimedia text
The current buffering progress of part, to continue to play multimedia file when needed, when playing multimedia file it reduce user
Efficiency.
Summary of the invention
The reason of user obtains multimedia messages continuity, the prior art are influenced when multimedia file plays not smooth
It proposes when multimedia file plays not smooth, the content that simultaneous display multimedia file current point in time is played is corresponding
The scheme that content of text is read for user.
Therefore in the prior art, when to have ignored text reading be that multimedia file plays not smooth, keep user coherent
Ground obtains the supplementary means of multimedia messages, and operation is simultaneously inconvenient when user wants to continue to play multimedia file, this causes
Low efficiency when user plays multimedia file, this is very bothersome process.
Thus, it is also very desirable to a kind of improved text display method and equipment, so that user plays multimedia file timeliness
Rate improves.
In the present context, embodiments of the present invention are intended to provide a kind of text display method and equipment.
In the first aspect of embodiment of the present invention, a kind of text display method is provided, comprising:
After being switched to text file corresponding with multimedia file content, to the current multimedia file for completing buffering
Multi-medium data carry out real time parsing;
Based on analysis result, text fragment corresponding with the multimedia data contents is determined in the text file;
According to default display mode, the text fragment is shown.
In the second aspect of embodiment of the present invention, a kind of one of text display is provided, comprising:
Parsing module, for completing to delay to current after being switched to text file corresponding with multimedia file content
The multi-medium data of the multimedia file of punching carries out real time parsing;
Text determining module, the parsing result for being obtained based on the parsing module are determined in the text file
Text fragment corresponding with the multimedia data contents;
Display module, for showing the text fragment that the text determining module determines according to default display mode.
In the third aspect of embodiment of the present invention, the two of a kind of text display are provided, comprising:
Processor, for completing buffering to current after being switched to text file corresponding with multimedia file content
Multimedia file multi-medium data carry out real time parsing;And based on obtained parsing result, in the text file
Determine text fragment corresponding with the multimedia data contents;
Display, for showing the text fragment that the processor determines according to default display mode.
A kind of text display method and equipment of embodiment according to the present invention, the process that can be buffered in multimedia file
In, real time parsing is carried out to the multi-medium data for completing buffering, determines the multi-medium data for completing buffering in text file
Corresponding text fragment, and text fragment is shown according to default display mode.Default display mode can will buffer
The corresponding text fragment of multi-medium data is shown with the display mode different from other plain texts in text file, makes to read
The user for reading text file is very clear to the Current buffer progress of multimedia file, without being frequently manually switched to multimedia
File determines the Current buffer progress of multimedia file, so that the efficiency that user plays multimedia file is improved significantly,
Better experience is brought for user.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention
, feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention
Dry embodiment, in which:
Fig. 1 a~Fig. 1 b schematically shows the application scenarios schematic diagram of embodiment according to the present invention;
Fig. 2 schematically shows a kind of flow diagrams of text display method according to an embodiment of the invention;
Fig. 3 schematically shows a kind of flow diagram of text display method according to another embodiment of the present invention;
Fig. 4 schematically shows the realities according to another embodiment of the present invention that the amount of buffered data recommended is pushed to user
Apply schematic diagram;
Fig. 5 a~Fig. 5 b schematically shows prompt user according to another embodiment of the present invention and returns to broadcasting multimedia
The embodiment schematic diagram of file;
Fig. 6 schematically shows a kind of flow diagram of text display method of another embodiment according to the present invention;
What Fig. 7 schematically showed another embodiment according to the present invention shows matched text according to different text colors
The embodiment schematic diagram of this paragraph;
The user that Fig. 8 a~Fig. 8 b schematically shows another embodiment according to the present invention issues in text reading interface
Show the embodiment schematic diagram of Current buffer tempo instructions;
Fig. 9 schematically shows a kind of one of the structural schematic diagram of text display according to an embodiment of the present invention;
Figure 10 schematically shows a kind of second structural representation of text display according to an embodiment of the present invention.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this
A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any
Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy
It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method
Or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete software
The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes a kind of text display method and equipment.
Herein, it is to be understood that in related term:
Multimedia file: may include video file, audio file etc..
In addition, any number of elements in attached drawing is used to example rather than limitation and any name are only used for distinguishing,
Without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
The inventors discovered that being cut in the prior art when occurring playing not smooth phenomenon in multimedia file playing process
It changes to context synchronization to resume studies mode, so that user is read synchronizing text and continue to obtain relevant information, ensure that user obtains multimedia
The continuity of information, still, the program have ignored text reading be multimedia file play occur it is not smooth when, connect user
Obtain the supplementary means of multimedia messages with passing through, user needs frequently to be manually switched to multimedia file to determine multimedia file
Current buffering progress plays efficiency when multimedia file it reduce user.
For this purpose, the present invention provides a kind of text display method and equipment, it is corresponding with multimedia file content being switched to
Text file after, real time parsing is carried out to the multi-medium data of the current multimedia file for completing buffering;It is tied based on parsing
Fruit determines text fragment corresponding with the multimedia data contents in this article this document;And according to default display mode, display
Determining text fragment.Keep the user for reading text file very clear to the Current buffer progress of multimedia file, without frequency
It is numerous to be manually switched to multimedia file to determine the Current buffer progress of multimedia file, it improves user and plays multimedia file
Efficiency.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention
Formula.
Application scenarios overview
Referring initially to Fig. 1 a~Fig. 1 b, multimedia file playout software is installed in terminal 101, which plays
Software can play under normal circumstances multimedia file in network, and enter context synchronization under network abnormal situation and resume studies mould
Formula is switched to text reading software and shows text fragment corresponding with currently playing multimedia file content, and according to pre-
If display mode shows the current corresponding text fragment of multi-medium data for completing buffering parsed, wherein multimedia file
Playout software and text reading software can be different software, but the two can mutually switch;It can also be by multimedia file
Playing function and text reading function are combined into one, and become a software.
Further, more matchmakers in the content corresponding relationship and multimedia file between multimedia file and text file
Content corresponding relationship in volume data and text file between text fragment can store in terminal 101, also can store
In server 102.Terminal 101 is needed to be communicated when needed with server 102 if being stored in server 102
To obtain related content.The network that terminal 101 and server 102 are communicated can be local area network, wide area network etc..Terminal 101
It can be portable equipment (such as: mobile phone, plate, laptop etc.), or PC (PC, Personal
Computer)。
Illustrative methods
Below with reference to the application scenarios of Fig. 1 a~Fig. 1 b, exemplary embodiment party according to the present invention is described with reference to Fig. 2~Fig. 8
The method for display text of formula.It should be noted that above-mentioned application scenarios are merely for convenience of understanding spirit of the invention
It is shown with principle, embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can answer
For applicable any scene.
Fig. 2 is a kind of flow diagram of an embodiment of text display method provided in an embodiment of the present invention, executes master
Body can be the terminal 101 or server 102 in application scenarios overview, as shown in Fig. 2, the one of one embodiment of the invention offer
Kind text display method may include steps of:
S201, after being switched to text file corresponding with multimedia file content, to the current more matchmakers for completing buffering
The multi-medium data of body file carries out real time parsing.
In the embodiment of the present invention, multimedia file can be video file, audio file etc..When multimedia file is video
When file, and the corresponding text file of the video file content can be original work text (example corresponding with the video file content
Such as: novel), (the audio text can be that the audio of video file is carried out conversion acquisition for captioned test or audio text
Text file) etc.;When multimedia file be audio file when, text file corresponding with the audio file content can for
The corresponding original work text of the audio file content (such as: when audio file is the audios such as opera, modern drama, movie soundtrack dish, original work
Text is novel etc.), (the audio text can be to carry out conversion acquisition for the audio file for captioned test or audio text
Text file), music score etc..
In this step, there is not smooth phenomenon when multimedia file plays, be transformed into from currently playing multimedia file
After corresponding text file, multi-medium data buffering can be carried out on one side, and the multi-medium data for completing buffering is carried out on one side
Real time parsing, obtained parsing result can be used for the corresponding text fragment of subsequent determination.
S202, it is based on parsing result obtained in S201, in above-mentioned text file in determining and above-mentioned multi-medium data
Hold corresponding text fragment.
In this step, content correspondence can for content it is identical, or content is close, the text fragment determined it is interior
Appearance can be less than, be equal to or more than obtained parsing result.Specific embodiment can determine according to actual needs.
S203, according to default display mode, show the text fragment determined in S202.
In this step, default display mode can be the display side different from other plain text paragraphs in text file
Formula, that is to say, that the text fragment determined can have the display properties different from other plain text paragraphs, such as: it is different
Text color, different fonts, different font weight etc..In this way, the corresponding text of multi-medium data that buffering will be completed
This paragraph is shown with different display properties, so that the user for reading text is buffered into present multimedia file
It is very clear to spend, and improves the efficiency for playing multimedia file, also improves user experience.
Fig. 3 is a kind of flow diagram of another embodiment of text display method provided in an embodiment of the present invention, is executed
Main body can be the terminal 101 or server 102 in application scenarios overview, as shown in figure 3, another embodiment of the present invention provides
A kind of text display method may include steps of:
S301, after being switched to text file corresponding with multimedia file content, to the current more matchmakers for completing buffering
Volume data corresponding play time section in affiliated multimedia file carries out real time parsing.
In this step, there is not smooth phenomenon when multimedia file plays, be transformed into from currently playing multimedia file
After corresponding text file, multi-medium data buffering can be carried out on one side, and the multi-medium data for completing buffering is carried out on one side
Real time parsing determines the multi-medium data of completion parsing play time section locating in multimedia file.With video file
For, real time parsing can be carried out to the current video frame for completing buffering in this step, determine the video frame in video file
Locating play time.
S302, each play time section based on the play time section and preset multimedia file parsed in S301 with
Content corresponding relationship between each text fragment of text file determines that the play time section of parsing is corresponding in text file
Text fragment.
In the embodiment of the present invention, each play time section of multimedia file and each text of corresponding text file are pre-established
Corresponding relationship between paragraph.By taking video file as an example, video file can be divided into multiple play time sections obtain it is multiple
Video-frequency band, and text fragment corresponding with each video-frequency band content is determined in corresponding text file, to the text fragment determined
It makes marks, establishes the corresponding relationship between each video-frequency band and text fragment, such as: video time section is 00:02:19532- > 00:
02:51499, text file paragraph marks corresponding with the video-frequency band content is<005>, it is possible to establish between the two
Corresponding relationship, the present invention are not intended to limit the form of the corresponding relationship.
Further, the corresponding reading address of the corresponding relationship between each play time section and text fragment, text file
(such as: the uniform resource locator (URL, Uniform Resource Locator) of text file) or text file sheet
Body, can store in terminal 101, also can store in server 102, in the case of being stored in server 102, this
In step, determine parsing the corresponding text fragment of play time section before, can also include from server 102 obtain on
The step of stating corresponding relationship.
S303, according to default display mode, show the text fragment determined in S302.
The embodiment of this step can refer to step S203, and which is not described herein again.
S304, the buffering progress for currently completing the multi-medium data of multimedia file of buffering is shown to user.
In the embodiment of the present invention, current multimedia data is shown to user except through mode described in S301~S303
Except buffering progress, the buffering progress of the current multi-medium data for completing buffering can also directly be shown to user.It is specific real
Shi Shi can show that current multimedia data buffers progress in the blank space for the page of text currently read, such as: buffer time
Percentage (completes the corresponding play time of multi-medium data and the remaining multimedia file totality play time not played of buffering
Percentage).
It further, can also be by the display of user command triggered multimedia data buffering progress, i.e., in step S304
Following steps are executed before:
Receive the instruction for the display Current buffer progress that user issues.
The specific embodiment of the step is detailed in other embodiments, and which is not described herein again.
Step S305~step S307 can play smoothness when continuing for user and play multimedia file and provide solution party
Case:
S305, the current network speed of detection.
S306, it is based on current network speed and preset data amount computation rule, determined before continuing to play multimedia file
The data volume for the multi-medium data for needing to buffer.
In this step, the data volume for needing the multi-medium data buffered, the data can be matched according to current network conditions
Amount can guarantee that user continues that smoothness can be played when playing multimedia file.Preferably, the data volume may include multimedia
Data buffering percentage, that is, the corresponding play time of the multi-medium data for needing to buffer and the remaining multimedia file not played are total
The percentage of body play time.
Preferably, preset data amount computation rule may include: when the network speed detected in S305 belongs to section
When [20kbps, 50kbps], the multi-medium data buffering of recommendation is than that can be 20%;When the network speed detected in S305 belongs to area
Between [0,20kbps] when, recommendation multi-medium data buffering than can be 30%;Also default amount of buffered data can be set, recommend
Default multimedia data buffering than can be 15%.
S307, determining amount of data in S306 is pushed to user.
In this step, the data volume determined in S306 can be pushed to user, it can also be by the buffered data of default
One of information such as the current network speed measure, detected or buffering that is a variety of while being pushed to user, and can be indicated in user
Prompt user continues to watch multimedia file after data volume completes buffering.Prompt user mode can include but is not limited to as
Under type: pop-up dialog box prompt user can return to broadcasting multimedia file;Broadcasting can be returned to by making a sound prompt user
Multimedia file;Prompt user that can return to broadcasting multimedia file by playing animation.
Fig. 4 is the schematic diagram provided in an embodiment of the present invention that the amount of buffered data recommended is pushed to user.Assuming that in S305
The network speed detected is 22.5kbps, and the recommendation amount of buffered data determined in S306 is 20%, as shown in figure 4, pushing away to user
The information sent may include current network speed, the default amount of buffered data recommended, the recommendation amount of buffered data determined according to network speed,
And other recommend amount of buffered data, default chooses the recommendation amount of buffered data determined according to network speed, but can by user into
Row final choice determines the multimedia data volume buffered before next time plays according to the user's choice, if user selects " cancellation ",
The buffering of multi-medium data can be carried out according to default amount of buffered data.
S308, the instruction that the return that user issues plays multimedia file is received.
In this step, user can be prompted after the data volume that the amount of buffered data of multi-medium data reaches user's instruction
The return for returning and playing multimedia file, and receive user's sending plays the instruction of multimedia file.When it is implemented, such as Fig. 5 a
It is shown, can the amount of buffered data of multi-medium data reach user instruction data volume after, pop-up dialog box to user into
Row prompt;As shown in Figure 5 b, it can also pop up dialog box after multimedia file is fully completed buffering and user is mentioned
Show;When user clicks " determination " according to prompt, subsequent step return multimedia file can be executed and continue to play, when user's root
When clicking " cancellation " according to prompt, text can be remained in and resume studies mode for user's reading.
Further, can also user read text file during any time, receive user issue return
Play the instruction of multimedia file.When it is implemented, can user read text file page setup control (such as:
Button), user can operate control return multimedia file at any time and play out.
When S309, determination are switched to text file, the broadcasting breakpoint of multimedia file.
When multimedia file broadcasting appearance is not smooth is switched to text file, multimedia file stops the time point playing
It can be used as broadcasting breakpoint, which can store in terminal 101, also can store in server 102.Work as storage
When in server 102, this step can be executed are as follows: when acquisition is switched to text file from server 102, multimedia file
Broadcasting breakpoint.
S310, break-point continuous playing multimedia file is carried out from the broadcasting breakpoint determined in S309.
Further, step S301~S303, step S304, step S305~S307, step S308~S310 this four
The no strict sequence of partial execution.
Fig. 6 is a kind of flow diagram of the another embodiment of text display method provided in an embodiment of the present invention, is executed
Main body can be the terminal 101 or server 102 in application scenarios overview, as shown in fig. 6, further embodiment of this invention provides
A kind of text display method may include steps of:
S601, after being switched to text file corresponding with multimedia file content, to the current more matchmakers for completing buffering
The content correlated information of volume data carries out real time parsing, which includes: caption information and/or audio-frequency information.
In the present embodiment, the content correlated information for completing the multi-medium data of buffering can parse, when multimedia file is
When video file, which can be the one or more of following information: the corresponding display of the video frame of video file
Text information, such as caption information;Audio-frequency information (can be converted into text letter by the audio-frequency information of video file when subsequent match
Breath);When multimedia file is audio file, which can be the one or more of following information: sound
The audio-frequency information of caption information, lyrics information, music-book information of frequency file etc., audio file itself (can incite somebody to action when subsequent match
Audio-frequency information is converted into text information).
S602, determine in S601 determine content correlated information in keyword.
In this step, keyword can be some or all of the content correlated information determined in S601, such as: it can be
Some or all of subtitle parsed.The content correlated information got can also be further processed, be used for
Matched keyword, such as: word segmentation processing is carried out to content correlated information or is screened based on part of speech or word meaning, is obtained
For matched keyword.
When in multimedia file including caption information, keyword can be directly determined out from caption information for subsequent
Matching, the audio of multimedia file can also be converted into text, by the keyword determined by caption information with by audio conversion
The keyword that the text information changed determines is compared, screens or combines, and is subsequently used for matched keyword to determine.
S603, will be determined as and the multi-medium data in the text file with the text fragment of the Keywords matching
The corresponding text fragment of content.
Since the content correlated information parsed in S601 is not necessarily an a pair with the text in corresponding text file
Answer (such as: TV play subtitle and original work novel), therefore, it is possible to use the text in the keyword and text file that are determined in S602
This paragraph is matched.Text fragment with Keywords matching may include some or all of following content: just with key
It is the corresponding word segment of word, just and the partial content before the corresponding word segment of keyword, just corresponding with keyword
Partial content after word segment.Here " correspondence " may include a variety of meanings, such as: it is identical, the meaning of a word is close etc..
S604, according to default display mode, show the text fragment.
The embodiment of this step can refer to step S203, and which is not described herein again.Fig. 7 is provided in an embodiment of the present invention
Matched text fragment schematic diagram is shown according to different text colors.As shown in fig. 7, " on the contrary can be a set of to me " can be
Step S603 the is determined text fragment with Keywords matching that is parsing.
S605, the instruction for receiving the display Current buffer progress that user issues.
S606, the buffering progress for currently completing the multi-medium data of multimedia file of buffering is shown to user.
In the embodiment of the present invention, current multimedia data is shown to user except through mode described in S601~S604
Except buffering progress, it can also be indicated according to user by the buffering of the current multi-medium data for completing buffering by S605~S606
Progress is directly shown to user.
User can issue display Current buffer tempo instructions in text reading interface in several ways.When specific implementation
Can include but is not limited to such as under type: as shown in Figure 8 a, user can press in any position executive chairman of text reading interface
Operation issues instruction, can be during user's long press operation, and in the position away from current long press operation, nearest blank space shows slow
Degree of rushing in, the buffering progress shown when user stops long press operation disappear;As shown in Figure 8 b, user can be in text reading circle
Any position in face executes clicking operation and issues instruction, in text reading interface upper right corner blank space display buffer progress, when with
When family again taps on any position of text reading interface, the buffering progress of display is made to disappear.
S607, the current network speed of detection.
S608, it is based on current network speed and preset data amount computation rule, determined before continuing to play multimedia file
The data volume for the multi-medium data for needing to buffer.
S609, determining amount of data in S608 is pushed to user.
S610, the instruction that the return that user issues plays multimedia file is received.
When S611, determination are switched to the text file, the broadcasting breakpoint of multimedia file.
S612, break-point continuous playing multimedia file is carried out from the broadcasting breakpoint determined in S611.
The embodiment of step S607~S612 may refer to step S305~S310, and which is not described herein again.
Further, step S601~S604, step S605~S606, step S607~S609, step S610~S612
The no strict sequence of the execution of this four parts.
Example devices
After describing the method for exemplary embodiment of the invention, next, describing the present invention with reference to Fig. 9~Figure 10
The text display of illustrative embodiments.
Fig. 9 is a kind of one of structural schematic diagram of text display provided in an embodiment of the present invention, as shown in figure 9, can
To include following module:
Parsing module 901, for being completed to current after being switched to text file corresponding with multimedia file content
The multi-medium data of the multimedia file of buffering carries out real time parsing;
Text determining module 902, the parsing result for being obtained based on the parsing module 901, in the text file
Middle determination text fragment corresponding with the multimedia data contents;
Display module 903, for showing the text chunk that the text determining module 902 determines according to default display mode
It falls.
In some embodiments of the present embodiment, optionally, the parsing module 901 is specifically used for completing to current
The multi-medium data of buffering corresponding play time section in affiliated multimedia file carries out real time parsing;
The text determining module 902 is specifically used for based on the play time section and the preset multimedia text
Content corresponding relationship between each play time section of part and each text fragment of the text file, in the text file
Determine the corresponding text fragment of the play time section.
In other embodiments of the present embodiment, optionally, the parsing module 901 is specifically used for current complete
At buffering multi-medium data content correlated information carry out real time parsing, the content correlated information include: caption information and/
Or audio-frequency information;
The text determining module 902, specifically for the keyword in the determination content correlated information;By the text
In file and the text fragment of the Keywords matching is determined as text fragment corresponding with the multimedia data contents.
In the other embodiment of the present embodiment, optionally, the display module 903 is also used to show to user
The buffering progress of the multi-medium data of the current multimedia file for completing buffering.
In some other embodiments of the present embodiment, optionally, the equipment further include: receiving module 904;
The receiving module 904, for showing the current multimedia text for completing buffering to user in the display module 903
Before the buffering progress of the multi-medium data of part, the instruction for the display Current buffer progress that user issues is received.
In the present embodiment into some embodiments, optionally, the equipment further include:
Detection module 905, for detecting current network speed;
Data volume determining module 906 is determined for being based on current network speed and preset data amount computation rule after continued broadcasting
Put the data volume for the multi-medium data for needing to buffer before the multimedia file;
Pushing module 907, for the data volume to be pushed to user.
In the still further embodiments of the present embodiment, optionally, the equipment further include:
Receiving module 904, the return for receiving user's sending play the instruction of multimedia file;
Breakpoint determining module 908, when being switched to the text file for determining, the broadcasting of the multimedia file is disconnected
Point;
Playing module 909, for carrying out multimedia file described in break-point continuous playing from the broadcasting breakpoint.
In addition, the present invention may also include a kind of text display as shown in Figure 10, including processor 1001 (can be
One or more, in the embodiment of the present invention for one), display 1002, receiver 1003, memory 1004 and bus
System 1005, in which:
Processor 1001 controls the operation of the text display, memory 1004 may include read-only memory and with
Machine accesses memory, and provides instruction and data to processor 1001.The a part of of memory 1004 can also include non-volatile
Property random access memory (NVRAM).
The various components of the text display are coupled by bus system 1005, wherein bus system 1005
It can also include power bus, control bus etc. in addition to including data/address bus.In some other embodiment of the invention,
Processor 1001, display 1002, receiver 1003, memory 1004 can also be directly connected to by route.But in order to clear
For the sake of Chu's explanation, various routes are all designated as bus system 1005 in figure.
Memory 1004 stores following element, executable modules or data structures perhaps their subset or
Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, processor 1001 is by calling the operational order of the storage of memory 1004, so that handling
Device 1001, display 1002 perform the following operations:
Processor 1001, for being completed to current after being switched to text file corresponding with multimedia file content
The multi-medium data of the multimedia file of buffering carries out real time parsing;And based on obtained parsing result, in the text text
Text fragment corresponding with the multimedia data contents is determined in part;
Display 1002, for showing the text fragment that the processor 1001 determines according to default display mode.
It should be noted that although being referred to several modules or submodule of text display in the above detailed description,
Be it is this division be only exemplary it is not enforceable.In fact, embodiment according to the present invention, above-described two
The feature and function of a or more module can embody in a module.Conversely, the feature of an above-described module
It can be to be embodied by multiple modules with further division with function.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or
Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired
As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one
Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this
It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects
Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and
Included various modifications and equivalent arrangements in range.
Claims (14)
1. a kind of text display method, comprising:
After being switched to text file corresponding with multimedia file content, to the more of the current multimedia file for completing buffering
Media data carries out real time parsing;
Based on analysis result, text fragment corresponding with the multimedia data contents is determined in the text file;
According to default display mode, the text fragment is shown.
2. according to the method described in claim 1, being carried out to the multi-medium data of the current multimedia file for completing buffering real-time
Parsing, comprising:
To the current multi-medium data for completing buffering, corresponding play time section carries out real time parsing in affiliated multimedia file;
Based on analysis result, text fragment corresponding with the multimedia data contents is determined in the text file, comprising:
Each play time section and the text file based on the play time section and the preset multimedia file
Content corresponding relationship between each text fragment determines the corresponding text chunk of the play time section in the text file
It falls.
3. according to the method described in claim 1, being carried out to the multi-medium data of the current multimedia file for completing buffering real-time
Parsing, comprising:
Real time parsing, the content correlated information packet are carried out to the content correlated information of the current multi-medium data for completing buffering
It includes: caption information and/or audio-frequency information;
Based on analysis result, text fragment corresponding with the multimedia data contents is determined in the text file, comprising:
Determine the keyword in the content correlated information;
It will be determined as in the text file with the text fragment of the Keywords matching corresponding with the multimedia data contents
Text fragment.
4. method according to claim 1-3, further includes:
The buffering progress of the multimedia file is shown to user.
5. according to the method described in claim 4, also being wrapped before the buffering progress for showing the multimedia file to user
It includes:
Receive the instruction for the display Current buffer progress that user issues.
6. method according to claim 1-3, further includes:
Detect current network speed;
Based on current network speed and preset data amount computation rule, determination needs to delay before continuing to play the multimedia file
The data volume of the multi-medium data of punching;And
The data volume is pushed to user.
7. method according to claim 1-3, further includes:
Receive the instruction that the return that user issues plays multimedia file;
When determination is switched to the text file, the broadcasting breakpoint of the multimedia file;
Multimedia file described in break-point continuous playing is carried out from the broadcasting breakpoint.
8. a kind of text display, comprising:
Parsing module, for being buffered to current completion after being switched to text file corresponding with multimedia file content
The multi-medium data of multimedia file carries out real time parsing;
Text determining module, the parsing result for being obtained based on the parsing module, the determining and institute in the text file
State the corresponding text fragment of multimedia data contents;
Display module, for showing the text fragment that the text determining module determines according to default display mode.
9. equipment according to claim 8, the parsing module, specifically for the current multi-medium data for completing buffering
Corresponding play time section carries out real time parsing in affiliated multimedia file;
The text determining module is specifically used for each based on the play time section and the preset multimedia file
Content corresponding relationship between play time section and each text fragment of the text file determines institute in the text file
State the corresponding text fragment of play time section.
10. equipment according to claim 8, the parsing module, specifically for the current multimedia number for completing buffering
According to content correlated information carry out real time parsing, the content correlated information includes: caption information and/or audio-frequency information;
The text determining module, specifically for the keyword in the determination content correlated information;It will be in the text file
And the text fragment of the Keywords matching is determined as text fragment corresponding with the multimedia data contents.
11. according to the described in any item equipment of claim 8-10, the display module is also used to show more matchmakers to user
The buffering progress of body file.
12. equipment according to claim 11, further includes: receiving module;
The receiving module, for before the buffering progress for showing the multimedia file to user, receiving what user issued
Show the instruction of Current buffer progress.
13. according to the described in any item equipment of claim 8-10, further includes:
Detection module, for detecting current network speed;
Data volume determining module, for being based on current network speed and preset data amount computation rule, determination is continuing described in broadcasting
The data volume for the multi-medium data for needing to buffer before multimedia file;
Pushing module, for the data volume to be pushed to user.
14. according to the described in any item equipment of claim 8-10, further includes:
Receiving module, the return for receiving user's sending play the instruction of multimedia file;
Breakpoint determining module, when being switched to the text file for determining, the broadcasting breakpoint of the multimedia file;
Playing module, for carrying out multimedia file described in break-point continuous playing from the broadcasting breakpoint.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500353.7A CN106210840B (en) | 2016-06-29 | 2016-06-29 | A kind of text display method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500353.7A CN106210840B (en) | 2016-06-29 | 2016-06-29 | A kind of text display method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210840A CN106210840A (en) | 2016-12-07 |
CN106210840B true CN106210840B (en) | 2018-12-11 |
Family
ID=57463709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610500353.7A Active CN106210840B (en) | 2016-06-29 | 2016-06-29 | A kind of text display method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210840B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107205161B (en) * | 2017-06-30 | 2019-10-25 | Oppo广东移动通信有限公司 | A kind of video broadcasting method, device, storage medium and terminal |
CN108197286A (en) * | 2018-01-16 | 2018-06-22 | 维沃移动通信有限公司 | A kind of method for information display and mobile terminal |
CN114222193B (en) * | 2021-12-03 | 2024-01-05 | 北京影谱科技股份有限公司 | Video subtitle time alignment model training method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101482880A (en) * | 2008-01-09 | 2009-07-15 | 索尼株式会社 | Video searching apparatus, editing apparatus, video searching method, and program |
CN105635849A (en) * | 2015-12-25 | 2016-06-01 | 网易传媒科技(北京)有限公司 | Text display method and device during playing of multi-media files |
EP3203704A1 (en) * | 2012-09-29 | 2017-08-09 | Intel Corporation | Methods and systems for dynamic media content output for mobile devices |
-
2016
- 2016-06-29 CN CN201610500353.7A patent/CN106210840B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101482880A (en) * | 2008-01-09 | 2009-07-15 | 索尼株式会社 | Video searching apparatus, editing apparatus, video searching method, and program |
EP3203704A1 (en) * | 2012-09-29 | 2017-08-09 | Intel Corporation | Methods and systems for dynamic media content output for mobile devices |
CN105635849A (en) * | 2015-12-25 | 2016-06-01 | 网易传媒科技(北京)有限公司 | Text display method and device during playing of multi-media files |
Also Published As
Publication number | Publication date |
---|---|
CN106210840A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10720145B2 (en) | Speech synthesis apparatus, speech synthesis method, speech synthesis program, portable information terminal, and speech synthesis system | |
US11917344B2 (en) | Interactive information processing method, device and medium | |
AU2012359080B2 (en) | Managing playback of supplemental information | |
JP5688092B2 (en) | Apparatus and method for synchronizing video content and electronic book content and system thereof | |
TWI249729B (en) | Voice browser dialog enabler for a communication system | |
WO2017193540A1 (en) | Method, device and system for playing overlay comment | |
CN108615527A (en) | Data processing method, device based on simultaneous interpretation and storage medium | |
CN101763434B (en) | Method for wet-page script indication execution control of embedded browser, terminal and system | |
US20080088735A1 (en) | Social media platform and method | |
CN104902290B (en) | Manage the display device and its control method of multiple time source datas | |
CN109074821B (en) | Method and electronic device for editing media content | |
CN106796496A (en) | Display device and its operating method | |
CN106210840B (en) | A kind of text display method and equipment | |
CN102280104B (en) | File phoneticization processing method and system based on intelligent indexing | |
CN109634501B (en) | Electronic book annotation adding method, electronic equipment and computer storage medium | |
CN104038774B (en) | Generate the method and device of ring signal file | |
CN105094603A (en) | Method and device for related inputting | |
US9280905B2 (en) | Media outline | |
JP2015106203A (en) | Information processing apparatus, information processing method, and program | |
WO2023005193A1 (en) | Subtitle display method and device | |
CN104575125A (en) | Double-audio-frequency rereading method and device | |
CN106653026A (en) | Intelligent robot home theater system based on voice control and control method of intelligent robot home theater system | |
KR101073677B1 (en) | Stenography input apparatus and system | |
KR101331533B1 (en) | Mobile device capable of providing optional information considering screen size | |
CN107690092A (en) | Information output method, mobile terminal, playback terminal and terminal system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |