CN107124656B - Multimedia file playing method and mobile terminal - Google Patents

Multimedia file playing method and mobile terminal Download PDF

Info

Publication number
CN107124656B
CN107124656B CN201710270979.8A CN201710270979A CN107124656B CN 107124656 B CN107124656 B CN 107124656B CN 201710270979 A CN201710270979 A CN 201710270979A CN 107124656 B CN107124656 B CN 107124656B
Authority
CN
China
Prior art keywords
playing
progress bar
determining
multimedia file
determination instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710270979.8A
Other languages
Chinese (zh)
Other versions
CN107124656A (en
Inventor
白鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710270979.8A priority Critical patent/CN107124656B/en
Publication of CN107124656A publication Critical patent/CN107124656A/en
Application granted granted Critical
Publication of CN107124656B publication Critical patent/CN107124656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

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

Abstract

The invention relates to the technical field of communication, and provides a multimedia file playing method and a mobile terminal, which aim to solve the problem that the multimedia file playing mode of the mobile terminal is single. The method comprises the following steps: receiving a first position determination instruction and a second position determination instruction when the mobile terminal is used for playing the multimedia file; determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction; determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file; and playing the multimedia file segment between the first time and the second time. Therefore, the user can select the multimedia file segment to be played by operating on the playing progress bar, the playing mode of the multimedia file is diversified, and the user experience can be improved.

Description

Multimedia file playing method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a multimedia file playing method and a mobile terminal.
Background
With the rapid development of mobile terminals, the functions of the mobile terminals are gradually enriched. The user can not only use the mobile terminal to perform social contact and photographing, but also use the mobile terminal to play multimedia files. When a user uses a mobile terminal to play a multimedia file, if a part of a segment in the multimedia file needs to be played again, the user needs to operate the mobile terminal to play the file again so as to obtain the part of the segment in the file, or needs to obtain the part of the segment in the multimedia file by means of professional clipping software.
Therefore, the multimedia playing mode of the existing mobile terminal is single, and the requirements of users are difficult to meet.
Disclosure of Invention
The embodiment of the invention provides a multimedia file playing method and a mobile terminal, and aims to solve the problem that the multimedia file playing mode of the mobile terminal is single.
In a first aspect, an embodiment of the present invention provides a method for playing a multimedia file, including:
receiving a first position determination instruction and a second position determination instruction when the mobile terminal is used for playing a multimedia file; the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar;
determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction;
determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file;
and playing the multimedia file segment between the first time and the second time.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the first receiving module is used for receiving a first position determination instruction and a second position determination instruction when the mobile terminal is used for playing the multimedia file; the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar;
a first determining module, configured to determine a first position in the playing progress bar according to the first position determination instruction received by the first receiving module, and determine a second position in the playing progress bar according to the second position determination instruction received by the first receiving module;
a second determining module, configured to determine that the first position determined by the first determining module corresponds to a first time of playing the multimedia file, and that the second position determined by the first determining module corresponds to a second time of playing the multimedia file;
and the playing module is used for playing the multimedia file segment between the first moment determined by the second determining module and the second moment determined by the second determining module.
In the method for playing a multimedia file according to the embodiment of the present invention, when the multimedia file is played by using the mobile terminal, a first position determination instruction and a second position determination instruction are received, where the first position determination instruction and the second position determination instruction are triggered by a preset operation of a user on a play progress bar; determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction; determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file; and playing the multimedia file segment between the first time and the second time. Therefore, the user can select the multimedia file segment to be played by operating on the playing progress bar, the playing mode of the multimedia file is diversified, and the user experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for playing a multimedia file according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for playing a multimedia file according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a third schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a fourth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a fifth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a sixth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 9 is a seventh schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 10 is an eighth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 11 is a ninth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 12 is a tenth schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a playing method of a multimedia file according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, when a multimedia file is played by using a mobile terminal, receiving a first position determination instruction and a second position determination instruction, wherein the first position determination instruction and the second position determination instruction are triggered by a preset operation of a user on a playing progress bar.
In this step, the multimedia file may be a video or audio file. The play progress bar may be an icon for displaying the play progress of the multimedia file on the screen of the mobile terminal in real time when the multimedia file is played. When the mobile terminal plays a multimedia file and displays a play progress bar on a screen, a user may perform a first operation and a second operation, for example, a sliding operation or a touch operation, on the play progress bar. Accordingly, the mobile terminal may receive a first position determination instruction triggered by a first operation of the user and receive a second position determination instruction triggered by a second operation of the user.
This embodiment can be used in the following scenarios: and when the mobile terminal plays music, displaying a playing progress bar on the mobile terminal. The user uses two fingers to perform touch operation on the playing progress bar at the same time, or when the first finger performs touch operation on the playing progress bar and does not leave, the second finger performs touch operation on the playing progress bar, so that the mobile terminal can detect two operation points on the playing progress bar, and a first position determination instruction and a second position determination instruction can be sent according to the positions of the two operation points. The first operation may be performed simultaneously with the second operation, or may not be performed simultaneously with the second operation.
And 102, determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction.
In this step, the first position may be determined according to a position of the operation point of the first operation of the user in the play progress bar, and the second position may be determined according to a position of the operation point of the second operation of the user in the play progress bar.
Step 103, determining that the first position corresponds to a first time of playing the multimedia file, and the second position corresponds to a second time of playing the multimedia file.
In this step, the starting point of the playing progress bar may correspond to the starting time of the playing of the multimedia file, the ending point of the playing progress bar may correspond to the ending time of the playing of the multimedia file, and the positions on the playing progress bar may correspond to the playing time of the multimedia file one to one. In this way, a first time at which the multimedia file corresponding to the first position on the play progress bar is played and a second time at which the multimedia file corresponding to the second position on the play progress bar is played can be determined.
And 104, playing the multimedia file segment between the first time and the second time.
The multimedia file segment between the first time and the second time may be a multimedia file segment between the first time and the second time, wherein the first time is a play start time, and the second time is a play end time. The multimedia file segment may include content of a multimedia file corresponding to a first time and content of a multimedia file corresponding to a second time. In this step, the multimedia file segment can be played repeatedly.
In the embodiment of the present invention, the method for playing a multimedia file may be applied to a mobile terminal, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The playing method of the multimedia file in the embodiment of the invention receives a first position determination instruction and a second position determination instruction when the mobile terminal is used for playing the multimedia file, wherein the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar; determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction; determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file; and playing the multimedia file segment between the first time and the second time. Therefore, the user can select the multimedia file segment to be played by operating on the playing progress bar, the playing mode of the multimedia file is diversified, and the user experience can be improved.
Referring to fig. 2, the present embodiment is mainly different from the above in that the preset operation point operated by the user is taken as the first position and the second position of the play progress bar. Fig. 2 is a flowchart of a playing method of a multimedia file according to an embodiment of the present invention, as shown in fig. 2, including the following steps:
step 201, when a multimedia file is played by using a mobile terminal, receiving a first position determination instruction triggered by a user through a first operation on a playing progress bar, and receiving a second position determination instruction triggered by the user through a second operation on the playing progress bar.
In this step, the multimedia file may be a video or audio file. The play progress bar may be an icon for displaying the play progress of the multimedia file on the screen of the mobile terminal in real time when the multimedia file is played. When the mobile terminal plays the multimedia file and displays the play progress bar on the screen, the user can perform a first operation and a second operation on the play progress bar, for example, a sliding operation or a touch operation, and the like, and the mobile terminal can receive a first position determination instruction triggered by the first operation of the user and a second position determination instruction triggered by the second operation of the user. The first operation may be performed simultaneously with the second operation, or may not be performed simultaneously, but the mobile terminal may detect the first operation and the second operation at the same time at least at a certain time.
This embodiment can be used in the following scenarios: and when the mobile terminal plays music, displaying a playing progress bar on the mobile terminal. The user uses two fingers to perform touch operation on the playing progress bar at the same time, or when the first finger performs touch operation on the playing progress bar and does not leave, the second finger performs touch operation on the playing progress bar, so that the mobile terminal can detect two operation points on the playing progress bar, and a first position determination instruction and a second position determination instruction can be sent according to the positions of the two operation points.
Step 202, according to the first position determination instruction, determining the position of the preset operation point of the first operation in the playing progress bar as the first position.
In this step, the first operation includes a first slide operation and a first touch operation; determining the position of a sliding end point of the first sliding operation in the playing progress bar according to the first position determination instruction; amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point; determining the position of a touch point corresponding to the first touch operation on the local play progress bar; and determining the position of the touch point corresponding to the first touch operation as a first position.
The first operation may include a sliding operation, a touch operation, and the like, and the position of the preset operation point of the first operation may be a position of a contact point of a finger of the user and the play progress bar on the play progress bar in a process of the sliding operation or the touch operation of the user on the play progress bar. For example, when the user performs a slide operation on the play progress bar, the position of the slide end point of the slide operation may be taken as the position of the preset operation point.
Specifically, when the user performs a sliding operation on the play progress bar to adjust the position of the operation point, the mobile terminal may acquire a sliding end point of the sliding operation and acquire a position of the sliding end point on the play progress bar. The mobile terminal can enlarge and display the local playing progress bar corresponding to the position, and therefore a user can perform touch operation on the enlarged and displayed playing progress bar, and the position needing to be selected can be adjusted more accurately. When the user performs a touch operation on the enlarged partial play progress bar, the mobile terminal may acquire a touch end point of the touch operation, and may determine the touch end point as a first position.
In addition, the first operation may only include a sliding operation or a touch operation, and when the first operation is a sliding operation, the position of the sliding end point of the sliding operation may be used as the position of the preset operation point of the first operation; when the first operation is a touch operation, a position of a touch end point of the touch operation may be taken as a position of a preset operation point of the first operation.
This step can be applied to the following scenarios: and when the mobile terminal plays music, displaying a playing progress bar on the mobile terminal. The user uses two fingers to touch the playing progress bar of the mobile terminal at the same time, and at the moment, the user can slide the two fingers to adjust the position to be selected. Take the example of a first finger sliding while the other finger is stationary. When the first finger of the user slides to the position A, the finger leaves the playing progress bar, and at the moment, an enlarged image of the local playing progress bar corresponding to the position A is displayed on the playing progress bar. The user continues to perform a touch operation on the enlarged view of the partial play progress bar using the finger, and selects the position B. At this time, the B position may be a position to be determined.
Therefore, the local playing progress bar is displayed in an amplifying mode at the sliding end point, the touch operation end point on the local playing progress bar displayed in the amplifying mode serves as the first position, the selection accuracy can be improved, the position needing to be selected can be adjusted by a user according to needs, and the flexibility of operation is good.
Optionally, after the step of determining the position of the touch point corresponding to the first touch operation as the first position, the method for playing the multimedia file further includes:
and displaying the characters and/or pictures when the multimedia file is played to the first position of the playing progress bar.
In this embodiment, when the user performs a touch operation on the enlarged view of the partial play progress bar, the mobile terminal may obtain a position of an end point of the touch operation on the play progress bar, and may obtain a play content of the multimedia play file corresponding to the position on the play progress bar. For example, when a video is played, a picture of a video file corresponding to the position on the playing progress bar may be displayed; for another example, when playing music, the picture and lyrics of the music file corresponding to the position on the playing progress bar may be displayed. In this way, the user can more accurately determine the start position and/or the end position to be selected according to the displayed content.
And step 203, determining the position of the preset operation point of the second operation as the second position in the playing progress bar according to the second position determination instruction.
In this step, the second operation includes a second slide operation and a second touch operation; determining the position of a sliding end point of the second sliding operation in the playing progress bar according to the second position determination instruction; amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point; determining the position of a touch point corresponding to the second touch operation in the local play progress bar; and determining the position of the touch point corresponding to the second touch operation as a second position.
The second operation may include a sliding operation, a touch operation, and the like, and the position of the preset operation point of the second operation may be a position of a contact point of a finger of the user and the play progress bar on the play progress bar in a process of the sliding operation or the touch operation of the user on the play progress bar. For example, when the user performs a slide operation on the play progress bar, the position of the slide end point of the slide operation may be taken as the position of the preset operation point.
Specifically, when the user performs a sliding operation on the play progress bar to adjust the position of the operation point, the mobile terminal may acquire a sliding end point of the sliding operation and acquire a position of the sliding end point on the play progress bar. The mobile terminal can enlarge and display the local playing progress bar corresponding to the position, and therefore a user can perform touch operation on the enlarged and displayed playing progress bar, and the position needing to be selected can be adjusted more accurately. When the user performs a touch operation on the enlarged partial play progress bar, the mobile terminal may acquire a touch end point of the touch operation, and may determine the touch end point as a second position.
In addition, the second operation may only include a sliding operation or a touch operation, and when the second operation is a sliding operation, the position of the sliding end point of the sliding operation may be used as the position of the preset operation point of the second operation; when the second operation is a touch operation, a position of a touch end point of the touch operation may be taken as a position of a preset operation point of the second operation.
This step may be applied to the same scenario as step 202, so that the local play progress bar is displayed in an enlarged manner at the sliding end point, and the touch operation end point on the enlarged and displayed local play progress bar is used as the second position, which may improve the accuracy of selection, and the user may adjust the position to be selected as needed, which may provide better flexibility of operation.
In addition, after the position of the touch point corresponding to the second touch operation is determined as the second position, the text and/or the picture when the multimedia file is played to the second position of the play progress bar may be displayed, and the specific implementation manner may be the same as that described in step 202, and is not described herein again.
Optionally, after the step of determining the first position in the playing progress bar according to the first position determination instruction and determining the second position in the playing progress bar according to the second position determination instruction, the method for playing the multimedia file further includes:
and enhancing the display of the part between the first position and the second position of the progress bar.
In this embodiment, a portion between the first position and the second position may be displayed with a color distinguished from other portions on the play progress bar. For example, a portion between the first position and the second position of the play progress bar is displayed with a vivid color, and the other portion displays a shadow. In this way, the user can view the portion of the progress play bar corresponding to the selected position, so that adjustment can be performed as required.
It should be noted that this embodiment can also be applied to the embodiment corresponding to fig. 1, and the specific embodiment is the same as described above, and is not described herein again.
Step 204, it is determined that the first position corresponds to a first time of playing the multimedia file, and the second position corresponds to a second time of playing the multimedia file.
In this step, the starting point of the playing progress bar may correspond to the starting time of the playing of the multimedia file, the ending point of the playing progress bar may correspond to the ending time of the playing of the multimedia file, and the positions on the playing progress bar may correspond to the playing time of the multimedia file one to one. In this way, a first time at which the multimedia file corresponding to the first position on the play progress bar is played and a second time at which the multimedia file corresponding to the second position on the play progress bar is played can be determined.
Step 205, playing the multimedia file segment between the first time and the second time.
The multimedia file segment between the first time and the second time may be a multimedia file segment between the first time and the second time, wherein the first time is a play start time, and the second time is a play end time. The multimedia file segment may include content of a multimedia file corresponding to a first time and content of a multimedia file corresponding to a second time. In this step, the multimedia file segment can be played repeatedly.
Optionally, after the step of playing the multimedia file segment between the first time and the second time, the method for playing the multimedia file further includes:
receiving a playing content switching instruction of a multimedia file;
and playing the multimedia file according to a preset playing mode according to a playing content switching instruction, wherein the preset playing mode comprises any one of random playing, sequential playing and circular playing.
In this embodiment, before receiving the play content switching instruction, the mobile terminal may repeatedly play the selected multimedia file segment until receiving the play content switching instruction. And the mobile terminal plays all contents of the multimedia file according to the received play content switching instruction, and at the moment, the play mode of the multimedia file can be any one of random play, sequential play or single play. Of course, the playing mode of the multimedia file before the multimedia file segment is played may also be obtained, so that after the playing content switching instruction is received, all the contents of the multimedia file may be played according to the obtained playing mode of the multimedia file. For example, when the mobile terminal plays music in a random play mode, after receiving an instruction triggered by user operation, the mobile terminal plays a multimedia file segment, and displays an icon corresponding to the segment playing. At this time, the mobile terminal receives a play content switching instruction triggered by the user touching the icon, and the mobile terminal plays all contents of the multimedia file in a random play mode. Of course, the user can adjust the playing mode to other playing modes according to the requirement. Therefore, the user can adjust the playing content according to the requirement, the playing mode is diversified, and the user experience can be improved.
It should be noted that this embodiment can also be applied to the embodiment corresponding to fig. 1, and the specific embodiment is the same as described above, and is not described herein again.
Optionally, after the step of receiving the switching instruction of the playing content of the multimedia file, the playing method of the multimedia file further includes:
acquiring the playing times of the multimedia file segments;
when the playing times reach a preset value, generating a repeated segment from the multimedia file segment;
and adding the repeated segments to the preset target position of the multimedia file.
In this embodiment, the preset value may be a value set by the mobile terminal according to a user selection, and when the number of times of playing the multimedia file segment reaches the preset value, the multimedia file segment may be repeated for the preset number of times to generate a repeated segment. The mobile terminal may add the repeated section to the multimedia file selected by the user according to the user operation. Therefore, the user can integrate and play a plurality of interested multimedia file contents, and the visual and/or auditory experience of the user can be improved.
It should be noted that this embodiment can also be applied to the embodiment corresponding to fig. 1, and the specific embodiment is the same as described above, and is not described herein again.
According to the playing method of the multimedia file, the mobile terminal can adjust the position of the operation point on the playing progress bar according to the operation of the user, so that the content of the multimedia file segment can be adjusted. In this way, the user can more precisely adjust the multimedia file segment to be selected.
Referring to fig. 3, fig. 3 is a block diagram of a mobile terminal provided in the implementation of the present invention, and as shown in fig. 3, the mobile terminal 300 includes: the device comprises a first receiving module 301, a first determining module 302, a second determining module 303 and a playing module 304, wherein the first receiving module 301 is connected with the first determining module 302, the first determining module 302 is connected with the second determining module 303, and the second determining module 303 is connected with the playing module 304.
A first receiving module 301, configured to receive a first position determination instruction and a second position determination instruction when a multimedia file is played using a mobile terminal, where the first position determination instruction and the second position determination instruction are triggered by a preset operation of a user on a play progress bar;
a first determining module 302, configured to determine a first position in the playing progress bar according to the first position determination instruction received by the first receiving module 301, and determine a second position in the playing progress bar according to the second position determination instruction received by the first receiving module 301;
a second determining module 303, configured to determine that the first position determined by the first determining module 302 corresponds to a first time of playing the multimedia file, and the second position determined by the first determining module 302 corresponds to a second time of playing the multimedia file;
a playing module 304, configured to play the multimedia file segment between the first time determined by the second determining module 303 and the second time determined by the second determining module 303.
Optionally, as shown in fig. 4, the first receiving module 301 is specifically configured to receive a first position determination instruction triggered by a user through a first operation on the play progress bar, and receive a second position determination instruction triggered by a second operation on the play progress bar; the first determination module 302 includes:
the first determining submodule 3021 is configured to determine, according to the first position determining instruction, a position of a preset operation point of the first operation in the play progress bar as a first position;
the second determining submodule 3022 is configured to determine, according to the second position determining instruction, the position of the preset operation point of the second operation in the play progress bar as the second position.
Alternatively, as shown in fig. 5, the first operation includes a first slide operation and a first touch operation; the first determination submodule 3021 includes:
a first determining unit 30211 configured to determine a position of a slide end point of the first slide operation in the play progress bar according to the first position determination instruction received by the first receiving module 301;
a first display unit 30212 for displaying the partial play progress bar corresponding to the position of the slide end point determined by the first determination unit 30211 in an enlarged manner;
a second determining unit 30213 configured to determine a position of a touch point corresponding to the first touch operation on the partial play progress bar displayed by the first display unit 30212;
a third determining unit 30214 configured to determine the position of the touch point corresponding to the first touch operation determined by the second determining unit 30213 as the first position.
Alternatively, as shown in fig. 6, the second operation includes a second sliding operation and a second touch operation; the second determination submodule 3022 includes:
a fourth determining unit 30221 configured to determine a position of a slide end point of the second sliding operation in the play progress bar according to the second position determination instruction received by the first receiving module 301;
a second display unit 30222 for displaying the partial play progress bar corresponding to the position of the slide end point determined by the fourth determination unit 30221 in an enlarged manner;
a fifth determining unit 30223 configured to determine a position of a touch point corresponding to the second touch operation within the partial play progress bar displayed by the second display unit 30222;
a sixth determining unit 30224 configured to determine the position of the touch point corresponding to the second touch operation determined by the fifth determining unit 30223 as the second position.
Optionally, as shown in fig. 7, the first determining submodule 3021 further includes:
the third display unit 30215 is configured to display texts and/or pictures when the multimedia file is played to the first position of the play progress bar.
Optionally, as shown in fig. 8, the mobile terminal 300 further includes:
a display module 305 for displaying the portion between the first position and the second position of the progress bar in an enhanced manner.
Optionally, as shown in fig. 9, the mobile terminal further includes:
a second receiving module 306, configured to receive a play content switching instruction for the multimedia file;
a switching module 307, configured to play the multimedia file according to a preset playing mode according to the playing content switching instruction received by the second receiving module 306, where the preset playing mode includes any one of random playing, sequential playing, and circular playing.
Optionally, as shown in fig. 10, the mobile terminal 300 further includes:
an obtaining module 308, configured to obtain the playing times of the multimedia file segments;
a generating module 309, configured to generate a repeated segment from the multimedia file segment when the playing frequency obtained by the obtaining module 308 reaches a preset value;
an adding module 310, configured to add the repeated segment generated by the generating module 309 to a preset target location of the multimedia file.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
The mobile terminal 300 of the embodiment of the present invention receives a first position determination instruction and a second position determination instruction when the mobile terminal is used to play a multimedia file, wherein the first position determination instruction and the second position determination instruction are triggered by a preset operation of a user on a play progress bar; determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction; determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file; and playing the multimedia file segment between the first time and the second time. Therefore, the user can select the multimedia file segment to be played by operating on the playing progress bar, the playing mode of the multimedia file is diversified, and the user experience can be improved.
Referring to fig. 11, fig. 11 is a block diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 11, the mobile terminal 1100 includes: at least one processor 1101, memory 1102, at least one network interface 1104, and a user interface 1103. Various components in mobile terminal 1100 are coupled together by a bus system 1105. It is understood that the bus system 1105 is used to enable communications among the components. The bus system 1105 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 11 as the bus system 1105.
The user interface 1103 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, track ball, touch pad, or touch screen, etc.).
It is to be understood that the memory 1102 in embodiments of the present invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable Programmable ROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous D RAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SD RAM (ESDRAM), Synchronous Link D RAM (SLDRAM), and Direct bus RAM (DRRAM). The memory 1102 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1102 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 11021 and application programs 11022.
The operating system 11021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 11022 contains various applications such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. Programs that implement methods in accordance with embodiments of the invention may be included in application 11022.
In the embodiment of the present invention, the processor 1101 is configured to, by calling a program or an instruction stored in the memory 1102, specifically, a program or an instruction stored in the application 11022:
when a mobile terminal is used for playing a multimedia file, receiving a first position determination instruction and a second position determination instruction, wherein the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar;
determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction;
determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file;
and playing the multimedia file segment between the first time and the second time.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 1101 or by the processor 1101. The processor 1101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 1101. The Processor 1101 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1102, and the processor 1101 reads the information in the memory 1102 and completes the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 1101 is further configured to: receiving a first position determination instruction triggered by a first operation on the playing progress bar by a user and receiving a second position determination instruction triggered by a second operation on the playing progress bar by the user;
determining the position of a preset operation point of the first operation as a first position in the playing progress bar according to the first position determination instruction;
and determining the position of the preset operation point of the second operation as the second position in the playing progress bar according to the second position determination instruction.
Optionally, the processor 1101 is further configured to: determining the position of a sliding end point of the first sliding operation in the playing progress bar according to the first position determination instruction;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the first touch operation on the local play progress bar;
and determining the position of the touch point corresponding to the first touch operation as a first position.
Optionally, the processor 1101 is further configured to: determining the position of a sliding end point of the second sliding operation in the playing progress bar according to the second position determination instruction;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the second touch operation in the local play progress bar;
and determining the position of the touch point corresponding to the second touch operation as a second position.
Optionally, the processor 1101 is further configured to: and displaying the characters and/or pictures when the multimedia file is played to the first position of the playing progress bar.
Optionally, the processor 1101 is further configured to: and enhancing the display of the part between the first position and the second position of the progress bar.
Optionally, the processor 1101 is further configured to: receiving a playing content switching instruction of a multimedia file;
and playing the multimedia file according to a preset playing mode according to a playing content switching instruction, wherein the preset playing mode comprises any one of random playing, sequential playing and circular playing.
Optionally, the processor 1101 is further configured to: acquiring the playing times of the multimedia file segments;
when the playing times reach a preset value, generating a repeated segment from the multimedia file segment;
and adding the repeated segments to the preset target position of the multimedia file.
The mobile terminal 1100 is capable of implementing each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
In the mobile terminal 1100 according to the embodiment of the present invention, when a multimedia file is played using the mobile terminal, a first position determination instruction and a second position determination instruction are received, where the first position determination instruction and the second position determination instruction are triggered by a preset operation of a user on a play progress bar; determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction; determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file; and playing the multimedia file segment between the first time and the second time. Therefore, the user can select the multimedia file segment to be played by operating on the playing progress bar, the playing mode of the multimedia file is diversified, and the user experience can be improved.
Referring to fig. 12, fig. 12 is a block diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 12, the mobile terminal 1200 includes a Radio Frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a processor 1250, an audio circuit 1260, a communication module 1270, and a power supply 1280.
The input unit 1230 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 1200. Specifically, in the embodiment of the present invention, the input unit 1230 may include a touch panel 1231. The touch panel 1231, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on the touch panel 1231 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1231 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1250, and can receive and execute commands sent from the processor 1250. In addition, the touch panel 1231 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1231, the input unit 1230 may also include other input devices 1232, and the other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 1240 may be used to display information input by or provided to the user and various menu interfaces of the mobile terminal 1200. The display unit 1240 may include a display panel 1241, and optionally, the display panel 1241 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED), or the like.
It should be noted that touch panel 1231 may overlay display panel 1241 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to processor 1250 to determine the type of touch event, and then processor 1250 provides a corresponding visual output on the touch display screen according to the type of touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like. The touch screen is a flexible screen, and the two surfaces of the flexible screen are both pasted with the organic transparent conductive films of the carbon nanotubes.
Wherein the processor 1250 is a control center of the mobile terminal 1200, connects the respective parts of the entire handset using various interfaces and lines, performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the first memory 1221 and calling data stored in the second memory 1222, thereby integrally monitoring the mobile terminal 1200. Alternatively, processor 1250 may include one or more processing units.
In the embodiment of the present invention, the processor 1250 is configured to, by calling the software programs and/or modules stored in the first memory 1221 and/or the data stored in the second memory 1222:
when a mobile terminal is used for playing a multimedia file, receiving a first position determination instruction and a second position determination instruction, wherein the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar;
determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction;
determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file;
and playing the multimedia file segment between the first time and the second time.
Optionally, processor 1250 is further configured to: receiving a first position determination instruction triggered by a first operation on the playing progress bar by a user and receiving a second position determination instruction triggered by a second operation on the playing progress bar by the user;
determining the position of a preset operation point of the first operation as a first position in the playing progress bar according to the first position determination instruction;
and determining the position of the preset operation point of the second operation as the second position in the playing progress bar according to the second position determination instruction.
Optionally, processor 1250 is further configured to: determining the position of a sliding end point of the first sliding operation in the playing progress bar according to the first position determination instruction;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the first touch operation on the local play progress bar;
and determining the position of the touch point corresponding to the first touch operation as a first position.
Optionally, processor 1250 is further configured to: determining the position of a sliding end point of the second sliding operation in the playing progress bar according to the second position determination instruction;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the second touch operation in the local play progress bar;
and determining the position of the touch point corresponding to the second touch operation as a second position.
Optionally, processor 1250 is further configured to: and displaying the characters and/or pictures when the multimedia file is played to the first position of the playing progress bar.
Optionally, processor 1250 is further configured to: and enhancing the display of the part between the first position and the second position of the progress bar.
Optionally, processor 1250 is further configured to: receiving a playing content switching instruction of a multimedia file;
and playing the multimedia file according to a preset playing mode according to a playing content switching instruction, wherein the preset playing mode comprises any one of random playing, sequential playing and circular playing.
Optionally, processor 1250 is further configured to: acquiring the playing times of the multimedia file segments;
when the playing times reach a preset value, generating a repeated segment from the multimedia file segment;
and adding the repeated segments to the preset target position of the multimedia file.
The mobile terminal 1200 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
The mobile terminal 1200 of the embodiment of the present invention receives a first position determination instruction and a second position determination instruction when the mobile terminal is used to play a multimedia file, where the first position determination instruction and the second position determination instruction are triggered by a preset operation of a user on a play progress bar; determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction; determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file; and playing the multimedia file segment between the first time and the second time. Therefore, the user can select the multimedia file segment to be played by operating on the playing progress bar, the playing mode of the multimedia file is diversified, and the user experience can be improved.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program (instructions), which when executed by a processor, implement the steps of:
when a mobile terminal is used for playing a multimedia file, receiving a first position determination instruction and a second position determination instruction, wherein the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar;
determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction;
determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file;
and playing the multimedia file segment between the first time and the second time.
Optionally, the step of receiving the first position determination instruction and the second position determination instruction includes:
receiving a first position determination instruction triggered by a first operation on the playing progress bar by a user and receiving a second position determination instruction triggered by a second operation on the playing progress bar by the user;
the step of determining a first position in the playing progress bar according to the first position determination instruction and determining a second position in the playing progress bar according to the second position determination instruction includes:
determining the position of a preset operation point of the first operation as a first position in the playing progress bar according to the first position determination instruction;
and determining the position of the preset operation point of the second operation as the second position in the playing progress bar according to the second position determination instruction.
Optionally, the first operation includes a first sliding operation and a first touch operation; the step of determining the position of the preset operation point of the first operation as the first position in the playing progress bar according to the first position determination instruction comprises the following steps:
determining the position of a sliding end point of the first sliding operation in the playing progress bar according to the first position determination instruction;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the first touch operation on the local play progress bar;
and determining the position of the touch point corresponding to the first touch operation as a first position.
Optionally, the second operation includes a second sliding operation and a second touch operation; according to the second position determination instruction, determining the position of the preset operation point of the second operation as a second position in the playing progress bar, wherein the step comprises the following steps:
determining the position of a sliding end point of the second sliding operation in the playing progress bar according to the second position determination instruction;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the second touch operation in the local play progress bar;
and determining the position of the touch point corresponding to the second touch operation as a second position.
Optionally, after the step of determining the position of the touch point corresponding to the first touch operation as the first position, the method further includes:
and displaying the characters and/or pictures when the multimedia file is played to the first position of the playing progress bar.
Optionally, after the steps of determining the first position in the playing progress bar according to the first position determination instruction and determining the second position in the playing progress bar according to the second position determination instruction, the method further includes:
and enhancing the display of the part between the first position and the second position of the progress bar.
Optionally, after the step of playing the multimedia file segment between the first time and the second time, the method further includes:
receiving a playing content switching instruction of a multimedia file;
and playing the multimedia file according to a preset playing mode according to a playing content switching instruction, wherein the preset playing mode comprises any one of random playing, sequential playing and circular playing.
Optionally, after the step of receiving a switching instruction of the playing content of the multimedia file, the method further includes:
acquiring the playing times of the multimedia file segments;
when the playing times reach a preset value, generating a repeated segment from the multimedia file segment;
and adding the repeated segments to the preset target position of the multimedia file.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A playing method of a multimedia file is applied to a mobile terminal, and is characterized by comprising the following steps:
when the mobile terminal is used for playing a multimedia file, receiving a first position determination instruction and a second position determination instruction, wherein the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar;
determining a first position in the playing progress bar according to the first position determination instruction, and determining a second position in the playing progress bar according to the second position determination instruction;
determining that the first position corresponds to a first moment of playing the multimedia file, and the second position corresponds to a second moment of playing the multimedia file;
playing the multimedia file segment between the first moment and the second moment;
wherein the step of receiving a first position determination instruction and a second position determination instruction comprises:
receiving a first position determination instruction triggered by a first operation on a playing progress bar by a user and receiving a second position determination instruction triggered by a second operation on the playing progress bar by the user;
the step of determining a first position in the playing progress bar according to the first position determination instruction and determining a second position in the playing progress bar according to the second position determination instruction includes:
determining the position of a preset operation point of the first operation in the playing progress bar as a first position according to the first position determination instruction;
determining the position of a preset operation point of the second operation as a second position in the playing progress bar according to the second position determination instruction;
the first operation comprises a first sliding operation and a first touch operation; the step of determining, according to the first position determination instruction, a position of a preset operation point of the first operation in the play progress bar as a first position includes:
determining a position of a sliding end point of the first sliding operation in the playing progress bar according to the first position determination instruction, wherein the first sliding operation refers to a sliding operation of a first finger of a user in the playing progress bar, and in the sliding process of the first finger, a second finger of the user touches the playing progress bar, and the second finger does not leave the playing progress bar;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the first touch operation on the local playing progress bar, wherein the first touch operation is the touch operation of the first finger, and when the first finger touches the playing progress bar, the second finger still does not leave the playing progress bar;
determining the position of a touch point corresponding to the first touch operation as a first position;
the second operation comprises a second sliding operation and a second touch operation; the step of determining, according to the second position determination instruction, a position of a preset operation point of the second operation in the play progress bar as a second position includes:
determining the position of a sliding end point of the second sliding operation in the playing progress bar according to the second position determination instruction;
amplifying and displaying a local playing progress bar corresponding to the position of the sliding end point;
determining the position of a touch point corresponding to the second touch operation in the local playing progress bar;
determining the position of a touch point corresponding to the second touch operation as a second position;
after the playing of the multimedia file segment between the first time and the second time, the method further comprises:
acquiring the playing times of the multimedia file segments;
when the playing times reach a preset value, repeating the multimedia file segment for a preset number of times to generate a repeated segment;
and adding the repeated segments to the preset target position of the multimedia file.
2. The method according to claim 1, wherein after the step of determining the position of the touch point corresponding to the first touch operation as the first position, the method further comprises:
and displaying the characters and/or pictures when the multimedia file is played to the first position of the playing progress bar.
3. The method of claim 1, wherein after the step of determining a first position in the play progress bar according to the first position determination instruction and determining a second position in the play progress bar according to the second position determination instruction, the method further comprises:
and enhancing the display of the part between the first position and the second position of the playing progress bar.
4. A method according to any one of claims 1 to 3, wherein after the step of playing the segment of the multimedia file between the first time and the second time, the method further comprises:
receiving a playing content switching instruction of the multimedia file;
and playing the multimedia file according to a preset playing mode according to the playing content switching instruction, wherein the preset playing mode comprises any one of random playing, sequential playing and circular playing.
5. A mobile terminal, comprising:
the mobile terminal comprises a first receiving module, a second receiving module and a control module, wherein the first receiving module is used for receiving a first position determination instruction and a second position determination instruction when the mobile terminal is used for playing a multimedia file, and the first position determination instruction and the second position determination instruction are triggered by the preset operation of a user on a playing progress bar;
a first determining module, configured to determine a first position in the playing progress bar according to the first position determination instruction received by the first receiving module, and determine a second position in the playing progress bar according to the second position determination instruction received by the first receiving module;
a second determining module, configured to determine that the first position determined by the first determining module corresponds to a first time of playing the multimedia file, and that the second position determined by the first determining module corresponds to a second time of playing the multimedia file;
the playing module is used for playing the multimedia file segment between the first moment determined by the second determining module and the second moment determined by the second determining module;
the first receiving module is specifically configured to receive a first position determination instruction triggered by a first operation on a play progress bar by a user, and receive a second position determination instruction triggered by a second operation on the play progress bar by the user;
the first determining module includes:
the first determining submodule is used for determining the position of a preset operation point of the first operation in the playing progress bar as a first position according to the first position determining instruction;
the second determining submodule is used for determining the position of the preset operation point of the second operation in the playing progress bar as a second position according to the second position determining instruction;
wherein the first operation comprises a first sliding operation and a first touch operation; the first determination submodule includes:
a first determining unit, configured to determine, according to the first position determination instruction received by the first receiving module, a position of a sliding end point of the first sliding operation in the playing progress bar, where the first sliding operation is a sliding operation of a first finger of a user in the playing progress bar, and during the sliding operation of the first finger, a second finger of the user touches the playing progress bar, and the second finger does not leave the playing progress bar;
the first display unit is used for magnifying and displaying the local playing progress bar corresponding to the position of the sliding end point determined by the first determination unit;
a second determining unit, configured to determine, on the partial play progress bar displayed by the first display unit, a position of a touch point corresponding to the first touch operation, where the first touch operation is a touch operation of the first finger, and the second finger does not leave the play progress bar when the first finger touches the play progress bar;
a third determining unit, configured to determine, as the first position, the position of the touch point corresponding to the first touch operation determined by the second determining unit;
the second operation comprises a second sliding operation and a second touch operation; the second determination submodule includes:
a fourth determining unit, configured to determine, according to the second position determination instruction received by the first receiving module, a position of a sliding end point of the second sliding operation in the play progress bar;
the second display unit is used for displaying the local playing progress bar corresponding to the position of the sliding end point determined by the fourth determination unit in an amplification mode;
a fifth determining unit, configured to determine, in the local play progress bar displayed by the second display unit, a position of a touch point corresponding to the second touch operation;
a sixth determining unit, configured to determine, as a second position, the position of the touch point corresponding to the second touch operation determined by the fifth determining unit;
the mobile terminal further includes:
the acquisition module is used for acquiring the playing times of the multimedia file segments;
the generating module is used for repeating the multimedia file segment for a preset number of times to generate a repeated segment after the playing times acquired by the acquiring module reach a preset value;
and the adding module is used for adding the repeated segments generated by the generating module to the preset target position of the multimedia file.
6. The mobile terminal of claim 5, wherein the first determining sub-module further comprises:
and the third display unit is used for displaying characters and/or pictures when the multimedia file is played to the first position of the playing progress bar.
7. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the display module is used for enhancing the display of the part between the first position and the second position of the playing progress bar.
8. The mobile terminal according to any of claims 5 to 7, wherein the mobile terminal further comprises:
the second receiving module is used for receiving a playing content switching instruction of the multimedia file;
and the switching module is used for playing the multimedia file according to a preset playing mode according to the playing content switching instruction received by the second receiving module, wherein the preset playing mode comprises any one of random playing, sequential playing and circular playing.
CN201710270979.8A 2017-04-24 2017-04-24 Multimedia file playing method and mobile terminal Active CN107124656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710270979.8A CN107124656B (en) 2017-04-24 2017-04-24 Multimedia file playing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710270979.8A CN107124656B (en) 2017-04-24 2017-04-24 Multimedia file playing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107124656A CN107124656A (en) 2017-09-01
CN107124656B true CN107124656B (en) 2020-10-20

