WO2014194527A1 - 一种多媒体浏览进度控制的方法及终端 - Google Patents

一种多媒体浏览进度控制的方法及终端 Download PDF

Info

Publication number
WO2014194527A1
WO2014194527A1 PCT/CN2013/076994 CN2013076994W WO2014194527A1 WO 2014194527 A1 WO2014194527 A1 WO 2014194527A1 CN 2013076994 W CN2013076994 W CN 2013076994W WO 2014194527 A1 WO2014194527 A1 WO 2014194527A1
Authority
WO
WIPO (PCT)
Prior art keywords
progress
progress bar
multimedia
user
scaling
Prior art date
Application number
PCT/CN2013/076994
Other languages
English (en)
French (fr)
Inventor
田森
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to CN201380000773.3A priority Critical patent/CN104508746A/zh
Priority to PCT/CN2013/076994 priority patent/WO2014194527A1/zh
Publication of WO2014194527A1 publication Critical patent/WO2014194527A1/zh

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/105Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and a terminal for controlling multimedia browsing progress. Background technique
  • Embodiments of the present invention provide a method and related apparatus for multimedia browsing progress control to accurately control multimedia browsing progress.
  • a first aspect of the present invention provides a method for controlling multimedia browsing progress, including:
  • a progress control instruction of the user in the zoom progress bar is obtained to control the multimedia browsing progress.
  • the step of parsing the touch operation command to obtain the pressing force value of the multimedia progress bar by the user includes:
  • the touch operation command is configured to obtain a touch position of the user to touch the multimedia progress bar; and determining whether a distance between the cursor position and the touch position in the multimedia progress bar is less than or equal to a preset threshold, Wherein the cursor is a progress indicator of the multimedia progress bar;
  • the zooming the multimedia progress bar according to the scaling parameter, obtaining a zoom progress bar, and displaying the The zoom progress bar includes:
  • the zoom progress bar is displayed in the display area.
  • the acquiring user is in the zoom progress bar
  • the progress control instructions to control the progress of multimedia browsing include:
  • the scaling parameter includes a magnification parameter.
  • a second aspect of the present invention provides a terminal, including:
  • the first ear is configured to obtain a touch operation command of the user in the multimedia progress bar and analyze the touch operation command to obtain a press force value of the multimedia progress bar touched by the user; a determining module, configured to determine, according to a preset correspondence between a pressing force value and a scaling parameter, the pressing force value corresponding to the scaling parameter;
  • Processing a display module configured to scale the multimedia progress bar according to the scaling parameter to obtain a zoom progress bar and display the zoom progress bar;
  • the second ear is used to obtain a progress control instruction of the user in the zoom progress bar to control the progress of the multimedia browsing.
  • the terminal includes:
  • the parsing module is configured to parse the touch operation command to obtain a touch position of the multimedia progress bar by the user;
  • a determining module configured to determine whether a distance between the cursor position and the touch position in the multimedia progress bar is less than or equal to a preset threshold, wherein the cursor is a progress indication of the multimedia progress bar;
  • the first parsing module is configured to parse the touch operation instruction to obtain a user touch the multimedia progress bar. Press the velocity value.
  • the processing display module includes:
  • a scaling unit configured to scale a progress adjustment range corresponding to the cursor of the multimedia progress bar according to the scaling parameter, obtain a zoom progress bar, and determine a display area, where a size of the progress adjustment range corresponding to the cursor is less than or equal to the The size of the multimedia progress bar;
  • a display unit configured to display the zoom progress bar in the display area.
  • the second acquiring module includes: an acquiring unit, a progress control instruction for acquiring a user in the zoom progress bar; a parsing unit, configured to parse the progress control instruction to obtain progress information of the zoom progress bar; and an adjusting unit, configured to adjust the The cursor position of the multimedia progress bar to control the progress of the multimedia browsing.
  • the fourth aspect in the second aspect further includes:
  • a third aspect of the present invention provides a computer storage medium
  • the computer storage medium stores a program that, when executed, includes some or all of the steps of a method of multimedia browsing progress control as described above.
  • a fourth aspect of the present invention provides a terminal, including: a processor and a memory;
  • the memory is used to store an application executed by the processor
  • the processor performs the following steps:
  • a progress control instruction of the user in the zoom progress bar is obtained to control the multimedia browsing progress.
  • the processor analyzes the touch operation command to obtain a pressing force value of the multimedia progress bar before the user touches the multimedia progress bar. The following steps:
  • the touch operation command is configured to obtain a touch position of the user to touch the multimedia progress bar; and determining whether a distance between the cursor position and the touch position in the multimedia progress bar is less than or equal to a preset threshold, Wherein the cursor is a progress indicator of the multimedia progress bar;
  • the processor performs a step of parsing the touch operation command to obtain a pressure value value for the user to touch the multimedia progress bar.
  • the processor scales the multimedia progress bar to obtain a scaling
  • the progress bar displays the zoom progress bar including:
  • the zoom progress bar is displayed in the display area.
  • the processor acquires a user
  • the progress control instructions in the bar control the progress of multimedia browsing including:
  • the processor includes: setting a correspondence between the pressing force value and the scaling parameter before performing the acquiring a touch operation instruction in the multimedia progress bar, wherein the memory stores the set pressing force value Correspondence with scaling parameters.
  • the terminal parses and processes the obtained touch operation instruction of the user in the multimedia progress bar, obtains a magnification of the multimedia progress bar, and enlarges the multimedia progress bar according to the amplification factor.
  • the zoom progress bar is obtained and displayed, and the progress of the multimedia browsing is controlled according to the progress control command of the user in the zoom progress bar. This enables the user to precisely control the progress of the multimedia browsing while browsing the multimedia.
  • the flexibility of the multimedia browsing operation is enhanced, and the single-sheet operation is facilitated, and the user experience of the terminal is improved.
  • FIG. 1 is a schematic diagram of a method for multimedia browsing progress control according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another method for multimedia browsing progress control according to an embodiment of the present invention
  • FIG. 3b is a schematic diagram of a schedule adjustment range according to an embodiment of the present invention.
  • FIG. 3c is a schematic diagram of an enlarged zoom progress bar according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a reduced zoom progress bar according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method and a terminal for controlling multimedia browsing progress, so as to accurately control the progress of multimedia browsing and improve user experience.
  • a flow chart of a first embodiment of a method for multimedia browsing progress control according to the present invention is shown.
  • a method for multimedia browsing progress control according to this embodiment may include the following steps:
  • the multimedia progress bar may include recording the browsing speed, the completion degree of the multimedia, the size of the unfinished task amount, and the processing time, and the like, and displaying the browsing speed, the completion degree, the size of the unfinished task amount, and A progress bar such as a processing time may be required, wherein the multimedia progress bar may be a rectangular strip-shaped progress bar displayed when the video file is played or read.
  • the touch operation instruction is obtained according to the touch operation of the user.
  • the touch operation command may include: a pressing force value of the user on the multimedia progress bar and a touch position of the user on the multimedia progress bar. 5101. Analyze the touch operation command to obtain a pressing force value of the multimedia progress bar touched by the user.
  • the pressing force value is a magnitude of the velocity value that the user acts on the multimedia progress bar.
  • S102 Determine, according to a preset correspondence between the pressing force value and the scaling parameter, the pressing force value corresponding to the scaling parameter.
  • the scaling parameter may include a magnification or a reduction factor.
  • the correspondence between the preset pressing force value and the zooming parameter may be: a correspondence between the preset pressing force value and the magnification factor or a corresponding relationship between the preset pressing force value and the zooming multiple. Further, two correspondences may be preset, and the user or the manufacturer may select the relevant correspondence according to the usage experience.
  • the correspondence between the preset pressing force value and the scaling parameter is the correspondence between the pressing force value and the magnification factor
  • the correspondence between the pressing force value and the magnification may be a linear relationship.
  • the corresponding relationship between the pressing force value and the magnification may be that the following correspondence is satisfied: when the pressing force value is in the range of (a, b), the pressing force corresponding to the pressing force value is m times, when the pressing force value is ( In the range of b, c], the magnification corresponding to the pressing force value is n times, and when the pressing force value is in the range of (c, d), the magnification corresponding to the pressing force value is 1 time, etc., where 0 ⁇ a ⁇ b ⁇ c ⁇ d, l ⁇ m ⁇ n ⁇ 1, a, b, c, d, m, n, 1 are positive numbers.
  • the correspondence between the preset pressing force value and the scaling parameter is the correspondence between the pressing force value and the reducing factor
  • the correspondence between the pressing force value and the reducing factor may also be a linear relationship.
  • the corresponding relationship between the pressing force value and the reduction factor may be that the following correspondence is satisfied: when the pressing force value is in the range of (a, b), the pressing multiple corresponding to the pressing force value is m times, when the pressing force value is ( In the range of b, c], the reduction factor corresponding to the pressing force value is n times, and when the pressing force value is in the range of (c, d), the reduction factor corresponding to the pressing force value is 1 time, etc., where 0 ⁇ a ⁇ b ⁇ c ⁇ d, l ⁇ m ⁇ n ⁇ 1, a, b, c, d, m, n, 1 is a positive number.
  • the magnification corresponding to the pressing force value may be determined according to the obtained pressing force value; or, according to the corresponding relationship between the pressing force value and the reducing multiple described above, according to the obtained relationship
  • the pressing force value determines the reduction factor corresponding to the pressing force value.
  • the progress adjustment range corresponding to the position of the cursor indicating the playback progress of the multimedia progress bar is scaled according to the scaling parameter to obtain a zoom progress bar, and at the same time, the obtained zoom progress bar display area is determined.
  • the size of the progress adjustment range corresponding to the position of the cursor is less than or equal to the size of the range of the multimedia progress bar, and the size of the progress adjustment range corresponding to the position of the cursor can be set by the manufacturer.
  • the terminal may enlarge the progress adjustment range corresponding to the position of the cursor to obtain a zoom progress bar.
  • the multimedia progress bar as described in Figure 3a.
  • the total length of the current multimedia progress bar is 40s
  • the preset progress adjustment range is 10s (this range can be set)
  • the cursor position 1 is located at the multimedia progress bar 10s. If the user wants to accurately locate the multimedia, the user can perform the cursor position 1 Touch, the current adjustment position corresponding to the current adjustment range of 5s ⁇ 15s ( Figure 3b), the current progress adjustment range between the distance can be a ( Figure 3b).
  • the terminal When the terminal receives the touch operation command of the user to obtain the pressing force value, and obtains the magnification of the progress adjustment range according to the pressing force value, the terminal zooms and enlarges the distance of the current progress adjustment range, for example: assuming that the magnification is obtained It is zoomed in twice, and the terminal expands the distance between the current progress adjustment ranges to 2a to obtain and display the zoom progress bar.
  • the displayed zoom progress bar is shown in Figure 3c.
  • the adjustment range of the zoom progress bar is still 10s, but compared to the original adjustment range of Fig. 3b, the progress adjustment range is enlarged, the distance between the time points is enlarged, and the accuracy of the progress adjustment range can be refined.
  • the user needs to increase the pressing force to obtain a larger magnification.
  • the terminal can reduce the progress adjustment range corresponding to the position of the cursor and obtain a zoom progress bar.
  • the multimedia progress bar as shown in FIG. 3a
  • the total length of the current multimedia progress bar is 40s
  • the preset progress adjustment range is 10s (this range can be set)
  • the cursor position 1 is located at the multimedia progress bar 10s. If the user wants to browse the multimedia roughly, the user can touch the cursor position 1.
  • the current adjustment position corresponding to the cursor position 1 is 5s ⁇ 15s (Fig. 3b), and the current progress adjustment range can be a ( Figure 3b).
  • the terminal adjusts the distance of the current progress adjustment range, for example:
  • the terminal obtains the magnification multiple It is reduced by 2 times, the terminal reduces the distance between the current progress adjustment range to 0.5a to obtain zoom and display the progress bar, and the displayed zoom progress bar is as shown in FIG. 4 .
  • the zoom progress bar The adjustment range is still 10s, but compared to the original adjustment range of Figure 3b, but the progress adjustment range is reduced, the distance between time points is reduced, and the accuracy of the progress adjustment range becomes larger, which can satisfy the user's reduction of multimedia playback progress. demand.
  • the displayed area is determined according to the obtained zoom progress bar, and the display area may be located at a lower portion or an upper portion of the original progress bar.
  • the terminal can pop up the obtained zoom progress bar in the determined display area, so that the user can perform a touch zoom progress bar.
  • the zoom progress bar has an indication cursor indicating a progress of the zoom progress bar.
  • the user selects a progress control instruction in the zoom progress bar according to the touch operation of the user.
  • the user's touch operation includes dragging the indicated cursor in the zoom progress bar or clicking a position of the zoom progress bar or controlling the zoom position of the zoom progress bar by a button to move the indicated cursor of the zoom progress bar to the target position.
  • the analysis progress control instruction can obtain the indication of the zoom progress bar and the cursor moves to the new position and the zoom progress bar indicates that the new position of the cursor corresponds to the new progress information, for example: the zoom progress bar indicates that the cursor moves to the new position correspondingly
  • the progress information of the zoom progress bar is 3 minutes and 20 seconds.
  • the terminal may adjust the cursor position of the multimedia progress bar according to the progress information to control the multimedia browsing progress. For example: Before receiving the progress control command from the user in the zoom progress bar, the progress information corresponding to the indicated cursor on the zoom progress bar is 3 minutes and 00 seconds, and the progress information corresponding to the multimedia progress bar cursor is also 3 minutes. second.
  • the indication cursor on the zoom progress bar moves to the new position, and the new progress information corresponding to the indication cursor of the zoom progress bar moved to the new position is 3 minutes and 20 seconds
  • the terminal According to the instruction of the zoom progress bar moved to the new position, the cursor corresponding to the new progress information moves the cursor position of the multimedia progress bar, so that the progress information corresponding to the cursor position of the multimedia progress bar is also 3 minutes and 20 seconds, so that the multimedia is based on the multimedia progress bar.
  • the progress information corresponding to the cursor position adjusts the browsing progress, and displays the screen corresponding to the multimedia 3 minutes and 20 seconds.
  • a flow chart of still another embodiment of a method for multimedia browsing progress control according to the present invention is shown.
  • a method for multimedia browsing progress control according to this embodiment may include the following steps:
  • S200 Obtain a touch operation instruction of the user in the multimedia progress bar. 5201. Analyze the touch operation command to obtain a touch position of the multimedia progress bar touched by the user.
  • S202 Determine that a distance between the cursor position and the touch position in the multimedia progress bar is less than or equal to a preset threshold, where the cursor is a progress indicator of the multimedia progress bar.
  • the terminal determines whether the distance between the cursor position and the touch position in the multimedia progress bar is less than or equal to a preset threshold to determine a cursor position and a touch position in the multimedia progress bar.
  • the distance between them is less than or equal to a preset threshold, and the step S203 is performed.
  • the preset threshold may be lmm or 2 mm or the like, or the preset threshold is such that the control position and the cursor position of the multimedia progress bar satisfy the following relationship: the area of the touch position and the area of the cursor position of the multimedia progress bar overlap.
  • step S203 is performed.
  • S203 Parsing the touch operation command to obtain a pressing force value of the multimedia progress bar touched by the user.
  • S204 Determine, according to a preset correspondence between the pressing force value and the scaling parameter, the pressing force value corresponding to the scaling parameter.
  • Step S100, step S203, step S204, step S205, and step S206 are specifically performed.
  • Step S100, step S101, step S102, step S103, and step S104 of the embodiment shown in FIG. 1 are not mentioned herein.
  • a terminal 100 can be a touch terminal that can browse multimedia, such as a mobile phone, a tablet computer, and a game machine.
  • a terminal in this embodiment may include: a first obtaining module 110, a determining module 120, a processing display module 130, and a second acquiring module 140.
  • the first obtaining module 110 is configured to obtain a touch operation command of the user in the multimedia progress bar and analyze the touch operation command to obtain a pressing force value of the multimedia progress bar touched by the user.
  • the multimedia progress bar may include recording the browsing speed, the completion degree of the multimedia, the size of the unfinished task amount, and the processing time, and the like, and displaying the browsing speed, the completion degree, the size of the unfinished task amount, and A progress bar such as a processing time may be required, wherein the multimedia progress bar may be a rectangular strip-shaped progress bar displayed when the video file is played or read.
  • the first operation module obtains a touch operation instruction according to the touch operation of the user.
  • the touch operation command may include: a pressing force value of the user on the multimedia progress bar and a touch position of the user on the multimedia progress bar.
  • the pressing force value is the magnitude of the velocity value that the user acts on the multimedia progress bar.
  • the determining module 120 is configured to determine, according to a preset correspondence between the pressing force value and the scaling parameter, the pressing force value corresponding to the scaling parameter.
  • the scaling parameter may include a magnification or a reduction factor.
  • the correspondence between the preset pressing force value and the zooming parameter may be: a correspondence between the preset pressing force value and the magnification factor or a corresponding relationship between the preset pressing force value and the zooming multiple. Further, two correspondences may be preset, and the user or the manufacturer may select the relevant correspondence according to the usage experience.
  • the correspondence between the preset pressing force value and the scaling parameter is the correspondence between the pressing force value and the magnification factor
  • the correspondence between the pressing force value and the magnification may be a linear relationship.
  • the corresponding relationship between the pressing force value and the magnification may be that the following correspondence is satisfied: when the pressing force value is in the range of (a, b), the pressing force corresponding to the pressing force value is m times, when the pressing force value is ( In the range of b, c], the magnification corresponding to the pressing force value is n times, and when the pressing force value is in the range of (c, d), the magnification corresponding to the pressing force value is 1 time, etc., where 0 ⁇ a ⁇ b ⁇ c ⁇ d, l ⁇ m ⁇ n ⁇ 1, a, b, c, d, m, n, 1 are positive numbers.
  • the correspondence relationship between the pressing force value and the reduction factor may also be a linear relationship.
  • the corresponding relationship between the pressing force value and the reduction factor may be that the following correspondence is satisfied: when the pressing force value is in the range of (a, b), the pressing multiple corresponding to the pressing force value is m times, when the pressing force value is ( In the range of b, c], the reduction factor corresponding to the pressing force value is n times, when pressed If the velocity value is in the range of (c, d), the reduction factor corresponding to the pressing force value is 1 time, etc., where 0 ⁇ a ⁇ b ⁇ c ⁇ d, l ⁇ m ⁇ n ⁇ 1, a, b, c , d, m, n, 1 are positive numbers.
  • the determining module 120 may determine the reduction factor corresponding to the pressing force value according to the obtained pressing force value according to the correspondence relationship between the pressure degree value and the reduction factor.
  • the processing display module 130 is configured to scale the multimedia progress bar according to the scaling parameter to obtain a zoom progress bar and display the zoom progress bar.
  • the processing display module 130 scales the progress adjustment range corresponding to the position of the cursor indicating the playback progress of the multimedia progress bar according to the scaling parameter to obtain a zoom progress bar, and at the same time, the processing display module 130 determines the obtained zoom progress bar display. region.
  • the size of the progress adjustment range corresponding to the cursor position is less than or equal to the size of the multimedia progress bar, and the size of the progress adjustment range corresponding to the cursor position can be preset by the manufacturer.
  • the terminal may enlarge the progress adjustment range corresponding to the position of the cursor to obtain a zoom progress bar.
  • the multimedia progress bar as shown in FIG. 3a
  • the total length of the current multimedia progress bar is 40s
  • the preset progress adjustment range is 10s (this range can be set)
  • the cursor position 1 is located at the multimedia progress bar 10s. If the user wants to accurately locate the multimedia, the user can touch the cursor position 1.
  • the current adjustment position corresponding to the cursor position 1 is 5s ⁇ 15s (Fig. 3b), and the distance between the current progress adjustment ranges can be a ( Figure 3b).
  • the processing display module 130 zooms and zooms the distance of the current progress adjustment range, for example: The obtained magnification is enlarged by 2 times, and the processing display module 130 expands the distance between the current progress adjustment ranges to 2a to obtain and display a zoom progress bar, and the displayed zoom progress bar is as shown in FIG. 3c.
  • the adjustment range of the zoom progress bar is still 10s, but compared to the original adjustment range of Fig. 3b, the progress adjustment range is enlarged, the distance between the time points is enlarged, and the accuracy of the progress adjustment range can be refined.
  • the user needs to increase the pressing force to obtain a larger magnification.
  • the processing display module 130 can reduce the progress adjustment range corresponding to the position of the cursor to obtain a scaling progress bar.
  • the multimedia progress bar as described in Figure 3a
  • current The total length of the multimedia progress bar is 40s
  • the preset progress adjustment range is 10s (this range can be set)
  • the cursor position 1 is located at the multimedia progress bar 10s. If the user wants to roughly browse the multimedia, the user can touch the cursor position 1. Control, the current adjustment position corresponding to the current adjustment range of 5s ⁇ 15s ( Figure 3b), the current progress adjustment range between the distance can be a ( Figure 3b).
  • the processing display module 130 zooms and reduces the distance of the current progress adjustment range, for example: The processing display module 130 obtains that the magnification is reduced by 2 times, and the processing display module 130 reduces the distance between the current progress adjustment ranges to 0.5a to obtain and display a zoom progress bar, and the displayed zoom progress bar is as shown in FIG. 4 .
  • the adjustment range of the zoom progress bar is still 10s, but compared to the original adjustment range of Fig. 3b, the progress adjustment range is reduced, the distance between the time points is reduced, and the accuracy of the progress adjustment range becomes larger. Meet the needs of users to reduce the progress of multimedia playback.
  • the processing display module 130 determines the displayed area according to the obtained zoom progress bar, and the display area may be located at a lower portion or an upper portion of the original progress bar.
  • the processing display module 130 can pop the obtained zoom progress bar in the determined display area, so that the user can touch and zoom the progress bar to control the media play progress bar.
  • the second obtaining module 140 is configured to acquire a progress control instruction of the user in the zoom progress bar to control the multimedia browsing progress.
  • the zoom progress bar has an indication cursor indicating the progress of the zoom progress bar.
  • the second obtaining module 140 obtains the zoom progress bar of the user according to the touch operation of the user.
  • the user's touch operation includes dragging the pointing cursor in the zoom progress bar or clicking a certain position of the zoom progress bar or controlling the zoom position of the progress bar by pressing the button to move the pointing cursor of the zoom progress bar to the target position.
  • the touch operation generates a progress control instruction.
  • the second obtaining module 140 parses the progress control instruction to obtain the zoom progress bar.
  • the cursor is moved to the new position and the zoom progress bar indicates that the new position of the cursor corresponds to the new progress information, for example: the zoom progress bar indicates the cursor shift
  • the progress information corresponding to the zoom progress bar to the new position is 3 minutes and 20 seconds.
  • the second obtaining module 140 may adjust a cursor position of the multimedia progress bar according to the progress information to control the multimedia browsing progress. For example: the second obtaining module 140 zooms the progress of the indicated cursor on the progress bar before receiving the progress control instruction of the user in the zoom progress bar.
  • the information is 3 minutes and 00 seconds.
  • the progress information corresponding to the multimedia progress bar cursor is also 3 minutes and 00 seconds.
  • the second obtaining module 140 moves the cursor position of the multimedia progress bar according to the new progress information according to the indication cursor of the zoom progress bar moved to the new position, so that the progress information corresponding to the cursor position of the multimedia progress bar is also 3 minutes and 20 seconds, thereby the terminal
  • the multimedia browsing progress is controlled according to the progress information corresponding to the cursor position of the multimedia progress bar, and the corresponding picture of the multimedia 3 minutes and 20 seconds is displayed.
  • a terminal 100 is provided according to an embodiment of the present invention.
  • a terminal according to this embodiment may include: a first acquiring module 110, a determining module 120, a processing display module 130, and a second acquiring module 140.
  • the terminal further includes:
  • the setting module 150 is configured to set a correspondence between the pressing force value and the scaling parameter.
  • the setting relationship between the pressing force value and the zooming parameter may be set by the setting module 150: setting a correspondence relationship between the pressing force value and the magnification factor or setting a corresponding relationship between the pressing force value and the zooming multiple. Further, the setting module 150 can set two correspondences, and the user or the manufacturer can select the relevant correspondence according to the usage experience.
  • the correspondence between the pressing force value and the magnification may be a linear relationship.
  • the corresponding relationship between the pressing force value and the magnification may be that the following correspondence is satisfied: when the pressing force value is in the range of (a, b), the pressing force corresponding to the pressing force value is m times, when the pressing force value is ( In the range of b, c], the magnification corresponding to the pressing force value is n times, and when the pressing force value is in the range of (c, d), the magnification corresponding to the pressing force value is 1 time, etc., where 0 ⁇ a, ⁇ b ⁇ c ⁇ d, l ⁇ m ⁇ n ⁇ 1, a, b, c, d, m, n, 1 are positive numbers.
  • the correspondence between the pressing force value and the reduction factor may also be a linear relationship.
  • the corresponding relationship between the pressing force value and the reduction factor may be that the following correspondence relationship is satisfied: when the pressing force value is in the range of (a, b), the pressing multiple corresponding to the pressing force value is m times, when the pressing force value is ( In the range of b, c], the reduction factor corresponding to the pressing force value is n times, and when the pressing force value is in the range of (c, d), the reduction factor corresponding to the pressing force value is 1 time, etc., where 0 ⁇ a ⁇ b ⁇ c ⁇ d, l ⁇ m ⁇ n ⁇ 1, a, b, c, d, m, n, 1 is a positive number.
  • the parsing module 160 is configured to parse the touch operation command to obtain a touch position of
  • the determining module 170 is configured to determine whether a distance between the cursor position and the touch position in the multimedia progress bar is less than or equal to a preset threshold, where the cursor is a progress indicator of the multimedia progress bar.
  • the preset threshold may be 1 mm or 2 mm, or the preset threshold such that the control position and the cursor position of the multimedia progress bar satisfy the following relationship: the area of the touch position and the area of the cursor position of the multimedia progress bar have Coincident part.
  • the judging module 170 determines that the area of the touch position and the area of the cursor position have no overlapping area at all, that is, the preset threshold is not met, the determining module 170 notifies the terminal to change the cursor position of the multimedia progress bar, so that the cursor position of the multimedia progress bar is shifted.
  • the determining module 170 determines that the area of the touch position and the area of the cursor position overlap, that is, the preset threshold is met, the determining module 170 notifies the first acquiring module 110 to analyze the touch operation command to obtain the user touch.
  • the pressing force value of the multimedia progress bar is met.
  • processing display module 130 further includes:
  • the scaling unit 131 is configured to scale the progress adjustment range corresponding to the cursor of the multimedia progress bar according to the scaling parameter, obtain a zoom progress bar, and determine a display area, where the size of the progress adjustment range corresponding to the cursor is less than or equal to The size of the multimedia progress bar range.
  • the scaling unit 131 may enlarge the progress adjustment range corresponding to the position of the cursor to obtain a zoom progress bar.
  • the multimedia progress bar as shown in FIG. 3a, the total length of the current multimedia progress bar is 40s, the preset progress adjustment range is 10s (this range can be set), and the cursor position 1 is located at the multimedia progress bar 10s. If the user wants to accurately locate the multimedia, the user can touch the cursor position 1.
  • the current adjustment position corresponding to the cursor position 1 is 5s ⁇ 15s (Fig. 3b), and the current progress adjustment range can be a ( Figure 3b).
  • the scaling unit 131 zooms and zooms the distance of the current progress adjustment range, for example:
  • the magnification is 2 times magnification
  • the scaling unit 131 expands the distance between the current progress adjustment ranges to 2a to obtain a zoom progress bar, and the obtained zoom progress bar is as shown in FIG. 3c.
  • the adjustment range of the zoom progress bar is still 10s, but compared to the original adjustment range of Fig.
  • the progress adjustment range is enlarged, the distance between the time points is enlarged, and the progress adjustment range accuracy can be It is refined to meet the user's need for confirmation of multimedia playback details, such as monitoring video. If the user still needs to further zoom in on the progress adjustment range to better locate the multimedia browsing screen, the user needs to increase the pressing force to obtain a larger magnification.
  • the scaling unit 131 may reduce the progress adjustment range corresponding to the position of the cursor to obtain a zoom progress bar.
  • the multimedia progress bar as shown in FIG. 3a, the total length of the current multimedia progress bar is 40s, the preset progress adjustment range is 10s (this range can be set), and the cursor position 1 is located at the multimedia progress bar 10s. If the user wants to browse the multimedia roughly, the user can touch the cursor position 1.
  • the current adjustment position corresponding to the cursor position 1 is 5s ⁇ 15s (Fig. 3b), and the current progress adjustment range can be a ( Figure 3b).
  • the scaling unit 131 adjusts the distance of the current progress adjustment range, for example: The magnification is reduced by 2 times, and the scaling unit 131 reduces the distance between the current progress adjustment ranges to 0.5a to obtain a zoom progress bar, and obtains a zoom progress bar as shown in FIG. 4.
  • the adjustment range of the zoom progress bar is still 10s, but compared with the original adjustment range of Fig. 3b, the progress adjustment range is reduced, the distance between the time points is reduced, and the accuracy of the progress adjustment range becomes larger. Meet the needs of users to reduce the progress of multimedia playback.
  • the display area may be located at a lower portion or an upper portion of the original progress bar.
  • the display unit 132 is configured to display the zoom progress bar in the display area.
  • the display unit 132 displays the zoom progress bar obtained by the scaling unit 131 in the determined display area.
  • the second obtaining module 140 further includes:
  • the obtaining unit 141 is configured to acquire a progress control instruction of the user in the zoom progress bar.
  • the zoom progress bar has an indication cursor indicating the progress of the zoom progress bar.
  • the obtaining unit 141 obtains the progress control of the user in the zoom progress bar according to the touch operation of the user. instruction.
  • the user's touch operation includes dragging the indicated cursor in the zoom progress bar or clicking a certain position of the zoom progress bar or controlling the zoom position of the zoom progress bar by a button to move the indicated cursor of the zoom progress bar to the target position.
  • the parsing unit 142 is configured to parse the progress control instruction to obtain the progress signal of the zoom progress bar.
  • the parsing unit 142 parses the progress control command to obtain the indication cursor shift of the zoom progress bar.
  • the new position to the new position and zoom progress bar corresponds to the new progress information, for example:
  • the zoom progress bar indicates that the cursor moves to the new position and the progress information corresponding to the zoom progress bar is 3 minutes and 20 seconds.
  • the adjusting unit 143 is configured to adjust the cursor position of the multimedia progress bar according to the progress information to control the multimedia browsing progress.
  • the adjusting unit 143 can adjust the cursor position of the multimedia progress bar according to the progress information to control the multimedia browsing progress. For example: Before receiving the progress control command from the user in the zoom progress bar, the progress information corresponding to the indicated cursor on the zoom progress bar is 3 minutes and 00 seconds, and the progress information corresponding to the multimedia progress bar cursor is also 3 minutes. second. After the user performs the touch operation on the zoom progress bar, the pointing cursor on the zoom progress bar is moved to the new position, and the new progress information corresponding to the cursor indicating the zoom progress bar of the new position is 3 minutes and 20 seconds, and the adjustment is performed.
  • the unit 143 moves the cursor position of the multimedia progress bar according to the new progress information according to the indication cursor of the zoom progress bar moved to the new position, so that the progress information corresponding to the cursor position of the multimedia progress bar is also 3 minutes and 20 seconds, thereby the multimedia according to the multimedia
  • the progress information corresponding to the cursor position of the progress bar adjusts the browsing progress, and displays the corresponding screen of the multimedia 3 minutes and 20 seconds.
  • an embodiment of the present invention further provides a terminal 200, which may include:
  • the processor 201 (the number of the processors 201 in the terminal may be one or more, FIG. 7 is exemplified by a processor), the memory 202, the output device 203, and the input device 204.
  • the processor 201, the memory 202, the output device 203, and the input device 204 may be connected by a bus or other methods, wherein the bus connection is taken as an example in FIG.
  • the processor 201 performs the following steps:
  • the processor performs a step of analyzing the touch operation command to obtain a pressing force value of the user to touch the multimedia progress bar; and analyzing the touch operation command to obtain a pressing force value of the multimedia progress bar touched by the user; Determining a corresponding pressing force value and a scaling parameter, determining that the pressing force value corresponds to a scaling parameter; scaling the multimedia progress bar according to the scaling parameter to obtain a scaling progress bar and displaying the scaling progress bar; acquiring the user In the zoom progress bar Progress control commands control the progress of multimedia browsing.
  • the processor 201 is configured to scale the multimedia progress bar according to the scaling parameter to obtain a zoom progress bar, and displaying the zoom progress bar may include: performing, according to the scaling parameter, the multimedia progress bar.
  • the progress adjustment range corresponding to the cursor position is zoomed to obtain a zoom progress bar and determine a display area, wherein the progress adjustment range size corresponding to the cursor is less than or equal to the multimedia progress bar range size; Zoom the progress bar.
  • the processor 201 processor acquiring the progress control instruction of the user in the zoom progress bar to control the multimedia browsing progress may include: acquiring a progress control instruction of the user in the zoom progress bar; parsing the progress control instruction Obtaining progress information of the zoom progress bar; adjusting the cursor position of the multimedia progress bar according to the progress information to control the multimedia browsing progress.
  • the memory 202 stores a correspondence between the set pressing force value and the scaling parameter and stores an application executed by the processor.
  • the terminal 200 of this embodiment may be, for example, a touch terminal that can browse a multimedia such as a mobile phone, a tablet computer, or a game machine.
  • the terminal 200 parses and processes the obtained touch operation instruction of the user in the multimedia progress bar, obtains the magnification of the multimedia progress bar, and enlarges and displays the zoom of the multimedia progress bar according to the magnification.
  • a progress bar controls the multimedia browsing progress based on the user's progress control commands in the zoom progress bar. This enables the user to accurately control the progress of the multimedia browsing while browsing the multimedia, improve the flexibility of the multimedia browsing operation, and operate the single and convenient, and improve the user experience of the terminal.
  • the terminal parses and processes the obtained touch operation instruction of the user in the multimedia progress bar, obtains the magnification of the multimedia progress bar, and enlarges the multimedia progress bar according to the amplification factor.
  • the zoom progress bar is displayed, and the progress of the multimedia browsing is controlled according to the progress control command of the user in the zoom progress bar. This enables the user to accurately control the progress of the multimedia browsing while browsing the multimedia.
  • the flexibility of the multimedia browsing operation is enhanced, and the single-sheet operation is convenient and the user experience of the terminal is improved.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

