CN104423840B - A kind of implementation method and device of progress indicator strip - Google Patents
A kind of implementation method and device of progress indicator strip Download PDFInfo
- Publication number
- CN104423840B CN104423840B CN201310399778.XA CN201310399778A CN104423840B CN 104423840 B CN104423840 B CN 104423840B CN 201310399778 A CN201310399778 A CN 201310399778A CN 104423840 B CN104423840 B CN 104423840B
- Authority
- CN
- China
- Prior art keywords
- progress indicator
- indicator strip
- strip
- sliding block
- location 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000033001 locomotion Effects 0.000 claims abstract description 19
- 230000003139 buffering effect Effects 0.000 claims description 8
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 230000006854 communication Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 238000012216 screening Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/102—Programmed access in sequence to addressed parts of tracks of operating record carriers
- G11B27/105—Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention is suitable for tempo instructions field, provides a kind of implementation method of progress indicator strip, this method comprises: the dragging for receiving the dragging sliding block in progress indicator strip instructs, the dragging instruction includes the location information after pulling sliding block movement in progress indicator strip;According to it is described receive pull that instruction includes pull sliding block it is mobile after location information in progress indicator strip, obtain the location information to progress indicator strip start position or the location information to the first tempo instructions strip area in progress indicator strip final position;The first mask layer being made of customized picture is loaded in the first tempo instructions strip area.The invention enables at least one end of the position where dragging sliding block to be covered with the mask layer that customized picture is constituted, to more clearly show that current progress msg, intuitive display mode keeps user's operation more convenient intuitive, can also be saved while improving operating efficiency to the power consumption during mobile terminal operation.
Description
Technical field
The invention belongs to tempo instructions field more particularly to the implementation methods and device of progress indicator strip.
Background technique
Video or audio player plays sound can be passed through in mobile terminal such as smart phone perhaps PAD equipment
Video file brings convenience for user, and in particular with the development of wireless communication technique, more and more words can be enjoyed
Online acquisition audio/video file, convenient acquisition of information anywhere or anytime.
When obtaining audio-video document online using mobile terminal, often need simultaneously using dragging control and progress control
Part is realized display and the adjustment of new playback progress to currently playing progress by dragging control, is shown by progress control logical
File download progress when network obtains file online is crossed, or distinguishes the different zones on progress bar.
However, progress control generally comprises data buffer area and the non-buffer area of data, pull control generally comprise into
It spends item and pulls sliding block, since progress control and dragging control were independently operated, not simultaneously in the same progress in the past
Progress and drag function are embodied on item, especially in the case where pulling sliding block color situation similar with progress bar color, are not easy clearly
Show current progress msg, user's operation dragging sliding block is not intuitive enough, is also easy for making in the case where operating efficiency is not high
Power consumption during being operated at mobile terminal.
Summary of the invention
The implementation method of the progress indicator strip for being designed to provide a kind of band buffering mask of the embodiment of the present invention, to solve
The prior art cannot clearly show that the problem of current progress msg, to keep the display for pulling sliding block more intuitive, improve
Also the power consumption during mobile terminal operation can be reduced while operating efficiency.
The embodiments of the present invention are implemented as follows, a kind of implementation method of progress indicator strip, which comprises
Receive the dragging instruction of the dragging sliding block in progress indicator strip, draggings instruction include after pulling sliding block movement
Location information in progress indicator strip;
The location information after instructing the dragging sliding block for including mobile in progress indicator strip, acquisition are pulled according to the reception
The location information is to progress indicator strip start position or the location information to first progress in progress indicator strip final position
Indicator area;
The first mask layer being made of customized picture is loaded in the first tempo instructions strip area.
Second aspect of the present invention provides a kind of realization device of progress indicator strip, and described device includes:
First receiving unit, for receiving the dragging instruction of the dragging sliding block in progress indicator strip, the dragging instruction packet
Include the location information after pulling sliding block movement in progress indicator strip;
Acquiring unit, for being received after dragging instructs the dragging sliding block for including mobile in progress indicator strip according to described
Location information obtains the location information to progress indicator strip start position or the location information to progress indicator strip terminal position
The the first tempo instructions strip area set;
First loading unit, first for being made of in the first tempo instructions strip area load customized picture hides
Cap layer.
In the present invention, it is instructed by receiving the dragging of the dragging sliding block in progress indicator strip, includes according to instruction is pulled
Pull sliding block it is mobile after location information in progress indicator strip, get the location information to progress indicator strip point
Set or the location information to progress indicator strip final position the first tempo instructions strip area, and in first tempo instructions
Strip area loads the first mask layer being made of customized picture, so that at least one end for pulling the position where sliding block is covered with
The mask layer that customized picture is constituted, to more clearly show that current progress msg, intuitive display mode makes user
It operates more convenient intuitive, can also be saved while improving operating efficiency to the power consumption during mobile terminal operation.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the implementation method for the progress indicator strip that first embodiment of the invention provides;
Fig. 1 a is the schematic diagram of the first tempo instructions strip area of the progress indicator strip that first embodiment of the invention provides;
Fig. 2 is the implementation flow chart of the implementation method for the progress indicator strip that second embodiment of the invention provides;
Fig. 2 a is the schematic diagram of the second tempo instructions strip area of the progress indicator strip that second embodiment of the invention provides;
Fig. 3 is the implementation flow chart of the implementation method for the progress indicator strip that third embodiment of the invention provides;
Fig. 3 a is the schematic diagram of the progress indicator strip length in the progress indicator strip that third embodiment of the invention provides;
Fig. 4 is the structural schematic diagram of the realization device for the progress indicator strip that fourth embodiment of the invention provides;
Fig. 5 is the block diagram of the part-structure for the relevant mobile phone of terminal that fifth embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The progress indicator strip in embodiments of the present invention, not only may be implemented drag function, but also can be realized buffer number
According to function, combine progress control and pull control function.Its implementation can be used for various in computer application
The software or application program for needing to carry out progress adjustment also can be applied to application software or program in each mobile terminal
In, by obtaining mask layer length and to call customized picture in mask layer, can more clearly show that progress indicator strip
Current schedules, improve operating efficiency.It mainly includes the following steps:
Receive the dragging instruction of the dragging sliding block in progress indicator strip, draggings instruction include after pulling sliding block movement
Location information in progress indicator strip;It is received after dragging instructs the dragging sliding block for including mobile in progress indicator strip according to described
Location information, obtain the location information to progress indicator strip start position or the location information to progress indicator strip terminal
First tempo instructions strip area of position;In the first screening that the first tempo instructions strip area load is made of customized picture
Cap layer.
It is described in detail below by embodiment.
Embodiment one:
Fig. 1 shows the implementation process of the implementation method of the progress indicator strip of first embodiment of the invention offer, is described in detail such as
Under:
In step s101, the dragging instruction of the dragging sliding block in progress indicator strip is received, the dragging instruction includes dragging
Drag the location information after sliding block moves in progress indicator strip.
Wherein, the dragging instruction can instruct, or touch dragging and refer to for the drag operation of received mouse
It enables.Wherein pulling instruction includes receiving the left mouse button for acting on and pulling on sliding block to click or touch click commands, described
Long-pressing after click commands and the release left mouse button after position change or the instruction for leaving touch screen.
The dragging sliding block, by the parameter information referred in progress indicator strip for showing current schedules bar, institute
Stating parameter information can be information volume, broadcasting audio files or the progress msg of video file etc., specifically, for example use
In display information volume, the whole length of progress indicator strip represents the maximum value of volume, pulls sliding block in the position of progress indicator strip
The percentage for accounting for entire progress indicator strip length is set, it is corresponding to refer to the corresponding volume of current dragging sliding block, such as the maximum of volume
Value is a, the current position for pulling sliding block and being located at progress indicator strip 45%, then corresponding volume is 45%a.
Wherein, the location information after the dragging sliding block for including in the dragging sliding block is mobile in progress indicator strip, for
The progress indicator strip of horizontal position setting can pull the location information of sliding block with the coordinate representation of X-axis, vertical position is set
The progress indicator strip set can pull the location information of sliding block with the coordinate representation of Y-axis, for relatively rare non-horizontal or perpendicular
The progress indicator strip of straight position setting, can indicate the location information for pulling sliding block, the present embodiment and following implementation with (x, y)
Example is illustrated with the progress indicator strip of common horizontal position, and other way is corresponding to its.
In step s 102, it is received after dragging instructs the dragging sliding block for including mobile in progress indicator strip according to described
Location information obtains the location information to progress indicator strip start position or the location information to progress indicator strip terminal position
The the first tempo instructions strip area set.
Wherein, the location information after pulling the dragging sliding block movement that instruction includes in progress indicator strip is got, and is obtained
Take the location information to progress indicator strip start position or the location information to the first of progress indicator strip final position into
Indicator area is spent, i.e., progress indicator strip is divided into two parts by the sliding block after pulling, at this time by a portion, Ke Yiwei
Progress indicator strip pull sliding block to progress indicator strip start position this section of region, or progress indicator strip is dragged
This part that the final position for dragging sliding block to progress indicator strip is set, is defined as the first tempo instructions strip area.
As shown in Figure 1a, the total length of current schedules bar is D, and the start position of progress indicator strip is x1, and progress refers to
The position for showing the dragging sliding block on item is x2, then the first tempo instructions strip area can be for from start position x1 to dragging sliding block
Position x2 between this region, or this area that the position x1+D for pulling the position x2 of sliding block to terminal is constituted
Domain can carry out the position of the first tempo instructions strip area of flexible setting according to the customized picture loaded in step S103.
In step s 103, the first mask being made of customized picture is loaded in the first tempo instructions strip area
Layer.
The the first tempo instructions strip area obtained by step S102 loads a screening in the first tempo instructions strip area
Cap layer, the figure on the mask layer can choose customized picture in picture library.
Wherein, the customized picture selects and the picture color of progress indicator strip itself, contrast or bright as far as possible
Different picture is spent, to form preferable comparison, more clearly shows that the section comparison effect on progress indicator strip sliding block both sides
Fruit.
The embodiment of the present invention is instructed by receiving the dragging of the dragging sliding block in progress indicator strip, includes according to instruction is pulled
Pull sliding block it is mobile after location information in progress indicator strip, get the location information to progress indicator strip point
Set or the location information to progress indicator strip final position the first tempo instructions strip area, and in first tempo instructions
Strip area loads the first mask layer being made of customized picture, so that at least one end for pulling the position where sliding block is covered with
The mask layer that customized picture is constituted, to more clearly show that current progress msg, intuitive display mode makes user
It operates more convenient intuitive, can also be saved while improving operating efficiency to the power consumption during mobile terminal operation.
Embodiment two:
Fig. 2 has not gone out the implementation process of the implementation method of the progress indicator strip of second embodiment of the invention offer, is described in detail such as
Under:
In step s 201, the dragging instruction of the dragging sliding block in progress indicator strip is received, the dragging instruction includes dragging
Drag the location information and the mobile preceding location information in progress indicator strip of sliding block after sliding block moves in progress indicator strip.
What is different from the first embodiment is that described pull the position letter instructed further include before sliding block is mobile in progress indicator strip
Breath.
In step S202, received after dragging instructs the dragging sliding block for including mobile in progress indicator strip according to described
Location information obtains the location information to progress indicator strip start position or the location information to progress indicator strip terminal position
The the first tempo instructions strip area set.
In step S203, the first mask being made of customized picture is loaded in the first tempo instructions strip area
Layer.
In step S204, according to location information of the sliding block before mobile in progress indicator strip and sliding block it is mobile after
The second tempo instructions strip area that location information in progress indicator strip determines.
Specifically, record pulls sliding block first location information initial in progress indicator strip before pulling sliding block movement,
After pulling sliding block movement, after recording its movement, the second location information that sliding block is stopped, by the first location information
The section terminated to second location information is defined as the second tempo instructions strip area.
As shown in Figure 2 a, the position coordinates of the starting point of entire progress indicator strip are x1, pull first of sliding block before movement
The coordinate x2 ' of location information, the coordinate for pulling the second location information of sliding block after movement is x2, therefore, the second tempo instructions
Strip area can be with are as follows: with coordinate x2 ' for starting point, this section slid past constituted using coordinate x2 by terminal.
In step S205, the second mask being made of customized picture is loaded in the second tempo instructions strip area
Layer, second mask layer are distinctly displayed with the first mask layer.
The second tempo instructions strip area determined by step S204 loads the second mask layer being made of customized picture,
Wherein, customized picture can be searched according in picture library predetermined.
Wherein, second mask layer is distinctly displayed with the first mask layer, can be used and such as be realized in a manner of:
1, first mask layer and the second mask layer are located at two different zones of progress indicator strip same layer;
2, it is located at the upper one layer mask layer with the transparency in first mask layer and the second mask layer.
Wherein, it in the first implementation, can be occupied respectively by the first mask layer and the second mask layer in same plane
First mask layer, can be such as located at the top half of progress indicator strip by different positions, and the second mask layer is located at tempo instructions
The lower half portion of item, this mode may be implemented to distinctly display.
In second of implementation, upper layer and lower layer can be set by two mask layers, the mask layer positioned at upper layer can be with
It is set as certain transparency, such as 50% transparency, so that following mask layer also can show that its color.
Correspondingly, mask layer more often, progress indicator strip can be divided into multiple portions and shown respectively, or
Mask layer is respectively set to different transparencies, highest is set by the transparency for being located at the mask layer of top layer, thus convenient
Display.
The embodiment of the present invention and embodiment one the difference is that, pass through record sliding block it is mobile before location information, movement
Location information afterwards, and showing between second the second mask layer of tempo instructions strip area positioned at sliding area, can obtain pair
The display of progress indicator strip sliding distance, so as to have more intuitive display to current sliding distance.
Embodiment three:
Fig. 3 has not gone out the implementation process that third embodiment of the invention provides a kind of implementation method of progress indicator strip, in detail
It states as follows:
In step S301, the dragging instruction of the dragging sliding block in progress indicator strip is received, the dragging instruction includes dragging
Drag the location information after sliding block moves in progress indicator strip.
In step s 302, it is received after dragging instructs the dragging sliding block for including mobile in progress indicator strip according to described
Location information obtains the location information to progress indicator strip start position or the location information to progress indicator strip terminal position
The the first tempo instructions strip area set.
Specifically, obtaining the first tempo instructions strip area may include steps of:
As shown in Figure 3a, the total length of the progress indicator strip is D, and the coordinate of the start position of progress indicator strip is x1,
Pull sliding block it is mobile after location information be x2, the radius or a half width for pulling sliding block are x3, then, as x2 < x1+D-x3 and
When x2 > x1+x3, the first tempo instructions strip area is between x1 to x2, and length is the section of x2-x1.
As x2>x1+D-x3, the length of the first tempo instructions strip area is D-x3, and as x2<x1+x3, the first progress refers to
The length for showing strip area is x3, wherein when x2 is equal with x1+D-x3, the first tempo instructions strip area is from x1 to x1+D-
X3, when length x2 or x2 is equal with x1+x3, the first tempo instructions strip area is from x1 to x1+x3, length x3.
By the way that the buffer area of sliding block radius length or a half width is arranged at the both ends of progress indicator strip, can make
Sliding block is unlikely to be moved to other than progress indicator strip, so that more efficiently show sliding block in progress indicator strip, prevents from skidding off
Progress indicator strip.
The method that the first tempo instructions strip area is obtained described in this step, can be equally used for embodiment one and embodiment
Two.
In step S303, the first mask being made of customized picture is loaded in the first tempo instructions strip area
Layer.
In step s 304, the data information for the data buffering in progress indicator strip is received.
In step S305, the ratio value of entire data is accounted for according to the data information, the phase in the progress indicator strip
It answers and loads the third mask layer that customized picture is constituted in the length of ratio.
Wherein, the data information for the data buffering in progress indicator strip, refer to corresponding to progress indicator strip
The parameter for referring to or showing, such as the audio files for listening to online or video file etc. on one side when played file, need
It to buffer on one side, for the progress msg of the displaying Current buffer of image, self-defining image is set on current schedules bar
The third mask layer that piece is constituted, the length of the third mask layer is according to the length of entire progress indicator strip and the buffering ratio of data
Example determines that the product of the length of that is, entire progress indicator strip and the ratio of buffering is the length of third mask layer.
The third mask layer may be set to be the picture of certain transparency, for showing multiple screenings in different level
Cap layer, so as to show multiple mask layers simultaneously.
In addition, the customized picture is by way of filling or compress mode loads, together in the embodiment of the present invention
Sample, this filling mode or compress mode are also applied for embodiment one and embodiment two.
In the present embodiment, by received buffered data, the third mask layer shown by customized picture is shown, thus
The a variety of data progresses of more intelligent display improve the convenience that progress indicator strip uses.
Example IV:
Fig. 4 shows the structural schematic diagram of the realization device of the progress indicator strip of fourth embodiment of the invention offer, is described in detail
It is as follows:
The realization device of progress indicator strip described in the embodiment of the present invention, comprising:
First receiving unit 401, for receiving the dragging instruction of the dragging sliding block in progress indicator strip, the dragging instruction
Location information including dragging sliding block after mobile in progress indicator strip;
Acquiring unit 402, for being received after dragging instructs the dragging sliding block for including mobile according to described in progress indicator strip
On location information, obtain the location information to progress indicator strip start position or the location information to progress indicator strip end
First tempo instructions strip area of point position;
First loading unit 403, for being made of in the first tempo instructions strip area load customized picture
One mask layer.
To improve the diversity that progress indicator strip is shown, as a kind of optional mode of the embodiment of the present invention, the dragging
Instruction further includes the location information before sliding block is mobile in progress indicator strip, described device further include:
Determination unit 404, for mobile according to the mobile preceding location information and sliding block in progress indicator strip of the sliding block
The second tempo instructions strip area that location information in progress indicator strip determines afterwards;
Second loading unit 405, for being made of in the second tempo instructions strip area load customized picture
Two mask layers, second mask layer are distinctly displayed with the first mask layer.
Wherein, first mask layer and the second mask layer be located at progress indicator strip same layer two different zones or
It is located at the upper one layer mask layer with the transparency in first mask layer and the second mask layer.
For the data information for further increasing its display, described device further include:
Second receiving unit 406, for receiving the data information for the data buffering being used in progress indicator strip;
Third loading unit 407, for accounting for the ratio value of entire data according to the data information, in the tempo instructions
The third mask layer that customized picture is constituted is loaded on item in the length of corresponding proportion.
Wherein, the acquiring unit 402 is specifically used for:
The total length of the progress indicator strip is D, and the coordinate of the start position of progress indicator strip is x1, and it is mobile to pull sliding block
Location information afterwards is x2, and the radius or a half width for pulling sliding block are x3, then, as x2<x1+D-x3 and x2>x1+x3,
The first tempo instructions strip area is between x1 to x2, and length is the section of x2-x1;
As x2>x1+D-x3, the length of the first tempo instructions strip area is D-x3, and as x2<x1+x3, the first progress refers to
The length for showing strip area is x3.
Above-mentioned customized picture is by way of filling or compress mode loads.
The embodiment of the present invention is device corresponding with embodiment one, embodiment two and three the method for embodiment, herein
It is not repeated and repeats.
Embodiment five:
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure
5, mobile phone include: radio frequency (Radio Frequency, RF) circuit 510, memory 520, input unit 530, display unit 540,
Sensor 550, voicefrequency circuit 560, Wireless Fidelity (wireless fidelity, WiFi) module 570, processor 580 and
The components such as power supply 590.It will be understood by those skilled in the art that handset structure shown in Fig. 5 does not constitute the restriction to mobile phone,
It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
RF circuit 510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 580;In addition, the data for designing uplink are sent to base station.In general, RF circuit packet
Include but be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 510 can also be communicated with network and other equipment by wireless communication.
Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE)), Email, short message service (Short Messaging Service, SMS) etc..
Memory 520 can be used for storing software program and module, and processor 580 is stored in memory 520 by operation
Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 520 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone
Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 520 may include high-speed random access memory
Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states
Part.
Input unit 530 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 500
And the related key signals input of function control.Specifically, input unit 530 may include touch panel 531 and other inputs
Equipment 532.Touch panel 531, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes
With the operation of any suitable object or attachment such as finger, stylus on touch panel 531 or near touch panel 531), and
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 531 may include touch detecting apparatus and touching
Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give processor 580, and order that processor 580 is sent can be received and executed.Furthermore, it is possible to using
The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 531.It is defeated in addition to touch panel 531
Entering unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to physics
One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 540 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 540 may include display panel 541, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 541.Further, touch panel 531 can cover display panel 541, when touch panel 531 detect it is on it or attached
After close touch operation, processor 580 is sent to determine the type of touch event, is followed by subsequent processing device 580 according to touch event
Type corresponding visual output is provided on display panel 541.Although in Fig. 5, touch panel 531 and display panel 541
It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control
Panel 531 and display panel 541 are integrated and that realizes mobile phone output and input function.
Mobile phone 500 may also include at least one sensor 550, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 541, and proximity sensor can close display panel when mobile phone is moved in one's ear
541 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the audio interface between user and mobile phone.Audio-frequency electric
Electric signal after the audio data received conversion can be transferred to loudspeaker 561, be converted to sound by loudspeaker 561 by road 560
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is turned after being received by voicefrequency circuit 560
It is changed to audio data, then by after the processing of audio data output processor 580, such as another mobile phone is sent to through RF circuit 510,
Or audio data is exported to memory 520 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 570
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown
WiFi module 570, but it is understood that, and it is not belonging to must be configured into for mobile phone 500, it is can according to need completely not
Change in the range of the essence of invention and omits.
Processor 580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 520, and call and be stored in memory 520
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 580 can wrap
Include one or more processing units;Preferably, processor 580 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Mobile phone 500 further includes the power supply 590(such as battery powered to all parts), it is preferred that power supply can pass through electricity
Management system and processor 580 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
Although being not shown, mobile phone 500 can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 580 included by the terminal is also with the following functions: implementation progress bar
Implementation method, comprising:
Receive the dragging instruction of the dragging sliding block in progress indicator strip, draggings instruction include after pulling sliding block movement
Location information in progress indicator strip;
The location information after instructing the dragging sliding block for including mobile in progress indicator strip, acquisition are pulled according to the reception
The location information is to progress indicator strip start position or the location information to first progress in progress indicator strip final position
Indicator area;
The first mask layer being made of customized picture is loaded in the first tempo instructions strip area.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (10)
1. a kind of implementation method of progress indicator strip, which is characterized in that the described method includes:
The dragging instruction for pulling sliding block in progress indicator strip is received, the dragging instruction includes after pulling sliding block movement in progress
Location information on bar;
According to it is described receive pull that instruction includes pull sliding block it is mobile after location information in progress indicator strip, described in acquisition
Location information is to progress indicator strip start position or the location information to first tempo instructions in progress indicator strip final position
Strip area;
The first mask layer being made of customized picture is loaded in the first tempo instructions strip area;
Wherein, described to pull the location information instructed further include before sliding block is mobile in progress indicator strip, the method also includes:
According to position of the mobile preceding location information and sliding block in progress indicator strip of the sliding block after mobile in progress indicator strip
The second determining tempo instructions strip area of confidence breath;
Load the second mask layer for being made of customized picture in the second tempo instructions strip area, second mask layer with
First mask layer distinctly displays.
2. the method according to claim 1, wherein first mask layer refers to the second mask layer positioned at progress
Show a same layer two different zones or first mask layer in the second mask layer be located at upper one layer have it is transparent
The mask layer of property.
3. method according to claim 1, which is characterized in that the method also includes:
Receive the data information for the data buffering in progress indicator strip;
The ratio value that entire data are accounted for according to the data information loads in the length of corresponding proportion in the progress indicator strip
The third mask layer that customized picture is constituted.
4. method according to claim 1, which is characterized in that according to the dragging sliding block movement for receiving and pulling instruction and including
Location information in progress indicator strip afterwards, obtain the location information to progress indicator strip start position the first tempo instructions
Strip area includes:
The total length of the progress indicator strip is D, and the coordinate of the start position of progress indicator strip is x1, after pulling sliding block movement
Location information is x2, and the radius or a half width for pulling sliding block are x3, then, it is described as x2<x1+D-x3 and x2>x1+x3
First tempo instructions strip area is between x1 to x2, and length is the section of x2-x1;
As x2>x1+D-x3, the length of the first tempo instructions strip area is D-x3, as x2<x1+x3, the first progress indicator strip
The length in region is x3.
5. method according to claim 1-4, which is characterized in that the customized picture is by way of filling
Or compress mode load.
6. a kind of realization device of progress indicator strip, which is characterized in that described device includes:
First receiving unit, for receiving the dragging instruction of the dragging sliding block in progress indicator strip, the dragging instruction includes dragging
Drag the location information after sliding block moves in progress indicator strip;
Acquiring unit, the position after the dragging sliding block movement for including according to the reception dragging instruction in progress indicator strip
Information obtains the location information to progress indicator strip start position or the location information to progress indicator strip final position
First tempo instructions strip area;
First loading unit, for loading the first mask being made of customized picture in the first tempo instructions strip area
Layer;
It is wherein, described to pull the location information instructed further include before sliding block is mobile in progress indicator strip, described device further include:
Determination unit, for according to location information of the sliding block before mobile in progress indicator strip and sliding block it is mobile after in progress
The second tempo instructions strip area that location information on bar determines;
Second loading unit, for loading the second mask being made of customized picture in the second tempo instructions strip area
Layer, second mask layer are distinctly displayed with the first mask layer.
7. device according to claim 6, which is characterized in that first mask layer refers to the second mask layer positioned at progress
Show a same layer two different zones or first mask layer in the second mask layer be located at upper one layer have it is transparent
The mask layer of property.
8. device according to claim 6, which is characterized in that described device further include:
Second receiving unit, for receiving the data information for the data buffering being used in progress indicator strip;
Third loading unit, for accounting for the ratio value of entire data according to the data information, the phase in the progress indicator strip
It answers and loads the third mask layer that customized picture is constituted in the length of ratio.
9. device according to claim 6, which is characterized in that the acquiring unit is specifically used for:
The total length of the progress indicator strip is D, and the coordinate of the start position of progress indicator strip is x1, after pulling sliding block movement
Location information is x2, and the radius or a half width for pulling sliding block are x3, then, it is described as x2<x1+D-x3 and x2>x1+x3
First tempo instructions strip area is between x1 to x2, and length is the section of x2-x1;
As x2>x1+D-x3, the length of the first tempo instructions strip area is D-x3, as x2<x1+x3, the first progress indicator strip
The length in region is x3.
10. according to the described in any item devices of claim 6-9, which is characterized in that the side that the customized picture passes through filling
Formula or compress mode load.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310399778.XA CN104423840B (en) | 2013-09-04 | 2013-09-04 | A kind of implementation method and device of progress indicator strip |
PCT/CN2014/082812 WO2015032245A1 (en) | 2013-09-04 | 2014-07-23 | Method and device for managing progress indicator display |
TW103129754A TWI559759B (en) | 2013-09-04 | 2014-08-28 | Apparatus and method of showing progress bar |
US14/615,338 US9658757B2 (en) | 2013-09-04 | 2015-02-05 | Method and device for managing progress indicator display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310399778.XA CN104423840B (en) | 2013-09-04 | 2013-09-04 | A kind of implementation method and device of progress indicator strip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104423840A CN104423840A (en) | 2015-03-18 |
CN104423840B true CN104423840B (en) | 2019-04-12 |
Family
ID=52627776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310399778.XA Active CN104423840B (en) | 2013-09-04 | 2013-09-04 | A kind of implementation method and device of progress indicator strip |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN104423840B (en) |
TW (1) | TWI559759B (en) |
WO (1) | WO2015032245A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105916035A (en) * | 2015-12-15 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Display method for quick positioning of playing time point and display device thereof |
CN105867831B (en) * | 2016-06-27 | 2018-04-24 | 竞技世界(北京)网络技术有限公司 | The operating method and system of a kind of touch-screen |
CN106653071B (en) * | 2016-12-30 | 2019-11-22 | 腾讯音乐娱乐(深圳)有限公司 | A kind of lyric display method and device |
CN109343753A (en) * | 2018-08-08 | 2019-02-15 | 北京大数据研究院 | Data display method and device |
CN109407944A (en) * | 2018-09-29 | 2019-03-01 | 传线网络科技(上海)有限公司 | Multimedia resource plays adjusting method and device |
CN109270845B (en) * | 2018-10-12 | 2021-02-26 | 珠海格力电器股份有限公司 | Gear display method and device, interaction equipment and intelligent household equipment |
CN109976865B (en) * | 2019-03-29 | 2023-03-28 | 北京金山云网络技术有限公司 | Task progress display method and device and terminal equipment |
US11282547B1 (en) * | 2019-08-30 | 2022-03-22 | Gopro, Inc. | Interface for framing videos |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888440A (en) * | 2010-03-22 | 2010-11-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for displaying information transmission progress of mobile terminal, and mobile terminal |
CN102664032A (en) * | 2012-05-07 | 2012-09-12 | 乐视网信息技术(北京)股份有限公司 | Live broadcast time shifting play progress slider and control method thereof |
CN102799353A (en) * | 2012-06-18 | 2012-11-28 | 上海鼎为软件技术有限公司 | Instruction action acknowledgement method, instruction device and electronic device |
CN103118293A (en) * | 2011-11-17 | 2013-05-22 | 深圳市快播科技有限公司 | Display method and device for play progress, video on demand terminal and video on demand system |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6028583A (en) * | 1998-01-16 | 2000-02-22 | Adobe Systems, Inc. | Compound layers for composited image manipulation |
KR100831355B1 (en) * | 2002-04-16 | 2008-05-21 | 삼성전자주식회사 | Image Recording Apparatus capable of recording position and direction information of location that an object is shotted |
US8140954B2 (en) * | 2005-06-05 | 2012-03-20 | International Business Machines Corporation | System and method for providing on demand captioning of broadcast programs |
US20100313158A1 (en) * | 2009-06-08 | 2010-12-09 | Lg Electronics Inc. | Method for editing data in mobile terminal and mobile terminal using the same |
CN101814040B (en) * | 2010-04-01 | 2013-01-09 | 北京数码视讯科技股份有限公司 | Single-thread browser and processing method thereof |
US8588587B2 (en) * | 2010-06-30 | 2013-11-19 | International Business Machines Corporation | Navigation interface with ghost region |
CN101944204B (en) * | 2010-09-10 | 2013-07-31 | 北京恒华伟业科技股份有限公司 | Geographic information system applied to power system |
US20120210447A1 (en) * | 2010-11-28 | 2012-08-16 | Pedro Javier Vazquez | Secure video download method |
CN103021439B (en) * | 2011-09-27 | 2016-06-15 | 腾讯科技(深圳)有限公司 | The method of a kind of accurate location file playing progress rate and device |
US11314405B2 (en) * | 2011-10-14 | 2022-04-26 | Autodesk, Inc. | Real-time scrubbing of online videos |
-
2013
- 2013-09-04 CN CN201310399778.XA patent/CN104423840B/en active Active
-
2014
- 2014-07-23 WO PCT/CN2014/082812 patent/WO2015032245A1/en active Application Filing
- 2014-08-28 TW TW103129754A patent/TWI559759B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888440A (en) * | 2010-03-22 | 2010-11-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for displaying information transmission progress of mobile terminal, and mobile terminal |
CN103118293A (en) * | 2011-11-17 | 2013-05-22 | 深圳市快播科技有限公司 | Display method and device for play progress, video on demand terminal and video on demand system |
CN102664032A (en) * | 2012-05-07 | 2012-09-12 | 乐视网信息技术(北京)股份有限公司 | Live broadcast time shifting play progress slider and control method thereof |
CN102799353A (en) * | 2012-06-18 | 2012-11-28 | 上海鼎为软件技术有限公司 | Instruction action acknowledgement method, instruction device and electronic device |
Also Published As
Publication number | Publication date |
---|---|
TW201511540A (en) | 2015-03-16 |
WO2015032245A1 (en) | 2015-03-12 |
TWI559759B (en) | 2016-11-21 |
CN104423840A (en) | 2015-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104423840B (en) | A kind of implementation method and device of progress indicator strip | |
CN104298436B (en) | A kind of quickly revert operating method and terminal | |
CN105788612B (en) | A kind of method and apparatus detecting sound quality | |
CN108234763A (en) | Horizontal/vertical screen switching method, device and terminal | |
CN104238918B (en) | List View component slippage display methods and device | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN105828160B (en) | Video broadcasting method and device | |
CN107493389A (en) | Singlehanded mode implementation method, terminal and computer-readable medium | |
CN105808060B (en) | A kind of method and apparatus of playing animation | |
CN106293375B (en) | A kind of method for changing scenes and equipment | |
CN107273036A (en) | Mobile terminal and its split screen control method, computer-readable recording medium | |
CN104602135B (en) | Control the method and device of played in full screen | |
CN104571979B (en) | A kind of method and apparatus for realizing split view | |
CN106293901B (en) | Process management method and device for terminal application | |
CN104142779A (en) | UI (user interface) control method and device as well as terminal | |
CN107741812B (en) | A kind of method and terminal handling media file | |
CN108595201A (en) | A kind of application program update method and mobile terminal | |
CN103581762A (en) | Method, device and terminal equipment for playing network videos | |
CN108920036A (en) | view switching method and mobile terminal | |
CN105187944B (en) | A kind of method and apparatus to Show Status Bar | |
CN110418003A (en) | A kind of brightness adjusting method, brightness regulating apparatus and mobile terminal | |
CN104426926B (en) | The processing method and processing device of data is issued in timing | |
CN104240710B (en) | A kind of method, system and the terminal device of information transmission | |
CN104090743B (en) | Music localization method, device and mobile terminal for mobile terminal | |
CN106057213B (en) | A kind of method and apparatus of display voice pitch data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |