[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103559117B - A kind of method and device showing progress bar - Google Patents

A kind of method and device showing progress bar Download PDF

Info

Publication number
CN103559117B
CN103559117B CN201310530794.8A CN201310530794A CN103559117B CN 103559117 B CN103559117 B CN 103559117B CN 201310530794 A CN201310530794 A CN 201310530794A CN 103559117 B CN103559117 B CN 103559117B
Authority
CN
China
Prior art keywords
path
progress
pointer
mobile terminal
information
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.)
Expired - Fee Related
Application number
CN201310530794.8A
Other languages
Chinese (zh)
Other versions
CN103559117A (en
Inventor
黄坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201310530794.8A priority Critical patent/CN103559117B/en
Publication of CN103559117A publication Critical patent/CN103559117A/en
Application granted granted Critical
Publication of CN103559117B publication Critical patent/CN103559117B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of method and device showing progress bar, relate to technical field of mobile terminals, can decrease owing to the pointer on progress bar at screen edge thus is difficult to click on successful situation, save the time energy of user, and improved user experience.The method comprise the steps that read path table, routing table includes the trace information at least one path;The trace information of acquisition approach from routing table, and draw progress line, and load pointer on progress line on the screen of the mobile terminal according to the trace information in path;After mobile terminal commences play out multimedia file, according to the playing progress rate of multimedia file, mobile pointer on progress line.The present invention is applicable to take more diversified mode to show playing progress rate.

Description

A kind of method and device showing progress bar
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of method and device showing progress bar.
Background technology
Play the multimedia file such as audio frequency, video, be the major function of the mobile terminal such as smart mobile phone, PAD One of.Can be many by the playing program or third party's playing program being arranged on mobile terminal in reality application Media file, in playing process, for the ease of recognizing current playing progress rate for real-time, all can Progress bar is set, in order to user grasps playing progress rate according to the displacement of pointer on progress bar.
In general, as it is shown in figure 1, the progress bar of playing program shows below screen, or along screen Curtain while extending straight, but owing to the screen size of the mobile terminal such as smart mobile phone, PAD is limited, Therefore the progress bar of actual displayed is shorter so that during pointer on user's clicking operation progress bar, it tends to be difficult to Accurately click desired location, and at the end of multimedia file commences play out or be close, on progress bar Pointer very close to screen edge so that user it is frequently necessary to click on and can effectively click pointer many times, Waste the time energy of user.
Summary of the invention
Embodiments of the invention provide a kind of method and device showing progress bar, it is possible to decrease due to progress Pointer on bar is at screen edge thus is difficult to click on successful situation, has saved the time energy of user, and Improve user experience.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, embodiments of the invention provide a kind of method showing progress bar, including:
Read path table, described routing table includes the trace information at least one path;
The trace information of acquisition approach from routing table, and according to the trace information in described path at mobile terminal Screen on draw progress line, and load pointer on described progress line;
After mobile terminal commences play out multimedia file, according to the playing progress rate of described multimedia file, Mobile pointer on described progress line.
Second aspect, embodiments of the invention provide a kind of device showing progress bar, including:
Path read module, for read path table, described routing table includes the track at least one path Information;
Path-generating module, for the trace information of acquisition approach from routing table, and according to described path Trace information draws progress line, and load pointer on described progress line on the screen of the mobile terminal;
Run module, for after mobile terminal commences play out multimedia file, according to described multimedia file Playing progress rate, mobile pointer on described progress line.
The method and device of the display progress bar that the embodiment of the present invention provides, it is possible to according to the routing table stored Generate path locus, and to path locus as progress line load pointer so that it is loaded with the path rail of pointer Mark can be as the progress line of instruction multimedia file playing progress rate.Relative to prior art, the present invention can Path locus is generated and as playing progress bar so that playing progress bar can be distributed in whole according to routing table On screen, and it is more than extending straight along screen, so that user can be easy to Herba Stellariae Saxatilis Really click the pointer on progress bar, decrease owing to the pointer on progress bar at screen edge thus is difficult to a little Hit successful situation, saved the time energy of user, and be no longer dull along screen due to progress bar One side of curtain linearly, but can generate the arbitrary trajectory such as straight line, curve, reticule according to routing table Progress line, has relatively multiple types and can change according to user preferences, thus also improving user experience.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to required in embodiment The accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only the one of the present invention A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, also Other accompanying drawing can be obtained according to these accompanying drawings.
Fig. 1 is progress bar schematic diagram of the prior art;
The flow chart of the method for the display progress bar that Fig. 2 provides for the embodiment of the present invention;
A kind of schematic diagram of the instantiation of the method for the display progress bar that Fig. 2 a provides for the embodiment of the present invention;
A kind of flow process of the detailed description of the invention of the method for the display progress bar that Fig. 3 provides for the embodiment of the present invention Figure;
The stream of the another kind of detailed description of the invention of the method for the display progress bar that Fig. 4 provides for the embodiment of the present invention Cheng Tu;
The signal of the another kind of instantiation of the method for the display progress bar that Fig. 4 a provides for the embodiment of the present invention Figure;
The stream of another detailed description of the invention of the method for the display progress bar that Fig. 5 provides for the embodiment of the present invention Cheng Tu;
The structural representation of the device of the display progress bar that Fig. 6 provides for the embodiment of the present invention;
Fig. 7,8 it is that the structure of detailed description of the invention of devices of the display progress bars that the embodiment of the present invention provides is shown It is intended to.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The all other embodiments obtained under property work premise, broadly fall into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method showing progress bar, as in figure 2 it is shown, include:
101, read path table.
Wherein, routing table includes the trace information at least one path.Can pass through joining at mobile terminal Put and file arranges variable FLAG identify whether to enable the scheme of the embodiment of the present invention to draw progress line.
In the present embodiment, can be by each point of storage composition path locus, it is achieved the rail of store path Mark information, such as: the information format of XML can be used to represent trace information, as follows:
<TextureAtlas imagePath="world_items.png"width="350"height="258">
<sprite m0="frame_0"x="6"y="45"w="6"h="2"c="#ffffff"a="45"/>
<sprite m1="frame_1"x="9"y="50"w="6"h="2"c="#ffffff"a="45"/>
<sprite m2="frame_2"x="12"y="52"w="6"h="2"c="#ffffff"a="45"/> .........
<sprite mn=frame_n"x="322"y="108"w="6"h="2"c="#ffffff"a="180"/> </TextureAtlas>
Wherein, the track in path has n point, frame_0, frame_1, frame_2...frame_n, M0Represent the name information of frame_0, m1Represent name information ... the m of frame_1nRepresent the name of frame_n Title information.X represents the coordinate of the transverse axis on screen, or the coordinate of transverse axis in picture;Y represents at screen The coordinate of the longitudinal axis on curtain, or the coordinate of the longitudinal axis in picture;W represents drafting width;H represents drafting height Degree;C represents color when drawing this paths;A represents angle when drawing this paths.Wherein, the taking of c Value is all " #ffffff ", represents that the color drawn is white, can take other colors in actual applications.? Specifically can be shown as shown in Figure 2 a on screen, progress line
102, the trace information of acquisition approach from routing table, and moving according to the trace information in described path Progress line, and load pointer on described progress line is drawn on the screen of terminal.
Such as: after the trace information in the path in have read routing table, composition path rail can be drawn successively Each point of mark, thus draw progress line.The pointer loaded on progress line is for indicating multimedia file Playing progress rate, pointer rate travel on progress line relative to the total duration of the broadcasting of multimedia file, when Multimedia file from commencing play out until after all playing and terminating, pointer can cover institute on progress line accordingly Some points.
103, after mobile terminal commences play out multimedia file, according to the playing progress rate of described multimedia file, Mobile pointer on described progress line.
The method of the display progress bar that the embodiment of the present invention provides, it is possible to generate road according to the routing table stored Footpath track, and to path locus as progress line load pointer so that the path locus being loaded with pointer is permissible Progress line as instruction multimedia file playing progress rate.Relative to prior art, the present invention can be according to road Footpath table generates path locus and as playing progress bar so that playing progress bar can be distributed across the screen, And be more than along screen while extending straight so that user can the most accurately click Pointer on progress bar, decreases owing to the pointer on progress bar at screen edge thus is difficult to click on successfully Situation, has saved the time energy of user, and is no longer dull along screen due to progress bar Linearly, but the progress line of the arbitrary trajectory such as straight line, curve, reticule can be generated according to routing table, There is relatively multiple types and can change according to user preferences, thus also improving user experience.
In the present embodiment, the process drawing progress line can perform before playing multimedia file.Such as: Before playing multimedia file, draw the scheme of progress line, only need to read road before playing multimedia file The trace information in the path in the table of footpath, and draw progress line according to the trace information in path, then drawn Load pointer on progress line, finally commences play out multimedia file.
Optionally, in the present embodiment, the process drawing progress line can also play the same of multimedia file Shi Zhihang, for example, obtain scheme as shown in Figure 3.Scheme shown in Fig. 3 is a kind of the many matchmakers of broadcasting Draw the scheme of progress line while body file, i.e. playing while multimedia file, synchronously draw into Degree line, and after new point generates, can directly pointer be shown on newly-generated point, thus realize The drafting speed sync of progress line is in the playing progress rate of multimedia file, and shows up-to-date broadcasting by pointer Progress.Including:
201, read path table.
Wherein, routing table includes the trace information at least one path.
202, the trace information of acquisition approach from routing table, and obtain the playing duration of described multimedia file.
203, according to the trace information in described path, determine the quantity of the point in described path.
Wherein, shown described progress line is made up of the point being arranged in order according to the track in path.
Such as: in the track in path, have a n point, frame_0, frame_1, frame_2...frame_n, then The quantity of the point in composition path is n.
204, according to described playing duration and the quantity of the point in described path, obtain and draw speed.
Such as: the playing duration of the music file of a MP3 format is 3 minutes, i.e. 180 seconds, and according to from The trace information in the path read in routing table understands, and the track in this path is made up of n point, then draw speed V=(180/n), i.e. draw point one by one at interval of V, thus after have passed through 180 seconds, the rail in whole path Mark is drawn complete.
205, after mobile terminal commences play out multimedia file, according to described drafting speed described mobile whole Described progress line, and load pointer on described progress line is drawn on the screen of end.
206, after mobile terminal commences play out multimedia file, according to the playing progress rate of described multimedia file, Mobile pointer on described progress line.
The mobile terminal of user is sometimes for processing more data so that the load of mobile terminal is relatively big, and In actual applications, it may appear that emergency case causes after depicting progress line, and user eliminates again broadcasting, Equal to occupying the calculating resource of mobile terminal and consuming the electric energy of mobile terminal, depict useless progress Line.The most in the present embodiment, while playing multimedia file at playing program, synchronously draw Progress line, such that it is able to avoid unnecessary power consumption or avoid taking extra calculating resource.
Further alternative, in the present embodiment, it is also possible to execution following proposal:
104a, obtain preset value, and according to described preset value adjust described progress line point with described screen The distance at edge more than described preset value.
Wherein, preset value can be set by the user, it is also possible to by mobile terminal according to the device number of self or The hardware informations such as the model of liquid crystal display screen determine the size of the screen of mobile terminal, automatic in the size according to screen Generate preset value.
Or 104b, adjusts length or the size of described progress line, makes the institute after adjustment according to described preset value State the beeline at the progress line extremely edge of described screen more than described preset value.
Make any point in drawn progress line to the distance of the screen of mobile terminal can be more than presetting Value, it is achieved that the distance that progress line can be enough with the holding of the screen edge of mobile terminal.Thus avoid by The nearest in the screen edge of the progress linear distance mobile terminal drawn, the user caused is difficult to accurately click on Problem.
It should be noted that the opportunity that mobile terminal performs 104a or 104b can be: mobile terminal has been drawn When having become progress line and prepared to show the progress line drawn;Or mobile terminal do not draws progress line, and It is the existing progress bar progress line as preparation display of employing, the progress bar that such as playing program carries, And when preparing to show existing progress bar;It is also possible that during drawing progress line, can be specifically Mobile terminal, during performing 205, often draws in progress line according to drawing speed on screen Point, can be more than preset value according to the distance at the edge with screen that preset value adjusts this point.
Optionally, mobile terminal can obtain in background picture, and picture resource storehouse from picture resource storehouse The trace information in path of background picture corresponding at least one.The most as shown in Figure 4, in the present embodiment, Detailed description of the invention for " mobile terminal is the trace information of acquisition approach from routing table " in 202 is permissible Including:
301, according to instruction or the preset rules stored according to described mobile terminal of user's input, obtain the back of the body Scape picture.
Wherein, mobile terminal can prestore picture resource storehouse, and receive user's input for selecting After selecting the instruction of picture, from picture resource storehouse, read corresponding background picture.Or can be according to setting in advance The picture put selects rule, automatically reads background picture from picture resource storehouse.
302, described routing table determines the path that described background picture is corresponding, obtains described background picture pair The trace information in the path answered, and obtain the playing duration of described multimedia file.
In the present embodiment, the corresponding relation of each background picture and path, mobile terminal can be prestored After have read background picture, can according to the corresponding relation of background picture Yu path read from routing table with The trace information in the path that selected background picture is corresponding.
In actual applications, in order to realize more preferable display effect, playing program is allowed to play multimedia literary composition The process of part is more attractive in appearance, often reads background picture and shows on screen.Due in the present embodiment, Progress line the most merely shows at screen edge, but can be distributed in whole screen, therefore can root According to distribution of color or the particular content of background picture of background picture, first arranging some can preferably join Close the path of background picture, such as: background picture is adjusted to main with cool colour, then can pre-set warm-toned Path, and the corresponding relation in warm-toned path and background picture is set;Background picture is only black-and-white two color , the such as picture of black and white shadow drawing sheet, ink and wash style.As shown in fig. 4 a, then path can be arranged to ratio Along the profile extension in background picture, the part covered in progress line can dye black, and pointer is not The part covered can be shown as light grey.So that progress line preferably matching background picture so that progress The display effect of line is more eye-catching.
In actual applications, during mobile terminal moves pointer on progress line, it is also possible to change at any time The color of pointer or rendering effect, so that pointer can highlight eye-catching, more attractive in appearance, also improve User uses user experience during playing program.Therefore scheme as shown in Figure 2,3, 4 is combined, in this reality Execute the scheme that can also include in example as shown in Figure 5, wherein:
401, read path table.
Wherein, routing table includes the trace information at least one path.
402, according to instruction or the preset rules stored according to described mobile terminal of user's input, obtain the back of the body Scape picture.
403, described routing table determines the path that described background picture is corresponding, and obtains described background picture The trace information in corresponding path, and obtain the playing duration of described multimedia file.
404, according to the trace information in described path, determine the quantity of the point in described path.
Wherein, shown described progress line is made up of the point being arranged in order according to the track in path.
405, according to described playing duration and the quantity of the point in described path, obtain and draw speed.
406, after mobile terminal commences play out multimedia file, according to described drafting speed described mobile whole Described progress line, and load pointer on described progress line is drawn on the screen of end.
407, after mobile terminal commences play out multimedia file, according to the playing progress rate of described multimedia file, Mobile pointer on described progress line.
408, in a refresh cycle of the screen of described mobile terminal, determine that described pointer is currently located position The coordinate information put.
Such as, mobile terminal can according to the acquisition of information coordinate information of the point of pointer present position, than As: the point of pointer present position is < sprite m2="frame_2"x="12"y="52"w="6"h="2" C=" #ffffff " a=" 45 "/>, then can extract x=" 12 " y=" 52 " w=" 6 " h=" 2 " c=" #ffffff " A=" 45 ", and as coordinate information.
409, according to described coordinate information, obtain described pointer present position on described background picture Colouring information.
Such as: the coordinate information of pointer present position: x=" 12 " y=" 52 " w=" 6 " h=" 2 " c=" #ffffff " A=" 45 ", wherein colouring information is c=" #ffffff ".
410, according to described colouring information, revise the display effect of described pointer.
In the present embodiment, the display effect of pointer can be revised as: with the point of pointer present position Inverse, such as colouring information are c=" #ffffff ", for white, then pointer can be shown as black.Can also The display effects such as flicker, shake, fog are increased for pointer.
In the present embodiment, by making pointer change color along with mobile or change display effect, Ke Yijin One step make the display effect of progress line more eye-catching.
Further, in the actual application of the present embodiment, mobile terminal can also update at any time or add road The path stored in the table of footpath and the trace information in path, the scheme updating routing table specifically may include that
501a, reception user's input trajectory information.
Such as: mobile terminal can record the track that user draws on the touchscreen, and record application layer for The coordinate information of each sampled point on track drawn.Afterwards can be using the track drawn by user as newly Path store to routing table, and using the coordinate information of each sampled point on track as trace information together It is stored in routing table.Wherein, if user does not set the color of drawn track, then can be set as default color.
502a, by user's input trajectory information add to routing table.
Can also include:
The background picture that 501b, acquisition are specified.
Distribution of color in 502b, analysis background picture, and generate new track record according to analysis result The trace information of new track, then the trace information of new track and new track is added to routing table.
Such as: for black and white picture as shown in fig. 4 a, or contrast is higher makes mobile terminal to divide Separate out the picture of zones of different profile.Distribution of color in background picture can be analyzed by mobile terminal, And obtain the profile in each distribution of color region, the profile further according to each distribution of color region generates path, Such as mobile terminal can generate to enter in Fig. 4 a according to the profile in black and white region in the black and white picture shown in Fig. 4 a The path overlapped wanted by degree line.
Can also include:
501c, connection of mobile terminal into network, and from network, obtain background picture.
Wherein, network obtains in background picture, includes corresponding path, and corresponding road The trace information in footpath.The trace information in path and path can be as the attribute information of picture together with picture Issue on network.
In actual applications, background picture can be made in advance by operator or other users, and by road The trace information in footpath and path can add to background picture as the attribute information of picture, then by background Picture is issued on network.So that mobile terminal downloads the track including path and path from network The background picture of information.
502c, read acquired in path corresponding to background picture and the trace information in path, and add extremely Routing table.
Mobile terminal can download background picture from network, it is also possible to is to be stored the most in the terminal Background picture, but the background picture downloaded from network includes the track in new path and path Information, such as: mobile terminal is currently stored picture 1, wherein the attribute information of picture 1 includes path 1, Path 2 and path 3, and path 1, path 2 and the trace information in path 3.And after search by mobile terminal network It is found that on server and has issued picture 1, and read in the attribute information of the picture 1 issued on server Include path 1, path 2, path 3 and path 4, and path 1, path 2, path 3 and the rail in path 4 Mark information, then mobile terminal can download from a server the attribute information of picture 1, and updates in mobile terminal The picture 1 of storage.
In the present embodiment, manually or automatically update routing table by user, can increase and be available for user's choosing The number of paths selected, thus further increase the Experience Degree of user.
The embodiment of the present invention also provides for a kind of device 60 showing progress bar, as shown in Figure 6, and including:
Path read module 61, for read path table, described routing table includes the rail at least one path Mark information.
Path-generating module 62, for the trace information of acquisition approach from routing table, and according to described path Trace information draw progress line, and load pointer on described progress line on the screen of the mobile terminal.
Run module 63, for after mobile terminal commences play out multimedia file, according to described multimedia literary composition The playing progress rate of part, mobile pointer on described progress line.
Wherein, as it is shown in fig. 7, described path-generating module 62 includes:
Pretreatment unit 621, for the trace information of acquisition approach from routing table, and obtains described multimedia The playing duration of file.
Point processing unit 622, for the trace information according to described path, determines the quantity of the point in described path, Wherein, shown described progress line is made up of the point being arranged in order according to the track in described path.
Speed determining unit 623, for according to described playing duration and the quantity of the point in described path, acquisition is painted Speed processed.
Drawing unit 624, for after mobile terminal commences play out multimedia file, according to described drafting speed The screen of described mobile terminal is drawn described progress line.
Described path read module 61 includes:
Picture reads unit 611, for the instruction according to user's input or stores according to described mobile terminal Preset rules, obtains background picture.
Path extraction unit 612, for determining the path that described background picture is corresponding in described routing table, and Obtain the trace information in path corresponding to described background picture.
Further, as shown in Figure 8, in the device 60 of display progress bar, it is also possible to including:
Locating module 64, during pointer mobile on described progress line, at described mobile terminal In one refresh cycle of screen, determine the coordinate information of described pointer present position.
Effect analysis module 65, for according to described coordinate information, obtains the described finger on described background picture The colouring information of pin present position.
Effect change module 66, for according to described colouring information, revises the display effect of described pointer.
Receiver module 67, is used for receiving user's input trajectory information.
Add module 68, be used for and described user's input trajectory information is added to described routing table.
Adjusting module 69, is used for obtaining preset value, and adjust the point of described progress line according to described preset value With the distance at the edge of described screen more than described preset value;Or, enter according to the adjustment of described preset value The length of degree line or size, make the described progress line after adjustment be more than to the beeline at the edge of described screen Described preset value.
The device of the display progress bar that the embodiment of the present invention provides, it is possible to generate road according to the routing table stored Footpath track, and to path locus as progress line load pointer so that the path locus being loaded with pointer is permissible Progress line as instruction multimedia file playing progress rate.Relative to prior art, the present invention can be according to road Footpath table generates path locus and as playing progress bar so that playing progress bar can be distributed across the screen, And be more than along screen while extending straight so that user can the most accurately click Pointer on progress bar, decreases owing to the pointer on progress bar at screen edge thus is difficult to click on successfully Situation, has saved the time energy of user, and is no longer dull along screen due to progress bar Linearly, but the progress line of the arbitrary trajectory such as straight line, curve, reticule can be generated according to routing table, There is relatively multiple types and can change according to user preferences, thus also improving user experience.
Each embodiment in this specification all uses the mode gone forward one by one to describe, phase homophase between each embodiment As part see mutually, what each embodiment stressed is different from other embodiments it Place.For apparatus embodiments, owing to it is substantially similar to embodiment of the method, so describing Fairly simple, relevant part sees the part of embodiment of the method and illustrates.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, Or random store-memory body (Random Access Memory, RAM) etc. ROM).
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention Should be as the criterion with scope of the claims.

