WO2016106750A1 - 一种用于控制多媒体文件播放进度的方法及终端 - Google Patents
一种用于控制多媒体文件播放进度的方法及终端 Download PDFInfo
- Publication number
- WO2016106750A1 WO2016106750A1 PCT/CN2014/096062 CN2014096062W WO2016106750A1 WO 2016106750 A1 WO2016106750 A1 WO 2016106750A1 CN 2014096062 W CN2014096062 W CN 2014096062W WO 2016106750 A1 WO2016106750 A1 WO 2016106750A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- progress
- multimedia file
- sliding
- area
- adjustment speed
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000008569 process Effects 0.000 claims abstract description 11
- 230000007423 decrease Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- PXHVJJICTQNCMI-UHFFFAOYSA-N Nickel Chemical compound [Ni] PXHVJJICTQNCMI-UHFFFAOYSA-N 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000010267 cellular communication Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- UFHFLCQGNIYNRP-UHFFFAOYSA-N Hydrogen Chemical compound [H][H] UFHFLCQGNIYNRP-UHFFFAOYSA-N 0.000 description 1
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229910052739 hydrogen Inorganic materials 0.000 description 1
- 239000001257 hydrogen Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 229910052759 nickel Inorganic materials 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- 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/005—Reproducing at a different information rate from the information rate of recording
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a method and a terminal for controlling a progress of playing a multimedia file.
- portable terminals such as smart phones, tablets (tablets) and other terminals
- portable terminals may fast-forward or rewind audio or video at any time according to their needs.
- display screens of most portable terminals are touch screens, so how to It is an effective problem to control the progress of audio or video playback on the touch screen.
- a horizontal progress bar is set on the page, the progress bar represents the entire playback progress of the audio or video, and there is a button on the progress bar.
- the position of the button on the progress bar represents the progress of the current audio or video playback. You can control the playback progress of audio or video by holding down the button to drag left or right, or by clicking a position on the progress bar to move the button to that location.
- the size of the touch display screen is also limited, and the length of the progress bar is also limited by the size of the touch display screen, and due to the problem of the width of the finger of the person, the adjustment process needs to be limited. Drag the button with a small area on the progress bar. In this case, the precise positioning of the playback progress cannot be achieved.
- the duration of audio and video files (such as video files corresponding to a movie) increases, the complexity of accurately adjusting the playback progress will increase, so that the audio and video files play progress after the audio and video files exceed a certain length of time. The operation of achieving precise fast forward and rewind control is more difficult.
- a method and a terminal for controlling the progress of playing the multimedia file are provided in the embodiment of the present invention.
- an embodiment of the present invention provides a method for controlling a progress of playing a multimedia file, where the method includes:
- the terminal receives a left/right sliding operation in the first area of the current playing interface by the user touching the display screen, where the first area is a user that can receive the user on the current playing interface.
- the area of the sliding operation area except the area where the progress bar is displayed;
- Obtaining data related to the sliding operation the data including a trajectory of the sliding operation Vertical coordinates on the touch display screen, sliding directions and sliding distances of the sliding operation;
- the first area is divided into at least two sections according to a preset rule in a vertical direction, and the vertical coordinate in each section is in a preset Within the threshold range, each interval corresponds to an adjustment speed, and in the vertical direction, as the vertical left size changes, the adjustment speed corresponding to each interval gradually increases or decreases gradually;
- Determining, according to a correspondence between a vertical coordinate of the trajectory of the sliding operation on the touch display screen and an adjustment speed, determining an adjustment speed corresponding to the vertical coordinate is:
- the adjustment speed corresponding to the first section is determined.
- the method further includes: prompting in at least two of the intervals when receiving an operation of the user on the current play interface The adjustment speed corresponding to this interval.
- the first area is divided into at least two intervals according to a preset rule in a vertical direction. Specifically:
- the first area is divided in the vertical direction according to the total duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the remaining duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the total duration and the remaining duration of the currently played multimedia file.
- an embodiment of the present invention provides a terminal for controlling a progress of playing a multimedia file, where the terminal includes:
- a processor configured to receive a user through the touch during playing a multimedia file Acquiring data related to the sliding operation after the left/right sliding operation in the first area on the current playing interface, the data including the track of the sliding operation on the touch display screen a vertical coordinate, a sliding direction of the sliding operation, and a sliding distance, wherein the first area is an area in the area of the current playing interface that can receive a sliding operation of the user except the area in which the playing progress bar is displayed;
- the first area is divided into at least two sections according to a preset rule in a vertical direction, and the vertical coordinate in each section is in a preset Within the threshold range, each interval corresponds to an adjustment speed, and in the vertical direction, as the vertical left size changes, the adjustment speed corresponding to each interval gradually increases or decreases gradually;
- the processor is configured to determine, according to a correspondence between a vertical coordinate of the trajectory of the sliding operation on the touch display screen and an adjustment speed, an adjustment speed corresponding to the vertical coordinate is:
- the processor is configured to determine an adjustment speed corresponding to the first interval when a vertical coordinate of the trajectory of the sliding operation falls within a first interval of the at least two intervals.
- the touch display screen is further configured to: when receiving an operation of the user on the current play interface, in at least two The adjustment speed corresponding to the interval is indicated in the interval.
- the first area is divided into at least two intervals according to a preset rule in a vertical direction, specifically:
- the first area is divided in the vertical direction according to the total duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the remaining duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the total duration and the remaining duration of the currently played multimedia file.
- the embodiment of the invention has the following beneficial effects:
- the method and the terminal provided by the embodiment of the present invention receive a left/right sliding operation in the first area on the current playing interface by touching the display screen on the touch display screen according to the trajectory of the sliding operation.
- Corresponding relationship between the vertical coordinate and the adjustment speed determining an adjustment speed corresponding to the vertical coordinate, determining a direction for performing progress control on a current playback progress of the multimedia file according to the sliding direction, according to the sliding distance and the vertical Adjusting a speed corresponding to the coordinate, determining a progress adjustment value for performing progress control on a current playback progress of the multimedia file, and performing a current playback progress of the multimedia file in a direction of the determined progress control according to the progress adjustment value
- Progress control is utilized to take advantage of the two dimensions of the touch screen screen: the horizontal dimension and the vertical dimension.
- the height of the screen is further utilized, and the vertical coordinate of the user's operation on the touch screen is utilized.
- the size determines the size of the adjustment speed, the user is at different screen heights
- the operation corresponds to different adjustment speeds, and the user can perform a simple sliding operation at a certain screen height according to actual needs, so that the adjustment speed can be conveniently and flexibly selected, thereby facilitating the user to better realize the progress of playing the multimedia file. control.
- FIG. 1 is a flowchart of a method for controlling a progress of playing a multimedia file according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a terminal for controlling a progress of playing a multimedia file according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of an interface displayed on a screen of a terminal in a method for controlling a progress of playing a multimedia file according to an embodiment of the present invention.
- the method may include the following steps:
- S100 The terminal receives a left/right sliding operation in the first area on the current playing interface by touching the display screen during the process of playing the multimedia file.
- the first area is an area in the area of the current playing interface that can receive a sliding operation of the user, except for the area where the playing progress bar is displayed.
- S120 Determine, according to a correspondence between a vertical coordinate of the trajectory of the sliding operation on the touch display screen and an adjustment speed, an adjustment speed corresponding to the vertical coordinate, where the size of the vertical coordinate determines a size of the adjustment speed, and the adjustment
- the speed is a progress adjustment value for controlling the progress of the multimedia file playback progress corresponding to each sliding unit distance;
- S130 Determine, according to the sliding direction, a direction for performing progress control on a current playback progress of the multimedia file, where if the sliding direction of the sliding operation is to the left, determining progress control for rewinding the multimedia file; If the sliding direction of the sliding operation is to the right, determining progress control for fast forwarding the multimedia file;
- S140 Determine a progress adjustment value for performing progress control on a current playback progress of the multimedia file according to the sliding distance and an adjustment speed corresponding to the vertical coordinate, and control the progress adjustment value according to the progress.
- Progress control is performed on the current playback progress of the multimedia file in the direction.
- the method provided by the embodiment of the present invention by receiving a left/right sliding operation of the user in the first area on the current playing interface by touching the display screen, the vertical coordinate on the touch display screen according to the trajectory of the sliding operation Determining an adjustment speed corresponding to the vertical coordinate, determining a direction for performing progress control on a current playback progress of the multimedia file according to the sliding direction, according to the sliding distance and the vertical coordinate Corresponding adjustment speed, determining a progress adjustment value for performing progress control on the current playback progress of the multimedia file, and performing progress on the current playback progress of the multimedia file in the direction of the determined progress control according to the progress adjustment value Control, using the two dimensions of the touch screen screen: the horizontal dimension and the vertical dimension, based on the width of the screen, further utilizing the height of the screen, the size of the vertical coordinate of the operation of the user on the touch screen display Decide on the size of the adjustment speed, the user's operation at different screen heights That is to say, corresponding to different adjustment speeds, the user can perform a simple sliding operation at
- the first area is divided into at least two sections according to a preset rule in a vertical direction, and the vertical coordinates in each section are within a preset threshold range, and each The interval corresponds to an adjustment speed, and in the vertical direction, along with the vertical left Small transformation, the adjustment speed corresponding to each interval gradually increases or decreases gradually;
- Determining, according to a correspondence between a vertical coordinate of the trajectory of the sliding operation on the touch display screen and an adjustment speed, determining an adjustment speed corresponding to the vertical coordinate is:
- the adjustment speed corresponding to the first section is determined.
- the method may further include: when receiving the operation of the user on the current playing interface, prompting the adjustment speed corresponding to the interval in at least two of the intervals.
- the adjustment speed corresponding to the interval may be displayed in each interval on the current playing interface.
- the user can select a sliding operation in a suitable interval according to the prompt to perform progress control on the played multimedia file.
- the first area is divided into at least two intervals according to a preset rule in a vertical direction:
- the first area is divided in the vertical direction according to the total duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the remaining duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the total duration and the remaining duration of the currently played multimedia file.
- the remaining duration of the currently played multimedia file may be utilized, and the remaining duration may be used to dynamically divide the interval, that is, the interval provided by the user for different remaining durations may be Different, such as the difference in the number of intervals, the difference in interval, the adjustment speed corresponding to each interval, etc., can be triggered based on the actual playing situation, providing the user with an operable interval that is more convenient for playing progress control, and improving the scheme. Flexibility and user experience.
- the user can control the playing progress of the multimedia file (eg, video) by dragging the play progress bar.
- the playback progress will be large each time a small distance is dragged. Changes, which make it more difficult to pinpoint the video or to make a small amount of fast forward/rewind.
- the length of each movie video is more than 100 minutes, and the longer it can be more than 3 hours.
- the 6-inch screen mobile phone horizontal screen progress bar length is about 100mm, so that every millimeter corresponds to 1 minute video.
- a drag distance of less than 10 mm is difficult for the user to complete, and a slight drag may take more than 10 minutes. This brings considerable problems to precise positioning and brings great inconvenience to users.
- the method provided by the embodiment of the invention can enable the user to achieve more precise free positioning by sliding left and right on different vertical positions on the audio and video playing interface.
- the user wants to fine-tune the progress of the video playback, just swipe left and right in the area close to the playback progress bar; to play the video For larger adjustments, simply swipe left and right in the area that is slightly further away from the progress bar.
- the following is a specific interface diagram as an example to describe a method for controlling the progress of playing multimedia files provided by the embodiment of the present invention.
- the interface content displayed on the touch display screen of the terminal during the playing of the video is schematically shown.
- the sliding of the user on the touch display screen is also shown in FIG. Schematic representation of the operation (such as the arrow in Figure 3).
- the status bar At the top of the interface is the status bar.
- the user in this area is generally inoperable; the bottom of the interface is the area where the progress bar is displayed.
- the area showing the progress bar is displayed in addition to the progress bar, and usually displays the previous, next, pause, etc. Button.
- the area for the user to operate is the video play area of the middle portion (corresponding to the aforementioned first area).
- Figure 3 divides the first area into six equal-sized rectangular areas (or sections), and the accuracy of each area is different: when sliding left and right, if the vertical coordinate of the sliding operation is in the lowermost area, each sliding 1cm corresponds to the screen. In/out 1 second, the second area below is 5 seconds, the third is 10 seconds, until the top is 5min/cm, the precision is getting thicker.
- the operator forms a reference point (the gray solid dot shown in Fig. 3) by touching the screen, at which time the video can be paused. Then, starting from the reference point, slide to the left (as indicated by the direction of the arrow in Fig. 3). Since the area where the solid origin is located is "1sec per centimeter", that is, 1 cm per left, the video retreats by 1 second. So when the user slides, the video rewinds at a very fine pace.
- the left and right width of the operable area with the middle as the starting point is about 6 cm, so the video can be accurately positioned within 6 seconds. If the user needs to make a slight progress change to the video, the second grid at the bottom can achieve precise positioning within half a minute, and the third grid can achieve positioning within about 1 minute, until the top grid can achieve positioning within half an hour. .
- users can be allowed to slide across regions. For example, if the accuracy is half-minute in the fourth area, when the adjustment is made to somewhere, the user can slide down to the first area, and this becomes a 1 second precision.
- the combination of areas can help users achieve precise positioning over long time spans.
- the user can continuously slide on the screen, and the finger does not leave the screen during the sliding process; or, instead of continuously sliding, it can slide in multiple areas, and use different precisions for progress control.
- the embodiment of the present invention further provides a terminal for controlling the progress of playing a multimedia file.
- a terminal for controlling the progress of playing a multimedia file.
- the terminal includes a touch display 200 and
- the processor 210 (which may have one or more processors having the same function or similar or different, and only one is taken as an example in the present invention), the terminal may further include a memory 220, a peripheral interface 230, a transceiver 240, and a power source 250. And other components, where:
- the processor 210 is configured to: after the user scans a left/right sliding operation in the first area on the current playing interface by the touch display 200 in the process of playing the multimedia file, acquiring the sliding operation Relevant data, the data including the trajectory of the sliding operation in the Touching a vertical coordinate on the display screen, a sliding direction of the sliding operation, and a sliding distance, the first area being an area other than the area displaying the playing progress bar in the area of the current playing interface capable of receiving the sliding operation of the user ;
- the touch display 200 can be used to effect user interaction with the terminal and/or information input into the terminal.
- touch display 200 can receive numeric or character information input by a user to generate a signal input related to user settings or function controls.
- the touch display which may also be referred to as a touch panel, a touch screen or a touch screen, collects operational actions on which the user touches or approaches.
- the user uses an action of any suitable object or accessory such as a finger or a stylus on the touch display or near the touch display screen, and drives the corresponding connecting device according to a preset program.
- the touch display screen may include two parts: a touch detection device and a touch controller.
- the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller; the touch controller receives the electrical signal from the touch detection device, and Convert it to the contact coordinates and send it to the processor of the terminal.
- the touch controller can also receive commands from the processor and execute.
- the touch display can be of the resistive, capacitive, infrared or surface acoustic wave type.
- the processor 210 is a control center of the terminal, and connects various parts of the entire terminal by using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 220, and calling data stored in the memory to execute Various functions of the terminal and/or processing data.
- the processor may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs that have the same function or different functions.
- the processor may include only a central processing unit (CPU), or may be a GPU, a digital signal processor (DSP), and a control chip (for example, a baseband) in the transceiver 240. A combination of chips).
- the CPU may be a single operation core, and may also include multiple operation cores.
- the transceiver 240 is configured to establish a communication channel, such that the terminal is connected to another terminal through the communication channel.
- the transceiver may include a wireless local area network (Wireless Local Area Network) module, a Bluetooth module, a baseband module, and the like. And a radio frequency (RF) circuit corresponding to the communication module, configured to perform wireless local area network communication, Bluetooth communication, infrared communication, and/or cellular communication system communication, such as broadband code division multiple access (Wideband Code Division) Multiple Access (W-CDMA for short) and/or High Speed Downlink Packet Access (HSDPA).
- the communication module is used to control communication of components in the terminal, and can support Direct Memory Access.
- various communication modules in the transceiver generally appear in the form of an integrated circuit chip, and can be selectively combined without including all communication modules and corresponding antennas. group.
- the transceiver may include only baseband chips, radio frequency chips, and corresponding antennas to provide communication functionality in a cellular communication system.
- the terminal can be connected to a cellular network (Cellular Network) or the Internet (Internet) via a wireless communication connection established by the transceiver, such as wireless local area network access or WCDMA access.
- a communication module, such as a baseband module, in the transceiver may be integrated into the processor.
- the memory 220 can be used to store software programs and modules, and the processor 210 executes various functional applications of the terminal and implements data processing by running software programs and modules stored in the memory.
- the memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the use of the terminal. Data created (such as audio data, phone book, etc.).
- the memory may include a volatile memory, such as a non-volatile volatile random access memory (NVRAM), a phase change random access memory (PRAM),
- NVRAM non-volatile volatile random access memory
- PRAM phase change random access memory
- MRAM magnetoresistive random access memory
- NVRAM non-volatile volatile random access memory
- PRAM phase change random access memory
- MRAM magnetoresistive random access memory
- EEPROM electrically erasable programmable read-only memory
- flash memory devices such as NOR flash memory or NAND flash memory.
- the non-volatile memory stores the operating system and applications executed by the processor.
- the processor loads the running program and data from the non-volatile memory into memory and stores the digital content in a plurality of storage devices.
- the operating system includes various components and/or drivers for controlling and managing conventional system tasks such as memory management, storage device control, power management, and the like, as well as facilitating communication between various hardware and software.
- the operating system may be an Android system of Google Inc., an iOS system developed by Apple Corporation, a Windows operating system developed by Microsoft Corporation, or an embedded operating system such as Vxworks.
- the application can include any application installed on the terminal, including but not limited to browsers, email, instant messaging services, word processing, virtual keyboards, widgets, encryption, digital rights management, voice recognition, Voice copying, positioning (such as those provided by GPS), music playback, and more.
- Power source 250 is used to power different components of the terminal to maintain its operation.
- the power source may be a built-in battery, such as a common lithium ion battery, a nickel hydrogen battery, or the like. It also includes an external power source that directly supplies power to the terminal, such as a power adapter.
- the power source may also be more widely defined, and may further include, for example, a power management system, a charging system, a power failure detecting circuit, a power converter or an inverter, and a power status indicator (such as light-emitting diodes, as well as any other components associated with the power generation, management and distribution of the terminals.
- the peripheral interface 230 can include a USB interface, a headphone interface, etc., and the terminal can be wiredly connected with an external device to perform data transmission.
- the terminal receives the left/right sliding operation in the first area on the current playing interface by touching the display screen, and the vertical coordinate on the touch display screen according to the trajectory of the sliding operation. Determining an adjustment speed corresponding to the vertical coordinate, determining a direction for performing progress control on a current playback progress of the multimedia file according to the sliding direction, according to the sliding distance and the vertical coordinate Corresponding adjustment speed, determining a progress adjustment value for performing progress control on the current playback progress of the multimedia file, and performing progress on the current playback progress of the multimedia file in the direction of the determined progress control according to the progress adjustment value Control, using the two dimensions of the touch screen screen: the horizontal dimension and the vertical dimension, based on the width of the screen, further utilizing the height of the screen, the size of the vertical coordinate of the operation of the user on the touch screen display Decide on the size of the adjustment speed, the user's operation at different screen heights That is to say, corresponding to different adjustment speeds, the user can perform a simple sliding operation at a certain screen
- the first area is divided into at least two sections according to a preset rule in a vertical direction, and vertical coordinates in each section are within a preset threshold range, and each The interval corresponds to an adjustment speed, and in the vertical direction, with the change of the size of the vertical left side, the adjustment speed corresponding to each interval gradually increases or decreases gradually;
- the processor is configured to determine, according to a correspondence between a vertical coordinate of the trajectory of the sliding operation on the touch display screen and an adjustment speed, an adjustment speed corresponding to the vertical coordinate is:
- the processor is configured to determine an adjustment speed corresponding to the first interval when a vertical coordinate of the trajectory of the sliding operation falls within a first interval of the at least two intervals.
- the touch display screen is further configured to: when receiving an operation of the user on the current play interface, prompting the interval in at least two of the intervals Corresponding adjustment speed.
- the first area is divided into at least two intervals according to a preset rule in a vertical direction:
- the first area is divided in the vertical direction according to the total duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the remaining duration of the currently played multimedia file.
- the first area is divided in the vertical direction according to the total duration and the remaining duration of the currently played multimedia file.
- the division of the interval may be performed by the processor 210.
- the terminal provided by the embodiment of the present invention may be used to implement the method provided by the foregoing method embodiments.
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
一种用于控制多媒体文件播放进度的方法及终端,其中方法包括:终端在播放多媒体文件的过程中,接收用户在当前播放界面上的第一区域内的向左/向右的滑动操作;获取滑动操作相关的数据;根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,所述垂直坐标的大小决定调整速度的大小;根据滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向;根据所述滑动距离和所述垂直坐标所对应的调整速度,确定进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制。
Description
本发明涉及计算机技术领域,特别涉及一种用于控制多媒体文件播放进度的方法和终端。
随着便携式终端的发展,如智能手机、Pad(平板电脑)等终端,越来越多的用户使用便携式终端播放音乐或观看视频。在用户播放音乐或观看视频的过程中,可能会随时根据自己的需要对音频或是视频进行快进播放或是快退播放,而目前大多数便携式终端的显示屏均为触摸显示屏,所以如何能有效的在触摸显示屏上,实现对音频或是视频播放进度的控制是需要解决的问题。
目前大多数应用中为了实现对多媒体(如音频、视频等)播放进度的控制,在页面上设置一根水平的进度条,该进度条代表音频或视频的整个播放进度,进度条上有一个按钮,按钮在进度条上的位置代表当前音频或视频播放的进度。通过按住按钮进行左右拖动,或点击进度条某个位置使按钮移动到该处,实现对音频或视频的播放进度的控制。
但是由于便携式终端的大小受限,触摸显示屏的尺寸也是受限的,进度条的长度因此也受到触摸显示屏尺寸的限制,而且由于人的手指宽度的问题,在调整进度时,需要在有限的进度条上拖动面积很小的按钮,这种情况下无法实现对播放进度的精确定位。而且随着音视频文件(如一部影片所对应的视频文件)时长的增加,对播放进度实现精确调整的复杂度会不断增加,使得当音视频文件超过一定时长后,对音视频文件的播放进度实现精确的快进快退的控制的操作难度加大。
发明内容
为了实现对多媒体文件播放进度的精确控制,本发明实施例中提供了一种用于控制多媒体文件播放进度的方法和终端。
第一方面,本发明实施例提供了一种用于控制多媒体文件播放进度的方法,所述方法包括:
终端在播放多媒体文件的过程中,接收用户通过触摸显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作,所述第一区域为所述当前播放界面上能接收用户的滑动操作的区域中除显示播放进度条的区域外的区域;
获取所述滑动操作相关的数据,所述数据包括所述滑动操作的轨迹在
所述触摸显示屏上的垂直坐标、所述滑动操作的滑动方向和滑动距离;
根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,所述垂直坐标的大小决定调整速度的大小,所述调整速度为每滑动单位距离所对应的对多媒体文件播放进度进行进度控制的的进度调整值;
根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,其中,若所述滑动操作的滑动方向向左,则确定对所述多媒体文件进行快退的进度控制;若所述滑动操作的滑动方向向右,则确定对所述多媒体文件进行快进的进度控制;
根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制。
结合第一方面,在第一方面的第一种可能的实现方式中,所述第一区域在垂直方向上,按照预设规则分为至少两个区间,每个区间内的垂直坐标在一个预设阈值范围内,每个区间对应一个调整速度,且在垂直方向上随着垂直左边的大小的变换,各个区间所对应的调整速度逐渐增大或逐渐减小;
所述根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度具体为:
当所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标落在所述至少两个区间中的第一区间内时,确定所述第一区间所对应的调整速度。
结合第一方面第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括:当接收到用户在当前播放界面上的操作时,在至少两个所述区间内提示该区间所对应的调整速度。
结合第一方面第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,所述第一区域在垂直方向上,按照预设规则分为至少两个区间具体为:
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的剩余时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长和剩余时长来进行区间的划分。
第二方面,本发明实施例提供了一种用于控制多媒体文件播放进度的终端,所述终端包括:
触摸显示屏,用于显示在所述终端上播放的多媒体文件的内容;
处理器,用于在播放多媒体文件的过程中,接收到用户通过所述触摸
显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作后,获取所述滑动操作相关的数据,所述数据包括所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标、所述滑动操作的滑动方向和滑动距离,所述第一区域为所述当前播放界面上能接收用户的滑动操作的区域中除显示播放进度条的区域外的区域;
根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,所述垂直坐标的大小决定调整速度的大小,所述调整速度为每滑动单位距离所对应的对多媒体文件播放进度进行进度控制的的进度调整值;
根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,其中,若所述滑动操作的滑动方向向左,则确定对所述多媒体文件进行快退的进度控制;若所述滑动操作的滑动方向向右,则确定对所述多媒体文件进行快进的进度控制;
根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制。
结合第二方面,在第二方面的第一种可能的实现方式中,所述第一区域在垂直方向上,按照预设规则分为至少两个区间,每个区间内的垂直坐标在一个预设阈值范围内,每个区间对应一个调整速度,且在垂直方向上随着垂直左边的大小的变换,各个区间所对应的调整速度逐渐增大或逐渐减小;
所述处理器用于根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度具体为:
所述处理器用于当所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标落在所述至少两个区间中的第一区间内时,确定所述第一区间所对应的调整速度。
结合第二方面第一种可能的实现方式,在第二种可能的实现方式中,所述触摸显示屏还用于:当接收到用户在当前播放界面上的操作时,在至少两个所述区间内提示该区间所对应的调整速度。
结合第二方面,或者第二方面第一种可能的实现方式,在第三种可能的实现方式中,所述第一区域在垂直方向上,按照预设规则分为至少两个区间具体为:
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的剩余时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长和剩余时长来进行区间的划分。
与现有技术相比,本发明实施例具有如下有益效果:
本发明实施例提供的方法及终端,通过接收用户通过触摸显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作,根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制,利用了触摸显示屏屏幕的两个维度:水平维度和垂直维度,在利用了屏幕的宽度的基础上,进一步将屏幕的高度加以利用,用户在触摸显示屏上的操作的垂直坐标的大小决定调整速度的大小,用户在不同的屏幕高度处的操作即对应不同的调整速度,用户可以根据实际需求,在某一屏幕高度处进行简单的滑动操作,即可方便灵活地选择调整速度,方便用户更好地实现对多媒体文件的播放进度的精确控制。
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中需要使用的附图作简要的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一种用于控制多媒体文件播放进度的方法流程图;
图2为本发明实施例又一种用于控制多媒体文件播放进度的终端结构示意图;
图3为本发明实施例一种用于控制多媒体文件播放进度的方法中终端屏幕上显示的内容的界面示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和
B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
如图1所示,在本发明提供的一种用于控制多媒体文件播放进度的方法的一个实施例中,所述方法可以包括以下步骤:
S100、终端在播放多媒体文件的过程中,接收用户通过触摸显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作。
所述第一区域为所述当前播放界面上能接收用户的滑动操作的区域中除显示播放进度条的区域外的区域。
S110、获取所述滑动操作相关的数据,所述数据包括所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标、所述滑动操作的滑动方向和滑动距离;
S120、根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,所述垂直坐标的大小决定调整速度的大小,所述调整速度为每滑动单位距离所对应的对多媒体文件播放进度进行进度控制的的进度调整值;
S130、根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,其中,若所述滑动操作的滑动方向向左,则确定对所述多媒体文件进行快退的进度控制;若所述滑动操作的滑动方向向右,则确定对所述多媒体文件进行快进的进度控制;
S140、根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制。
本发明实施例提供的方法,通过接收用户通过触摸显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作,根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制,利用了触摸显示屏屏幕的两个维度:水平维度和垂直维度,在利用了屏幕的宽度的基础上,进一步将屏幕的高度加以利用,用户在触摸显示屏上的操作的垂直坐标的大小决定调整速度的大小,用户在不同的屏幕高度处的操作即对应不同的调整速度,用户可以根据实际需求,在某一屏幕高度处进行简单的滑动操作,即可方便灵活地选择调整速度,方便用户更好地实现对多媒体文件的播放进度的精确控制。
在本发明提供的方法的另一个实施例中,所述第一区域在垂直方向上,按照预设规则分为至少两个区间,每个区间内的垂直坐标在一个预设阈值范围内,每个区间对应一个调整速度,且在垂直方向上随着垂直左边的大
小的变换,各个区间所对应的调整速度逐渐增大或逐渐减小;
所述根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度具体为:
当所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标落在所述至少两个区间中的第一区间内时,确定所述第一区间所对应的调整速度。
进一步地,所述方法还可以包括:当接收到用户在当前播放界面上的操作时,在至少两个所述区间内提示该区间所对应的调整速度。
如可以如图3所示,可选地,当接收到用户在当前播放界面(如在第一区域)上的操作时,可以在当前播放界面上的各个区间内显示该区间所对应的调整速度,以提示用户,用户可以根据该提示,选择在合适的区间进行滑动操作来对播放的多媒体文件进行进度控制。
进一步地,所述第一区域在垂直方向上,按照预设规则分为至少两个区间具体为:
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的剩余时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长和剩余时长来进行区间的划分。
其中,在进行区间划分时,可以利用当前播放的所述多媒体文件的剩余时长,可以利用剩余时长这个信息来动态地对区间进行划分,即,对应不同的剩余时长提供的供用户操作的区间可以不同,如区间数目的不同,区间间距的不同,各区间对应的调整速度的不同等等,能基于实际播放情况触发,为用户提供更便于进行播放进度控制的可操作的区间,提高了方案的灵活性和用户的体验。
现有技术中,用户可以通过拖动播放进度条来进行多媒体文件(如,视频)的播放进度的控制,当视频较长时,每拖动很小的距离,播放进度就会发生较大的变动,这使得对视频进行精确定位或者少量快进/快退显得尤为困难。现今每部电影视频的时长大都在100分钟以上,较长的可达3个小时以上。
以100分钟时长的电影为例,6寸屏幕的手机横屏进度条长度约为100mm,这样每毫米就对应1分钟的视频。低于10mm的拖动距离对于用户来讲是难以完成的,略微的拖动可能就超过了10分钟。这给精确定位带来了相当大的问题,也给用户使用带来了极大的不便。
本发明实施例提供的方法可以使用户通过在音视频播放界面上不同的垂直位置上左右滑动实现更为精确的随心定位。用户想要对视频播放进度进行微调,只需在靠近播放进度条的区域左右滑动;要想对视频播放进度
进行较大幅度调整,只需在离进度条稍远的区域左右滑动即可。
下面以一个具体的界面示意图为例,来对本发明实施例提供的用于控制多媒体文件播放进度的方法进行说明。
如图3所示,示意性地显示了终端在播放视频的过程中,在终端的触摸显示屏上显示的界面内容,为了便于理解,在图3中还显示了用户在触摸显示屏上的滑动操作的示意等(如图3中的箭头)。界面的最上方为状态栏,该区域用户一般不可操作;界面的底部为显示播放进度条的区域,显示播放进度条的区域除了显示播放进度条,一般还会显示上一个、下一个、暂停等按钮。供用户操作的区域为中间部分的视频播放区域(对应前述的第一区域)。
图3把第一区域划分为6个等高的矩形区域(或区间),每个区域对应的精度不同:左右滑动时,若滑动操作的垂直坐标位于最下方区域,则每滑动1cm对应视屏快进/快退1秒,下方第二个区域为5秒,第三个为10秒,直到最上方为5min/cm,精度越来越粗。
操作者通过触摸屏幕,形成一个基准点(图3中所示的灰色实心圆点),此时视频可以暂停播放。然后以该基准点为起点,向左滑动(如图3中的箭头方向所示)。由于实心原点所在的区域为”1sec per centimeter”,即每左滑1厘米,视频快退1秒。所以当用户进行滑动操作时,视频会以非常精细的进度快退。
对于6寸左右的大屏手机来说,以中间为起点屏幕的可操作区域的左右宽度约为6cm,所以可以对视频实现6秒以内的精确定位。若用户需要对视频进行稍大的进度变更,底部第二格可以实现半分钟内的精确定位,第三格可以实现约1分种内的定位,直到最上方一格可以实现半小时内的定位。
在实际使用过程中,可以允许用户跨区域滑动。例如本来在第四个区域半分钟精度的,调整到某个地方快要定位到时,用户可以向下滑动到第一个区域,此时就变成了1秒精度。区域的组合可以帮助用户实现长时间跨度下的精确定位。用户可以在屏幕上连续滑动,滑动过程中手指不离开屏幕;或者,也可以不连续滑动,而是分别在多个区域进行滑动,组合使用不同精度来进行进度控制。
本发明实施例还提供了一种用于控制多媒体文件播放进度的终端,如图2所示为本发明提供的终端的一个实施例,在该实施例中,所述终端包括触摸显示屏200和处理器210(可以有一个或多个功能相同或相似或不同的处理器,本发明中仅以一个为例),所述终端还可以包括存储器220、外设接口230、收发器240、电源250等部件,其中:
触摸显示屏200,用于显示在所述终端上播放的多媒体文件的内容;
处理器210,用于在播放多媒体文件的过程中,接收到用户通过所述触摸显示屏200在当前播放界面上的第一区域内的向左/向右的滑动操作后,获取所述滑动操作相关的数据,所述数据包括所述滑动操作的轨迹在所述
触摸显示屏上的垂直坐标、所述滑动操作的滑动方向和滑动距离,所述第一区域为所述当前播放界面上能接收用户的滑动操作的区域中除显示播放进度条的区域外的区域;
根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,所述垂直坐标的大小决定调整速度的大小,所述调整速度为每滑动单位距离所对应的对多媒体文件播放进度进行进度控制的的进度调整值;
根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,其中,若所述滑动操作的滑动方向向左,则确定对所述多媒体文件进行快退的进度控制;若所述滑动操作的滑动方向向右,则确定对所述多媒体文件进行快进的进度控制;
根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制。
触摸显示屏200可以用于实现用户与终端的交互和/或信息输入到终端中。例如,触摸显示屏200可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。触摸显示屏,也可以称为触控面板、触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指、触笔等任何适合的物体或附件在触摸显示屏上或接近触摸显示屏的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可选的,触摸显示屏可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸操作,并将检测到的触摸操作转换为电信号,以及将所述电信号传送给触摸控制器;触摸控制器从触摸检测装置上接收所述电信号,并将它转换成触点坐标,再送给终端的处理器。所述触摸控制器还可以接收处理器发来的命令并执行。此外,触摸显示屏可以为电阻式、电容式、红外线(Infrared)或表面声波等类型。
处理器210为终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器220内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行终端的各种功能和/或处理数据。所述处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是GPU、数字信号处理器(Digital Signal Processor,简称DSP)、及收发器240中的控制芯片(例如基带芯片)的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
所述收发器240用于建立通信信道,使所述终端通过所述通信信道连接到另一终端。所述收发器可以包括无线局域网(Wireless Local Area Network,简称wireless LAN)模块、蓝牙模块、基带(Base Band)模块等通信模块,
以及所述通信模块对应的射频(Radio Frequency,简称RF)电路,用于进行无线局域网络通信、蓝牙通信、红外线通信及/或蜂窝式通信***通信,例如宽带码分多重接入(Wideband Code Division Multiple Access,简称W-CDMA)及/或高速下行封包存取(High Speed Downlink Packet Access,简称HSDPA)。所述通信模块用于控制终端中的各组件的通信,并且可以支持直接内存存取(Direct Memory Access)。
在本发明的不同实施方式中,所述收发器中的各种通信模块一般以集成电路芯片(Integrated Circuit Chip)的形式出现,并可进行选择性组合,而不必包括所有通信模块及对应的天线组。例如,所述收发器可以仅包括基带芯片、射频芯片以及相应的天线以在一个蜂窝通信***中提供通信功能。经由所述收发器建立的无线通信连接,例如无线局域网接入或WCDMA接入,所述终端可以连接至蜂窝网(Cellular Network)或因特网(Internet)。在本发明的一些可选实施方式中,所述收发器中的通信模块,例如基带模块可以集成到处理器中。
存储器220可用于存储软件程序以及模块,处理器210通过运行存储在存储器的软件程序以及模块,从而执行终端的各种功能应用以及实现数据处理。存储器主要包括程序存储区和数据存储区,其中,程序存储区可存储操作***、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。非易失存储器储存处理器所执行的操作***及应用程序。所述处理器从所述非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。所述操作***包括用于控制和管理常规***任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。在本发明实施方式中,所述操作***可以是Google公司的Android***、Apple公司开发的iOS***或Microsoft公司开发的Windows操作***等,或者是Vxworks这类的嵌入式操作***。
所述应用程序可以包括安装在终端上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、虚拟键盘、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位***提供的功能)、音乐播放等等。
电源250用于给终端的不同部件进行供电以维持其运行。作为一般性理解,所述电源可以是内置的电池,例如常见的锂离子电池、镍氢电池等,
也包括直接向终端供电的外接电源,例如电源适配器等。在本发明的一些实施方式中,所述电源还可以作更为广泛的定义,例如还可以包括电源管理***、充电***、电源故障检测电路、电源转换器或逆变器、电源状态指示器(如发光二极管),以及与终端的电能生成、管理及分布相关联的其他任何组件。
外设接口230可以包括USB接口、耳机接口等,可以将所述终端与外部设备进行有线连接,进而进行数据传输。
本发明实施例提供的终端,通过接收用户通过触摸显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作,根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制,利用了触摸显示屏屏幕的两个维度:水平维度和垂直维度,在利用了屏幕的宽度的基础上,进一步将屏幕的高度加以利用,用户在触摸显示屏上的操作的垂直坐标的大小决定调整速度的大小,用户在不同的屏幕高度处的操作即对应不同的调整速度,用户可以根据实际需求,在某一屏幕高度处进行简单的滑动操作,即可方便灵活地选择调整速度,方便用户更好地实现对多媒体文件的播放进度的精确控制。
在本发明提供的终端的一个实施例中,所述第一区域在垂直方向上,按照预设规则分为至少两个区间,每个区间内的垂直坐标在一个预设阈值范围内,每个区间对应一个调整速度,且在垂直方向上随着垂直左边的大小的变换,各个区间所对应的调整速度逐渐增大或逐渐减小;
所述处理器用于根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度具体为:
所述处理器用于当所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标落在所述至少两个区间中的第一区间内时,确定所述第一区间所对应的调整速度。
进一步地,在本发明提供的终端的另一个实施例中,所述触摸显示屏还用于:当接收到用户在当前播放界面上的操作时,在至少两个所述区间内提示该区间所对应的调整速度。
在本发明提供的终端的另一个实施例中,所述所述第一区域在垂直方向上,按照预设规则分为至少两个区间具体为:
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的剩余时长来进行区间的划分;或,
所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长和剩余时长来进行区间的划分。
在该实施例中,所述区间的划分可以由所述处理器210来执行。
本发明实施例提供的终端可以用于实现前述各方法实施例所提供的方
法。
还需要说明的是,在本文中,诸如第一、第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关硬件来完成,所述的程序可以存储于一终端的可读存储介质中,该程序在执行时,包括上述全部或部分步骤,所述的存储介质,如:FLASH、EEPROM等。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,不同的实施例可以进行组合,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何组合、修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (8)
- 一种用于控制多媒体文件播放进度的方法,其特征在于,所述方法包括:终端在播放多媒体文件的过程中,接收用户通过触摸显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作,所述第一区域为所述当前播放界面上能接收用户的滑动操作的区域中除显示播放进度条的区域外的区域;获取所述滑动操作相关的数据,所述数据包括所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标、所述滑动操作的滑动方向和滑动距离;根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,所述垂直坐标的大小决定调整速度的大小,所述调整速度为每滑动单位距离所对应的对多媒体文件播放进度进行进度控制的的进度调整值;根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,其中,若所述滑动操作的滑动方向向左,则确定对所述多媒体文件进行快退的进度控制;若所述滑动操作的滑动方向向右,则确定对所述多媒体文件进行快进的进度控制;根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制。
- 如权利要求1所述的方法,其特征在于,所述第一区域在垂直方向上,按照预设规则分为至少两个区间,每个区间内的垂直坐标在一个预设阈值范围内,每个区间对应一个调整速度,且在垂直方向上随着垂直左边的大小的变换,各个区间所对应的调整速度逐渐增大或逐渐减小;所述根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度具体为:当所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标落在所述至少两个区间中的第一区间内时,确定所述第一区间所对应的调整速度。
- 如权利要求2所述的方法,其特征在于,所述方法还包括:当接收到用户在当前播放界面上的操作时,在至少两个所述区间内提示该区间所对应的调整速度。
- 如权利要求2或3所述的方法,其特征在于,所述第一区域在垂直方向上,按照预设规则分为至少两个区间具体为:所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长来进行区间的划分;或,所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的剩余时长来进行区间的划分;或,所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长和剩余时长来进行区间的划分。
- 一种用于控制多媒体文件播放进度的终端,其特征在于,所述终端包括:触摸显示屏,用于显示在所述终端上播放的多媒体文件的内容;处理器,用于在播放多媒体文件的过程中,接收到用户通过所述触摸显示屏在当前播放界面上的第一区域内的向左/向右的滑动操作后,获取所述滑动操作相关的数据,所述数据包括所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标、所述滑动操作的滑动方向和滑动距离,所述第一区域为所述当前播放界面上能接收用户的滑动操作的区域中除显示播放进度条的区域外的区域;根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度,所述垂直坐标的大小决定调整速度的大小,所述调整速度为每滑动单位距离所对应的对多媒体文件播放进度进行进度控制的的进度调整值;根据所述滑动方向确定对所述多媒体文件的当前播放进度进行进度控制的方向,其中,若所述滑动操作的滑动方向向左,则确定对所述多媒体文件进行快退的进度控制;若所述滑动操作的滑动方向向右,则确定对所述多媒体文件进行快进的进度控制;根据所述滑动距离和所述垂直坐标所对应的调整速度,确定对所述多媒体文件的当前播放进度进行进度控制的的进度调整值,并根据所述进度调整值在确定的进度控制的方向上对所述多媒体文件的当前播放进度进行进度控制。
- 如权利要求5所述的终端,其特征在于,所述第一区域在垂直方向上,按照预设规则分为至少两个区间,每个区间内的垂直坐标在一个预设阈值范围内,每个区间对应一个调整速度,且在垂直方向上随着垂直左边的大小的变换,各个区间所对应的调整速度逐渐增大或逐渐减小;所述处理器用于根据滑动操作的轨迹在所述触摸显示屏上的垂直坐标与调整速度的对应关系,确定所述垂直坐标所对应的调整速度具体为:所述处理器用于当所述滑动操作的轨迹在所述触摸显示屏上的垂直坐标落在所述至少两个区间中的第一区间内时,确定所述第一区间所对应的调整速度。
- 如权利要求6所述的终端,其特征在于,所述触摸显示屏还用于:当接收到用户在当前播放界面上的操作时,在至少两个所述区间内提示该区间所对应的调整速度。
- 如权利要求5或6所述的终端,其特征在于,所述第一区域在垂直方向上,按照预设规则分为至少两个区间具体为:所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长来进行区间的划分;或,所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的剩余时长来进行区间的划分;或,所述第一区域在垂直方向上,根据当前播放的所述多媒体文件的总时长和剩余时长来进行区间的划分。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/096062 WO2016106750A1 (zh) | 2014-12-31 | 2014-12-31 | 一种用于控制多媒体文件播放进度的方法及终端 |
CN201480084407.5A CN107111436B (zh) | 2014-12-31 | 2014-12-31 | 一种用于控制多媒体文件播放进度的方法及终端 |
EP14909556.4A EP3229124A4 (en) | 2014-12-31 | 2014-12-31 | Method for controlling playing progress of multimedia file and terminal |
US15/639,799 US20170300223A1 (en) | 2014-12-31 | 2017-06-30 | Method and Terminal for Controlling Multimedia File Play Progress |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/096062 WO2016106750A1 (zh) | 2014-12-31 | 2014-12-31 | 一种用于控制多媒体文件播放进度的方法及终端 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/639,799 Continuation US20170300223A1 (en) | 2014-12-31 | 2017-06-30 | Method and Terminal for Controlling Multimedia File Play Progress |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016106750A1 true WO2016106750A1 (zh) | 2016-07-07 |
Family
ID=56284020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/096062 WO2016106750A1 (zh) | 2014-12-31 | 2014-12-31 | 一种用于控制多媒体文件播放进度的方法及终端 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20170300223A1 (zh) |
EP (1) | EP3229124A4 (zh) |
CN (1) | CN107111436B (zh) |
WO (1) | WO2016106750A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748641A (zh) * | 2017-11-01 | 2018-03-02 | 网易(杭州)网络有限公司 | 数值调节控制方法、装置、电子设备及存储介质 |
CN110240028A (zh) * | 2019-07-17 | 2019-09-17 | 广东卓梅尼技术股份有限公司 | 电梯远程调速方法及装置 |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984090A (zh) * | 2018-06-27 | 2018-12-11 | Oppo广东移动通信有限公司 | 触控操作方法、装置、存储介质及电子设备 |
CN112306338A (zh) * | 2019-09-04 | 2021-02-02 | 北京字节跳动网络技术有限公司 | 一种视频退出方法、装置和电子设备 |
CN112104915B (zh) * | 2020-09-14 | 2022-08-26 | 腾讯科技(深圳)有限公司 | 一种视频数据处理方法、装置及存储介质 |
CN114630166A (zh) * | 2022-03-03 | 2022-06-14 | 浙江大华技术股份有限公司 | 一种播放控制方法、装置、设备及介质 |
CN115027386B (zh) * | 2022-04-29 | 2023-08-22 | 北京龙腾佳讯科技股份公司 | 基于汽车云栈的车载服务控制方法、***、装置及介质 |
CN116389783B (zh) * | 2023-06-05 | 2023-08-11 | 四川农业大学 | 基于无人机的直播联动控制方法、***、终端及介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103262007A (zh) * | 2010-12-14 | 2013-08-21 | 三星电子株式会社 | 用于使用时间轴条控制触摸屏的方法和设备,具有在其中记录的用于所述方法和设备的程序的记录介质和具有所述方法和设备的用户终端 |
US20130246948A1 (en) * | 2012-03-16 | 2013-09-19 | Lenovo (Beijing) Co., Ltd. | Control method and control device |
CN103513913A (zh) * | 2012-11-27 | 2014-01-15 | Tcl集团股份有限公司 | 一种触屏设备及其媒体播放进度的控制方法 |
CN103558969A (zh) * | 2013-10-28 | 2014-02-05 | 华为技术有限公司 | 一种调节播放的方法及装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130067332A1 (en) * | 2011-09-12 | 2013-03-14 | Microsoft Corporation | Media seek bar |
WO2013169851A2 (en) * | 2012-05-09 | 2013-11-14 | Yknots Industries Llc | Device, method, and graphical user interface for facilitating user interaction with controls in a user interface |
CN103076985B (zh) * | 2013-01-31 | 2016-03-02 | 北京魔力时间科技有限公司 | 基于触屏精确操控和显示视频播放进度装置及使用方法 |
CN104090705A (zh) * | 2014-07-28 | 2014-10-08 | 联想(北京)有限公司 | 进度调节方法和电子设备 |
-
2014
- 2014-12-31 EP EP14909556.4A patent/EP3229124A4/en not_active Ceased
- 2014-12-31 WO PCT/CN2014/096062 patent/WO2016106750A1/zh active Application Filing
- 2014-12-31 CN CN201480084407.5A patent/CN107111436B/zh active Active
-
2017
- 2017-06-30 US US15/639,799 patent/US20170300223A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103262007A (zh) * | 2010-12-14 | 2013-08-21 | 三星电子株式会社 | 用于使用时间轴条控制触摸屏的方法和设备,具有在其中记录的用于所述方法和设备的程序的记录介质和具有所述方法和设备的用户终端 |
US20130246948A1 (en) * | 2012-03-16 | 2013-09-19 | Lenovo (Beijing) Co., Ltd. | Control method and control device |
CN103513913A (zh) * | 2012-11-27 | 2014-01-15 | Tcl集团股份有限公司 | 一种触屏设备及其媒体播放进度的控制方法 |
CN103558969A (zh) * | 2013-10-28 | 2014-02-05 | 华为技术有限公司 | 一种调节播放的方法及装置 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748641A (zh) * | 2017-11-01 | 2018-03-02 | 网易(杭州)网络有限公司 | 数值调节控制方法、装置、电子设备及存储介质 |
CN110240028A (zh) * | 2019-07-17 | 2019-09-17 | 广东卓梅尼技术股份有限公司 | 电梯远程调速方法及装置 |
CN110240028B (zh) * | 2019-07-17 | 2021-05-25 | 广东卓梅尼技术股份有限公司 | 电梯远程调速方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
US20170300223A1 (en) | 2017-10-19 |
CN107111436B (zh) | 2020-04-21 |
CN107111436A (zh) | 2017-08-29 |
EP3229124A1 (en) | 2017-10-11 |
EP3229124A4 (en) | 2017-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016106750A1 (zh) | 一种用于控制多媒体文件播放进度的方法及终端 | |
US11301126B2 (en) | Icon control method and terminal | |
CN105677305B (zh) | 图标管理的方法、装置及终端 | |
KR102113683B1 (ko) | 문지르기 제스처를 검출하여 미리보기를 제공하는 모바일 장치 및 그 제어 방법 | |
US9081491B2 (en) | Controlling and editing media files with touch gestures over a media viewing area using a touch sensitive device | |
KR102141155B1 (ko) | 모바일 장치의 상태에 대응하는 변경된 숏컷 아이콘을 제공하는 모바일 장치 및 그 제어 방법 | |
US9967386B2 (en) | Mobile device connected with external input device and control method thereof | |
EP2565752A2 (en) | Method of providing a user interface in portable terminal and apparatus thereof | |
EP1956601A2 (en) | Method and terminal for playing and displaying music | |
WO2017113379A1 (zh) | 一种用户界面的菜单显示方法及手持终端 | |
US20130241829A1 (en) | User interface method of touch screen terminal and apparatus therefor | |
EP2891941A1 (en) | Convertible device and method of controlling therefor | |
KR102307215B1 (ko) | 데이터 처리 방법 및 전자 디바이스 | |
KR20150007760A (ko) | 수신 데이터를 이용하여 어플리케이션을 운영하는 전자 장치 | |
CN103544973A (zh) | 一种音乐播放器的歌曲控制方法和装置 | |
US20140281962A1 (en) | Mobile device of executing action in display unchecking mode and method of controlling the same | |
WO2017032080A1 (zh) | 一种通讯录控制方法、装置及移动终端 | |
KR20150006236A (ko) | 테더링 분배 장치, 그 제어 방법 및 중앙 중계기 | |
EP2955616A1 (en) | Electronic device and method of editing icon in electronic device | |
EP2775385B1 (en) | Mobile apparatus having function of pre-action on object and control method thereof | |
KR102115727B1 (ko) | 하이브리드 위젯을 제공하는 모바일 장치 및 그 제어 방법 | |
KR102185204B1 (ko) | 적외선을 이용한 센서 장치를 갖는 전자 장치 및 그 동작 방법 | |
US20150102670A1 (en) | Method for operating booting and electronic device thereof | |
KR102187009B1 (ko) | 테더링 분배 장치, 그 제어 방법 및 중앙 중계기 | |
KR20200136872A (ko) | 테더링 분배 장치, 그 제어 방법 및 중앙 중계기 |
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: 14909556 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2014909556 Country of ref document: EP |