CN103559117A - Method and device for displaying progress bar - Google Patents

Method and device for displaying progress bar Download PDF

Info

Publication number
CN103559117A
CN103559117A CN201310530794.8A CN201310530794A CN103559117A CN 103559117 A CN103559117 A CN 103559117A CN 201310530794 A CN201310530794 A CN 201310530794A CN 103559117 A CN103559117 A CN 103559117A
Authority
CN
China
Prior art keywords
progress
path
mobile terminal
screen
line
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.)
Granted
Application number
CN201310530794.8A
Other languages
Chinese (zh)
Other versions
CN103559117B (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

Images

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 method and a device for displaying a progress bar, and relates to the technical field of a mobile terminal. The condition that a pointer on the progress bar is positioned at the edge of a screen, so the click success cannot be easily reached can be reduced. The time and the effort of users are saved, and in addition, the user experience degree is improved. The method provided by the invention comprises the following steps that a route table is read, and the route table comprises track information of at least one path; the track information of the route is obtained from the route table, in addition, a progress line is drawn on the screen on the mobile terminal according to the track information of the route, and in addition, the pointer is loaded on the progress line; after the mobile terminal starts to play multimedia files, the pointer is moved on the progress line according to the playing progress of the multimedia files. The method and the device provided by the invention are suitable for being used for displaying the playing progress in more diversified modes.

Description

A kind of method of progress displaying bar and device
Technical field
The present invention relates to technical field of mobile terminals, relate in particular to a kind of method and device of progress displaying bar.
Background technology
The multimedia file such as audio plays, video is one of major function of the mobile terminals such as smart mobile phone, PAD.Can be by being arranged on playing program or third party's playing program multimedia file of mobile terminal in practical application, in playing process, for the ease of the current playing progress rate of recognizing for real-time, capital arranges progress bar, so that user grasps playing progress rate according to the displacement of pointer on progress bar.
In general, as shown in Figure 1, the progress bar of playing program is presented at screen below, or extend straight along one side of screen, but due to smart mobile phone, the screen size of the mobile terminals such as PAD is limited, therefore the progress bar of actual displayed is shorter, while making the pointer on user's clicking operation progress bar, often be difficult to accurately click desired location, and when multimedia file starts to play or approaches end, pointer on progress bar is very close to screen edge, user often need to be clicked many times and can effectively click pointer, wasted user's time energy.
Summary of the invention
Embodiments of the invention provide a kind of method and device of progress displaying bar, thereby can reduce because the pointer on progress bar is difficult to click successful situation at screen edge, have saved user's time energy, and have improved user experience.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments of the invention provide a kind of method of progress displaying bar, comprising:
Read path table, described routing table has comprised the trace information at least one path;
The trace information of acquisition approach from routing table, and draw progress line according to the trace information in described path on the screen of mobile terminal, and on described progress line load pointer;
When mobile terminal starts after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
Second aspect, embodiments of the invention provide a kind of device of progress displaying bar, comprising:
Path read module, for read path table, described routing table has comprised the trace information at least one path;
Path generation module for the trace information from routing table acquisition approach, and is drawn progress line on the screen of mobile terminal according to the trace information in described path, and on described progress line load pointer;
Operation module, for starting when mobile terminal after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
Method and the device of the progress displaying bar that the embodiment of the present invention provides, can be according to stored routing table generation pass track, and to path locus as progress line load pointer, the path locus that has made to load pointer can be used as the progress line of indication multimedia file playing progress rate.With respect to prior art, the present invention can be according to routing table generation pass track and as playing progress bar, playing progress bar can be distributed on whole screen, and just along one side of screen, do not extend straight, thereby make user can accurately click at an easy rate the pointer on progress bar, reduced because thereby the pointer on progress bar is difficult to click successful situation at screen edge, saved user's time energy, and due to progress bar be no longer dull one side along screen linearly, but can generate straight line according to routing table, curve, cross spiders etc. are the progress line of track arbitrarily, have compared with multiple types and can change according to user preferences, thereby also improved user experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is progress bar schematic diagram of the prior art;
The process flow diagram of the method for the progress displaying bar that Fig. 2 provides for the embodiment of the present invention;
The schematic diagram of a kind of instantiation of the method for the progress displaying bar that Fig. 2 a provides for the embodiment of the present invention;
The process flow diagram of a kind of embodiment of the method for the progress displaying bar that Fig. 3 provides for the embodiment of the present invention;
The process flow diagram of the another kind of embodiment of the method for the progress displaying bar that Fig. 4 provides for the embodiment of the present invention;
The schematic diagram of the another kind of instantiation of the method for the progress displaying bar that Fig. 4 a provides for the embodiment of the present invention;
The process flow diagram of another embodiment of the method for the progress displaying bar that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the device of the progress displaying bar that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the embodiment of the device of the progress displaying bar that Fig. 7,8 provides for the embodiment of the present invention.
Embodiment
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of progress displaying bar, as shown in Figure 2, comprising:
101, read path table.
Wherein, routing table has comprised the trace information at least one path.Can identify the scheme of whether enabling the embodiment of the present invention and draw progress line by variable FLAG is set in the configuration file of mobile terminal.
In the present embodiment, can by storage, form each point of path locus, realize the trace information of store path, for example: can adopt the information format of XML to represent trace information, as follows:
<TextureAtlas?imagePath="world_items.png"width="350"height="258">
<sprite?m 0="frame_0"x="6"y="45"w="6"h="2"c="#ffffff"a="45"/>
<sprite?m 1="frame_1"x="9"y="50"w="6"h="2"c="#ffffff"a="45"/>
<sprite?m 2="frame_2"x="12"y="52"w="6"h="2"c="#ffffff"a="45"/>.........
<sprite?m n=frame_n"x="322"y="108"w="6"h="2"c="#ffffff"a="180"/></TextureAtlas>
Wherein, in the track in path, there is n point, frame_0, frame_1, frame_2...frame_n, M 0the name information, the m that represent frame_0 1the name information of expression frame_1 ... m nthe name information that represents frame_n.X is illustrated in the coordinate of the transverse axis on screen, or in picture the coordinate of transverse axis; Y is illustrated in the coordinate of the longitudinal axis on screen, or in picture the coordinate of the longitudinal axis; W represents to draw width; H represents to draw height; Color when c represents to draw this paths; Angle when a represents to draw this paths.Wherein, the value of c is all " #ffffff ", represents that the color of drawing is white, can get other colors in actual applications.On screen, specifically can be shown as shown in Figure 2 a progress line
102, the trace information of acquisition approach from routing table, and draw progress line according to the trace information in described path on the screen of mobile terminal, and on described progress line load pointer.
For example: after having read the trace information in the path in routing table, can draw successively each point that forms path locus, thus the progress of drafting line.The pointer loading on progress line is used to indicate the playing progress rate of multimedia file, the rate travel of pointer on progress line is with respect to the total duration of broadcasting of multimedia file, when multimedia file is from starting to play until all broadcasting finishes, pointer can be covered points all on progress line accordingly.
103, when mobile terminal starts after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
The method of the progress displaying bar that the embodiment of the present invention provides, can be according to stored routing table generation pass track, and to path locus as progress line load pointer, the path locus that has made to load pointer can be used as the progress line of indication multimedia file playing progress rate.With respect to prior art, the present invention can be according to routing table generation pass track and as playing progress bar, playing progress bar can be distributed on whole screen, and just along one side of screen, do not extend straight, thereby make user can accurately click at an easy rate the pointer on progress bar, reduced because thereby the pointer on progress bar is difficult to click successful situation at screen edge, saved user's time energy, and due to progress bar be no longer dull one side along screen linearly, but can generate straight line according to routing table, curve, cross spiders etc. are the progress line of track arbitrarily, have compared with multiple types and can change according to user preferences, thereby also improved user experience.
The process of in the present embodiment, drawing progress line can be carried out before play multimedia file.Such as: the scheme of drawing progress line before play multimedia file, only need be before play multimedia file the trace information in the path in read path table, and draw progress line according to the trace information in path, load pointer on drawn progress line, finally starts play multimedia file again.
Optionally, in the present embodiment, draw the process of progress line and also can in play multimedia file, carry out, for instance, obtain scheme as shown in Figure 3.Scheme shown in Fig. 3 is a kind of scheme of drawing progress line in play multimedia file, in play multimedia file, synchronously draw progress line, and after new dot generation, can directly pointer be presented on newly-generated point, thereby the render speed that realizes progress line is synchronized with the playing progress rate of multimedia file, and shows up-to-date playing progress rate by pointer.Comprising:
201, read path table.
Wherein, routing table has comprised 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 comprised of the point being arranged in order according to the track in path.
For example: in the track in path, there is n point, frame_0, frame_1, frame_2...frame_n, the quantity that forms the point in path is n.
204, according to the quantity of the point in described playing duration and described path, obtain render speed.
For example: the playing duration of the music file of a MP3 format is 3 minutes; 180 seconds; and it is known according to the trace information in the path of reading from routing table; the track in this path is comprised of n point; render speed V=(180/n); at interval of V, draw point one by one, thereby through after 180 seconds, the track in whole path is drawn complete.
205, when mobile terminal starts after play multimedia file, according to described render speed, on the screen of described mobile terminal, draw described progress line, and on described progress line load pointer.
206, when mobile terminal starts after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
User's mobile terminal needs to process more data sometimes, make the load of mobile terminal larger, and in actual applications, there will be emergency case to cause after having drawn progress line, user has cancelled again broadcasting, equal to take the computational resource of mobile terminal and consumed the electric energy of mobile terminal, drawn useless progress line.Therefore in the present embodiment, by playing program play multimedia file, synchronously draw progress line, thereby can avoid unnecessary power consumption or avoid the computational resource outside occupying volume.
Further alternative, in the present embodiment, can also carry out following proposal:
104a, obtains preset value, and is greater than described preset value according to distance point and edge described screen that described preset value is adjusted described progress line.
Wherein, preset value can be set by the user, and also can according to the device number of self or the hardware informations such as model of liquid crystal display, be determined by mobile terminal and the size of the screen of mobile terminal automatically generate preset value according to the size of screen.
Or 104b, adjusts length or the size of described progress line according to described preset value, make described progress line after adjusting to the bee-line at the edge of described screen be greater than described preset value.
Make any point in drawn progress line to the distance of the screen of mobile terminal can be greater than preset value, realized progress line and can keep with the screen edge of mobile terminal enough distances.Thereby avoided because the screen edge of drawn progress linear distance mobile terminal is excessively near, the user who causes is difficult to the problem of accurately clicking.
It should be noted that, can be the opportunity that mobile terminal is carried out 104a or 104b: completed progress line while preparing to show the progress line of drawing of mobile terminal; Or mobile terminal do not draw progress line, but the existing progress bar adopting is as the progress line of preparing to show, the progress bar carrying such as playing program, and while preparing to show existing progress bar; Can also be, in the process of the progress of drafting line, can be specifically mobile terminal in carrying out 205 process, according to render speed point in every drafting progress line on screen, can adjust and this point be greater than preset value with the distance at edge screen according to preset value.
Optionally, mobile terminal can be from picture resource storehouse background extraction picture, and the background picture correspondence in picture resource storehouse the trace information at least one path.Therefore as shown in Figure 4, in the present embodiment, for the embodiment of " trace information of mobile terminal acquisition approach from routing table " in 202, can comprise:
301, according to the instruction of user's input or according to the preset rules of described mobile terminal stores, background extraction picture.
Wherein, mobile terminal can pre-stored picture resource storehouse, and receive user's input for selecting after the instruction of picture, from picture resource storehouse, read corresponding background picture.Or can, according to the picture selective rule setting in advance, from picture resource storehouse, automatically read background picture.
302, in described routing table, determine path corresponding to described background picture, obtain the trace information in the path that described background picture is corresponding, and obtain the playing duration of described multimedia file.
In the present embodiment, can pre-stored each background picture and the corresponding relation in path, mobile terminal, after having read background picture, can read the trace information in the path corresponding with selected background picture with the corresponding relation in path according to background picture from routing table.
In actual applications, in order to realize better display effect, make the process of playing program play multimedia file more attractive in appearance, tend to read background picture and be presented on screen.Due in the present embodiment, progress line is no longer merely presented at screen edge, but can be distributed in whole screen, therefore can be according to the color distribution of background picture or the particular content of background picture, some paths of matching background picture better are first set, for example: background picture is adjusted to master with cool colour, can set in advance warm-toned path, and the corresponding relation of warm-toned path and background picture is set; Background picture be only have black and white, such as the picture of black and white shadow drawing sheet, ink and wash style.Shown in Fig. 4 a, path can be arranged to extend along the profile in background picture, and the part of having covered in progress line can be dyed black, and the part that pointer is not covered can be shown as light gray.Thereby the progress line of making is matching background picture better, make the display effect of progress line more eye-catching.
In actual applications, in the process of mobile terminal moving hand on progress line, also can change at any time color or the rendering effect of pointer, thereby it is eye-catching that pointer can be given prominence to, more attractive in appearance, also improved user experience when user uses playing program.Therefore combination scheme as shown in Figure 2,3, 4, can also comprise scheme as shown in Figure 5 in the present embodiment, wherein:
401, read path table.
Wherein, routing table has comprised the trace information at least one path.
402, according to the instruction of user's input or according to the preset rules of described mobile terminal stores, background extraction picture.
403, in described routing table, determine path corresponding to described background picture, and obtain the trace information in the path that described background picture is corresponding, 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 comprised of the point being arranged in order according to the track in path.
405, according to the quantity of the point in described playing duration and described path, obtain render speed.
406, when mobile terminal starts after play multimedia file, according to described render speed, on the screen of described mobile terminal, draw described progress line, and on described progress line load pointer.
407, when mobile terminal starts after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
408, in a refresh cycle of the screen of described mobile terminal, determine the coordinate information of the current position of described pointer.
For example, mobile terminal can be according to the acquisition of information coordinate information of the point of the current position of pointer, such as: the point of the current position of pointer is <sprite m 2=" frame_2 " x=" 12 " y=" 52 " w=" 6 " h=" 2 " c=" #ffffff " a=" 45 "/>, 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 the colouring information of the current position of described pointer on described background picture.
For example: the coordinate information of the current position of pointer: 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 some inverse of the current position of pointer, such as colouring information is c=" #ffffff ", be white, pointer can be shown as to black.Also can increase for pointer the display effects such as flicker, shake, fog.
In the present embodiment, by making pointer change color or change display effect along with mobile, can further make the display effect of progress line more eye-catching.
Further, in the practical application of the present embodiment, the path that mobile terminal is stored in also can upgrading at any time or add paths and showing and the trace information in path, the scheme of upgrading routing table specifically can comprise:
501a, reception user input trajectory information.
For example: the track that mobile terminal can recording user draws on touch-screen, and record application layer for the coordinate information of each sampled point on drawn track.The drawn track of user can be stored to routing table as new path afterwards, and as trace information, deposit together the coordinate information of each sampled point on track in routing table.Wherein, if user does not set the color of drawn track, can be set as default color.
502a, user's input trajectory information is added into routing table.
Also can comprise:
501b, obtain the background picture of appointment.
Color distribution in 502b, analysis background picture, and generate new track and record the trace information of new track according to analysis result, then the trace information of new track and new track is added into routing table.
For example: for the black and white picture as shown in Fig. 4 a, or the higher picture that makes mobile terminal can analyze zones of different profile of contrast.Mobile terminal can be analyzed the color distribution in background picture, and obtain the profile in each color distribution region, again according to the profile generation pass in each color distribution region, such as mobile terminal can, according to the profile in black and white region in the black and white picture shown in Fig. 4 a, generate and want with progress line in Fig. 4 a the path overlapping.
Can also comprise:
501c, connection of mobile terminal into network, and from network background extraction picture.
Wherein, on network, in background extraction picture, comprised corresponding path, and the trace information in corresponding path.The attribute information that the trace information in path and path can be used as picture is distributed on network together with picture.
In actual applications, can make in advance background picture by operator or other users, and the attribute information that the trace information in path and path can be used as picture is added in background picture, then background picture is distributed on network.So that mobile terminal is downloaded the background picture of the trace information comprised path and path from network.
502c, read path that obtained background picture is corresponding and the trace information in path, and be added into routing table.
Mobile terminal can be downloaded background picture from network, also can be the background picture of having stored in mobile terminal, but the background picture of downloading from network has comprised the trace information in new path and path, such as: the current picture 1 of having stored of mobile terminal, wherein the attribute information of picture 1 has comprised path 1, path 2 and path 3, and the trace information in path 1, path 2 and path 3.And after search by mobile terminal network, found to have issued on server picture 1, and the attribute information that reads the picture 1 of issuing on server has comprised path 1, path 2, path 3 and path 4, and the trace information in path 1, path 2, path 3 and path 4, mobile terminal can be from server the attribute information of download pictures 1, and upgrade the picture 1 of storing in mobile terminal.
In the present embodiment, by user, manually or automatically upgrade routing table, can increase the number of paths that can select for user, thereby further increased user's Experience Degree.
The embodiment of the present invention also provides a kind of device 60 of progress displaying bar, as shown in Figure 6, comprising:
Path read module 61, for read path table, described routing table has comprised the trace information at least one path.
Path generation module 62 for the trace information from routing table acquisition approach, and is drawn progress line on the screen of mobile terminal according to the trace information in described path, and on described progress line load pointer.
Operation module 63, for starting when mobile terminal after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
Wherein, as shown in Figure 7, described path generation module 62 comprises:
Pretreatment unit 621, for the trace information from routing table acquisition approach, and obtains the playing duration of described multimedia file.
Point processing unit 622, for according to the trace information in described path, determines the quantity of the point in described path, and wherein, shown described progress line is comprised of the point being arranged in order according to the track in described path.
Speed determining unit 623, for according to the quantity of the point in described playing duration and described path, obtains render speed.
Drawing unit 624 for starting when mobile terminal after play multimedia file, is drawn described progress line on the screen of described mobile terminal according to described render speed.
Described path read module 61 comprises:
Picture reading unit 611, for according to the instruction of user input or according to the preset rules of described mobile terminal stores, background extraction picture.
Path extraction unit 612, for determining path corresponding to described background picture at described routing table, and obtains the trace information in the path that described background picture is corresponding.
Further, as shown in Figure 8, in the device 60 of progress displaying bar, can also comprise:
Locating module 64, for the process of moving hand on described progress line, in a refresh cycle of the screen of described mobile terminal, determines the coordinate information of the current position of described pointer.
Effect analysis module 65, for according to described coordinate information, obtains the colouring information of the current position of described pointer on described background picture.
Effect changes module 66, for according to described colouring information, revises the display effect of described pointer.
Receiver module 67, for receiving user's input trajectory information.
Add module 68, for and described user's input trajectory information is added into described routing table.
Adjusting module 69, for obtaining preset value, and is greater than described preset value according to distance point and edge described screen that described preset value is adjusted described progress line; Or, according to described preset value, adjust length or the size of described progress line, make described progress line after adjusting to the bee-line at the edge of described screen be greater than described preset value.
The device of the progress displaying bar that the embodiment of the present invention provides, can be according to stored routing table generation pass track, and to path locus as progress line load pointer, the path locus that has made to load pointer can be used as the progress line of indication multimedia file playing progress rate.With respect to prior art, the present invention can be according to routing table generation pass track and as playing progress bar, playing progress bar can be distributed on whole screen, and just along one side of screen, do not extend straight, thereby make user can accurately click at an easy rate the pointer on progress bar, reduced because thereby the pointer on progress bar is difficult to click successful situation at screen edge, saved user's time energy, and due to progress bar be no longer dull one side along screen linearly, but can generate straight line according to routing table, curve, cross spiders etc. are the progress line of track arbitrarily, have compared with multiple types and can change according to user preferences, thereby also improved user experience.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for apparatus embodiments, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (12)

1. a method for progress displaying bar, is characterized in that, comprising:
Read path table, described routing table has comprised the trace information at least one path;
The trace information of acquisition approach from routing table, and draw progress line according to the trace information in described path on the screen of mobile terminal, and on described progress line load pointer;
When mobile terminal starts after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
2. the method for progress displaying bar according to claim 1, is characterized in that, described from routing table the trace information of acquisition approach, according to the trace information in described path, on the screen of mobile terminal, draw progress line and comprise:
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 described progress line is comprised of the point being arranged in order according to the track in described path;
According to the quantity of the point in described playing duration and described path, obtain render speed;
When mobile terminal starts after play multimedia file, according to described render speed, on the screen of described mobile terminal, draw described progress line.
3. the method for progress displaying bar according to claim 1, is characterized in that, described from routing table the trace information of acquisition approach comprise:
According to the instruction of user's input or according to the preset rules of described mobile terminal stores, background extraction picture;
In described routing table, determine path corresponding to described background picture, and obtain the trace information in the path that described background picture is corresponding.
4. according to the method for the progress displaying bar described in claim 1 or 3, it is characterized in that, on described progress line, in the process of moving hand, also comprise:
In a refresh cycle of the screen of described mobile terminal, determine the coordinate information of the current position of described pointer;
According to described coordinate information, obtain the colouring information of the current position of described pointer on described background picture;
According to described colouring information, revise the display effect of described pointer.
5. the method for progress displaying bar according to claim 1, is characterized in that, also comprises:
Receive user's input trajectory information;
And described user's input trajectory information is added into described routing table.
6. the method for progress displaying bar according to claim 1, is characterized in that, also comprises:
Obtain preset value, and be greater than described preset value according to distance point and edge described screen that described preset value is adjusted described progress line;
Or, according to described preset value, adjust length or the size of described progress line, make described progress line after adjusting to the bee-line at the edge of described screen be greater than described preset value.
7. a device for progress displaying bar, is characterized in that, comprising:
Path read module, for read path table, described routing table has comprised the trace information at least one path;
Path generation module for the trace information from routing table acquisition approach, and is drawn progress line on the screen of mobile terminal according to the trace information in described path, and on described progress line load pointer;
Operation module, for starting when mobile terminal after play multimedia file, according to the playing progress rate of described multimedia file, moving hand on described progress line.
8. the device of progress displaying bar according to claim 7, is characterized in that, described path generation module comprises:
Pretreatment unit, for the trace information from routing table acquisition approach, and obtains the playing duration of described multimedia file;
Point processing unit, for according to the trace information in described path, determines the quantity of the point in described path, and wherein, shown described progress line is comprised of the point being arranged in order according to the track in described path;
Speed determining unit, for according to the quantity of the point in described playing duration and described path, obtains render speed;
Drawing unit for starting when mobile terminal after play multimedia file, is drawn described progress line on the screen of described mobile terminal according to described render speed.
9. the device of progress displaying bar according to claim 7, is characterized in that, described path read module comprises:
Picture reading unit, for according to the instruction of user input or according to the preset rules of described mobile terminal stores, background extraction picture;
Path extraction unit, for determining path corresponding to described background picture at described routing table, and obtains the trace information in the path that described background picture is corresponding.
10. according to the device of the progress displaying bar described in claim 7 or 9, it is characterized in that, also comprise:
Locating module, for the process of moving hand on described progress line, in a refresh cycle of the screen of described mobile terminal, determines the coordinate information of the current position of described pointer;
Effect analysis module, for according to described coordinate information, obtains the colouring information of the current position of described pointer on described background picture;
Effect changes module, for according to described colouring information, revises the display effect of described pointer.
The device of 11. progress displaying bars according to claim 7, is characterized in that, also comprises:
Receiver module, for receiving user's input trajectory information;
Add module, for and described user's input trajectory information is added into described routing table.
The method of 12. progress displaying bars according to claim 7, is characterized in that, also comprises:
Adjusting module, for obtaining preset value, and is greater than described preset value according to distance point and edge described screen that described preset value is adjusted described progress line; Or, according to described preset value, adjust length or the size of described progress line, make described progress line after adjusting to the bee-line at the edge of described screen be greater than described 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 true CN103559117A (en) 2014-02-05
CN103559117B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487801A (en) * 2015-11-26 2016-04-13 惠州Tcl移动通信有限公司 Progress bar adjusting method and mobile terminal
CN106990951A (en) * 2017-02-22 2017-07-28 福建天泉教育科技有限公司 The method for drafting and system of a kind of progress bar
WO2019105222A1 (en) * 2017-11-28 2019-06-06 深圳市大疆创新科技有限公司 Generation device, generation system, image capturing system, moving body, and generation method
CN109976865A (en) * 2019-03-29 2019-07-05 北京金山云网络技术有限公司 Display methods, device and the terminal device of Task Progress
CN110022493A (en) * 2019-05-21 2019-07-16 北京字节跳动网络技术有限公司 Playback progress display methods, 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
CN110996155A (en) * 2019-12-12 2020-04-10 北京字节跳动网络技术有限公司 Video playing page display method and device, electronic equipment and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120054612A1 (en) * 2010-08-27 2012-03-01 Samsung Electronics Co., Ltd. Method and apparatus for playing contents
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120054612A1 (en) * 2010-08-27 2012-03-01 Samsung Electronics Co., Ltd. Method and apparatus for playing contents
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

Cited By (13)

* 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
CN105487801A (en) * 2015-11-26 2016-04-13 惠州Tcl移动通信有限公司 Progress bar adjusting method and mobile terminal
CN106990951B (en) * 2017-02-22 2020-04-17 福建天泉教育科技有限公司 Method and system for drawing progress bar
CN106990951A (en) * 2017-02-22 2017-07-28 福建天泉教育科技有限公司 The method for drafting and system of a kind of progress bar
WO2019105222A1 (en) * 2017-11-28 2019-06-06 深圳市大疆创新科技有限公司 Generation device, generation system, image capturing system, moving body, and generation method
US11340772B2 (en) 2017-11-28 2022-05-24 SZ DJI Technology Co., Ltd. Generation device, generation system, image capturing system, moving body, and generation method
CN109976865A (en) * 2019-03-29 2019-07-05 北京金山云网络技术有限公司 Display methods, device and the terminal device of Task Progress
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
CN110022493A (en) * 2019-05-21 2019-07-16 北京字节跳动网络技术有限公司 Playback progress display methods, 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
CN110996155A (en) * 2019-12-12 2020-04-10 北京字节跳动网络技术有限公司 Video playing page display method and device, electronic equipment and computer readable medium
US11783865B2 (en) 2019-12-12 2023-10-10 Beijing Bytedance Network Technology Co., Ltd. Method and apparatus for displaying video playback page, and electronic device and medium

Also Published As

Publication number Publication date
CN103559117B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN103559117A (en) Method and device for displaying progress bar
CN107705193A (en) The methods of exhibiting and system of goods made to order
US20130272679A1 (en) Video Generator System
CN107992246A (en) A kind of video editing method and its device and intelligent terminal
CN108733290A (en) Drawing control method, device and electronic equipment
CN102902545B (en) Markup language element is decomposed for animation
CN109275028A (en) Video acquiring method, device, terminal and medium
CN109871161A (en) Font processing method and device, electronic equipment in chat application
CN109582872A (en) A kind of information-pushing method, device, electronic equipment and storage medium
CN107203597A (en) The display methods and device of the lyrics under a kind of screen lock state
CN112016023B (en) Service processing method, device, terminal and storage medium
CN108460819A (en) The method and apparatus for controlling the playback speed of animated message in mobile terminal
CN106952114A (en) A kind of advertisement editing customized method, device and advertisement editing machine
CN113630557B (en) Image processing method, apparatus, device, storage medium, and computer program product
CN109993585A (en) The dissemination method and device of the super advertisement of quotient
CN109951728A (en) A kind of advertisement distributing system and method
CN108174266A (en) Method, apparatus, terminal and the server that animation plays
CN113298602A (en) Commodity object information interaction method and device and electronic equipment
CN107909368A (en) Pay control method and device, terminal and readable storage medium storing program for executing
US20240202996A1 (en) Stroke tapestry systems and methods
CN105760420B (en) Realize the method and device with multimedia file content interaction
CN113190316A (en) Interactive content generation method and device, storage medium and electronic equipment
US11775159B1 (en) Methods and systems for generating graphical content through easing and paths
CN107396142A (en) Interface navigation data processing method
CN106878760A (en) Draw and parse the method and device of present

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

Granted publication date: 20160817