Claims (10)

1. the method showing progress bar, it is characterised in that including:
Read path table, described routing table includes the trace information at least one path;
The trace information of acquisition approach from routing table, and according to the trace information in described path at mobile terminal Screen on draw progress line, and load pointer on described progress line;
After mobile terminal commences play out multimedia file, according to the playing progress rate of described multimedia file, Mobile pointer on described progress line;
The described trace information of acquisition approach from routing table, is moving eventually according to the trace information in described path Draw progress line on the screen of end to include:
The trace information of acquisition approach from routing table, and obtain the playing duration of described multimedia file;
According to the trace information in described path, determine the quantity of the point in described path, wherein, shown institute State progress line to be made up of the point being arranged in order according to the track in described path;
According to described playing duration and the quantity of the point in described path, obtain and draw speed;
After mobile terminal commences play out multimedia file, according to described drafting speed at described mobile terminal Described progress line is drawn on screen.
The method of display progress bar the most according to claim 1, it is characterised in that described from routing table The trace information of middle acquisition approach includes:
Instruction according to user's input or the preset rules stored according to described mobile terminal, obtain Background Sheet;
In described routing table, determine the path that described background picture is corresponding, and it is corresponding to obtain described background picture The trace information in path.
The method of display progress bar the most according to claim 2, it is characterised in that at described progress line During upper mobile pointer, also include:
In a refresh cycle of the screen of described mobile terminal, determine described pointer present position Coordinate information;
According to described coordinate information, obtain the color of described pointer present position on described background picture Information;
According to described colouring information, revise the display effect of described pointer.
The method of display progress bar the most according to claim 1, it is characterised in that also include:
Receive user's input trajectory information;
And described user's input trajectory information is added to described routing table.
The method of display progress bar the most according to claim 1, it is characterised in that also include:
Obtain preset value, and adjust the edge with described screen of the point of described progress line according to described preset value Distance more than described preset value;
Or, adjust length or the size of described progress line according to described preset value, enter described in after making adjustment Degree line is more than described preset value to the beeline at the edge of described screen.
6. the device showing progress bar, it is characterised in that including:
Path read module, for read path table, described routing table includes the track at least one path Information;
Path-generating module, for the trace information of acquisition approach from routing table, and according to described path Trace information draws progress line, and load pointer on described progress line on the screen of the mobile terminal;
Run module, for after mobile terminal commences play out multimedia file, according to described multimedia file Playing progress rate, mobile pointer on described progress line;
Described path-generating module includes:
Pretreatment unit, for the trace information of acquisition approach from routing table, and obtains described multimedia literary composition The playing duration of part;
Point processing unit, for the trace information according to described path, determines the quantity of the point in described path, Wherein, shown described progress line is made up of the point being arranged in order according to the track in described path;
Speed determining unit, for according to described playing duration and the quantity of the point in described path, obtains and draws Speed;
Drawing unit, for after mobile terminal commences play out multimedia file, exists according to described drafting speed Described progress line is drawn on the screen of described mobile terminal.
The device of display progress bar the most according to claim 6, it is characterised in that described path is read Module includes:
Picture read unit, for according to user input instruction or according to described mobile terminal store pre- If regular, obtain background picture;
Path extraction unit, for determining the path that described background picture is corresponding in described routing table, and obtains Take the trace information in path corresponding to described background picture.
The device of display progress bar the most according to claim 7, it is characterised in that also include:
Locating module, during pointer mobile on described progress line, at the screen of described mobile terminal In one refresh cycle of curtain, determine the coordinate information of described pointer present position;
Effect analysis module, for according to described coordinate information, obtains the described pointer on described background picture The colouring information of present position;
Effect change module, for according to described colouring information, revises the display effect of described pointer.
The device of display progress bar the most according to claim 6, it is characterised in that also include:
Receiver module, is used for receiving user's input trajectory information;
Add module, be used for and described user's input trajectory information is added to described routing table.
The device of display progress bar the most according to claim 6, it is characterised in that also include:
Adjusting module, is used for obtaining preset value, and adjust according to described preset value described progress line point with The distance at the edge of described screen is more than described preset value;Or, adjust described progress according to described preset value The length of line or size, make the described progress line after adjustment to the beeline at the edge of described screen more than institute State preset value.
CN201310530794.8A 2013-10-31 2013-10-31 A kind of method and device showing progress bar Expired - Fee Related CN103559117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310530794.8A CN103559117B (en) 2013-10-31 2013-10-31 A kind of method and device showing progress bar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310530794.8A CN103559117B (en) 2013-10-31 2013-10-31 A kind of method and device showing progress bar