Family

ID=59724939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710270979.8A Active CN107124656B (en) 2017-04-24 2017-04-24 Multimedia file playing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107124656B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846631A (en) * 2017-10-31 2018-03-27 珠海市魅族科技有限公司 Video clipping method and device, computer equipment and storage medium
CN108260013B (en) * 2018-03-28 2021-02-09 维沃移动通信有限公司 Video playing control method and terminal
CN111651111B (en) * 2020-05-29 2024-05-28 腾讯科技(深圳)有限公司 Media file processing method and device
CN113766321A (en) * 2020-09-29 2021-12-07 北京沃东天骏信息技术有限公司 Video playing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247310A (en) * 2012-02-14 2013-08-14 索尼爱立信移动通讯有限公司 Multimedia playing control method, playing control module and playing terminal
CN104602126A (en) * 2013-10-31 2015-05-06 联想(北京)有限公司 Information processing method and electronic device
CN105657546A (en) * 2015-12-29 2016-06-08 小米科技有限责任公司 Multimedia file playing method and device and terminal
CN105654974A (en) * 2015-12-28 2016-06-08 努比亚技术有限公司 Multimedia playing device and multimedia playing method
CN105898593A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Playing progress adjusting method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8055688B2 (en) * 2007-12-07 2011-11-08 Patrick Giblin Method and system for meta-tagging media content and distribution

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247310A (en) * 2012-02-14 2013-08-14 索尼爱立信移动通讯有限公司 Multimedia playing control method, playing control module and playing terminal
CN104602126A (en) * 2013-10-31 2015-05-06 联想(北京)有限公司 Information processing method and electronic device
CN105654974A (en) * 2015-12-28 2016-06-08 努比亚技术有限公司 Multimedia playing device and multimedia playing method
CN105657546A (en) * 2015-12-29 2016-06-08 小米科技有限责任公司 Multimedia file playing method and device and terminal
CN105898593A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Playing progress adjusting method and device