提供了一种多媒体浏览进度控制方法及一种终端,该方法包括:获取用户在多媒体进度条中的触控操作指令(S100);解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值(S101);根据预设的按压力度值与缩放参数的对应关系,确定所述按压力度值对应的缩放参数(S102);根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条并显示所述缩放进度条(S103);获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进度进行控制(S104)。采用本发明,可精确控制多媒体浏览进度,提高多媒体浏览操作的灵活度及用户体验度。

Description

一种多媒体浏览进度控制的方法及终端
技术领域
本发明涉及通信技术领域,具体涉及一种多媒体浏览进度控制的方法及终 端。 背景技术
随着智能终端的快速发展和普及,越来越多的用户通过智能终端来进行浏 览视频, 阅读电子书或欣赏音乐等。 在浏览视频、 阅读电子书时, 用户经常会 通过调整进度条来对节目或电子书进行快进或回放,进而获得感兴趣的片段或 章节等。 但由于智能终端的屏幕一般较小, 例如手机, 平板电脑的屏幕, 进度 条的长度有限,在日常的使用过程中, 用户很难通过拖动进度条精确的定位所 需的章节或片段等, 这给用户在使用此功能时造成困扰,给用户在使用终端上 带来 ί艮多的不便。 发明内容
本发明实施例提供了一种多媒体浏览进度控制的方法及相关装置,以精确 控制多媒体浏览进度。
本发明第一方面提供一种多媒体浏览进度控制的方法, 包括:
获取用户在多媒体进度条中的触控操作指令;
解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值; 根据预设的按压力度值与缩放参数的对应关系,确定所述按压力度值对应 缩放参数;
根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条并显示 所述缩放进度条;
获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进度进行 控制。
在第一种可能实现方式中, 所述获取用户在多媒体进度条中的触控操作指 令之后,解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值 之前包括: 解析所述触控操作指令获得用户触控所述多媒体进度条的触控位置; 判断所述多媒体进度条中的游标位置与所述触控位置之间的距离是否小于 或等于预设的阈值, 其中, 所述游标是所述多媒体进度条的进度指示;
若所述游标位置与所述触控位置之间的距离小于或等于预设的阈值, 执行 解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值步骤。
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现 方式中,所述根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条 并显示所述缩放进度条包括:
根据所述缩放参数对所述多媒体进度条所述游标位置对应的进度调节范 围进行缩放获得缩放进度条并确定显示区域, 其中, 所述游标位置对应的进度 调节范围大小小于或等于所述多媒体进度条范围大小;
在所述显示区域显示所述缩放进度条。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能实现方式中,在第三种可能的实现方式中, 所述获取用户在所述缩放进度 条中的进度控制指令以对多媒体浏览进度进行控制包括:
获取用户在所述缩放进度条中的进度控制指令;
解析所述进度控制指令获得所述缩放进度条的进度信息;
根据所述进度信息调整所述多媒体进度条的所述游标位置,以对所述多媒 体浏览进度进行控制。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能实现方式中或第一方面的第三种可能的实现方式中,在第四种可能的实现 方式中, 设置所述按压力度值与所述缩放参数的对应关系。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能实现方式中或第一方面的第三种可能的实现方式或第四种可能的实现方 式中, 在第五种可能的实现方式中, 所述缩放参数包括放大倍数参数。 本发明第二方面提供一种终端, 包括:
第一获耳 ^莫块,用于获取用户在多媒体进度条中的触控操作指令并解析所 述触控操作指令获得用户触控所述多媒体进度条的按压力度值; 确定模块, 用于根据预设的按压力度值与缩放参数的对应关系,确定所述 按压力度值对应缩放参数;
处理显示模块,用于根据所述缩放参数对所述多媒体进度条进行缩放获得 缩放进度条并显示所述缩放进度条;
第二获耳^莫块,用于获取用户在所述缩放进度条中的进度控制指令以对多 媒体浏览进度进行控制。
在第一种可能的实现方式中, 所述终端包括:
解析模块,用于解析所述触控操作指令获得用户触控所述多媒体进度条的 触控位置;
判断模块,用于判断所述多媒体进度条中的游标位置与所述触控位置之间 的距离是否小于或等于预设的阈值,其中, 所述游标是所述多媒体进度条的进 度指示;
当所述判断模块判断所述光标位置与所述触控位置之间的距离小于或等于 预设的阈值,通知第一解析模块解析所述触控操作指令获得用户触控所述多媒 体进度条的按压力度值。
结合第二方面或第二方面的第一种可能的实现方式, 在第二种可能的实 现方式中,, 所述处理显示模块包括:
缩放单元,用于根据所述缩放参数对所述多媒体进度条的游标对应的进度 调节范围进行缩放获得缩放进度条并确定显示区域, 其中, 所述光标对应的进 度调节范围大小小于或等于所述多媒体进度条范围大小;
显示单元, 用于在所述显示区域显示所述缩放进度条。
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式, 在第三种可能的实现方式中, 所述第二获取模块包括: 获取单元, 用于获取用户在所述缩放进度条中的进度控制指令; 解析单元, 用于解析所述进度控制指令获得所述缩放进度条的进度信息; 调整单元, 用于根据所述进度信息调整所述多媒体进度条的所述游标位 置, 以对所述多媒体浏览进度进行控制。
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式或第二方面的第三种可能的实现方式中,在第二方面的第四种 中, 所述终端还包括:
设置模块, 用于设置所述按压力度值与所述缩放参数的对应关系。 本发明第三方面提供一种计算机存储介质,
所述计算机存储介质存储有程序,所述程序执行时包括如上述一种多媒体 浏览进度控制的方法的部分或全部步骤。 本发明第四方面提供一种终端, 包括: 处理器和存储器;
其中, 存储器用于存储所述处理器执行的应用程序;
所述处理器执行如下步骤:
获取用户在多媒体进度条中的触控操作指令;
解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值; 根据预设的按压力度值与缩放参数的对应关系,确定所述按压力度值对应 缩放参数;
根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条并显示 所述缩放进度条;
获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进度进行 控制。
在第一种可能的实现方式中,所述处理器获取用户在多媒体进度条中的触 控操作指令之后,解析所述触控操作指令获得用户触控所述多媒体进度条的按 压力度值之前包括如下步骤:
解析所述触控操作指令获得用户触控所述多媒体进度条的触控位置; 判断所述多媒体进度条中的游标位置与所述触控位置之间的距离是否小于 或等于预设的阈值, 其中, 所述游标是所述多媒体进度条的进度指示;
若所述光标位置与所述触控位置之间的距离小于或等于预设的阈值, 所述 处理器执行解析所述触控操作指令获得用户触控所述多媒体进度条的按压力 度值步骤。
结合第四方面或第四方面的一种可能的实现方式中,在第二种可能实现的 方式中,所述处理器根据所述缩放参数对所述多媒体进度条进行缩放获得缩放 进度条并显示所述缩放进度条包括:
根据所述缩放参数对所述多媒体进度条的所述游标位置对应的进度调节 范围进行缩放获得缩放进度条并确定显示区域, 其中, 所述光标对应的进度调 节范围大小小于或等于所述多媒体进度条范围大小;
在所述显示区域显示所述缩放进度条。
结合第四方面或第四方面的一种可能的实现方式中或第四方面的第二种 可能实现的方式,在第三种可能实现的方式中, 所述处理器获取用户在所述缩 放进度条中的进度控制指令以对多媒体浏览进度进行控制包括:
获取用户在所述缩放进度条中的进度控制指令;
解析所述进度控制指令获得所述缩放进度条的进度信息;
根据所述进度信息调整所述多媒体进度条的所述游标位置,以对所述多媒 体浏览进度进行控制。
结合第四方面或第四方面的一种可能的实现方式中或第四方面的第二种 可能实现的方式或第四方面的第三种可能实现的方式,在第四可能实现的方式 中, 所述处理器在执行获取用户在多媒体进度条中的触控操作指令之前包括: 设置所述按压力度值与所述缩放参数的对应关系, 其中,所述存储器存储 有设置的所述按压力度值与缩放参数的对应关系。 由上可见,在本发明的一些实施例中, 终端对获取到的用户在多媒体进度 条中的触控操作指令进行解析处理,获得多媒体进度条的放大倍数,根据放大 倍数对多媒体进度条进行放大获得并显示缩放进度条,并根据用户在缩放进度 条中的进度控制指令以对多媒体浏览进度进行控制。这使用户在浏览多媒体时 能精确控制多媒体浏览进度.提高多媒体浏览操作时的灵活度, 并操作筒单, 便捷, 提高终端的用户体验度。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例中所需要使用的附图作筒单地介绍,显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1 为本发明实施例提供的一种多媒体浏览进度控制的方法的示意图; 图 2为本发明实施例提供的另一种多媒体浏览进度控制的方法的示意图; 图 3a为本发明实施例提供的多媒体进度条示意图;
图 3b为本发明实施例提供的进度调节范围示意图;
图 3c为本发明实施例提供的放大的缩放进度条示意图;
图 4为本发明实施例提供的缩小的缩放进度条示意图;
图 5为本发明实施例提供的一种终端的结构示意图;
图 6为本发明实施例提供的另一种终端的结构示意图。
图 7为本发明实施例提供的又一种终端的结构示意图。
具体实施方式
本发明实施例提供一种多媒体浏览进度控制的方法及终端,以精确控制多 媒体浏览进度, 提高用户体验度。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参照图 1 , 为本发明一种多媒体浏览进度控制的方法的第一个实施例流 程图。如图 1所示, 本实施例所述的一种多媒体浏览进度控制的方法可包括步 骤:
S100, 获取用户在多媒体进度条中的触控操作指令。
在本发明实施例中,多媒体进度条可包括记录多媒体的浏览速度、完成度、 未完成任务量的大小、 和可能需要处理时间等并显示浏览速度、 完成度、 未完 成任务量的大小、 和可能需要处理时间等的进度条, 其中, 多媒体进度条可以 是视频文件播放或阅读电子书时显示出的长方形条状的进度条。
具体的, 当接收到用户在多媒体进度条上的触控操作时,根据用户的触控 操作获得触控操作指令。 其中, 触控操作指令可包括: 用户在多媒体进度条上 的按压力度值和用户在多媒体进度条上的触控位置。 5101 ,解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度 值。
具体实施例中, 按压力度值是用户作用在多媒体进度条上的力度值大小。
5102,根据预设的按压力度值与缩放参数的对应关系,确定所述按压力度 值对应缩放参数。
具体实施例中, 缩放参数可包括放大倍数或缩小倍数。预设按压力度值与 缩放参数的对应关系可以是:预设按压力度值与放大倍数的对应关系或预设按 压力度值与缩小倍数的对应关系。 进一步的, 可以预设两种对应关系, 用户或 生产商可根据使用体验据来选择相关的对应关系。
具体的,当预设的按压力度值与缩放参数的对应关系是按压力度值与放大 倍数的对应关系时,按压力度值与放大倍数的对应关系可以是线性关系。例如: 放大倍数 y与按压力度值 X满足以下关系 y=kx+b,其中, k大于 0, y大于 1。 或者按压力度值与放大倍数的对应关系可以是满足以下的对应关系:当按压力 度值在(a, b]范围内, 则此按压力度值对应的放大倍数是 m倍, 当按压力度 值在 (b, c]范围内, 则此按压力度值对应的放大倍数是 n倍, 当按压力度值在 (c, d]范围内, 则此按压力度值对应的放大倍数是 1倍等, 其中, 0<a <b<c<d, l<m<n< 1, a、 b、 c、 d、 m、 n、 1为正数。
进一步的,当预设的按压力度值与缩放参数的对应关系是按压力度值与缩 小倍数的对应关系时, 按压力度值与缩小倍数的对应关系也可以是线性关系。 例如: 缩小倍数 y与按压力度值 X满足以下关系 y=kx+b, 其中, k大于 0, y 大于 1。 或者按压力度值与缩小倍数的对应关系可以是满足以下的对应关系: 当按压力度值在(a, b]范围内, 则此按压力度值对应的缩小倍数是 m倍, 当 按压力度值在 (b, c]范围内, 则此按压力度值对应的缩小倍数是 n倍, 当按压 力度值在 (c, d]范围内, 则此按压力度值对应的缩小倍数是 1倍等, 其中, 0<a <b<c<d, l<m<n< 1, a, b, c, d, m, n, 1为正数。
根据以上描述的按压力度值与放大倍数的对应关系,可根据获得的按压力 度值确定按压力度值对应的放大倍数; 或者,根据以上描述的按压力度值与缩 小倍数的对应关系, 可根据获得的按压力度值确定按压力度值对应的缩小倍 数。
S103 ,根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条并 显示所述缩放进度条。
具体实施例中,根据缩放参数对指示多媒体进度条的播放进度的游标的位 置对应的进度调节范围进行缩放获得缩放进度条, 同时,确定获得的缩放进度 条显示的区域。其中, 游标位置对应的进度调节范围大小小于或等于多媒体进 度条范围大小, 游标位置对应的进度调节范围大小可由生产商进行设置。
具体的,终端可对游标的位置对应的进度调节范围进行放大获得缩放进度 条。 在实际应用中, 可参考如图 3a所述的多媒体进度条。 当前多媒体进度条 总长度是 40s, 预设进度调节范围大小是 10s (此范围可设置 ), 游标位置 1位 于多媒体进度条 10s处, 若用户欲对多媒体进行精确定位, 用户可对游标位置 1进行触控, 则当前游标位置 1对应的进度调节范围时 5s~15s (如图 3b ), 当 前进度调节范围之间距离可以为 a (如图 3b )。 当终端接收到用户的触控操作 指令获得按压力度值, 并根据按压力度值可获得进度调节范围的放大倍数, 那 么, 终端将当前的进度调节范围的距离进行缩放放大, 例如: 假设获得放大倍 数是放大 2倍, 终端将当前的进度调节范围之间的距离扩大为 2a从而获得并 显示缩放进度条, 显示的缩放进度条如图 3c所示。 由图 3c可知, 缩放进度条 调节范围大小仍是 10s, 但相比于原来图 3b进度调节范围, 进度调节范围被 放大, 时间点之间距离被拉大, 进而进度调节范围精度可被细化, 可满足用户 对多媒体播放细节确认的需求, 例如监控视频。若用户仍需对进度调节范围更 进一步的放大以便更好的定位多媒体浏览画面,则用户需加大按压力度获得更 大的放大倍数。
与上同理的,终端可对游标的位置对应的进度调节范围进行缩 d、获得缩放 进度条。 在实际应用中, 可如图 3a所述的多媒体进度条, 当前多媒体进度条 总长度是 40s, 预设进度调节范围大小是 10s (此范围可设置 ), 游标位置 1位 于多媒体进度条 10s处, 若用户欲对多媒体进行粗略浏览, 用户可对游标位置 1进行触控, 则当前游标位置 1对应的进度调节范围时 5s~15s (如图 3b ), 当 前进度调节范围之间距离可以为 a (如图 3b )。 当终端接收到用户的触控操作 指令获得按压力度值, 并根据按压力度值可获得进度调节范围的放大倍数, 那 么, 终端将当前的进度调节范围的距离进行调整, 例如: 假设终端获得放大倍 数是缩小 2倍, 终端将当前的进度调节范围之间的距离缩小为 0.5a从而获得 缩放并显示进度条, 显示的缩放进度条如图 4所示。 由图 4可知, 缩放进度条 调节范围大小仍是 10s, 但相比于原来图 3b进度调节范围, 但进度调节范围 被缩小, 时间点之间距离被缩小, 进而进度调节范围精度变大, 可满足用户对 多媒体播放进度缩小的需求。
进一步的,根据获得的缩放进度条确定显示的区域,显示区域可以位于原 始进度条的下部或上部等位置。终端可将获得的缩放进度条在确定的显示区域 弹出, 使得用户可进行触控缩放进度条。
S104, 获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进 度进行控制。
具体实施例中, 缩放进度条有指示缩放进度条进度的指示游标, 当用户在 缩放进度条中的触控操作时,根据用户的触控操作获得用户在缩放进度条中的 进度控制指令。其中, 用户的触控操作包括拖动缩放进度条中的指示游标或点 击缩放进度条的某一位置或通过按键控制缩放进度条的指示游标位置使缩放 进度条的指示游标移至目标位置。
具体的,解析进度控制指令可获得缩放进度条的指示游标移至新的位置和 缩放进度条的指示游标新的位置对应新的进度信息, 例如: 缩放进度条的指示 游标移至新的位置对应缩放进度条的进度信息是 3分 20秒。
具体的, 终端可根据进度信息调整多媒体进度条的游标位置, 以对所述多 媒体浏览进度进行控制。 例如: 终端在接收到用户在缩放进度条中的进度控制 指令之前, 缩放进度条上的指示游标对应的进度信息是 3分 00秒, 此时多媒 体进度条游标对应的进度信息同时也是 3分 00秒。 当用户在缩放进度条进行 触控操作后, 缩放进度条上的指示游标移至新的位置,移至新的位置的缩放进 度条的指示游标对应的新的进度信息是 3分 20秒, 终端根据移至新的位置的 缩放进度条的指示游标对应新的进度信息移动多媒体进度条的游标位置,使多 媒体进度条的游标位置对应的进度信息也为 3分 20秒, 从而多媒体根据多媒 体进度条的游标位置对应的进度信息调整浏览进度, 显示多媒体 3分 20秒对 应的画面。
请参照图 2, 为本发明一种多媒体浏览进度控制的方法的又一个实施例流 程图。如图 2所示, 本实施例所述的一种多媒体浏览进度控制的方法可包括步 骤:
S200, 获取用户在多媒体进度条中的触控操作指令。 5201 , 解析所述触控操作指令获得用户触控所述多媒体进度条的触控位 置。
5202,确定所述多媒体进度条中的游标位置与所述触控位置之间的距离小 于或等于预设的阈值, 其中, 所述游标是所述多媒体进度条的进度指示。
具体实施例中,在本步骤中, 终端进行判断多媒体进度条中的游标位置与 触控位置之间的距离是否小于或等于预设的阈值以确定多媒体进度条中的游 标位置与触控位置之间的距离是小于或等于预设的阈值, 并执行 S203步骤。 其中,预设的阈值可以是 lmm或 2mm等,或者预设的阈值使得控制位置和多 媒体进度条的游标位置满足以下关系:触控位置的区域与多媒体进度条的游标 位置的区域有重合部分。当触控位置的区域与光标位置的区域完全没有重合区 域, 即不满足预设的阈值时, 移动多媒体进度条的游标, 使得多媒体进度条的 游标位置移至触控位置; 当触控位置的区域与光标位置的区域有重合区域, 即 满足预设的阈值时, 执行 S203步骤。
5203,解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度 值。
5204,根据预设的按压力度值与缩放参数的对应关系,确定所述按压力度 值对应缩放参数。
5205 ,根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条并 显示所述缩放进度条。
S206,获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进度 进行控制。
其中, 步骤 S200、 步骤 S203、 步骤 S204、 步骤 S205和步骤 S206具体执 行可以参见图 1所示实施例的步骤 S100、 步骤 S101、 步骤 S102、 步骤 S103 和步骤 S104, 在此不赞述。
为便于更好的实施本发明实施例的上述方案,下面还提供用于配合实施上 述方案的相关装置。
请参照图 5, 为本发明实施例提供的一种终端 100。 其中, 终端 100可以 是手机、 平板电脑和游戏机等可以浏览多媒体的触控终端。 如图 5所示, 本实 施例所述的一种终端可包括: 第一获取模块 110、 确定模块 120、 处理显示模 块 130和第二获取模块 140。 其中, 第一获取模块 110, 用于获取用户在多媒体进度条中的触控操作指 令并解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值。
在本发明实施例中,多媒体进度条可包括记录多媒体的浏览速度、完成度、 未完成任务量的大小、 和可能需要处理时间等并显示浏览速度、 完成度、 未完 成任务量的大小、 和可能需要处理时间等的进度条, 其中, 多媒体进度条可以 是视频文件播放或阅读电子书时显示出的长方形条状的进度条。
具体的, 当第一获耳 ^莫块 110接收到用户在多媒体进度条上的触控操作 时, 根据用户的触控操作获得触控操作指令。 其中, 触控操作指令可包括: 用 户在多媒体进度条上的按压力度值和用户在多媒体进度条上的触控位置。
其中, 按压力度值是用户作用在多媒体进度条上的力度值大小。
确定模块 120, 用于根据预设的按压力度值与缩放参数的对应关系, 确定 所述按压力度值对应缩放参数。
具体实施例中, 缩放参数可包括放大倍数或缩小倍数。预设按压力度值与 缩放参数的对应关系可以是:预设按压力度值与放大倍数的对应关系或预设按 压力度值与缩小倍数的对应关系。 进一步的, 可以预设两种对应关系, 用户或 生产商可根据使用体验据来选择相关的对应关系。
具体的,当预设的按压力度值与缩放参数的对应关系是按压力度值与放大 倍数的对应关系时,按压力度值与放大倍数的对应关系可以是线性关系。例如: 放大倍数 y与按压力度值 X满足以下关系 y=kx+b,其中, k大于 0, y大于 1。 或者按压力度值与放大倍数的对应关系可以是满足以下的对应关系:当按压力 度值在(a, b]范围内, 则此按压力度值对应的放大倍数是 m倍, 当按压力度 值在 (b, c]范围内, 则此按压力度值对应的放大倍数是 n倍, 当按压力度值在 (c, d]范围内, 则此按压力度值对应的放大倍数是 1倍等, 其中, 0<a <b<c<d, l<m<n< 1, a、 b、 c、 d、 m、 n、 1为正数。
进一步的,当预设的按压力度值与缩放参数的对应关系是按压力度值与缩 小倍数的对应关系时, 按压力度值与缩小倍数的对应关系也可以是线性关系。 例如: 缩小倍数 y与按压力度值 X满足以下关系 y=kx+b, 其中, k大于 0, y 大于 1。 或者按压力度值与缩小倍数的对应关系可以是满足以下的对应关系: 当按压力度值在(a, b]范围内, 则此按压力度值对应的缩小倍数是 m倍, 当 按压力度值在 (b, c]范围内, 则此按压力度值对应的缩小倍数是 n倍, 当按压 力度值在 (c, d]范围内, 则此按压力度值对应的缩小倍数是 1倍等, 其中, 0<a <b<c<d, l<m<n< 1, a, b, c, d, m, n, 1为正数。
根据以上描述的按压力度值与放大倍数的对应关系,确定模块 120可根据 压力度值与缩小倍数的对应关系,可根据获得的按压力度值确定按压力度值对 应的缩小倍数。
处理显示模块 130, 用于根据所述缩放参数对所述多媒体进度条进行缩放 获得缩放进度条并显示所述缩放进度条。
具体实施例中,处理显示模块 130根据缩放参数对指示多媒体进度条的播 放进度的游标的位置对应的进度调节范围进行缩放获得缩放进度条, 同时, 处 理显示模块 130确定获得的缩放进度条显示的区域。其中, 游标位置对应的进 度调节范围大小小于或等于多媒体进度条范围大小,游标位置对应的进度调节 范围大小可由生产商进行预置。
具体的,终端可对游标的位置对应的进度调节范围进行放大获得缩放进度 条。 在实际应用中, 可如图 3a所述的多媒体进度条, 当前多媒体进度条总长 度是 40s, 预设进度调节范围大小是 10s (此范围可设置 ), 游标位置 1位于多 媒体进度条 10s处, 若用户欲对多媒体进行精确定位, 用户可对游标位置 1进 行触控, 则当前游标位置 1对应的进度调节范围时 5s~15s (如图 3b ), 当前进 度调节范围之间距离可以为 a (如图 3b )。 当终端接收到用户的触控操作指令 获得按压力度值, 并根据按压力度值可获得进度调节范围的放大倍数, 那么, 处理显示模块 130将当前的进度调节范围的距离进行缩放放大, 例如: 假设获 得放大倍数是放大 2倍,处理显示模块 130将当前的进度调节范围之间的距离 扩大为 2a从而获得并显示缩放进度条, 显示的缩放进度条如图 3c所示。 由图 3c可知, 缩放进度条调节范围大小仍是 10s, 但相比于原来图 3b进度调节范 围, 进度调节范围被放大, 时间点之间距离被拉大, 进而进度调节范围精度可 被细化, 可满足用户对多媒体播放细节确认的需求, 例如监控视频。 若用户仍 需对进度调节范围更进一步的放大以便更好的定位多媒体浏览画面,则用户需 加大按压力度获得更大的放大倍数。
与上同理的,处理显示模块 130可对游标的位置对应的进度调节范围进行 缩小获得缩放进度条。 在实际应用中, 可如图 3a所述的多媒体进度条, 当前 多媒体进度条总长度是 40s, 预设进度调节范围大小是 10s (此范围可设置), 游标位置 1位于多媒体进度条 10s处, 若用户欲对多媒体进行粗略浏览, 用户 可对游标位置 1进行触控, 则当前游标位置 1对应的进度调节范围时 5s~15s (如图 3b ), 当前进度调节范围之间距离可以为 a (如图 3b )。 当终端接收到 用户的触控操作指令获得按压力度值,并根据按压力度值可获得进度调节范围 的放大倍数, 那么,处理显示模块 130将当前的进度调节范围的距离进行缩放 缩小, 例如: 假设处理显示模块 130获得放大倍数是缩小 2倍, 处理显示模块 130将当前的进度调节范围之间的距离缩小为 0.5a从而获得并显示缩放进度 条, 显示的缩放进度条如图 4所示。 由图 4可知, 缩放进度条调节范围大小仍 是 10s, 但相比于原来图 3b进度调节范围, 但进度调节范围被缩小, 时间点 之间距离被缩小,进而进度调节范围精度变大, 可满足用户对多媒体播放进度 缩小的需求。
进一步的, 处理显示模块 130根据获得的缩放进度条确定显示的区域,显 示区域可以位于原始进度条的下部或上部等位置。处理显示模块 130可将获得 的缩放进度条在确定的显示区域弹出,使得用户可触控缩放进度条进而控制媒 体播放进度条。
第二获取模块 140, 用于获取用户在所述缩放进度条中的进度控制指令以 对多媒体浏览进度进行控制。
具体实施例中, 缩放进度条有指示缩放进度条进度的指示游标, 当获取到 用户在缩放进度条中的触控操作时,第二获取模块 140根据用户的触控操作获 得用户在缩放进度条中的进度控制指令。其中, 用户的触控操作包括拖动缩放 进度条中的指示游标或点击缩放进度条的某一位置或通过按键控制缩放进度 条的指示游标位置使缩放进度条的指示游标移至目标位置。所述触控操作生成 进度控制指令。
具体的,第二获取模块 140解析进度控制指令可获得缩放进度条的指示游 标移至新的位置和缩放进度条的指示游标新的位置对应新的进度信息, 例如: 缩放进度条的指示游标移至新的位置对应缩放进度条的进度信息是 3分 20秒。
具体的, 第二获取模块 140 可根据进度信息调整多媒体进度条的游标位 置, 以对所述多媒体浏览进度进行控制。 例如: 第二获取模块 140在接收到用 户在缩放进度条中的进度控制指令之前,缩放进度条上的指示游标对应的进度 信息是 3分 00秒, 此时多媒体进度条游标对应的进度信息同时也是 3分 00 秒。 当用户在缩放进度条进行触控操作后, 缩放进度条上的指示游标移至新的 位置, 移至新的位置的缩放进度条的指示游标对应的新的进度信息是 3分 20 秒,第二获取模块 140根据移至新的位置的缩放进度条的指示游标对应新的进 度信息移动多媒体进度条的游标位置,使多媒体进度条的游标位置对应的进度 信息也为 3分 20秒, 从而终端根据多媒体进度条的游标位置对应的进度信息 控制多媒体浏览进度, 显示多媒体 3分 20秒对应的画面。
请参见图 6, 为本发明实施例提供的一种终端 100。 如图 6所示, 本实施 例所述的一种终端可包括: 第一获取模块 110、 确定模块 120、 处理显示模块 130和第二获取模块 140。
其中, 所述终端还包括:
设置模块 150, 用于设置所述按压力度值与所述缩放参数的对应关系。 具体实施例中,设置模块 150设置按压力度值与缩放参数的对应关系可以 是:设置按压力度值与放大倍数的对应关系或设置按压力度值与缩小倍数的对 应关系。 进一步的, 设置模块 150可以设置两种对应关系, 用户或生产商可根 据使用体验据来选择相关的对应关系。
具体的, 按压力度值与放大倍数的对应关系可以是线性关系。 例如: 放大 倍数 y与按压力度值 X满足以下关系 y=kx+b, 其中, k大于 0, y大于 1。 或 者按压力度值与放大倍数的对应关系可以是满足以下的对应关系:当按压力度 值在(a, b]范围内, 则此按压力度值对应的放大倍数是 m倍, 当按压力度值 在 (b, c]范围内, 则此按压力度值对应的放大倍数是 n倍, 当按压力度值在 (c, d]范围内, 则此按压力度值对应的放大倍数是 1倍等, 其中, 0<a, <b<c<d, l<m<n< 1, a、 b、 c、 d、 m、 n、 1为正数。
进一步的, 按压力度值与缩小倍数的对应关系也可以是线性关系。 例如: 缩小倍数 y与按压力度值 X满足以下关系 y=kx+b,其中, k大于 0, y大于 1。 或者按压力度值与缩小倍数的对应关系可以是满足以下的对应关系:当按压力 度值在(a, b]范围内, 则此按压力度值对应的缩小倍数是 m倍, 当按压力度 值在 (b, c]范围内, 则此按压力度值对应的缩小倍数是 n倍, 当按压力度值在 (c, d]范围内, 则此按压力度值对应的缩小倍数是 1倍等, 其中, 0<a <b<c<d, l<m<n< 1, a, b, c, d, m, n, 1为正数。 解析模块 160, 用于解析所述触控操作指令获得用户触控所述多媒体进度 条的触控位置。
判断模块 170, 用于判断所述多媒体进度条中的游标位置与所述触控位置 之间的距离是否小于或等于预设的阈值, 其中, 所述游标是所述多媒体进度条 的进度指示。
具体实施例中,预设的阈值可以是 lmm或 2mm等,或者预设的阈值使得 控制位置和多媒体进度条的游标位置满足以下关系:触控位置的区域与多媒体 进度条的游标位置的区域有重合部分。当判断模块 170判断触控位置的区域与 光标位置的区域完全没有重合区域, 即不满足预设的阈值时, 判断模块 170 通知终端更改多媒体进度条的游标位置,使得多媒体进度条的游标位置移至触 控位置; 当判断模块 170判断触控位置的区域与光标位置的区域有重合区域, 即满足预设的阈值时,判断模块 170通知第一获取模块 110解析触控操作指令 获得用户触控所述多媒体进度条的按压力度值。
进一步的, 处理显示模块 130还包括:
缩放单元 131 , 用于根据所述缩放参数对所述多媒体进度条的游标对应的 进度调节范围进行缩放获得缩放进度条并确定显示区域, 其中, 所述光标对应 的进度调节范围大小小于或等于所述多媒体进度条范围大小。
具体实施例中,缩放单元 131可对游标的位置对应的进度调节范围进行放 大获得缩放进度条。 在实际应用中, 可如图 3a所述的多媒体进度条, 当前多 媒体进度条总长度是 40s, 预设进度调节范围大小是 10s (此范围可设置 ), 游 标位置 1位于多媒体进度条 10s处, 若用户欲对多媒体进行精确定位, 用户可 对游标位置 1进行触控,则当前游标位置 1对应的进度调节范围时 5s~15s (如 图 3b ), 当前进度调节范围之间距离可以为 a (如图 3b )。 当终端接收到用户 的触控操作指令获得按压力度值,并根据按压力度值可获得进度调节范围的放 大倍数, 那么, 缩放单元 131将当前的进度调节范围的距离进行缩放放大, 例 如: 假设获得放大倍数是放大 2倍,缩放单元 131将当前的进度调节范围之间 的距离扩大为 2a从而获得缩放进度条, 获得的缩放进度条如图 3c所示。 由图 3c可知, 缩放进度条调节范围大小仍是 10s, 但相比于原来图 3b进度调节范 围, 进度调节范围被放大, 时间点之间距离被拉大, 进而进度调节范围精度可 被细化, 可满足用户对多媒体播放细节确认的需求, 例如监控视频。 若用户仍 需对进度调节范围更进一步的放大以便更好的定位多媒体浏览画面,则用户需 加大按压力度获得更大的放大倍数。
与上同理的,缩放单元 131可对游标的位置对应的进度调节范围进行缩小 获得缩放进度条。 在实际应用中, 可如图 3a所述的多媒体进度条, 当前多媒 体进度条总长度是 40s, 预设进度调节范围大小是 10s (此范围可设置), 游标 位置 1位于多媒体进度条 10s处, 若用户欲对多媒体进行粗略浏览, 用户可对 游标位置 1进行触控,则当前游标位置 1对应的进度调节范围时 5s~15s (如图 3b ), 当前进度调节范围之间距离可以为 a (如图 3b )。 当终端接收到用户的触 控操作指令获得按压力度值,并根据按压力度值可获得进度调节范围的放大倍 数, 那么, 缩放单元 131将当前的进度调节范围的距离进行调整, 例如: 假设 终端获得放大倍数是缩小 2倍,缩放单元 131将当前的进度调节范围之间的距 离缩小为 0.5a从而获得缩放进度条, 获得缩放进度条如图 4所示。 由图 4可 知, 缩放进度条调节范围大小仍是 10s, 但相比于原来图 3b进度调节范围, 但进度调节范围被缩小,时间点之间距离被缩小,进而进度调节范围精度变大, 可满足用户对多媒体播放进度缩小的需求。
进一步的, 显示区域可以位于原始进度条的下部或上部等位置。
显示单元 132, 用于在所述显示区域显示所述缩放进度条。
具体实施例中,显示单元 132将缩放单元 131获得的缩放进度条在确定的 显示区域显示。
第二获取模块 140还包括:
获取单元 141 , 用于获取用户在所述缩放进度条中的进度控制指令。
具体实施例中, 缩放进度条有指示缩放进度条进度的指示游标, 当用户在 缩放进度条中的触控操作时,获取单元 141根据用户的触控操作获得用户在缩 放进度条中的进度控制指令。其中, 用户的触控操作包括拖动缩放进度条中的 指示游标或点击缩放进度条的某一位置或通过按键控制缩放进度条的指示游 标位置使缩放进度条的指示游标移至目标位置。
解析单元 142, 用于解析所述进度控制指令获得所述缩放进度条的进度信 具体的,解析单元 142解析进度控制指令可获得缩放进度条的指示游标移 至新的位置和缩放进度条的指示游标新的位置对应新的进度信息, 例如: 缩放 进度条的指示游标移至新的位置对应缩放进度条的进度信息是 3分 20秒。
调整单元 143 , 用于根据所述进度信息调整所述多媒体进度条的所述游标 位置, 以对所述多媒体浏览进度进行控制。
具体的,调整单元 143可根据进度信息调整多媒体进度条的游标位置, 以 对所述多媒体浏览进度进行控制。例如: 终端在接收到用户在缩放进度条中的 进度控制指令之前, 缩放进度条上的指示游标对应的进度信息是 3分 00秒, 此时多媒体进度条游标对应的进度信息同时也是 3分 00秒。 当用户在缩放进 度条进行触控操作后, 缩放进度条上的指示游标移至新的位置,移至新的位置 的缩放进度条的指示游标对应的新的进度信息是 3分 20秒, 调整单元 143根 据移至新的位置的缩放进度条的指示游标对应新的进度信息移动多媒体进度 条的游标位置, 使多媒体进度条的游标位置对应的进度信息也为 3分 20秒, 从而多媒体根据多媒体进度条的游标位置对应的进度信息调整浏览进度,显示 多媒体 3分 20秒对应的画面。
参见图 7, 本发明实施例还提供一种终端 200, 可包括:
处理器 201 (终端中的处理器 201的数量可以一个或多个, 图 7以一个处 理器为例 )、存储器 202、输出装置 203和输入装置 204。在本发明的实施例中, 处理器 201、 存储器 202、 输出装置 203和输入装置 204可通过总线或其它方 式连接, 其中, 图 7中以通过总线连接为例。
其中, 处理器 201执行如下步骤:
获取用户在多媒体进度条中的触控操作指令;解析所述触控操作指令获得 用户触控所述多媒体进度条的触控位置;判断所述多媒体进度条中的游标位置 与所述触控位置之间的距离是否小于或等于预设的阈值, 其中, 所述游标是所 述多媒体进度条的进度指示;若所述光标位置与所述触控位置之间的距离小于 或等于预设的阈值,所述处理器执行解析所述触控操作指令获得用户触控所述 多媒体进度条的按压力度值步骤;解析所述触控操作指令获得用户触控所述多 媒体进度条的按压力度值; 根据预设的按压力度值与缩放参数的对应关系,确 定所述按压力度值对应缩放参数;根据所述缩放参数对所述多媒体进度条进行 缩放获得缩放进度条并显示所述缩放进度条;获取用户在所述缩放进度条中的 进度控制指令以对多媒体浏览进度进行控制。
在本发明的实施例中,处理器 201根据所述缩放参数对所述多媒体进度条进行 缩放获得缩放进度条并显示所述缩放进度条可包括:根据所述缩放参数对所述 多媒体进度条的所述游标位置对应的进度调节范围进行缩放获得缩放进度条 并确定显示区域,其中, 所述光标对应的进度调节范围大小小于或等于所述多 媒体进度条范围大小; 在所述显示区域显示所述缩放进度条。 其中, 处理器 201 处理器获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进 度进行控制可包括: 获取用户在所述缩放进度条中的进度控制指令; 解析所述 进度控制指令获得所述缩放进度条的进度信息;根据所述进度信息调整所述多 媒体进度条的所述游标位置, 以对所述多媒体浏览进度进行控制。
其中,存储器 202存储有设置的所述按压力度值与缩放参数的对应关系以 及存储所述处理器执行的应用程序。
本实施例的终端 200例如可以是手机、平板电脑和游戏机等可以浏览多媒 体的触控终端。
可以理解的是,本实施例的终端 200的各功能模块的功能可根据上述方法 述, 此处不再进行赘述。
由上可见,本实施例中终端 200对获取到的用户在多媒体进度条中的触控 操作指令进行解析处理, 获得多媒体进度条的放大倍数,根据放大倍数对多媒 体进度条进行放大获得并显示缩放进度条,并根据用户在缩放进度条中的进度 控制指令以对多媒体浏览进度进行控制。这使用户在浏览多媒体时能精确控制 多媒体浏览进度,提高多媒体浏览操作时的灵活度, 并操作筒单, 便捷, 提高 终端的用户体验度。
需要说明的是, 对于前述的各方法实施例, 为了筒单描述, 故将其都表述 为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的 动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。 其次, 本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施 例, 所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重, 某个实施例中没有详 述的部分, 可以参见其他实施例的相关描述。
综上,在本发明的一些实施例中, 终端对获取到的用户在多媒体进度条中 的触控操作指令进行解析处理, 获得多媒体进度条的放大倍数,根据放大倍数 对多媒体进度条进行放大获得并显示缩放进度条,并根据用户在缩放进度条中 的进度控制指令以对多媒体浏览进度进行控制。这使用户在浏览多媒体时能精 确控制多媒体浏览进度.提高多媒体浏览操作时的灵活度, 并操作筒单,便捷, 提高终端的用户体验度。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之 权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种多媒体浏览进度控制的方法, 其特征在于, 所述方法包括: 获取用户在多媒体进度条中的触控操作指令;
解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值; 根据预设的按压力度值与缩放参数的对应关系,确定所述按压力度值对应 缩放参数;
根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条并显示 所述缩放进度条;
获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进度进行 控制。
2、 如权利要求 1所述的方法, 其特征在于, 所述获取用户在多媒体进度条 中的触控操作指令之后,解析所述触控操作指令获得用户触控所述多媒体进度 条的按压力度值之前包括:
解析所述触控操作指令获得用户触控所述多媒体进度条的触控位置; 判断所述多媒体进度条中的游标位置与所述触控位置之间的距离是否小于 或等于预设的阈值, 其中, 所述游标是所述多媒体进度条的进度指示;
若所述游标位置与所述触控位置之间的距离小于或等于预设的阈值, 执行 解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值步骤。
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述根据所述缩放参数 对所述多媒体进度条进行缩放获得缩放进度条并显示所述缩放进度条包括: 根据所述缩放参数对所述多媒体进度条所述游标位置对应的进度调节范 围进行缩放获得缩放进度条并确定显示区域, 其中,所述游标位置对应的进度 调节范围大小小于或等于所述多媒体进度条范围大小;
在所述显示区域显示所述缩放进度条。
4、 如权利要求 1-3任一项所述的方法, 其特征在于, 所述获取用户在所 述缩放进度条中的进度控制指令以对多媒体浏览进度进行控制包括: 获取用户在所述缩放进度条中的进度控制指令;
解析所述进度控制指令获得所述缩放进度条的进度信息;
根据所述进度信息调整所述多媒体进度条的所述游标位置,以对所述多媒 体浏览进度进行控制。
5、 如权利要求 1-4任一项所述的方法, 其特征在于, 所述取用户在多媒 体进度条中的触控操作指令之前包括:
设置所述按压力度值与所述缩放参数的对应关系。
6、 如权利要求 1-5任一项所述的方法, 其特征在于, 所述缩放参数包括 放大倍数参数。
7、 一种终端, 其特征在于, 所述终端包括:
第一获耳 ^莫块,用于获取用户在多媒体进度条中的触控操作指令并解析所 述触控操作指令获得用户触控所述多媒体进度条的按压力度值;
确定模块, 用于根据预设的按压力度值与缩放参数的对应关系,确定所述 按压力度值对应缩放参数;
处理显示模块,用于根据所述缩放参数对所述多媒体进度条进行缩放获得 缩放进度条并显示所述缩放进度条;
第二获耳 5^莫块,用于获取用户在所述缩放进度条中的进度控制指令以对多 媒体浏览进度进行控制。
8、 如权利要求 7所述的终端, 其特征在于, 所述终端包括:
解析模块,用于解析所述触控操作指令获得用户触控所述多媒体进度条的 触控位置;
判断模块,用于判断所述多媒体进度条中的游标位置与所述触控位置之间 的距离是否小于或等于预设的阈值,其中, 所述游标是所述多媒体进度条的进 度指示; 当所述判断模块判断所述游标位置与所述触控位置之间的距离小于或等于 预设的阈值,通知第一解析模块解析所述触控操作指令获得用户触控所述多媒 体进度条的按压力度值。
9、 如权利要求 8所述的终端, 其特征在于, 所述处理显示模块包括: 缩放单元,用于根据所述缩放参数对所述多媒体进度条的游标对应的进度 调节范围进行缩放获得缩放进度条并确定显示区域, 其中, 所述游标位置对应 的进度调节范围大小小于或等于所述多媒体进度条范围大小;
显示单元, 用于在所述显示区域显示所述缩放进度条。
10、 如权利要求 7-9任一项所述的终端, 其特征在于, 所述第二获取模 块包括:
获取单元, 用于获取用户在所述缩放进度条中的进度控制指令;
解析单元, 用于解析所述进度控制指令获得所述缩放进度条的进度信息; 调整单元, 用于根据所述进度信息调整所述多媒体进度条的所述游标位 置, 以对所述多媒体浏览进度进行控制。
11、 如权利要求 7-10任一项所述的终端, 其特征在于, 所述终端还包括: 设置模块, 用于设置所述按压力度值与所述缩放参数的对应关系。
12、 一种计算机存储介质, 其特征在于,
所述计算机存储介质可存储有程序, 该程序执行时包括如权利要求 1至 6 任一项所述的步骤。
13、 一种终端, 其特征在于, 包括: 输入装置、 输出装置、 存储器和处理 器, 其中, 存储器中存储一组程序代码, 且处理器用于调用存储器中存储的程 序代码, 用于执行以下操作:
获取用户在多媒体进度条中的触控操作指令;
解析所述触控操作指令获得用户触控所述多媒体进度条的按压力度值; 根据预设的按压力度值与缩放参数的对应关系,确定所述按压力度值对应 缩放参数;
根据所述缩放参数对所述多媒体进度条进行缩放获得缩放进度条并显示 所述缩放进度条;
获取用户在所述缩放进度条中的进度控制指令以对多媒体浏览进度进行 控制。
14、 如权利要求 13所述的终端, 其特征在于, 所述处理器获取用户在多 媒体进度条中的触控操作指令之后,解析所述触控操作指令获得用户触控所述 多媒体进度条的按压力度值之前包括如下步骤:
解析所述触控操作指令获得用户触控所述多媒体进度条的触控位置; 判断所述多媒体进度条中的游标位置与所述触控位置之间的距离是否小于 或等于预设的阈值, 其中, 所述游标是所述多媒体进度条的进度指示;
若所述游标位置与所述触控位置之间的距离小于或等于预设的阈值, 所述 处理器执行解析所述触控操作指令获得用户触控所述多媒体进度条的按压力 度值步骤。
15、 如权利要求 13或 14所述的终端, 其特征在于, 所述处理器根据所述 缩放参数对所述多媒体进度条进行缩放获得缩放进度条并显示所述缩放进度 条包括:
根据所述缩放参数对所述多媒体进度条的所述游标位置对应的进度调节 范围进行缩放获得缩放进度条并确定显示区域, 其中, 所述游标位置对应的进 度调节范围大小小于或等于所述多媒体进度条范围大小;
在所述显示区域显示所述缩放进度条。
16、 如权利要求 13-15任一项所述的终端, 其特征在于, 所述处理器获取 用户在所述缩放进度条中的进度控制指令以对多媒体浏览进度进行控制包括: 获取用户在所述缩放进度条中的进度控制指令;
解析所述进度控制指令获得所述缩放进度条的进度信息; 根据所述进度信息调整所述多媒体进度条的所述游标位置 ,以对所述多媒 体浏览进度进行控制。
17、 如权利要求 13-16任一项所述的终端, 其特征在于, 所述处理器在执 行获取用户在多媒体进度条中的触控操作指令之前包括:
设置所述按压力度值与所述缩放参数的对应关系, 其中,所述存储器存储 有设置的所述按压力度值与缩放参数的对应关系。
PCT/CN2013/076994 2013-06-08 2013-06-08 一种多媒体浏览进度控制的方法及终端 WO2014194527A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380000773.3A CN104508746A (zh) 2013-06-08 2013-06-08 一种多媒体浏览进度控制的方法及终端
PCT/CN2013/076994 WO2014194527A1 (zh) 2013-06-08 2013-06-08 一种多媒体浏览进度控制的方法及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/076994 WO2014194527A1 (zh) 2013-06-08 2013-06-08 一种多媒体浏览进度控制的方法及终端

Publications (1)

Publication Number Publication Date
WO2014194527A1 true WO2014194527A1 (zh) 2014-12-11

Family

ID=52007441

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/076994 WO2014194527A1 (zh) 2013-06-08 2013-06-08 一种多媒体浏览进度控制的方法及终端

Country Status (2)

Country Link
CN (1) CN104508746A (zh)
WO (1) WO2014194527A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021093688A1 (zh) * 2019-11-13 2021-05-20 北京字节跳动网络技术有限公司 目标对象显示方法、装置、电子设备和计算机可读介质
WO2021114979A1 (zh) * 2019-12-13 2021-06-17 北京字节跳动网络技术有限公司 视频页面显示方法、装置、电子设备和计算机可读介质
WO2023061318A1 (zh) * 2021-10-12 2023-04-20 北京沃东天骏信息技术有限公司 进度条的生成方法、装置和非易失性计算机可读存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104903961B (zh) * 2013-09-17 2017-12-22 宇龙计算机通信科技(深圳)有限公司 进度条精度调节装置、方法以及播放系统和终端
CN105425948B (zh) * 2015-10-31 2018-05-29 广东欧珀移动通信有限公司 一种人机交互方法及用户终端
CN108958621A (zh) 2018-05-29 2018-12-07 Oppo广东移动通信有限公司 信息显示方法、装置及移动终端
CN110895441A (zh) * 2018-09-13 2020-03-20 中兴通讯股份有限公司 一种进度条控制方法、装置、电子装置和介质
CN112399259B (zh) * 2019-08-19 2023-05-02 上海哔哩哔哩科技有限公司 一种播放器的进度条控制方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020063737A1 (en) * 2000-11-30 2002-05-30 Ephraim Feig Zoom-capable scrollbar
EP1924089A2 (en) * 2006-11-20 2008-05-21 Samsung Electronics Co., Ltd. Content playback
US20090199119A1 (en) * 2008-02-05 2009-08-06 Park Chan-Ho Method for providing graphical user interface (gui), and multimedia apparatus applying the same
US20110145745A1 (en) * 2009-12-14 2011-06-16 Samsung Electronics Co., Ltd. Method for providing gui and multimedia device using the same

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609380A (zh) * 2009-06-23 2009-12-23 苏州瀚瑞微电子有限公司 一种在触摸屏上文件操作的方法
CN102426841A (zh) * 2009-10-31 2012-04-25 华为技术有限公司 定位播放视频的装置、方法及系统
CN101727280B (zh) * 2009-12-25 2014-04-09 宇龙计算机通信科技(深圳)有限公司 一种缩放图片的方法、系统及移动终端
KR101304321B1 (ko) * 2010-01-22 2013-09-11 전자부품연구원 싱글 터치 압력에 기반한 ui 제공방법 및 이를 적용한 전자기기
CN102262510B (zh) * 2011-09-01 2013-10-16 珠海全志科技股份有限公司 一种利用手势实现显示内容放大的装置和方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020063737A1 (en) * 2000-11-30 2002-05-30 Ephraim Feig Zoom-capable scrollbar
EP1924089A2 (en) * 2006-11-20 2008-05-21 Samsung Electronics Co., Ltd. Content playback
US20090199119A1 (en) * 2008-02-05 2009-08-06 Park Chan-Ho Method for providing graphical user interface (gui), and multimedia apparatus applying the same
US20110145745A1 (en) * 2009-12-14 2011-06-16 Samsung Electronics Co., Ltd. Method for providing gui and multimedia device using the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021093688A1 (zh) * 2019-11-13 2021-05-20 北京字节跳动网络技术有限公司 目标对象显示方法、装置、电子设备和计算机可读介质
WO2021114979A1 (zh) * 2019-12-13 2021-06-17 北京字节跳动网络技术有限公司 视频页面显示方法、装置、电子设备和计算机可读介质
US11997356B2 (en) 2019-12-13 2024-05-28 Beijing Bytedance Network Technology Co., Ltd. Video page display method and apparatus, electronic device and computer-readable medium
WO2023061318A1 (zh) * 2021-10-12 2023-04-20 北京沃东天骏信息技术有限公司 进度条的生成方法、装置和非易失性计算机可读存储介质

Also Published As

Publication number Publication date
CN104508746A (zh) 2015-04-08

Similar Documents

Publication Publication Date Title
WO2014194527A1 (zh) 一种多媒体浏览进度控制的方法及终端
US10387016B2 (en) Method and terminal for displaying a plurality of pages,method and terminal for displaying a plurality of applications being executed on terminal, and method of executing a plurality of applications
EP2502135B1 (en) Method of scrolling items on a touch screen user interface
EP2430766B1 (en) Image processing method for mobile terminal
US20120192108A1 (en) Gesture-based menu controls
CN106293410B (zh) 一种视频进度调节方法及移动终端
WO2016015585A1 (zh) 一种终端设备的截屏方法及其终端设备、计算机程序产品和计算机可读记录介质
US20160170605A1 (en) Application association processing method and apparatus
EP2487578A1 (en) Method for controlling screen of mobile terminal
AU2014250635B2 (en) Apparatus and method for editing synchronous media
US20130209061A1 (en) Multimedia playing control method, playing control module and playing terminal
WO2017014800A1 (en) Video editing on mobile platform
US20170212659A1 (en) Method and apparatus for selecting link entities in touch screen based web browser environment
US20100162155A1 (en) Method for displaying items and display apparatus applying the same
WO2014019207A1 (zh) Widget处理方法、装置及移动终端
KR20140085061A (ko) 디스플레이 장치 및 이의 제어 방법
WO2016008410A1 (zh) 视频播放方法及系统
US20190056845A1 (en) Page Sliding Method And Apparatus, And User Terminal
WO2016112791A1 (zh) 移动终端应用程序页面的展现方法和装置
US10779148B2 (en) Data transmission method and first electronic device
WO2022126664A1 (zh) 视频编辑方法、终端设备及计算机可读存储介质
WO2015015732A1 (ja) 画像表示装置、画像表示方法及び画像表示プログラム製品
TW201913299A (zh) 終端設備的操作方法、裝置以及電子設備
TW201318423A (zh) 即時影像編輯方法與電子裝置
US20120278758A1 (en) Image browsing system and method for zooming images and method for switching among images

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13886253

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13886253

Country of ref document: EP

Kind code of ref document: A1