Publications (2)

Publication Number Publication Date
CN103559117A CN103559117A (en) 2014-02-05
CN103559117B true CN103559117B (en) 2016-08-17

Family

ID=50013368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310530794.8A Expired - Fee Related CN103559117B (en) 2013-10-31 2013-10-31 A kind of method and device showing progress bar

Country Status (1)

Country Link
CN (1) CN103559117B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487801B (en) * 2015-11-26 2020-01-03 惠州Tcl移动通信有限公司 Progress bar adjusting method and mobile terminal
CN106990951B (en) * 2017-02-22 2020-04-17 福建天泉教育科技有限公司 Method and system for drawing progress bar
JP6596741B2 (en) * 2017-11-28 2019-10-30 エスゼット ディージェイアイ テクノロジー カンパニー リミテッド Generating apparatus, generating system, imaging system, moving object, generating method, and program
CN109976865B (en) * 2019-03-29 2023-03-28 北京金山云网络技术有限公司 Task progress display method and device and terminal equipment
CN110022493B (en) * 2019-05-21 2020-10-09 北京字节跳动网络技术有限公司 Playing progress display method and device, electronic equipment and storage medium
CN110779542A (en) * 2019-09-23 2020-02-11 深圳市跨越新科技有限公司 Method and device for synchronizing vehicle track playback and playing progress bar of map system
CN110996155B (en) * 2019-12-12 2021-05-25 北京字节跳动网络技术有限公司 Video playing page display method and device, electronic equipment and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799678A (en) * 2012-07-23 2012-11-28 深圳市同洲电子股份有限公司 Method for customizing progress bar of browser and method for customizing error page of browser
CN103021439A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Method and device for accurately positioning file playback progress
CN103235700A (en) * 2013-04-26 2013-08-07 鸿富锦精密工业(深圳)有限公司 System capable of adjusting play progress bar and audio play device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120020247A (en) * 2010-08-27 2012-03-08 삼성전자주식회사 Portable electronic device, apparatus and method for playing contents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103021439A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Method and device for accurately positioning file playback progress
CN102799678A (en) * 2012-07-23 2012-11-28 深圳市同洲电子股份有限公司 Method for customizing progress bar of browser and method for customizing error page of browser
CN103235700A (en) * 2013-04-26 2013-08-07 鸿富锦精密工业(深圳)有限公司 System capable of adjusting play progress bar and audio play device and method

Also Published As

Publication number Publication date
CN103559117A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN103559117B (en) A kind of method and device showing progress bar
CN101894168B (en) Method and system for layout display of web page of mobile terminal
US20110167336A1 (en) Gesture-based web site design
US8977077B2 (en) Techniques for presenting user adjustments to a digital image
CN104394422A (en) Video segmentation point acquisition method and device
CN110705231B (en) Webpage editing method and device
CN107992246A (en) Video editing method and device and intelligent terminal
CN109893852B (en) Interface information processing method and device
CN107728905B (en) Bullet screen display method and device and storage medium
CN105096363A (en) Picture editing method and picture editing device
CN109275028A (en) Video acquiring method, device, terminal and medium
CN109685872B (en) Animation generation method, device, equipment and computer readable storage medium
CN110245069A (en) The methods of exhibiting and device of the test method and device of page versions, the page
WO2011082075A2 (en) Incoming web traffic conversion
US20240339091A1 (en) Image display method and apparatus, electronic device, and storage medium
CN109144652A (en) A kind of view display methods, device, electronic equipment and storage medium
CN110413185A (en) For specifying link destination and for the interface device and recording medium of viewer
US9396575B2 (en) Animation via pin that defines multiple key frames
CN109951728A (en) A kind of advertisement distributing system and method
CN109871161A (en) Font processing method and device, electronic equipment in chat application
CN104732568A (en) Method and device for online addition of lyric subtitles to pictures
US8884971B2 (en) Animation engine decoupled from animation catalog
CN112565858A (en) Program editing method and device and program publishing method and device
CN109828806A (en) A kind of optimization method based on the customized diversified control combing of UI
CN109976865A (en) Display methods, device and the terminal device of Task Progress

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160817