CN105654974B - Multimedia playing apparatus and method - Google Patents

Multimedia playing apparatus and method Download PDF

Info

Publication number
CN105654974B
CN105654974B CN201511004600.6A CN201511004600A CN105654974B CN 105654974 B CN105654974 B CN 105654974B CN 201511004600 A CN201511004600 A CN 201511004600A CN 105654974 B CN105654974 B CN 105654974B
Authority
CN
China
Prior art keywords
playing
time point
media segment
multimedia
touch operation
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
CN201511004600.6A
Other languages
Chinese (zh)
Other versions
CN105654974A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201511004600.6A priority Critical patent/CN105654974B/en
Publication of CN105654974A publication Critical patent/CN105654974A/en
Application granted granted Critical
Publication of CN105654974B publication Critical patent/CN105654974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a kind of multimedia playing apparatus, the multimedia playing apparatus comprises determining that module, for when receiving the touch operation based on multimedia progress bar, the multi-media segment to be played in currently playing multimedia file is determined according to the touch operation, and saves the currently playing progress of the currently playing multimedia file;Playing module, for playing the multi-media segment to be played, and when the multi-media segment to be played finishes playing, the currently playing progress for jumping to preservation plays the currently playing multimedia file.The invention also discloses a kind of multi-medium play methods.The present invention realizes terminal after playing multi-media segment, jumps the playback progress before being back to multi-media segment broadcasting automatically and plays out.

Description

Multimedia playing apparatus and method
Technical field
The present invention relates to terminal control technical field more particularly to a kind of multimedia playing apparatus and methods.
Background technique
With the development of science and technology, the end products such as mobile phone, PAD (tablet computer), which all have, plays more matchmakers such as audio, video The function of body enriches daily life.During terminal plays are multimedia, user can change more matchmakers in many cases The playback progress of body, for example, can drag playing progress bar when user wants to review the multi-media segment played and move back Return to the initial position of the multi-media segment, terminal is retracted into that the initial position is corresponding to be broadcast from the current playback progress of multimedia Degree of putting into plays the multi-media segment.After the multi-media segment plays, if user wants to jump back to multi-media segment broadcasting Playback progress before, user oneself must drag manually playing progress bar to playback progress before, and terminal can not jump automatically Go to the playback progress before the multi-media segment plays.
Summary of the invention
It is a primary object of the present invention to propose a kind of multimedia playing apparatus and method, it is intended to solve existing terminal and broadcast After discharging multi-media segment, the technical issues of being back to the playback progress before multi-media segment plays can not be jumped automatically.
To achieve the above object, a kind of multimedia playing apparatus provided by the invention, the multimedia playing apparatus include:
Determining module, for being grasped according to the touch when receiving the touch operation based on multimedia progress bar Make to determine the multi-media segment to be played in currently playing multimedia file, and saves the currently playing multimedia file Currently playing progress;
Playing module is played for playing the multi-media segment to be played, and in the multi-media segment to be played Cheng Shi, the currently playing progress for jumping to preservation play the currently playing multimedia file.
Optionally, the determining module includes:
Acquiring unit, for when receiving the touch operation based on multimedia progress bar, obtaining the touch behaviour Make corresponding first time point and saves;When receiving the touch operation again based on multimedia progress bar, obtain again Secondary touch operation corresponding second time point, and second time point is associated with preservation with the first time point;
Determination unit, for by first time point described in the currently playing multimedia file and second time Multi-media segment corresponding to the period is as the multi-media segment to be played between point.
Optionally, the playing module includes:
Setting unit, for setting described for the smaller time point in the first time point and second time point The broadcasting start time point of multi-media segment to be played, the broadcasting that larger time point is set as the multi-media segment to be played are whole Only time point;
Broadcast unit, for playing the multi-media segment to be played since the determining broadcasting start time point, And when current play time point is equal to the end of playing time point, determine that the multi-media segment to be played finishes playing.
Optionally, the acquiring unit includes:
Amplify subelement, for amplifying the touch when receiving the touch operation based on multimedia progress bar The corresponding playing progress bar in touch area where operating;
Subelement is shown, for showing the playing progress bar of amplification;
Subelement is obtained, for obtaining and touching behaviour when receiving the touch operation in the playing progress bar based on amplification Make corresponding first time point.
Optionally, the amplification subelement is used for:
When receiving the touch operation based on multimedia progress bar, the current touch area of the touch operation is obtained The width and height in domain, and obtain the broadcasting total duration of the currently playing multimedia file and the screen of currently playing screen Curtain width;
The corresponding playback progress in the current touch region is set by the height and the product value of the first parameter preset The amplification height of item;By the product value of the broadcasting total duration and the second parameter preset multiplied by the width in the current touch region The amplification width of the playing progress bar is set as with the product value of the ratio of the screen width;
According to amplification height and amplification width, amplify the touch operation current touch region it is corresponding play into Spend item.
In addition, to achieve the above object, the present invention also proposes a kind of multi-medium play method, the multi-medium play method The following steps are included:
When receiving the touch operation based on multimedia progress bar, determined according to the touch operation currently playing Multimedia file in multi-media segment to be played, and save the currently playing multimedia file it is currently playing into Degree;
Play the multi-media segment to be played;
When the multi-media segment to be played finishes playing, jump to described in the currently playing progress broadcasting of preservation Currently playing multimedia file.
Optionally, described when receiving the touch operation based on multimedia progress bar, according to the touch operation The step of determining the multi-media segment to be played in currently playing multimedia file include:
When receiving the touch operation based on multimedia progress bar, obtain the touch operation it is corresponding first when Between put and save;
When receiving the touch operation again based on multimedia progress bar, touch operation again corresponding the is obtained Two time points, and second time point is associated with preservation with the first time point;
By period institute between first time point described in the currently playing multimedia file and second time point Corresponding multi-media segment is as the multi-media segment to be played.
Optionally, the step of broadcasting multi-media segment to be played includes:
The multimedia to be played is set by the smaller time point in the first time point and second time point The broadcasting start time point of segment, larger time point are set as the end of playing time point of the multi-media segment to be played;
The multi-media segment to be played is played since the determining broadcasting start time point, and when currently playing Between point when being equal to the end of playing time point, determine that the multi-media segment to be played finishes playing.
Optionally, described when receiving the touch operation based on multimedia progress bar, obtain the touch operation The step of corresponding first time point includes:
When receiving the touch operation based on multimedia progress bar, amplify the touch area pair where touch operation The playing progress bar answered;
Show the playing progress bar of amplification;
When receiving the touch operation in the playing progress bar based on amplification, touch operation corresponding first time is obtained Point.
Optionally, described when receiving the touch operation based on multimedia progress bar, where amplification touch operation The corresponding playing progress bar in touch area the step of include:
When receiving the touch operation based on multimedia progress bar, the current touch area of the touch operation is obtained The width and height in domain, and obtain the broadcasting total duration of the currently playing multimedia file and the screen of currently playing screen Curtain width;
The corresponding playback progress in the current touch region is set by the height and the product value of the first parameter preset The amplification height of item;By the product value of the broadcasting total duration and the second parameter preset multiplied by the width in the current touch region The amplification width of the playing progress bar is set as with the product value of the ratio of the screen width;
According to amplification height and amplification width, amplify the touch operation current touch region it is corresponding play into Spend item.
Multimedia playing apparatus proposed by the present invention and method, the multimedia playing apparatus include determining module and broadcasting Module, during user is multimedia using terminal plays, determining module is according to the touch in the playing progress bar received Operation determines multi-media segment to be played, and saves the currently playing progress of currently playing multimedia file, then plays mould Block plays the multi-media segment to be played, and when the multi-media segment to be played finishes playing, and jumps to currently broadcasting for preservation Degree of putting into plays currently playing multimedia file, namely jumps to the playback progress before the multi-media segment plays and broadcast It puts.It is thereby achieved that terminal after playing multi-media segment, jumps automatically is back to the broadcasting before the multi-media segment plays Progress.
Detailed description of the invention
A kind of optional hardware structural diagram of Fig. 1 terminal of each embodiment to realize the present invention;
Fig. 2 is the functional block diagram of multimedia playing apparatus first embodiment of the present invention;
Fig. 3 is the refinement the functional block diagram of determining module in multimedia playing apparatus second embodiment of the present invention;
Fig. 4 is the schematic diagram that user executes touch operation in playing progress bar in the embodiment of the present invention;
Fig. 5 is the refinement the functional block diagram of playing module in multimedia playing apparatus second embodiment of the present invention;
Fig. 6 is the schematic diagram of the playing progress bar of the amplification shown in the embodiment of the present invention;
Fig. 7 is the flow diagram of multi-medium play method first embodiment of the present invention;
Fig. 8 is that more matchmakers to be played are determined according to the touch operation in multi-medium play method second embodiment of the present invention The refinement flow diagram of body segment;
Fig. 9 is the refinement process signal that the multi-media segment is played in multi-medium play method second embodiment of the present invention Figure.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, using being used for The suffix of such as " module ", " component " or " unit " of element is indicated only for being conducive to explanation of the invention, itself is not There is specific meaning.Therefore, " module " can be used mixedly with " component ".
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, Smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP are (portable Multimedia player), the fixed terminal of the mobile terminal of navigation device etc. and such as number TV, desktop computer etc..
A kind of optional hardware configuration signal of Fig. 1 terminal of each embodiment to realize the present invention.
Terminal 100 may include user input unit 130, sensing unit 140, output unit 150, memory 160, interface Unit 170, controller 180 and power supply unit 190 etc..Fig. 1 shows the terminal with various assemblies, it should be understood that It is, it is not required that implement all components shown.More or fewer components can alternatively be implemented.It will be discussed in more detail below The element of terminal.
The order that user input unit 130 can be inputted according to user generates key input data with the various behaviour of controlling terminal Make.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch tablet (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of terminal 100, (for example, terminal 100 opens or closes state), terminal 100 position, user for the presence or absence of contact (i.e. touch input) of terminal 100, the orientation of terminal 100, terminal 100 acceleration Or by fast movement and direction etc., and generate order or the signal for the operation for being used for controlling terminal 100.For example, working as terminal 100 When being embodied as sliding-type mobile phone, it is to open or close that sensing unit 140, which can sense the sliding-type phone,.In addition, sense It surveys unit 140 and is able to detect whether power supply unit 190 provides electric power or whether interface unit 170 couples with external device (ED).
Interface unit 170 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module The port frequency I/O, ear port etc..Identification module can be storage for verifying the various information of user's using terminal 100 simultaneously It and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..Separately Outside, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, and therefore, identification device can To be connect via port or other attachment devices with terminal 100.Interface unit 170 can be used for receiving from the defeated of external device (ED) Enter (for example, data information, electric power etc.) and by the input received be transferred to one or more elements in terminal 100 or Person can be used for transmitting data between terminal and external device (ED).
In addition, when terminal 100 is connect with external base, interface unit 170 may be used as allowing by its by electric power from Pedestal, which is provided to the path or may be used as of terminal 100, allows the various command signals inputted from pedestal to be transferred to end by it The path at end.The various command signals or electric power inputted from pedestal may be used as whether terminal for identification is accurately fitted within bottom Signal on seat.Output unit 150 is configured to provide output signal (for example, audio with vision, audio and/or tactile manner Signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include display unit 151, audio output Module 152 etc..
Display unit 151 may be displayed on the information handled in terminal 100.For example, when terminal 100 is in telephone relation mould When formula, display unit 151 can show with converse or it is other communicate (for example, text messaging, multimedia file downloading etc. Deng) relevant user interface (UI) or graphic user interface (GUI).When terminal 100 is in video calling mode or image is caught When obtaining mode, display unit 151 can show captured image and/or received image, show video or image and correlation UI or GUI of function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, terminal 100 may include two or more display units (or other display devices), for example, terminal can To include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch input pressure And touch input position and touch input area.
Audio output module 152 can be in call signal reception pattern, call mode, logging mode, voice in terminal When under the isotypes such as recognition mode, broadcast reception mode, by the audio data transducing audio signal stored in memory 160 and Output is sound.Moreover, audio output module 152 can provide audio output relevant to the specific function of the execution of terminal 100 (for example, call signal receives sound, message sink sound etc.).Audio output module 152 may include sound pick-up, buzzer Etc..
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, terminal 100 can execute memory 160 with by network connection The network storage device of store function cooperates.
The overall operation of the usual controlling terminal of controller 180.Lead to for example, controller 180 is executed with voice communication, data Letter, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) multimedia The multi-media module 181 of data, multi-media module 181 can construct in controller 180, or it is so structured that and controller 180 separation.Controller 180 can be drawn the handwriting input executed on the touchscreen or picture with execution pattern identifying processing System input is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
Based on above-mentioned terminal hardware structure, each embodiment of multimedia playing apparatus of the present invention is proposed.
As shown in Fig. 2, in the first embodiment, which includes:
Determining module 10, for when receiving the touch operation based on multimedia progress bar, according to the touch Operation determines the multi-media segment to be played in currently playing multimedia file, and saves the currently playing multimedia text The currently playing progress of part;
In the present embodiment, when user is using the multimedias such as terminal plays video, audio, wherein the terminal include but The terminal devices such as the mobile phone with audio and video playing function, PAD (tablet computer) are not limited to, are arranged on multimedia play interface There is playing progress bar.In general, the playing progress bar can be set as hiding or showing state by user's operation.For example, In the case where the playing progress bar is hidden state, multimedia play interface is hit when user taps, detects described broadcast When putting the touch operation on interface, the playing progress bar is shown.
During multimedia, user is not desired to play more matchmakers according to normal playback progress in many cases Body, for example, some multi-media segment that user is played before wanting to review, and directly jumped back to after the multi-media segment plays The current playback progress of multimedia continues to watch.In this case, user in the playing progress bar by executing Touch operation, determining module 10 are true according to the touch operation when receiving the touch operation based on the playing progress bar Determine the multi-media segment to be played that user thinks viewing.Meanwhile determining module 10 obtains the current of currently playing multimedia file Playback progress, and the currently playing progress that will acquire is saved.
For example, user executes double click operation twice respectively in the playing progress bar, behaviour is double-clicked for the first time when receiving When making, determining module 10 obtains the double click operation corresponding time point in the playing progress bar, the time that will acquire Broadcasting start time point of the point as multi-media segment to be played.Later, when receiving double click operation again, determining module 10 obtain double click operation corresponding time point in the playing progress bar again, and the time point that will acquire is as to be played The end of playing time point of multi-media segment.
For another example, executed in the playing progress bar when family it is reciprocal touch slide, when receiving the reciprocal touch When slide, it is considered as determining module 10 and receives multi-media segment setting instruction to be played.Receiving multimedia to be played When segment setting instruction, into multi-media segment Setting pattern to be played, under the multi-media segment mode to be played, Yong Hu Single-click operation twice is executed in the playing progress bar respectively, when receiving first time single-click operation, determining module 10 is obtained At the single-click operation corresponding time point in the playing progress bar, the time point that will acquire is as multimedia to be played The broadcasting start time point of segment.Later, when receiving single-click operation again, determining module 10 obtains the single-click operation again The corresponding time point in the playing progress bar, end of playing of the time point that will acquire as multi-media segment to be played Time point.
The above-mentioned example enumerated is only that determining module 10 obtains the broadcasting start time point of multi-media segment to be played and broadcasts Put two specific situations for terminating time point, it is to be understood that determining module 10 can also be obtained using other modes wait broadcast At broadcasting start time point and the end of playing time point for putting multi-media segment, it is not limited solely to the above-mentioned situation enumerated.In this hair In bright, when the broadcasting start time point and end of playing of multi-media segment to be played are obtained according to touch operation to determining module 10 Between the mode put with no restriction.
After determining module 10 obtains broadcasting start time point and the end of playing time point of multi-media segment to be played, According to the broadcasting start time point and end of playing time point, determining module 10 determines that user thinks more matchmakers to be played of viewing Body segment.
Playing module 20 is played for playing the multi-media segment to be played, and in the multi-media segment to be played When completion, the currently playing progress for jumping to preservation plays the currently playing multimedia file.
After determining module 10 has determined multi-media segment to be played, since playing module 20 broadcast playing start time point Put the multi-media segment.During playing the multi-media segment, playing module 20 by current play time point and is somebody's turn to do in real time The end of playing time point of multi-media segment is compared, and judges whether the multi-media segment finishes playing.When currently playing Between point be less than the multi-media segment end of playing time point when, judge that the multi-media segment does not finish playing also, at this point, play Module 20 continues to play the multi-media segment.It is equal to the end of playing time point of the multi-media segment in current play time point When, judge that the multi-media segment finishes playing, at this point, the currently playing progress broadcasting that playing module 20 jumps to preservation is worked as The multimedia file of preceding broadcasting, namely jump to the playback progress before the multi-media segment plays continue to play it is currently playing more Media file, rather than then the termination time point of the multi-media segment continues to play.Therefore, user is watching the multimedia piece At the end of section, dragging playing progress bar is not needed to adjust the playback progress before playback progress is played to the multi-media segment, is mentioned High user experience.
The scheme that the present embodiment proposes is based on more matchmakers when receiving during user is multimedia using terminal plays When the touch operation of body playing progress bar, determining module 10 determines multi-media segment to be played according to the touch operation, then broadcasts Amplification module 20 plays the multi-media segment, and when the multi-media segment finishes playing, before jumping to multi-media segment broadcasting Playback progress carry out multimedia.It is thereby achieved that terminal after the multi-media segment for playing user's selection, is directly jumped Turn be back to the multi-media segment play before playback progress continue to play multimedia effect, do not need user dragging play into Item is spent to adjust the playback progress before playback progress is played to the multi-media segment, improves user experience.
Further, as shown in figure 3, proposing multimedia playing apparatus second embodiment of the present invention based on first embodiment, In a second embodiment, the determining module 10 includes:
Acquiring unit 11, for obtaining the touch when receiving the touch operation based on multimedia progress bar It operates corresponding first time point and saves;When receiving the touch operation again based on multimedia progress bar, obtain Touch operation corresponding second time point again, and second time point is associated with preservation with the first time point;
Determination unit 12, when for by first time point described in the currently playing multimedia file with described second Between between point multi-media segment corresponding to the period as the multi-media segment to be played.
In the present embodiment, when user wants a certain multi-media segment in the multimedia that viewing plays, for example, such as Fig. 4 (a) shown in, user executes touch operation in playing progress bar, for example executes in playing progress bar and touch slide, When receiving the touch slide, acquiring unit 11 obtains the target position corresponding first time of the touch slide Point, and save the first time point of acquisition.Later, as shown in Fig. 4 (b), user executes touching in playing progress bar again Touch operation, similarly, receive again touch slide when, acquiring unit 11 obtain again touch operation it is corresponding second when Between point, and second time point is associated with preservation with the first time point.
Further, when receiving the touch operation in playing progress bar, it is current that acquiring unit 11 obtains multimedia Time point corresponding to playback progress, and by time point corresponding to the current playback progress of multimedia and the first time point Preservation is associated with second time point.
The first time point saved according to association and second time point, determination unit 12 will be currently playing more Multi-media segment corresponding to the period is determined as wait broadcast between first time point described in media file and second time point It puts multi-media segment namely user wants the multi-media segment of viewing.
Further, in the present embodiment, as shown in figure 5, the playing module 20 includes:
Setting unit 21, for setting institute for the smaller time point in the first time point and second time point The broadcasting start time point of multi-media segment to be played is stated, larger time point is set as the broadcasting of the multi-media segment to be played Terminate time point;
Broadcast unit 22, for playing the multimedia piece to be played since the determining broadcasting start time point Section, and when current play time point is equal to the end of playing time point, determine that the multi-media segment to be played plays At.
In the present embodiment, determination unit 12 will be corresponding to the period between the first time point and second time point Multi-media segment be determined as multi-media segment to be played after, when the first time point of setting unit 21 is with described second Between the size put, set multimedia piece to be played for the smaller time point in the first time point and second time point The broadcasting start time point of section, larger time point are set as the end of playing time point of the multi-media segment.For example, when described When first time point is greater than second time point, then the first time point is set the multimedia piece by setting unit 21 At the end of playing time point of section, set second time point to the broadcasting start time point of the multi-media segment.Conversely, It then sets the first time point to the broadcasting start time point of the multi-media segment, sets second time point to The end of playing time point of the multi-media segment.
The broadcasting start time point of the multi-media segment has been determined in setting unit 21 and after end of playing time point, has broadcast It puts unit 22 and plays the multi-media segment since the broadcasting start time point.In the process for playing the multi-media segment In, current play time point is compared by broadcast unit 22 with the end of playing time point of the multi-media segment in real time, judgement Whether the multi-media segment finishes playing.When current play time point is less than the end of playing time point of the multi-media segment, Judge that the multi-media segment does not finish playing also, at this point, broadcast unit 22 continues to play the multi-media segment.When currently playing Between point be equal to the multi-media segment end of playing time point when, judge that the multi-media segment finishes playing, at this point, broadcast unit The 22 current playback progresss of the multimedia for jumping to preservation carry out multimedia, namely jump to the multi-media segment and broadcast Playback progress before putting continues to play multimedia.
The scheme that the present embodiment proposes, when the first time point and second that determination unit 12 is got according to acquiring unit 11 After time point determines multi-media segment to be played, setting unit 21 determines that this is more according to first time point and the second time point The broadcasting start time point of media fragment and end of playing time point, then since broadcast unit 22 broadcast playing start time point Put the multi-media segment.Therefore, user does not need according to the broadcasting start time point for first determining the multi-media segment, then determining should The sequence at the end of playing time point of multi-media segment executes corresponding touch operation, so that the flexibility of operation is enhanced, Further improve user experience.
Further, multimedia playing apparatus 3rd embodiment of the present invention is proposed based on second embodiment, implemented in third In example, the acquiring unit 11 includes:
Amplify subelement, for amplifying the touch when receiving the touch operation based on multimedia progress bar The corresponding playing progress bar in touch area where operating;
Subelement is shown, for showing the playing progress bar of amplification;
Subelement is obtained, for obtaining and touching behaviour when receiving the touch operation in the playing progress bar based on amplification Make corresponding first time point.
In the present embodiment, when receiving the touch operation in the playing progress bar, described in amplification subelement amplification The corresponding playing progress bar in current touch region of touch operation, then shows that subelement shows amplified playing progress bar. For example, as shown in fig. 6, the broadcasting that display subelement amplifies in the corresponding playing progress bar region display in current touch region Progress bar.It will be appreciated by persons skilled in the art that the mode of the playing progress bar of display subelement display amplification is not limited to The above-mentioned mode enumerated, this is not restricted.
After the playing progress bar of display subelement display amplification, user can be more by the playing progress bar of amplification Be precisely located touch operation target position namely multimedia playback progress.It obtains subelement and amplification is based on according to user Playing progress bar execute touch operation target position, obtain the corresponding first time point of the touch operation.
Further, display subelement is also used to close the playing progress bar of the amplification currently shown.For example, in user's base At the end of the playing progress bar of amplification executes touch operation, display subelement closes the playback progress of the amplification currently shown Item.Alternatively, when passing through preset duration after the touch operation, display subelement close the broadcasting of amplification that currently shows into Spend item.
Further, acquiring unit 11 further includes storing sub-units.The first time point is got obtaining subelement Afterwards, storing sub-units save first time point time point association corresponding with the current playback progress of multimedia.
When user executes touch operation in playing progress bar again, similarly, amplification subelement amplification touches behaviour again Then the corresponding playing progress bar in current touch region of work shows the playing progress bar of subelement display amplification, it is single to obtain son Member obtains touch operation corresponding second time point again based on the playing progress bar of amplification.When storing sub-units are by described second Between point corresponding with the current playback progress of the first time point and multimedia time point association preservation.
Later, determination unit 12 is by multimedia corresponding to the period between the first time point and second time point Segment is determined as multi-media segment to be played.Playing module 20 plays the multi-media segment, and plays in the multi-media segment When completion, the current corresponding time point progress multimedia of playback progress of the multimedia of preservation is jumped to.
The scheme that the present embodiment proposes is broadcast during user is multimedia using terminal plays when receiving multimedia When putting the touch operation on progress bar, amplification subelement amplifies the corresponding playback progress in current touch region of the touch operation Then item shows that subelement shows the playing progress bar of the amplification, obtain subelement acquisition later in the playback progress of the amplification Touch operation corresponding time point on item.Playing progress bar of the user based on amplification can position target position more accurately, Also can more accurate ground position multimedia playback progress.
Further, example is applied based on third and proposes that multimedia playing apparatus the 4th of the present invention applies example, in the fourth embodiment, The amplification subelement is used for:
When receiving the touch operation based on multimedia progress bar, the current touch of the touch operation is obtained The width and height in region, and obtain the currently playing multimedia file broadcasting total duration and currently playing screen Screen width;
The corresponding playback progress in the current touch region is set by the height and the product value of the first parameter preset The amplification height of item;By the product value of the broadcasting total duration and the second parameter preset multiplied by the width in the current touch region The amplification width of the playing progress bar is set as with the product value of the ratio of the screen width;
According to amplification height and amplification width, amplify the touch operation current touch region it is corresponding play into Spend item.
In the present embodiment, when receiving the touch operation on multimedia progress bar, amplification subelement according to The size of the touch area at family, the size of multimedia screen and multimedia playing duration etc. are played because usually determining The size of progress bar amplification.Specifically, amplification subelement obtains the width and height in the current touch region of the touch operation. Meanwhile amplifying the screen width that subelement obtains currently playing multimedia broadcasting total duration and currently playing screen, example When such as under played in full screen mode, screen width is that the screen under the current placement status of terminal is wide, such as when terminal is laterally disposed, Screen width is the width of terminal screen, and when terminal is vertically placed, screen width is the perpendicular width of terminal screen.
Later, the height in the current touch region for the touch operation that amplification subelement will acquire is multiplied by the first default ginseng Number calculates and obtains the first product value, sets the corresponding playing progress bar in the current touch region for first product value Amplification height.Meanwhile amplifying subelement and calculating the width of the touch area and the ratio of the screen width, calculating is obtained The ratio obtained, will multiplied by, multiplied by the second parameter preset, calculating after the multimedia broadcasting total duration and obtaining the second product value Second product value is set as the amplification width of the corresponding playing progress bar in the current touch region.Wherein, described first The specific value of parameter preset and second parameter preset can flexible setting according to the actual situation, this is not restricted.Such as It is 1/2 that first parameter preset, which is arranged, then the amplification height of the corresponding playing progress bar in the current touch region is arranged It is the 1/2 of the touch area height.
Further, amplification subelement is according to the width of the touch area, the screen width and described multimedia Total duration is played, the playing duration that the playing progress bar of amplification is shown is calculated.For example, amplifying subelement for the touch area The ratio of width and the screen width calculates multiplied by the multimedia broadcasting total duration and obtains third product value, will be described Third product value is set as the playing duration of corresponding display after the corresponding playing progress bar amplification in the current touch region.In order to The operating experience for further improving user, in the present embodiment, also presets the critical of the parameter of the playing progress bar of amplification Value.For example, the maximum value for the playing duration that the playing progress bar of setting amplification is shown is 2min, when the broadcasting for calculating acquisition amplification When the playing duration playing duration that progress bar is shown is greater than 2min, then 2min is set by the playing duration.Amplification is set The maximum value of the amplification width of playing progress bar is a quarter of the screen width, when the playback progress for calculating acquisition amplification When the amplification width of item is greater than a quarter of the screen width, then set the amplification width of the playing progress bar of amplification to The a quarter of the screen width.The minimum value that the amplification height of the playing progress bar of amplification is arranged is 0.3cm, when calculating obtains When the amplification height for the playing progress bar that must amplify is less than 0.3cm, then set the amplification height of the playing progress bar of amplification to 0.3cm。
The scheme that the present embodiment proposes amplifies subelement according to the width and height of the corresponding touch area of user's touch operation The factors such as degree, the size of multimedia screen and multimedia playing duration calculate the ruler for obtaining playing progress bar amplification It is very little, the corresponding playing progress bar in touch area, therefore, the size of the playing progress bar of amplification are then amplified according to the size of acquisition It is not single fixation, further improves user experience.
The present invention further provides a kind of multi-medium play methods.
Referring to Fig. 7, Fig. 7 is the flow diagram of multi-medium play method first embodiment of the present invention, in first embodiment In, the multi-medium play method the following steps are included:
Step S10 is determined when receiving the touch operation based on multimedia progress bar according to the touch operation Multi-media segment to be played in currently playing multimedia file, and save the current of the currently playing multimedia file Playback progress;
In the present embodiment, when user is using the multimedias such as terminal plays video, audio, wherein the terminal include but The terminal devices such as the mobile phone with audio and video playing function, PAD (tablet computer) are not limited to, are arranged on multimedia play interface There is playing progress bar.In general, the playing progress bar can be set as hiding or showing state by user's operation.For example, In the case where the playing progress bar is hidden state, multimedia play interface is hit when user taps, detects described broadcast When putting the touch operation on interface, the playing progress bar is shown.
During multimedia, user is not desired to play more matchmakers according to normal playback progress in many cases Body, for example, some multi-media segment that user is played before wanting to review, and directly jumped back to after the multi-media segment plays The current playback progress of multimedia continues to watch.In this case, user in the playing progress bar by executing Touch operation, terminal determine user when receiving the touch operation based on the playing progress bar, according to the touch operation Think the multi-media segment to be played of viewing.Meanwhile the currently playing progress of currently playing multimedia file is obtained, and will acquire To currently playing progress saved.
For example, user executes double click operation twice respectively in the playing progress bar, behaviour is double-clicked for the first time when receiving When making, terminal obtains the double click operation corresponding time point in the playing progress bar, the time point conduct that will acquire The broadcasting start time point of multi-media segment to be played.Later, when receiving double click operation again, terminal obtains this again At double click operation corresponding time point in the playing progress bar, the time point that will acquire is as multi-media segment to be played End of playing time point.
For another example, executed in the playing progress bar when family it is reciprocal touch slide, when receiving the reciprocal touch When slide, it is considered as terminal and receives multi-media segment setting instruction to be played.It is set receiving multi-media segment to be played When setting instruction, into multi-media segment Setting pattern to be played, under the multi-media segment mode to be played, user broadcasts described It puts and executes single-click operation twice on progress bar respectively, when receiving first time single-click operation, obtain the single-click operation described Corresponding time point in playing progress bar, when the time point that will acquire originates as the broadcasting of multi-media segment to be played Between point.Later, when receiving single-click operation again, obtain this again single-click operation when corresponding in the playing progress bar Between point, end of playing time point of the time point that will acquire as multi-media segment to be played.
The above-mentioned example enumerated is only the broadcasting start time point and end of playing that terminal obtains multi-media segment to be played Two specific situations at time point, it is to be understood that terminal can also obtain multi-media segment to be played using other modes Broadcasting start time point and end of playing time point, be not limited solely to the above-mentioned situation enumerated.In the present invention, to terminal root The broadcasting start time point and the mode at end of playing time point for obtaining multi-media segment to be played according to touch operation are with no restriction.
After terminal obtains broadcasting start time point and the end of playing time point of multi-media segment to be played, according to institute It states and plays start time point and end of playing time point, determine that user thinks the multi-media segment to be played of viewing.
Step S20 plays the multi-media segment to be played;
Step S30 jumps to the currently playing progress of preservation when the multi-media segment to be played finishes playing Play the currently playing multimedia file.
After terminal has determined multi-media segment to be played, the multi-media segment is played since playing start time point. During playing the multi-media segment, terminal in real time by the end of playing of current play time point and the multi-media segment when Between point be compared, judge whether the multi-media segment finishes playing.It is less than the multi-media segment in current play time point When end of playing time point, judge that the multi-media segment does not finish playing also, at this point, terminal continues to play the multi-media segment. When current play time point is equal to the end of playing time point of the multi-media segment, judge that the multi-media segment finishes playing, At this point, the currently playing progress that terminal jumps to preservation plays currently playing multimedia file, namely jump to the multimedia Playback progress before segment plays continues to play currently playing multimedia file, rather than the then termination of the multi-media segment Time point continues to play.Therefore, user does not need dragging playing progress bar and broadcasts to adjust at the end of watching the multi-media segment Playback progress before degree of putting into multi-media segment broadcasting, improves user experience.
The scheme that the present embodiment proposes is based on more matchmakers when receiving during user is multimedia using terminal plays When the touch operation of body playing progress bar, terminal determines multi-media segment to be played according to the touch operation, and it is more then to play this Media fragment, and when the multi-media segment finishes playing, it is more to jump to the playback progress progress before the multi-media segment plays Media play.It is thereby achieved that terminal directly jumps after the multi-media segment for playing user's selection and is back to the multimedia Segment play before playback progress continue to play multimedia effect, do not need user drag playing progress bar come adjust play into The playback progress before playing is spent to the multi-media segment, user experience is improved.
Further, as shown in figure 8, proposing multi-medium play method second embodiment of the present invention based on first embodiment, In a second embodiment, the step S10 includes:
It is corresponding to obtain the touch operation when receiving the touch operation based on multimedia progress bar by step S11 First time point and preservation;
Step S12 obtains touch operation again when receiving the touch operation again based on multimedia progress bar Corresponding second time point, and second time point is associated with preservation with the first time point;
Step S13, by first time point described in the currently playing multimedia file and second time point it Between multi-media segment corresponding to the period as the multi-media segment to be played.
In the present embodiment, when user wants a certain multi-media segment in the multimedia that viewing plays, for example, such as Fig. 4 (a) shown in, user executes touch operation in playing progress bar, for example executes in playing progress bar and touch slide, When receiving the touch slide, terminal obtains the corresponding first time point in target position of the touch slide, and protects Deposit the first time point of acquisition.Later, as shown in Fig. 4 (b), user executes touch operation in playing progress bar again, Similarly, when receiving touch slide again, terminal obtains touch operation corresponding second time point again, and will be described Second time point was associated with preservation with the first time point.
Further, when receiving the touch operation in playing progress bar, terminal obtain the current broadcasting of multimedia into Degree corresponding time point, and by time point corresponding to the current playback progress of multimedia and the first time point and described The association of second time point saves.
The first time point saved according to association and second time point, terminal are literary by currently playing multimedia Multi-media segment corresponding to the period is determined as more matchmakers to be played between first time point described in part and second time point Body segment namely user want the multi-media segment of viewing.
Further, in the present embodiment, as shown in figure 9, the step S20 includes:
Step S21 sets described wait broadcast with the smaller time point in second time point for the first time point The broadcasting start time point of multi-media segment is put, when larger time point is set as the end of playing of the multi-media segment to be played Between point;
Step S22 plays the multi-media segment to be played since the determining broadcasting start time point, and is working as When preceding play time is equal to the end of playing time point, determine that the multi-media segment to be played finishes playing.
In the present embodiment, by multimedia piece corresponding to the period between the first time point and second time point After section is determined as multi-media segment to be played, the size of the terminal first time point and second time point, by institute When stating the smaller time point in first time point and second time point and being set as the broadcasting of multi-media segment to be played and originate Between point, larger time point is set as the end of playing time point of the multi-media segment.For example, when the first time point is greater than When second time point, then the first time point is set to the end of playing time point of the multi-media segment, by institute State the broadcasting start time point that the second time point was set as the multi-media segment.Conversely, then the first time point is arranged For the broadcasting start time point of the multi-media segment, the broadcasting for setting the multi-media segment for second time point is whole Only time point.
In the broadcasting start time point that the multi-media segment has been determined and after end of playing time point, terminal is broadcast from described Start time point is put to start to play the multi-media segment.During playing the multi-media segment, terminal in real time will be current Play time is compared with the end of playing time point of the multi-media segment, judges whether the multi-media segment plays At.When current play time point is less than the end of playing time point of the multi-media segment, judge that the multi-media segment is not broadcast also It discharges into, at this point, terminal continues to play the multi-media segment.It is whole in the broadcasting that current play time point is equal to the multi-media segment Only when time point, judge that the multi-media segment finishes playing, at this point, terminal jumps to the current broadcasting of the multimedia of preservation Progress carries out multimedia, namely jumps to the playback progress before the multi-media segment plays and continue to play multimedia.
The scheme that the present embodiment proposes, when terminal determined according to the first time point got and the second time point it is to be played Multi-media segment after, according to first time point and the second time point determine the multi-media segment broadcasting start time point and Then since end of playing time point play the multi-media segment playing start time point.Therefore, user does not need according to elder generation It determines the broadcasting start time point of the multi-media segment, then determines that the sequence at the end of playing time point of the multi-media segment is held The corresponding touch operation of row further improves user experience to enhance the flexibility of operation.
Further, multi-medium play method 3rd embodiment of the present invention is proposed based on second embodiment, implemented in third In example, the step S11 includes:
Step a amplifies the touch where touch operation when receiving the touch operation based on multimedia progress bar The corresponding playing progress bar in region;
Step b shows the playing progress bar of amplification;
Step c obtains touch operation corresponding the when receiving the touch operation in the playing progress bar based on amplification One time point.
In the present embodiment, when receiving the touch operation in the playing progress bar, terminal amplifies the touch behaviour The corresponding playing progress bar in current touch region of work, then shows amplified playing progress bar.For example, as shown in fig. 6, The playing progress bar of the corresponding playing progress bar region display amplification in current touch region.Those skilled in the art can manage The mode of solution, the playing progress bar of terminal display amplification is not limited to the above-mentioned mode enumerated, and this is not restricted.
After showing the playing progress bar of amplification, user by amplification playing progress bar can be more accurate it is fixed The target position of position touch operation namely multimedia playback progress.Terminal is held according to user based on the playing progress bar of amplification The target position of capable touch operation obtains the corresponding first time point of the touch operation.
Further, when reaching specified conditions, terminal closes the playing progress bar of the amplification currently shown.For example, At the end of user executes touch operation based on the playing progress bar of amplification, terminal closes the playback progress of the amplification currently shown Item.Alternatively, terminal closes the playing progress bar of the amplification currently shown when passing through preset duration after the touch operation.
Further, after terminal gets the first time point, the first time point and multimedia is current The corresponding time point association of playback progress saves.
When user executes touch operation in playing progress bar again, similarly, terminal amplifies working as touch operation again The corresponding playing progress bar in preceding touch area, then shows the playing progress bar of amplification, and the playing progress bar based on amplification obtains Touch operation corresponding second time point again.And it is second time point and the first time point and multimedia is current The corresponding time point association of playback progress saves.
Later, terminal is true by multi-media segment corresponding to the period between the first time point and second time point It is set to multi-media segment to be played.The terminal plays multi-media segment, and when the multi-media segment finishes playing, it jumps to The current playback progress of the multimedia of preservation corresponding time point carries out multimedia.
The scheme that the present embodiment proposes is broadcast during user is multimedia using terminal plays when receiving multimedia When putting the touch operation on progress bar, terminal amplifies the corresponding playing progress bar in current touch region of the touch operation, and It shows the playing progress bar of the amplification, obtains the touch operation corresponding time point in the playing progress bar of the amplification later.Cause This, playing progress bar of the user based on amplification can position target position more accurately, can also position more accurately Multimedia playback progress.
Further, example is applied based on third and proposes that multi-medium play method the 4th of the present invention applies example, in the fourth embodiment, The step a includes:
Step a1 obtains working as the touch operation when receiving the touch operation based on multimedia progress bar The width and height of preceding touch area, and obtain the broadcasting total duration of the currently playing multimedia file and currently playing The screen width of screen;
Step a2, sets with the product value of the first parameter preset the height to that the current touch region is corresponding to be broadcast Put the amplification height of progress bar;By the product value of the broadcasting total duration and the second parameter preset multiplied by the current touch region Width and the product value of ratio of the screen width be set as the amplification width of the playing progress bar;
Step a3, according to the amplification height and amplification width, the current touch region for amplifying the touch operation is corresponding Playing progress bar.
In the present embodiment, when receiving the touch operation on multimedia progress bar, terminal is according to the touching of user The size in region, the size of multimedia screen and multimedia playing duration etc. are touched because usually determining playing progress bar The size of amplification.Specifically, terminal obtains the width and height in the current touch region of the touch operation, meanwhile, acquisition is worked as The multimedia broadcasting total duration of preceding broadcasting and the screen width of currently playing screen, such as when under played in full screen mode, Screen width is that the screen under the current placement status of terminal is wide, for example when terminal is laterally disposed, screen width is terminal screen Width, when terminal is vertically placed, screen width is the perpendicular width of terminal screen.
Later, the height in the current touch region for the touch operation that will acquire is calculated and is obtained multiplied by the first parameter preset First product value sets first product value to the amplification height of the corresponding playing progress bar in the current touch region. Meanwhile terminal calculates the width of the touch area and the ratio of the screen width, will calculate the ratio obtained multiplied by described Multiplied by the second parameter preset after multimedia broadcasting total duration, calculates and obtain the second product value, second product value is set It is set to the amplification width of the corresponding playing progress bar in the current touch region.Wherein, first parameter preset and described The specific value of two parameter presets can flexible setting according to the actual situation, this is not restricted.Such as it is arranged described first and presets Parameter is 1/2, then it is high to set the touch area for the amplification height of the corresponding playing progress bar in the current touch region The 1/2 of degree.
Further, terminal is total according to the width of the touch area, the screen width and the multimedia broadcasting Duration calculates the playing duration that the playing progress bar of amplification is shown.For example, the width of the touch area and the screen is wide The ratio of degree calculates multiplied by the multimedia broadcasting total duration and obtains third product value, set the third product value to The playing duration of corresponding display after the corresponding playing progress bar amplification in the current touch region.In order to further improve user Operating experience, in the present embodiment, also preset the critical value of the parameters of the playing progress bar of amplification.For example, setting The maximum value for the playing duration that the playing progress bar of amplification is shown is 2min, is shown when the playing progress bar for calculating acquisition amplification When playing duration playing duration is greater than 2min, then 2min is set by the playing duration.The playing progress bar of amplification is set The maximum value for amplifying width is a quarter of the screen width, when the amplification width for the playing progress bar for calculating acquisition amplification Greater than the screen width a quarter when, then set the screen width for the amplification width of the playing progress bar of amplification A quarter.The minimum value that the amplification height of the playing progress bar of amplification is arranged is 0.3cm, when the broadcasting for calculating acquisition amplification When the amplification height of progress bar is less than 0.3cm, then 0.3cm is set by the amplification height of the playing progress bar of amplification.
The scheme that the present embodiment proposes, terminal is according to the width of the corresponding touch area of user's touch operation and height, more The factors such as the size of media play screen and multimedia playing duration calculate the size for obtaining playing progress bar amplification, so The corresponding playing progress bar in touch area is amplified according to the size of acquisition afterwards, therefore, the size of the playing progress bar of amplification is not Single fixation, further improve user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only alternative embodiments of the invention, are not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of multimedia playing apparatus, which is characterized in that the multimedia playing apparatus includes:
Determining module, it is true according to the touch operation for when receiving the touch operation based on multimedia progress bar Multi-media segment to be played in fixed currently playing multimedia file, and save working as the currently playing multimedia file Preceding playback progress, wherein the touch operation includes that double click operation, the double click operation acquisition twice based on described in twice are described twice Double click operation corresponding different time point in the playing progress bar, and institute is determined according to the different time point State multi-media segment to be played;
Playing module, for playing the multi-media segment to be played, and when the multi-media segment to be played finishes playing, The currently playing progress for jumping to preservation plays the currently playing multimedia file.
2. multimedia playing apparatus as described in claim 1, which is characterized in that the determining module includes:
Acquiring unit, for obtaining the touch operation pair when receiving the touch operation based on multimedia progress bar The first time point answered and preservation;When receiving the touch operation again based on multimedia progress bar, acquisition is touched again Operation corresponding second time point is touched, and second time point is associated with preservation with the first time point;
Determination unit, for by first time point described in the currently playing multimedia file and second time point it Between multi-media segment corresponding to the period as the multi-media segment to be played.
3. multimedia playing apparatus as claimed in claim 2, which is characterized in that the playing module includes:
Setting unit, for setting described wait broadcast with the smaller time point in second time point for the first time point The broadcasting start time point of multi-media segment is put, when larger time point is set as the end of playing of the multi-media segment to be played Between point;
Broadcast unit, for playing the multi-media segment to be played since the determining broadcasting start time point, and When current play time point is equal to the end of playing time point, determine that the multi-media segment to be played finishes playing.
4. multimedia playing apparatus as claimed in claim 2, which is characterized in that the acquiring unit includes:
Amplify subelement, for amplifying the touch operation when receiving the touch operation based on multimedia progress bar The corresponding playing progress bar in the touch area at place;
Subelement is shown, for showing the playing progress bar of amplification;
Subelement is obtained, for obtaining touch operation pair when receiving the touch operation in the playing progress bar based on amplification The time point answered.
5. multimedia playing apparatus as claimed in claim 4, which is characterized in that the amplification subelement is used for:
When receiving the touch operation based on multimedia progress bar, the current touch region of the touch operation is obtained Width and height, and obtain the currently playing multimedia file broadcasting total duration and currently playing screen screen it is wide Degree;
The corresponding playing progress bar in the current touch region is set by the height and the product value of the first parameter preset Amplification height;Width and institute by the product value of the broadcasting total duration and the second parameter preset multiplied by the current touch region The product value for stating the ratio of screen width is set as the amplification width of the playing progress bar;
According to the amplification height and amplification width, amplify the corresponding playback progress in current touch region of the touch operation Item.
6. a kind of multi-medium play method, which is characterized in that the multi-medium play method the following steps are included:
When receiving the touch operation based on multimedia progress bar, determined according to the touch operation currently playing more Multi-media segment to be played in media file, and the currently playing progress of the currently playing multimedia file is saved, In, the touch operation includes double click operation twice, obtains the double click operation twice in institute based on the double click operation twice Corresponding different time point in playing progress bar is stated, and more matchmakers to be played are determined according to the different time point Body segment;
Play the multi-media segment to be played;
When the multi-media segment to be played finishes playing, the currently playing progress broadcasting for jumping to preservation is described current The multimedia file of broadcasting.
7. multi-medium play method as claimed in claim 6, which is characterized in that it is described receive based on multimedia into When spending the touch operation of item, the multi-media segment to be played in currently playing multimedia file is determined according to the touch operation The step of include:
When receiving the touch operation based on multimedia progress bar, the corresponding first time point of the touch operation is obtained And it saves;
When receiving the touch operation again based on multimedia progress bar, obtain again touch operation it is corresponding second when Between point, and second time point is associated with preservation with the first time point;
It will be corresponding to the period between first time point described in the currently playing multimedia file and second time point Multi-media segment as the multi-media segment to be played.
8. multi-medium play method as claimed in claim 7, which is characterized in that described to play the multi-media segment to be played The step of include:
The multi-media segment to be played is set by the smaller time point in the first time point and second time point Broadcasting start time point, larger time point is set as the end of playing time point of the multi-media segment to be played;
The multi-media segment to be played is played since the determining broadcasting start time point, and in current play time point When equal to the end of playing time point, determine that the multi-media segment to be played finishes playing.
9. multi-medium play method as claimed in claim 7, which is characterized in that it is described receive based on multimedia into When spending the touch operation of item, the step of obtaining the touch operation corresponding first time point, includes:
When receiving the touch operation based on multimedia progress bar, the touch area where amplifying touch operation is corresponding Playing progress bar;
Show the playing progress bar of amplification;
When receiving the touch operation in the playing progress bar based on amplification, touch operation corresponding time point is obtained.
10. multi-medium play method as claimed in claim 9, which is characterized in that described to receive based on multimedia When the touch operation of progress bar, the step of amplifying the corresponding playing progress bar in touch area where touch operation, includes:
When receiving the touch operation based on multimedia progress bar, the current touch region of the touch operation is obtained Width and height, and obtain the currently playing multimedia file broadcasting total duration and currently playing screen screen it is wide Degree;
The corresponding playing progress bar in the current touch region is set by the height and the product value of the first parameter preset Amplification height;Width and institute by the product value of the broadcasting total duration and the second parameter preset multiplied by the current touch region The product value for stating the ratio of screen width is set as the amplification width of the playing progress bar;
According to the amplification height and amplification width, amplify the corresponding playback progress in current touch region of the touch operation Item.
CN201511004600.6A 2015-12-28 2015-12-28 Multimedia playing apparatus and method Active CN105654974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511004600.6A CN105654974B (en) 2015-12-28 2015-12-28 Multimedia playing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511004600.6A CN105654974B (en) 2015-12-28 2015-12-28 Multimedia playing apparatus and method

Publications (2)

Publication Number Publication Date
CN105654974A CN105654974A (en) 2016-06-08
CN105654974B true CN105654974B (en) 2019-07-12

Family

ID=56477105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511004600.6A Active CN105654974B (en) 2015-12-28 2015-12-28 Multimedia playing apparatus and method

Country Status (1)

Country Link
CN (1) CN105654974B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124656B (en) * 2017-04-24 2020-10-20 维沃移动通信有限公司 Multimedia file playing method and mobile terminal
CN112653931B (en) * 2021-03-12 2021-07-23 浙江口碑网络技术有限公司 Control method and device for resource information playing, storage medium and electronic equipment
CN113038236A (en) * 2021-03-17 2021-06-25 北京字跳网络技术有限公司 Video processing method and device, electronic equipment and storage medium
CN113194352B (en) * 2021-04-28 2023-04-07 中国建设银行股份有限公司 Multimedia playing progress recording method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5953487A (en) * 1995-07-11 1999-09-14 Thomson Consumer Electronics Video recording and playback apparatus
CN102714514A (en) * 2010-01-06 2012-10-03 三星电子株式会社 Method and apparatus for setting section of a multimedia file in mobile device
CN103247310A (en) * 2012-02-14 2013-08-14 索尼爱立信移动通讯有限公司 Multimedia playing control method, playing control module and playing terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5953487A (en) * 1995-07-11 1999-09-14 Thomson Consumer Electronics Video recording and playback apparatus
CN102714514A (en) * 2010-01-06 2012-10-03 三星电子株式会社 Method and apparatus for setting section of a multimedia file in mobile device
CN103247310A (en) * 2012-02-14 2013-08-14 索尼爱立信移动通讯有限公司 Multimedia playing control method, playing control module and playing terminal

Also Published As

Publication number Publication date
CN105654974A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
US11886695B2 (en) Notification processing method and electronic device
US20220054938A1 (en) Display device and method of changing settings of display device
US8896556B2 (en) Time-based touch interface
CN104915143B (en) The control method and terminal of Rimless mobile terminal
CN103391469B (en) Mobile terminal and controlling method thereof
KR102414356B1 (en) Electronic device and Method for providing a haptic feedback of the same
US9008730B2 (en) Mobile terminal capable of providing multi-haptic effect and method of controlling the mobile terminal
US20140189597A1 (en) Method and electronic device for presenting icons
CN105654974B (en) Multimedia playing apparatus and method
CN105893955B (en) Fingerprint identification device and method
US20130181941A1 (en) Input processing apparatus
CN107402667A (en) Electronic equipment comprising display
US10528218B2 (en) Electronic device and operating method of the same
EP3144784B1 (en) Mobile terminal and control method for the mobile terminal
US20120047574A1 (en) Terminal and method for recognizing multi user input
CN106233237B (en) A kind of method and apparatus of processing and the new information of association
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
US10019156B2 (en) Mobile terminal and method for controlling the same
US10838612B2 (en) Apparatus and method for processing drag and drop
CN105094661A (en) Mobile terminal and method of controlling the same
KR20150145583A (en) Electronic device and method for controlling display
CN104714734A (en) Method and electronic device for tracking audio
CN107037966A (en) Sense the electronic equipment and method of operating an electronic device of the pressure of input
CN105094465B (en) Ambient light measurement method and device
CN106339157A (en) Mobile terminal and controling method thereof

Legal Events

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