Also Published As

Publication number Publication date
CN107124656A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
US11520467B2 (en) Input device and user interface interactions
AU2014275680B2 (en) Electronic device and method for controlling applications in the electronic device
CN103365536B (en) Method and apparatus for managing screen in portable terminal
CN106293410B (en) Video progress adjusting method and mobile terminal
CN106131650B (en) Video processing method and mobile terminal
CN107124656B (en) Multimedia file playing method and mobile terminal
CN106383645A (en) Music playing control method and mobile terminal
CN107678813B (en) Desktop icon theme switching method and mobile terminal
CN107479822B (en) Information input method and terminal
CN106648382B (en) A kind of picture browsing method and mobile terminal
CN106446180B (en) Song identification method and mobile terminal
CN107221347B (en) Audio playing method and terminal
CN106407027B (en) Information display method of mobile terminal and mobile terminal
CN107632761B (en) Display content viewing method, mobile terminal and computer readable storage medium
CN103995662A (en) Touch operation processing method
CN106250503B (en) Picture processing method and mobile terminal
CN107678632B (en) Resource transfer method, terminal and computer readable storage medium
JP2014238704A (en) Input device, input method, and program
CN107357490B (en) Display method of tabs and mobile terminal
CN106990843B (en) Parameter calibration method of eye tracking system and electronic equipment
US20080227503A1 (en) Mobile communication device and method of controlling the same
US20160266780A1 (en) Electronic devices, methods for operating user interface and computer program products
CN107707812B (en) Image processing method, mobile terminal and computer readable storage medium
CN107506197B (en) Information processing method, mobile terminal and computer readable storage medium
JP6344355B2 (en) Electronic terminal, and control method and program thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant