WO2015180067A1 - 一种播放媒体的方法及终端 - Google Patents

一种播放媒体的方法及终端 Download PDF

Info

Publication number
WO2015180067A1
WO2015180067A1 PCT/CN2014/078634 CN2014078634W WO2015180067A1 WO 2015180067 A1 WO2015180067 A1 WO 2015180067A1 CN 2014078634 W CN2014078634 W CN 2014078634W WO 2015180067 A1 WO2015180067 A1 WO 2015180067A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
terminal
playing
played
detecting
Prior art date
Application number
PCT/CN2014/078634
Other languages
English (en)
French (fr)
Inventor
徐杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2016549381A priority Critical patent/JP6265401B2/ja
Priority to PCT/CN2014/078634 priority patent/WO2015180067A1/zh
Priority to US15/109,588 priority patent/US10540074B2/en
Priority to ES14893160.3T priority patent/ES2681653T3/es
Priority to EP14893160.3A priority patent/EP3073490B1/en
Priority to KR1020167019153A priority patent/KR102059882B1/ko
Priority to HUE14893160A priority patent/HUE040507T2/hu
Priority to CN201480002499.8A priority patent/CN104685898B/zh
Publication of WO2015180067A1 publication Critical patent/WO2015180067A1/zh

Links

Classifications

    • 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • 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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • 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/005Reproducing at a different information rate from the information rate of recording
    • G11B27/007Reproducing at a different information rate from the information rate of recording reproducing continuously a part of the information, i.e. repeating
    • 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/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and a terminal for playing media. Background technique
  • terminals With the rapid development of terminals, more and more functions are integrated on the terminals, such as photography, web surfing, video playback and music playback.
  • the media playback capabilities of existing terminals are getting stronger and stronger, the media playback effect is getting better and better, and some terminals have good portability, so more and more users use the terminal to play media.
  • the embodiment of the invention provides a method and a terminal for playing media, which can solve the problem that the method for playing the media by the terminal is imperfect and not simple.
  • a first aspect of the embodiments of the present invention provides a method for playing media, which may include:
  • Detecting an input command of the user determining a number of times of playing the media according to the input command; playing the media according to the number of times of playing.
  • the media includes:
  • the playing the media according to the number of times of playing includes: Playing an audio file or a video file currently being played by the terminal until the number of times of playing is reached.
  • the media includes:
  • the playing the media according to the number of times of playing includes:
  • a preset command that the user inputs by voice is detected
  • a user tapping operation on the terminal is detected
  • the number of fingers in the preset area of the touch display screen of the terminal is detected, and the preset number is reached.
  • the detecting an input command of the user determining, according to the input command, The number of times the media is played, including any of the following steps:
  • Detecting the number of times the user inputs by voice determining that the number of times the media is played is the number of times the voice input is played;
  • Detecting a trajectory of a sliding operation of a preset area of the touch display screen of the terminal determining a number of times of playing the media according to a length of the trajectory of the sliding operation, or according to a length and a direction of the trajectory;
  • the method before the opening the number of times setting function, the method further includes:
  • the user selects a selected operation of the preset area of the touch display screen of the terminal, and determines the number of times the media is played according to the duration of the selected operation.
  • the method before the opening the number of times setting function, the method further includes:
  • the method further includes:
  • the media is stopped to be played according to the number of times of playing.
  • the method further includes:
  • a second aspect of the embodiments of the present invention provides a terminal for playing media, which may include:
  • the opening unit is configured to enable the play count setting function
  • a first detecting unit configured to detect an input command of the user, and determine, according to the input command, a number of times of playing the medium
  • a playing unit configured to play the media according to the number of times of playing.
  • the media includes:
  • the playing unit is specifically configured to:
  • the audio file or video file currently being played by the terminal is played until the number of times of playing is reached.
  • the media includes:
  • the playing unit is specifically configured to:
  • the terminal further includes:
  • a second detecting unit configured to perform at least one of the following steps before the opening unit turns on the play count setting function:
  • a preset command that the user inputs by voice is detected
  • a user tapping operation on the terminal is detected
  • the number of fingers in the preset area of the touch display screen of the terminal is detected, and the preset number is reached.
  • the first detecting unit is specifically configured to perform any one of the following steps : detecting the number of times the user inputs by voice, determining that the number of times the media is played is the number of times the voice input is played;
  • Detecting the number of fingers of the preset area of the touch display screen of the terminal, and determining the number of times the media is played is the number of the fingers;
  • Detecting the number of times the user shakes the terminal determining that the number of times the media is played is the number of times the user shakes the terminal;
  • Detecting a trajectory of a sliding operation of a preset area of the touch display screen of the terminal determining a broadcast of the media according to a length of the trajectory of the sliding operation, or according to a length and a direction of the trajectory Number of releases
  • the second detecting unit before the enabling unit turns on the play times setting function, the second detecting unit is specific. Used for:
  • the first detecting unit is specifically configured to:
  • the user selects a selected operation of the preset area of the touch display screen of the terminal, and determines the number of times the media is played according to the duration of the selected operation.
  • the second detecting unit before the enabling unit turns on the play times setting function, the second detecting unit is specific. Used for:
  • the first detecting unit is specifically configured to:
  • the terminal further includes:
  • a display unit configured to display the number of times the media is played after the first detecting unit determines the number of times of playing the media.
  • the terminal further Includes:
  • a canceling unit configured to: when the playing unit plays the media according to the number of times of playing, if Upon receiving the cancel instruction input by the user, the media is stopped to be played according to the number of times of playing.
  • the playing unit plays the media according to the number of times of playing, or after the canceling unit receives the cancel instruction input by the user, and stops playing the media according to the playing times, the playing unit is further configured to: Playing media in the media list according to a media list and a preset playing rule.
  • a third aspect of the embodiments of the present invention provides a terminal for playing media, which may include:
  • a processor configured to enable a play count setting function
  • An input device configured to detect an input command of the user
  • the processor is further configured to: determine, according to the input command, a number of times of playing the media, and instruct the media output device to play the media according to the number of times of playing;
  • the media playing device is configured to play the media according to the number of times of playing.
  • the media includes:
  • the media playing device is specifically configured to:
  • the audio file or video file currently being played by the terminal is played until the number of times of playing is reached.
  • the media includes:
  • the media playing device is specifically configured to:
  • the input device is further configured to:
  • the processor Before the processor starts the play count setting function, performing at least one of the following steps: detecting a preset command input by the user through voice;
  • the number of fingers in the preset area of the touch display screen of the terminal is detected, and the preset number is reached.
  • the input device is specifically configured to detect the number of times the user inputs by voice input.
  • the processor is specifically configured to determine that the number of times the media is played is the number of times the voice input is played; or
  • the input device is specifically configured to detect a number of fingers of a preset area of the touch display screen of the terminal, where the processor is specifically configured to determine that the number of times of playing the media is the number of the fingers;
  • the input device is specifically configured to detect the number of times the user shakes the terminal, and the processor is specifically configured to determine that the number of times the media is played is the number of times the user shakes the terminal; or
  • the input device is specifically configured to detect a click count of a preset area of the touch display screen of the terminal, where the processor is specifically configured to determine that the number of times the media is played is the number of clicks; or the input The device is specifically configured to detect a trajectory of a sliding operation of the preset area of the touch display screen of the terminal, where the processor is specifically configured to determine the number of times the media is played according to the length of the trajectory of the sliding operation; Or
  • the input device is specifically configured to detect a length of time that the user selects a preset area of the touch display screen of the terminal, and the processor is specifically configured to determine the number of times the media is played according to the selected duration;
  • the input device is specifically configured to detect a distance between two selected points of a preset area of the touch display screen of the terminal, where the processor is specifically configured to determine, according to the distance, the playing of the media. frequency.
  • the input device is specifically configured to:
  • the processor is specifically configured to:
  • the playback times setting function is turned on
  • the input device is specifically configured to:
  • the processor is specifically configured to:
  • the number of times the media is played is determined according to the duration of the selected operation.
  • the input device is specifically configured to:
  • the processor is specifically configured to:
  • the playing times setting function is turned on
  • the input device is specifically configured to:
  • the processor is specifically configured to:
  • the number of times the media is played is adjusted according to the direction and length of the trajectory of the sliding operation, or according to the length and direction of the trajectory.
  • the terminal further includes:
  • a display screen configured to display the number of times the media is played after the processor determines the number of times the media is played.
  • the input device is further configured to: when the media playing device plays the media according to the playing times, receive a cancellation instruction input by a user ;
  • the processor is further configured to: instruct the media playback device to stop playing the media according to the number of times of playing;
  • the media playing device is further configured to stop playing the media according to the playing number according to an instruction of the processor.
  • the media playback device after playing the media according to the number of times of playing, or receiving a cancel instruction input by a user on the input device, the processor instructing the media playback device to stop playing the media according to the number of times of playing Thereafter, the media playing device is further configured to:
  • the play times setting function is configured on the terminal, and the number of times of playing the media is determined according to the detected user input instruction, and finally the media is played according to the determined number of times of play, thereby perfecting the existing terminal playing media.
  • the method can directly set the number of times the media is played, and enhances the convenience and ease of use of the terminal.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for playing a medium according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a method for playing media according to the present invention.
  • FIG. 3 is a schematic flow chart of a third embodiment of a method for playing a medium according to the present invention.
  • FIG. 4 is a schematic flow chart of a fourth embodiment of a method for playing a medium according to the present invention.
  • FIG. 5 is a schematic diagram showing an interface display when the method of playing media in FIG. 2 is used;
  • FIG. 6 is a schematic diagram showing another interface display when the method for playing media in FIG. 3 is used;
  • FIG. 7 is a schematic diagram of a first embodiment of a terminal for playing media according to the present invention.
  • FIG. 8 is a schematic diagram showing the composition of a second embodiment of a terminal for playing media according to the present invention.
  • FIG. 9 is a schematic diagram showing the composition of a third embodiment of a terminal for playing a media according to the present invention.
  • FIG. 10 is a schematic diagram showing the composition of a fourth embodiment of a terminal for playing media according to the present invention. detailed description
  • the terminal in the embodiment of the present invention may include: a personal computer (Personal Computer, PC for short), a tablet computer, a mobile phone, a PDA (Personal Digital Assistant), an electronic reader, a notebook computer, a vehicle terminal, and the like.
  • a personal computer Personal Computer
  • a tablet computer a mobile phone
  • PDA Personal Digital Assistant
  • an electronic reader a notebook computer
  • a vehicle terminal a vehicle terminal
  • the above terminal includes an input device and an output device.
  • the input device includes, but is not limited to, a display screen, a touch screen, a soft keyboard, a virtual control, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, a camera, and a microphone, and future technologies.
  • An input device that can be implemented.
  • the output devices include, but are not limited to, display screens, touch screens, speakers, etc., as well as output devices that can be implemented by future technologies.
  • the media in the embodiment of the present invention includes an audio file or a video file, or a dynamic picture, or an animation.
  • An audio file is a file containing music, voice, special sound effects, and the like.
  • a video file consists of a series of images that may or may not contain sound.
  • the media may be the media currently being played by the terminal, or the selected media to be played. That is to say, in the embodiment of the present invention, when the media is playing, the number of times of playing the media is set to be M, and after the setting, the media is also played M-1 times; before the media is played, the media is selected first.
  • the selected media or media are continuously played M times, wherein M is an integer greater than 0.
  • M is an integer greater than 0.
  • the selected media will continue to play, or the selected media may be played discontinuously until M times.
  • the continuous play in the embodiment of the present invention means that after a media is played, the media is played again from beginning to end, and thus repeated.
  • each media may be played continuously.
  • the playlist there are 1, 2, 3, 4, and 5 media to be played sequentially. If the media 2 is played twice and the media 4 is played three times, then the content can be media 1, 2 in turn. 2, 3, 4, 4, 4, 5.
  • another one or more media may be inserted between M plays of a selected media, that is, the selected media may be played twice in the adjacent two times. Interspersing one or more other media between them, or randomly inserting one or more other media, such as inserting other media between the first and second play, and then playing the third and fourth media. Wait.
  • the inserted media can be randomly selected media or other media after the selected media in the playlist. For example, in the playlist, there are 1, 2, 3, 4, and 5 media to be played sequentially. If the media 2 is played twice and the media 4 is played three times, then the content can be media 1, 2 in turn. 3, 2, 4, 5, 4, 4, or 1, 2, 4, 2, 3, 4, 5, 4, etc. It will be understood that those skilled in the art can also think of other ways of discontinuous playback based on the above description.
  • the media playing device may obtain the media to be played from the processor or the memory according to the instruction of the processor, perform corresponding processing (such as decoding, digital-to-analog conversion, etc.) on the media to be played, and generate corresponding media. Sound signals and/or video signals are played.
  • the media output device may include a chip having a media data processing function, and an output device having an image output function (eg, a display screen, a touch screen, etc.), and if the video contains sound, the media output device may further include and have audio An output device (such as a speaker) that outputs a function. If only audio needs to be played, the media output device may include a chip having a media data processing function, and an output device having an audio output function, and optionally, an output device having an image output function to display an interface for playing audio, etc. content.
  • the play count setting function is a function for setting the number of times the media is played.
  • the media that is set can be the media that the current terminal is playing, that is, it can be played in the media.
  • the number of times the media is played is set to M.
  • the media to be set may also be the media to be played, that is to say, before the media is played, the number of times of playing the media is preset. If the number of times of playing the media is set to M, then the media is played next time. , the media is played continuously or discontinuously for M times.
  • the detecting the voice input of the user to the terminal in the embodiment of the present invention means that the terminal can receive the voice of the user through a microphone or the like, obtain the voice of the user, and process and recognize the acquired voice through a device such as a processor. Determine whether the voice contains information related to a preset command, or the number of times of play. For the specific implementation, reference may be made to the related prior art of voice recognition, and details are not described herein again.
  • the play count setting function can be turned on.
  • the number of times of playing by voice input is detected, the number of times of playing the media may be determined as the number of times of playing the voice input.
  • the foregoing method for detecting the motion track of the terminal can use various implementations in the prior art, which is not limited in this embodiment of the present invention.
  • Detecting a click operation of the preset area of the touch display screen of the terminal, and the number of clicks of the preset area refers to a change of a parameter related to the preset area of the touch screen display terminal (such as a capacitance or The change in resistance) is used to detect the user's click operation on the preset area of the touch display.
  • a parameter related to the preset area of the touch screen display terminal such as a capacitance or The change in resistance
  • the number of clicks of the user can be obtained, and optionally, whether the number of clicks matches the number of times the function of setting the number of times of opening the play is matched, if it matches, Turn on the play count setting function.
  • the number of times the media is played can also be set by the number of clicks.
  • the preset area may be an area specified in the media playing application display interface, such as above or below the play button, or the upper edge, the lower edge, the left edge, or the right edge of the touch display screen. It can also be the area specified on the terminal desktop or terminal lock screen interface, such as any area on the terminal desktop without an application icon or any area on the terminal lock screen interface.
  • the preset area of the above click may use an area on the current display interface of the terminal that does not conflict with other applications or functions, or may also configure a higher or lower priority for the media application, when the clicked area exists with other applications or functions. In the case of a conflict, the response and the processing are performed according to the priority, which is not limited by the embodiment of the present invention.
  • the tapping operation of the terminal is detected by the user, and the number of tappings refers to the terminal detecting the vibration of the terminal by one or more sensors, and then determining whether the number of times of the vibration reaches the number of times the function of triggering the number of times of opening is triggered, and tapping
  • the position of the terminal can be the outer casing or the display screen. If the number of vibrations detected by the sensor reaches the number of times the function of triggering the number of times of opening is triggered, the number of times of setting can be turned on. Optionally, the number of times the media is played can also be set according to the number of taps.
  • the foregoing method for detecting the vibration of the terminal may use various implementations in the prior art, which is not limited in the embodiment of the present invention.
  • Detecting that the user slides on the preset area of the touch display screen of the terminal means that the terminal detects the user's sliding operation by changing the parameter of the touched position of the touch display screen (for example, a change in capacitance or resistance). If the slide operation is determined and the slide length reaches a certain length, the play count setting function can be turned on. Optionally, the number of times of playing may be further set according to the length of the trajectory of the sliding operation or according to the length and direction of the trajectory of the sliding operation.
  • the preset area may be an area specified in the media playing application display interface, such as a play button or a play button, or a designated area of the terminal desktop or the lock screen interface, and the sliding direction may extend in any direction, such as You can open the playback times setting function by sliding a certain distance to the right of the playback button, or you can slide the length to the left in any area of the terminal desktop or lock screen interface to enable the playback times setting function.
  • the number of play times can also be determined according to the direction and length of the slide. For example, the number of slides to the right is increased, and each slide is 1 cm to the right, the play count is increased by 1, and the slide to the left is decreased. Slide 1 cm to the left and decrease the number of plays by 1.
  • the above-mentioned sliding area, direction and length may be implemented in various manners, which is not limited in the embodiment of the present invention.
  • the detection operation of the preset area of the touch display screen of the terminal reaches a first preset duration, which refers to a parameter change of the selected position of the terminal through the touch display screen (for example, a change in capacitance or resistance)
  • the duration of the selected operation is detected to detect the duration of the selected operation on the touch display screen, and then it is determined whether the parameter change of the selected area (for example, the duration of the change in capacitance or resistance) reaches the first preset duration, and if so, The number of play settings can be turned on.
  • the touch operation may be touch selection (including direct touch selection operation and indirect touch selection operation;), or the touch display screen is a floating touch display screen, and the corresponding selected operation may also be a floating touch Control selected operation.
  • the selected area and the length of time can be combined as needed, which is not limited by the embodiment of the present invention.
  • the terminal detects whether the designated button is pressed by detecting a change in the electrical signal when the touch button or the physical button is pressed, and if the designated button is pressed, The number of play settings can be turned on.
  • the duration of the pressing may be configured to prevent an erroneous operation. If the designated button is pressed for a certain period of time, the playing times setting function is turned on, and the method for detecting that the button is pressed by the detecting terminal may be used in the prior art.
  • the embodiments of the present invention are not limited thereto.
  • the terminal detects the user's touch by changing the parameter of the touched position of the touch display screen (for example, the change and the quantity of the capacitor or the resistor) Control the number of fingers touched on the display screen. If it is determined that the number of touched fingers reaches a certain number, the playback number setting function can be turned on. If the touched hand index reaches 2, the number of playbacks will be customized, or if the touched hand index reaches 3, the number of playbacks will be customized.
  • the touch can also be a direct touch and an indirect touch or a floating touch.
  • the touch time limit can be combined to enable the play times to be customized, such as when the touched hand index reaches 2 and the touch time reaches 2 seconds.
  • the number of times of the play is customized, and the number of the touches or the time of the touch may be used in various manners, which is not limited in the embodiment of the present invention.
  • the number of times of playing the media may be set by touching the number of fingers in the preset area of the touch display screen of the terminal, for example, if the finger of the preset area of the touch touch screen is detected as 3 , the number of times the media is played is set to 3 times.
  • Detecting the number of times the user shakes the terminal means that the terminal detects the shaking and shaking times of the terminal by one or more kinds of sensors, such as an acceleration sensor and a gyro sensor, and then determines whether the number of shaking times reaches a preset number of times, and shakes
  • the direction can be horizontal, or vertical, or it can be swaying in the other two opposite directions. If the number of shaking of the terminal reaches the preset number of times, To enable the play count setting function.
  • the foregoing method for detecting the swaying and the number of times of the terminal may be implemented in various manners in the prior art, which is not limited in the embodiment of the present invention.
  • the number of times of playing can also be determined by counting the number of shaking of the terminal. For example, the left and right horizontal shaking is performed once, the number of playing times is increased by 1, the vertical shaking is performed once, and the number of playing times is decreased by one.
  • the specific mapping relationship can be implemented in various manners, which is not limited by the embodiment of the present invention.
  • Detecting a trajectory of the sliding operation of the preset area of the touch display screen of the terminal determining the number of times the media is played according to the length of the trajectory of the sliding operation, where the terminal is touched by the touch display screen
  • the position parameter continuously changes (for example, continuous change of capacitance or resistance) to detect the length of the trajectory of the user sliding operation on the touch display screen, and the length of the trajectory of the sliding operation is mapped to the number of times of play, according to the length of the trajectory of the sliding operation
  • the number of times the media is played can be determined.
  • the direction and length of the trajectory of the sliding operation can also be comprehensively considered, and the direction of the sliding operation can be extended or shortened in any direction, such as continuously sliding to the right above the play button of the media playing application, and the length of the trajectory of the sliding operation
  • the foregoing method for detecting the length and direction of the trajectory of the sliding operation of the terminal can use various implementations in the prior art, which is not limited in the embodiment of the present invention.
  • Detecting a selected duration of the preset area of the touch display screen of the terminal determining the number of times the media is played according to the selected duration, and referring to the selected position of the terminal through the touch display screen
  • the change of the parameter (such as the duration of the change of the capacitance or the resistance) is used to detect the length of time selected by the user on the touch display screen, and then the number of times of play is determined according to the preset mapping relationship between the selected duration and the number of play times. For example, you can set it to: The greater the selected duration, the more plays. If the selected duration is 3 seconds, the number of plays is 3, and when the selected duration is 4 seconds, the number of plays is 4.
  • the touch operation may be touch selection (including direct touch selection operation and indirect touch selection operation), or the touch display screen is a floating touch display screen, and the corresponding selection may also be a floating touch display. Selected.
  • the selected area and duration can be combined as needed, which is not limited by the embodiment of the present invention.
  • the terminal determines the position of the selected point by using a parameter change (for example, a change in capacitance or resistance) of the two selected points on the touch display screen.
  • the distance of the point is selected, and then the number of times of play is determined according to the preset mapping relationship between the distance of the two selection points and the number of play times. If the distance between two selection points is 2 cm and less than 3 cm, the number of plays is 2, and the distance between the two selection points is less than 2 cm, the number of plays is 1.
  • the distance between the two selection points can be according to the user's operation. Change in real time.
  • the foregoing method for detecting the distance between two selected points on the touch screen of the terminal can use various implementations in the prior art, which is not limited by the embodiment of the present invention.
  • the trigger condition for turning on the play count setting function can be at least one of the following:
  • a preset command that the user inputs by voice is detected
  • a user tapping operation on the terminal is detected
  • the number of fingers in the preset area of the touch display screen of the terminal is detected, and the preset number is reached.
  • the above detection operations can be independently used as a condition for turning on the number of times of setting, or two or more operations can be combined as a condition for turning on the number of times of setting.
  • the operation of triggering the number of times setting function may be after the preset area of the touch display of the touch terminal reaches a preset length and slides to a preset length, or may be reached by sliding in a preset area on the touch display of the terminal.
  • the preset length and the touch of the touch screen of the terminal reach the preset duration, or it can also be a number setting function, etc., and a plurality of single operations can be combined to obtain more combined operations, which is no longer exemplified.
  • the single operation is more efficient, which saves the detection processing time of the terminal;
  • the combined operation time is longer, but the terminal error response caused by the user's misoperation can be avoided. Therefore, the operation of triggering the play count setting function can be selected and configured according to the environment and user habits of the terminal.
  • the trigger condition may also be that when the media play function is turned on, the play count setting function is automatically turned on, or the play count setting function is automatically turned on when each song or video is played.
  • the input command of the user is detected, and the number of times of playing the media is determined according to the input command, and any one of the following steps may be adopted:
  • Detecting the number of times the user inputs by voice determining that the number of times the media is played is the number of times the voice input is played;
  • Detecting the number of fingers of the preset area of the touch display screen of the terminal, and determining the number of times the media is played is the number of the fingers;
  • Detecting the number of times the user shakes the terminal determining that the number of times the media is played is the number of times the user shakes the terminal;
  • the terminal can determine whether the playback is completed by setting a timer, or whether the number of times is zero for each play, and if it is not zero, the playback is continued, and whether the playback is completed can be used in the prior art.
  • the embodiments of the present invention are not limited thereto.
  • the user may be prompted with the determined number of times of playing by using voice playback or displaying on the display screen. It is also possible to display the number of plays determined in the process in real time during the setting of the parameters, so as to guide the user to more accurate settings.
  • the operation of triggering the play count setting function is called the first operation
  • the operation of setting the play count is called the second operation
  • the types of the two operations may be the same or different (the type of operation may include but is not limited to voice operation) , touch operation, shaking operation, click operation, tap operation, selected operation, slide operation, button operation, and multi-finger operation), the two operations can be performed continuously or non-continuously.
  • the types of the first operation and the second operation are both touch operations, and the preset preset time of the touch display of the terminal reaches a first preset duration, such as 2 seconds to enable the play count setting function, and then continues to maintain the touch state of the area.
  • the same area of the touch display of the touch terminal reaches a second preset duration of 5 seconds, and the terminal can recognize the duration of the touch to map the number of times of play; for example, the preset area on the touch display of the terminal slides to the first A preset length such as 1 cm triggers the play count setting function, and then keeps the direction unchanged, and continues to slide in the preset area on the touch display of the terminal to reach a second preset length such as 3 cm, and the terminal can recognize the continuous distance of the touch.
  • the map gets the number of plays.
  • the time when the user performs the first operation and the time when the second operation is performed may also be greater than 0 and less than a certain preset threshold, that is, there is a time interval between the two operations, but it is ensured that the terminal is still in the play count setting function.
  • the preset threshold is 3 seconds
  • the terminal detects the first operation and turns on the number of times setting function, and after detecting the second operation within 3 seconds, the terminal can obtain the number of times of playing. If the number is not detected within 3 seconds, In the second operation, the terminal will turn off the play count function. After 3 seconds, the user performs the second operation again, which is regarded as invalid operation.
  • the default value of the present invention is not limited to the embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for playing a media according to the present invention.
  • the method includes the following steps:
  • triggering conditions such as triggering operations of various users as described above, or a certain preset function being enabled (for example, media playing, etc.).
  • the play count setting function there may be no initial play times, which is completely determined by the user's input command; or, there may be an initial play count, for example, 0 or 1, or a relatively large value (for example, 5), Then adjust the initial number of plays according to the user's input command until the user gets the desired play. Number of times.
  • Detect a user input command and determine a number of times of playing the media according to the input command.
  • the method of detecting the input command and determining the number of times of playing the media according to the input command can be referred to the previous description, and will not be repeated here.
  • the executor of the foregoing method may be a terminal, or a specific module in the terminal, and may specifically refer to related embodiments of the device part.
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for playing media according to the present invention.
  • the method includes:
  • S201 The user selects a selected operation of the preset area of the touch display screen of the terminal to reach a first preset duration.
  • S203 Detect a first duration selected by the user for the first preset area of the touch display screen of the terminal, and increase the number of times the media is played according to the selected first duration.
  • the first preset area may be a button indicating an increase in the number of times, for example, a plus button.
  • the terminal may perform S204.
  • S204 Detect a second duration selected by the user for the second preset area of the touch display screen of the terminal, and reduce the number of times the media is played according to the selected second duration.
  • the first preset area may be a button indicating a decrease in the number of times, such as a minus button.
  • the execution process of S205 can refer to the previous description, and will not be repeated here.
  • the initial play count may be 0 or 1, and the user may input in the first preset area, and the terminal executes S203.
  • the initial number of playes may be a relatively large value, for example, 5, at which time the user can directly input in the second preset area, that is, S202 is directly executed after S202, and S203 is not executed.
  • S204 can also be executed first, and then S203 is executed.
  • the executor of the foregoing method may be a terminal, or a specific module in the terminal, and may specifically refer to related embodiments of the device part.
  • FIG. 3 it is a schematic flowchart of a third embodiment of a method for playing media according to the present invention.
  • the method includes:
  • a sliding operation of the preset area of the touch display screen of the terminal is detected by the user.
  • S301 and S302 can refer to the previous corresponding description, and will not be repeated here.
  • the preset area may be a strip area. If the strip area is a direction parallel to the horizontal axis of the touch screen display, the first direction may be a direction to the right along the strip area. If the strip area is a direction parallel to the longitudinal axis of the touch screen display, the first possible direction may be an upward direction along the strip area. If it is detected that the length of the trajectory of the user sliding along the first direction is longer, it is determined that the value of the number of times the media is played is larger. When the user gets a satisfactory number of plays, the first sliding operation is stopped. When the terminal does not detect the user's subsequent input You can jump directly to S305. Optionally, if the user finds that the number of times of playing is set too much, and the number of times of playing needs to be reduced, the terminal may perform S304.
  • the preset area may be a strip area. If the strip area is a direction parallel to the horizontal axis of the touch screen display, the second direction may be a left direction along the strip area. If the strip area is a direction parallel to the longitudinal axis of the touch screen display, the second possible direction may be a downward direction along the strip area. If it is detected that the length of the trajectory of the user sliding in the second direction is longer, it is determined that the value of the number of times the media is played is smaller. When the user gets a satisfactory number of plays, the second sliding operation is stopped. When the terminal does not detect the subsequent input of the user, S305 may be performed.
  • the initial play count may be 0 or 1, and the user inputs the first slide operation, and the terminal executes S303.
  • the initial number of times of playing may be a relatively large value, for example, 5, at which time the user can input a second sliding operation, that is, S302 is directly executed after S302, and S303 is not executed.
  • S304 can also be executed first, and then S303 is performed.
  • the executor of the foregoing method may be a terminal, or a specific module in the terminal, and may specifically refer to related embodiments of the device part.
  • FIG. 4 it is a schematic flowchart of a fourth embodiment of a method for playing media according to the present invention.
  • the method includes the following steps:
  • S401 and S402 can refer to the previous related description.
  • the playing times of the media may be displayed on the touch display screen of the terminal, or may be displayed on other display screens of the terminal, such as a display screen for displaying time and date, or may be displayed on the terminal.
  • the terminal prompts the user to prompt the user to set the number of play times, which is convenient for the user to perform corresponding control, so that the terminal obtains the best play times.
  • S405 Receive a cancel instruction input by the user, and stop continuously playing the media.
  • the current setting is 5 times, has been played 2 times, or the second time is being played. If the cancel command input by the user is received at this time, the remaining 3 times will not be played after the second playback ends.
  • the canceling instruction may be obtained by the terminal by detecting a user operation on the terminal, where the operation may be any operation performed on the touch display screen of the terminal or an operation that the terminal can sense, such as double clicking on the touch display screen.
  • An area Of course, you can directly cancel the set number of playbacks and directly play other media by directly clicking the previous or next song in the music playback application.
  • the above method can also be regarded as clicking the touch display of the terminal by clicking the operation.
  • the preset area is used to achieve the purpose of canceling the number of times the terminal has been set.
  • S406 Play the media in the media list according to the media list and the preset playing rule.
  • the media in the media list may be continuously played according to the media list and the preset playing rule.
  • the media 1, 2, 3, and 4 are sequentially set, and the media 2 needs to be played 5 times in the previous setting. If the media 2 is being played the second time, the cancel command input by the user is received. Then, after the media 2 is played for the second time, the subsequent media 3 and 4 are directly played in sequence. Alternatively, the media may be paused or stopped after the cancellation command is received.
  • the related art may be referred to herein, and the present invention does not limit the present invention. It can be understood that the continuous play in the above steps can also be replaced by discontinuous play, and the implementation scheme is similar.
  • the integrity description is performed on the entire playing method, and the determined number of playing times is displayed on the touch display screen of the terminal, thereby facilitating the terminal to prompt the user to set the number of playing times, which is convenient for the user to perform corresponding control.
  • the terminal obtains the number of times the user wants to play; after the playback is completed according to the set number of times of playing, the terminal can play the media in the media list according to the media list and the preset rule, for example, if the preset rule is random play, after the play is completed, The songs in the song list will be randomly played. If the preset rule is sequential playback, after the playback is completed, the next song in the song list will be played. Of course, the preset rule itself may be repeated play, and the user may also At this time, the play count setting function is started, and the media will continue to be played according to the repeat play rule after the set play count is completed.
  • the terminal can directly perform step S406, thereby achieving perfect integration and compatibility between the normal media playback and the set playback times.
  • the executor of the foregoing method may be a terminal, or a specific module in the terminal, and may specifically refer to related embodiments of the device part.
  • FIG. 5 is a schematic diagram of an interface display when the operation method of FIG. 2 is used. As shown in FIG. 5, all operations of the user are completed on the music play application display interface, and half of the display interface is displayed. Some song information such as song name, song duration, lyrics and other information can be displayed. In the lower part of the display interface, various operation buttons such as "previous song”, "pause/play” and "next song” can be displayed. The touched or selected area is indicated by a black circle.
  • the user can touch or select the "pause/play” button to reach the first preset time to trigger the play count setting function, if the user is at the first preset time Continue to touch or select based on the basis, then the terminal starts to touch according to the "pause/play” button or the selected duration to determine the number of times of play and display it as a number, the number can be included in the square bubble or the circular bubble, and the display
  • the position can be above the touch or the selected area, or can be adaptively adjusted according to the size of the touch display or the position of the function button of the current interface, or DETAILED to preclude the use of other methods such as tips arranged to form a sound or flashing, herein are not limited in any way.
  • the detection determines that the number of plays is "2" and is displayed in "Pause/Play”. If the user continues to select and touch the "Pause/Play” button, the number of plays will continue to increase. As shown in the fourth display interface of the first row, the number of plays increases to "5". If the user feels that the number of times of play is satisfactory, the user can no longer touch or select the preset area of the touch display screen of the terminal, and the number of times determined by the terminal is 5, and the terminal will continuously play the current song 5 times. If the user feels that the number of times is increased after the number of times of play increases to 5, the preset length can be swiped down.
  • the number of times is still 5 times (as shown in the first display interface of the second row).
  • the bubbles can be displayed above the "Pause/Play” button that is farther from the touch or selected area, avoiding the "Pause/Play” button, and if you swipe down and then continue to touch or select, the number of custom plays will be Decrease with the touch or the selected duration. If the user feels that the playback is repeated 3 times, the current operation can be stopped when the terminal displays the current number of plays 3 times (as shown in the second display screen of the second row).
  • the terminal determines that the number of times of playing is 3, and the terminal starts to play the current song 3 times in succession (for example, the third row of the third display interface diagram) Shown).
  • the above continuous play can also be replaced by discontinuous play, and the implementation scheme is similar.
  • FIG. 6 is a schematic diagram showing another interface display when the operation method of FIG. 3 is used. As shown in FIG. 6, all operations are completed on the music play application display interface, and half of the display interface is displayed. Some song information such as song name, song duration, lyrics, etc. can be displayed, and various operation buttons such as "previous song”, "pause/play” and "next song” can be displayed in the lower part of the display interface.
  • the touched or selected area is indicated by a black circle, and the sliding track is used to touch or select the area as a black line of the end point, and the length of the sliding track is the length of the black line.
  • the user can slide to the right direction of each operation button to reach the preset length and trigger the number of times to play the setting function. If the user continues to slide to the right on the basis of the preset length, the terminal starts to play according to the detection. The number of times is displayed in the form of a number.
  • the specific prompt mode can also be configured as a sound or a flash, and is not limited herein.
  • the detection determines that the number of plays is "2". If the user continues to slide to the right, the number of plays will continue to increase, as shown in the fourth display interface of the first row.
  • the number of times is reduced to 3 times (as shown in the first display interface diagram of the second row), if you slide to the right again, the number of plays will increase to 5 times (such as the second row of the second display interface diagram) As shown in the figure), if the user feels that the playback is better 5 times, the current operation can be stopped when the terminal displays the current number of plays 5 times. At this time, if the terminal no longer detects any input operation related to the set playback times of the user. When the terminal determines the number of play times is 5, the terminal starts to play the current song 5 times in succession (as shown in the third display interface diagram of the second row).
  • the above continuous play can also be replaced by discontinuous play, and the implementation scheme is similar.
  • the long press and slide operation and the combination thereof are specifically applied to achieve the effect of the custom number of play times, and other operations are also applicable, such as double-clicking the touch display screen to enable the play count setting. Function, and then determine the number of times of playing according to the number of times the touch display is clicked.
  • the two display areas of the touch display screen can be correspondingly configured to increase and decrease respectively.
  • the number of times of playing can be increased and decreased; or by shaking the terminal to use gravity sensing to trigger the playing times to be customized, and the horizontal shaking is configured to increase the number of times of playing, and the vertical shaking reduces the number of times of playing. Wait for the play count setting function.
  • the invention is not limited at all.
  • FIG. 7 is a schematic diagram of a first embodiment of a terminal for playing a media according to the present invention.
  • the terminal includes:
  • the opening unit 100 is configured to enable the play count setting function
  • the first detecting unit 200 is configured to detect an input command of the user, and determine, according to the input command, a number of times of playing the media;
  • the playing unit 300 is configured to play the media according to the number of times of playing.
  • the media includes:
  • the playing unit 300 is specifically configured to:
  • the audio file or video file currently being played by the terminal is played until the number of times of playing is reached.
  • the media includes:
  • the playing unit 300 is specifically configured to:
  • the first detecting unit 200 is specifically configured to perform any one of the following steps:
  • Detecting the number of times the user inputs by voice determining that the number of times the media is played is the number of times the voice input is played;
  • Detecting the number of fingers of the preset area of the touch display screen of the terminal, and determining the number of times the media is played is the number of the fingers;
  • Detecting the number of times the user shakes the terminal determining that the number of times the media is played is the number of times the user shakes the terminal;
  • Detecting a trajectory of a sliding operation of a preset area of the touch display screen of the terminal determining a number of times of playing the media according to a length of the trajectory of the sliding operation, or according to a length and a direction of the trajectory;
  • FIG. 8 is a schematic diagram of a second embodiment of a terminal for playing a media according to the present invention.
  • the terminal includes:
  • the opening unit 100 is configured to enable the play count setting function
  • the first detecting unit 200 is configured to detect an input command of the user, and determine, according to the input command, a number of times of playing the media;
  • the playing unit 300 is configured to play the media according to the number of times of playing.
  • the terminal further includes:
  • the second detecting unit 400 is configured to: before the opening unit 100 turns on the play count setting function, Perform at least one of the following steps:
  • a preset command that the user inputs by voice is detected
  • a user tapping operation on the terminal is detected
  • the number of fingers in the preset area of the touch display screen of the terminal is detected, and the preset number is reached.
  • the first detecting unit 200 is specifically configured to perform any one of the following steps:
  • Detecting the number of times the user inputs by voice determining that the number of times the media is played is the number of times the voice input is played;
  • Detecting the number of fingers of the preset area of the touch display screen of the terminal, and determining the number of times the media is played is the number of the fingers;
  • Detecting the number of times the user shakes the terminal determining that the number of times the media is played is the number of times the user shakes the terminal;
  • Detecting a trajectory of a sliding operation of a preset area of the touch display screen of the terminal determining a number of times of playing the media according to a length of the trajectory of the sliding operation, or according to a length and a direction of the trajectory;
  • the second detecting unit 400 is specifically configured to:
  • the first detecting unit 200 is specifically configured to:
  • the user selects a selected operation of the preset area of the touch display screen of the terminal, and determines the number of times the media is played according to the duration of the selected operation.
  • the second detecting unit 400 is specifically configured to:
  • the first detecting unit 200 is specifically configured to:
  • the first detecting unit 200 detects an input command of the user, and determines, according to the input command, a first operation of the user detected when the number of times of playing the media is set, and a setting of the number of times the playback unit 100 is turned on.
  • the second operation of the user detected by the second detecting unit 400 is the same for the two operations, and the time is continuous.
  • FIG. 9 is a schematic diagram of a third embodiment of a terminal for playing a media according to the present invention.
  • the terminal includes:
  • the opening unit 100 is configured to enable the play count setting function
  • the first detecting unit 200 is configured to detect an input command of the user, and determine, according to the input command, a number of times of playing the media;
  • the playing unit 300 is configured to play the media according to the number of times of playing.
  • the terminal further includes:
  • the second detecting unit 400 is configured to perform at least one of the following steps before the opening unit 100 turns on the play count setting function:
  • a preset command that the user inputs by voice is detected; Detecting that the motion track of the terminal conforms to a preset trajectory;
  • a user tapping operation on the terminal is detected
  • the number of fingers in the preset area of the touch display screen of the terminal is detected, and the preset number is reached.
  • the first detecting unit 200 is configured to perform any one of the following steps:
  • Detecting the number of times the user inputs by voice determining that the number of times the media is played is the number of times the voice input is played;
  • Detecting the number of fingers of the preset area of the touch display screen of the terminal, and determining the number of times the media is played is the number of the fingers;
  • Detecting the number of times the user shakes the terminal determining that the number of times the media is played is the number of times the user shakes the terminal;
  • Detecting a trajectory of a sliding operation of a preset area of the touch display screen of the terminal determining a number of times of playing the media according to a length of the trajectory of the sliding operation, or according to a length and a direction of the trajectory;
  • the terminal further includes:
  • the display unit 500 is configured to, after the first detecting unit 200 determines the number of times of playing the media, Displays the number of times the media has been played.
  • the canceling unit 600 is configured to stop playing the media according to the playing times if the canceling instruction input by the user is received when the playing unit 300 plays the media according to the playing times.
  • the playing unit 300 plays the media according to the number of times of playing, or after the canceling unit 600 receives the cancel instruction input by the user, and stops playing the media according to the playing times, the playing unit 300 Also used for:
  • the above-mentioned opening unit 100, the first detecting unit 200, the playing unit 300, the display unit 500, the playing unit 300, the display unit 500 or the canceling unit 600 can be independently set, or can be integrated, and the above opening unit 100, the first The detecting unit 200, the playing unit 300, the display unit 500, and the canceling unit 600 playing unit 300 display unit 500 canceling unit 600 may be separately set in hardware form independently of the processor of the terminal, and may be separately set or integrated together, and set The form may be in the form of a microprocessor; it may also be embedded in the processor of the terminal in hardware, or may be stored in the memory of the terminal in software, so that the processor of the terminal invokes to execute the above opening unit 100, the first The detecting unit 200, the playing unit 300, the display unit 500, and the canceling unit 600 play unit 300 display unit 500 cancels the operation corresponding to unit 600.
  • the activation unit may be a processor of the terminal, and the function of the first detection unit playback unit 300 may be embedded in the processing. In the device, it may be separately set independently of the processor, or may be stored in the memory in the form of software, and the function is called by the processor.
  • the playing unit 300 is controlled by the opening unit 100 as a media playing device.
  • the second embodiment the embodiment shown in FIG.
  • the second detecting unit 400 is further included, and the second detecting unit 400 may be integrated with the first detecting unit 200, or Independently set, or can also be used as the interface circuit of the terminal, used to detect the user's operation and identify it, and can be set independently or integrated with the processor.
  • the display unit 500 can be used as an output device of the terminal, and the canceling unit 600 can be integrated with the open unit 100 or set independently.
  • the embodiment of the present invention does not impose any limitation.
  • the above processor may be a central processing unit (CPU), a microprocessor, a single chip microcomputer or the like.
  • 10 is a schematic diagram of a fourth embodiment of a terminal for playing a media according to the present invention.
  • the terminal includes:
  • the processor 110 is configured to enable a play count setting function.
  • the input device 120 is configured to detect an input command of the user
  • the processor 110 is further configured to: determine, according to the input command, the number of times of playing the media, and instruct the media output device 140 to play the media according to the number of times of playing;
  • the media playing device 130 is configured to play the media according to the number of times of playing.
  • the media includes:
  • the media playing device 130 is specifically configured to:
  • the audio file or video file currently being played by the terminal is played until the number of times of playing is reached.
  • the media includes:
  • the media playing device 130 is specifically configured to:
  • the input device 120 is further configured to: perform at least one of the following steps before the processor 110 turns on the play count setting function:
  • the preset command of the user input by voice is detected;
  • the input device 120 can be a microphone; the motion track of the terminal is detected to conform to the preset track; the input device 120 can be one or more sensors such as an acceleration sensor and a gyroscope. Instrument sensor or electronic compass sensor, etc.;
  • a click operation of the preset area of the touch display screen of the terminal is detected by the user; at this time, the input device 120 can be a touch display screen;
  • the tapping operation of the terminal is detected by the user;
  • the input device 120 can be a touch display screen;
  • the sliding operation of the preset area of the touch display screen of the terminal is detected by the user;
  • the setting 120 can be a touch display screen;
  • the user selects a selected operation of the preset area of the touch display screen of the terminal to reach a first preset duration;
  • the input device 120 can be a touch display screen;
  • the input device 120 can be a touch control display or a signal transmission circuit connected to the button;
  • the input device 120 can be a touch display screen.
  • the input device 120 is specifically configured to detect the number of times the user inputs the voice by the voice, and the processor 110 is specifically configured to determine that the number of times of playing the media is the number of times the voice input is played; or
  • the input device 120 is specifically configured to detect a number of fingers of a preset area of the touch display screen of the user, where the processor 110 is specifically configured to determine that the number of times of playing the media is the number of the fingers; Or
  • the input device 120 is specifically configured to detect the number of times the user shakes the terminal, and the processor 110 is specifically configured to determine that the number of times the media is played is the number of times the user shakes the terminal; or
  • the input device 120 is specifically configured to detect a click count of a preset area of the touch display screen of the terminal, where the processor 110 is specifically configured to determine that the number of times of playing the media is the number of clicks; or
  • the input device 120 is specifically configured to detect a trajectory of a sliding operation of a preset area of the touch display screen of the terminal, and the processor 110 is specifically configured to use a length of the trajectory according to the sliding operation, or according to the Determining the length and direction of the track, determining the number of times the media is played; or
  • the input device 120 is specifically configured to detect a duration selected by a user for a preset area of the touch display screen of the terminal, and the processor 110 is specifically configured to determine, according to the selected duration, the playing of the media. Number of times; or
  • the input device 120 is specifically configured to detect a distance between two selected points of a preset area of the touch display screen of the terminal, where the processor 110 is specifically configured to determine the media according to the distance. The number of plays.
  • the input device 120 is specifically configured to:
  • the processor 110 is specifically configured to:
  • the playback times setting function is turned on
  • the input device 120 is specifically configured to:
  • the user selects a selected operation of the preset area of the touch display screen of the terminal; the processor 110 is specifically configured to:
  • the number of times the media is played is determined according to the duration of the selected operation.
  • the input device 120 is specifically configured to:
  • the processor 110 is specifically configured to:
  • the playing times setting function is turned on
  • the input device 120 is specifically configured to:
  • the processor 110 is specifically configured to:
  • the input device 120 detects an input command of the user, and the processor 110 determines, according to the input command, the first operation and the user detected by the input device 120 when the number of times of playing the media is Before the processor 110 turns on the play count setting function, the second operation of the user detected by the input device 120 is the same for the two operations, and the time is continuous.
  • the terminal further includes:
  • a display screen 140 (not shown) is configured to display the number of times the media is played after the processor 110 determines the number of times the media is played.
  • the input device 120 is further configured to: in the media playing device 130 according to the number of times of playing, Receiving a cancel instruction input by a user when playing the media;
  • the processor 110 is further configured to: instruct the media playback device to stop playing the media according to the number of times of playing; the media playback device 130 is further configured to stop according to the instruction of the processor 110, stop playing according to the The media is played a number of times.
  • the processor 110 instructs the media playing device 130 to stop playing according to the playing.
  • the media playing device 130 is further configured to:
  • the media in the media list is continuously played according to the media list and the preset playing rule.
  • the present invention has the following advantages:
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

本发明实施例提供了一种播放媒体的方法,包括:开启播放次数设置功能;检测用户的输入命令,根据所述输入命令,确定对媒体的播放次数;按照所述播放次数,播放所述媒体。本发明实施例还提供了一种播放媒体的终端,采用本发明,可完善终端播放媒体的方法,终端的操作简便可靠。

Description

一种播放媒体的方法及终端
技术领域
本发明涉及通信技术领域, 尤其涉及一种播放媒体的方法及终端。 背景技术
随着终端的飞速发展, 终端上集成的功能也越来越多,如照相、 网上冲浪、 视频播放及音乐播放等。 现有终端的媒体播放能力越来越强, 媒体播放效果越 来越好, 且一些终端具备良好的便携性, 因此使用终端播放媒体的用户也越来 越多。
在用户的媒体播放过程中, 如果用户听到或看到一个自己想多听或看几遍 的媒体, 终端的操作较为繁瑣, 下面以听歌进行举例说明: 在现有技术中, 用 户必须进入音乐应用, 点击音乐播放模式, 将音乐播放模式切换到单曲循环, 这样虽然能重复播放用户喜欢的歌曲, 但是重复次数无休止, 需要停止重复播 放时需要进行再次操作, 流程比较繁瑣; 另一种方式则是等待这首用户喜欢的 歌曲播放完之后通过点击上一首歌曲, 从而返回到用户喜欢的歌曲再次播放, 而播放完之后想再听都需要重复上述操作, 给用户带来很大的不便, 因此, 现 有的播放媒体的方法及终端的操作还不够简便。 发明内容
本发明实施例提供了一种播放媒体的方法及终端, 可解决终端播放媒体的 方法不完善, 不简便的问题。
本发明实施例第一方面提供了一种播放媒体的方法, 可包括:
开启播放次数设置功能;
检测用户的输入命令, 根据所述输入命令, 确定对媒体的播放次数; 按照所述播放次数, 播放所述媒体。
在第一方面的第一种可能的实现方式中, 所述媒体包括:
终端当前正在播放的音频文件或视频文件;
所述按照所述播放次数, 播放所述媒体, 包括: 播放所述终端当前正在播放的音频文件或视频文件, 直至达到所述播放次 数。
在第一方面的第二种可能的实现方式中, 所述媒体包括:
选定的待播放的音频文件或选定的待播放的视频文件;
所述按照所述播放次数, 播放所述媒体, 包括:
播放所述选定的待播放的音频文件或选定的待播放的视频文件, 直至达到 所述播放次数。
结合第一方面或结合第一方面的第一或第二种可能的实现方式, 在第三种 可能的实现方式中, 在所述开启播放次数设置功能之前, 还包括以下步骤中的 至少一个:
检测到用户通过语音输入的预设命令;
检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数, 达到预设 的个数。
结合第一方面或结合第一方面的第一或第二或第三种可能的实现方式, 在 第四种可能的实现方式中, 所述检测用户的输入命令, 根据所述输入命令, 确 定对媒体的播放次数, 包括以下步骤中的任意一个:
检测用户通过语音输入的播放次数, 确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数, 确定所述媒 体的播放次数为所述手指个数; 检测用户晃动所述终端的次数, 确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数, 确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹, 根据所 述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向, 确定所述媒体的播 放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长, 根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。
结合第一方面或结合第一方面的第一或第二种可能的实现方式, 在第五种 可能的实现方式中, 在所述开启播放次数设置功能之前, 还包括:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
所述检测用户的输入命令, 根据所述输入命令, 确定对媒体的播放次数, 包括:
持续检测到用户对所述终端的触控显示屏的预设区域的选定操作, 根据所 述选定操作的持续时长, 确定所述媒体的播放次数。
结合第一方面或结合第一方面的第一或第二种可能的实现方式, 在第六种 可能的实现方式中, 在所述开启播放次数设置功能之前, 还包括:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述检测用户的输入命令, 根据所述输入命令, 确定对媒体的播放次数, 包括:
持续检测用户对所述终端的触控显示屏的预设区域的滑动操作;
根据所述滑动操作的轨迹的方向和长度, 调整所述媒体的播放次数。
结合第一方面或结合第一方面的第一或第二或第三或第四或第五或第六种 可能的实现方式, 在第七种可能的实现方式中, 在所述确定对媒体的播放次数 之后, 还包括:
显示所述媒体的播放次数。
结合第一方面或结合第一方面的第一或第二或第三或第四或第五或第六或 第七种可能的实现方式, 在第八种可能的实现方式中, 在按照所述播放次数, 播放所述媒体时, 若接收到用户输入的取消指令, 则停止按照所述播放次数播 放所述媒体。
结合第一方面或结合第一方面的第一或第二或第三或第四或第五或第六或 第七或第八种可能的实现方式, 在第九种可能的实现方式中, 在所述按照所述 播放次数, 播放所述媒体之后, 或者在接收到用户输入的取消指令, 停止按照 所述播放次数播放所述媒体之后, 还包括:
根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
本发明实施例第二方面提供了一种播放媒体的终端, 可包括:
开启单元, 用于开启播放次数设置功能;
第一检测单元, 用于检测用户的输入命令, 根据所述输入命令, 确定对媒 体的播放次数;
播放单元, 用于按照所述播放次数, 播放所述媒体。
在第二方面的第一种可能的实现方式中, 所述媒体包括:
终端当前正在播放的音频文件或视频文件;
所述播放单元具体用于:
播放所述终端当前正在播放的音频文件或视频文件, 直至达到所述播放次 数。
在第二方面的第二种可能的实现方式中, 所述媒体包括:
选定的待播放的音频文件或选定的待播放的视频文件;
所述播放单元具体用于:
播放所述选定的待播放的音频文件或选定的待播放的视频文件, 直至达到 所述播放次数。 结合第二方面或结合第二方面的第一或第二种可能的实现方式, 在第三种 可能的实现方式中, 所述终端还包括:
第二检测单元, 用于在所述开启单元开启播放次数设置功能之前, 执行以 下步骤中的至少一个:
检测到用户通过语音输入的预设命令;
检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数, 达到预设 的个数。
结合第二方面或结合第二方面的第一或第二或第三种可能的实现方式, 在 第四种可能的实现方式中, 所述第一检测单元具体用于执行以下步骤中的任意 一个: 检测用户通过语音输入的播放次数, 确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数, 确定所述媒 体的播放次数为所述手指个数;
检测用户晃动所述终端的次数, 确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数, 确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹, 根据所 述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向, 确定所述媒体的播 放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长, 根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。
结合第二方面或结合第二方面的第一或第二种可能的实现方式, 在第五种 可能的实现方式中, 在所述开启单元开启播放次数设置功能之前, 所述第二检 测单元具体用于:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
所述第一检测单元具体用于:
持续检测到用户对所述终端的触控显示屏的预设区域的选定操作, 根据所 述选定操作的持续时长, 确定所述媒体的播放次数。
结合第二方面或结合第二方面的第一或第二种可能的实现方式, 在第六种 可能的实现方式中, 在所述开启单元开启播放次数设置功能之前, 所述第二检 测单元具体用于:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述第一检测单元具体用于:
持续检测用户对所述终端的触控显示屏的预设区域的滑动操作;
根据所述滑动操作的轨迹的方向和长度, 调整所述媒体的播放次数。
结合第二方面或结合第二方面的第一或第二或第三或第四或第五或第六种 可能的实现方式, 在第七种可能的实现方式中, 所述终端还包括:
显示单元, 用于在所述第一检测单元确定对媒体的播放次数之后, 显示所 述媒体的播放次数。
结合第二方面或结合第二方面的第一或第二或第三或第四或第五或第六或 第七种可能的实现方式, 在第八种可能的实现方式中, 所述终端还包括:
取消单元, 用于在所述播放单元按照所述播放次数, 播放所述媒体时, 若 接收到用户输入的取消指令, 则停止按照所述播放次数播放所述媒体。
结合第二方面或结合第二方面的第一或第二或第三或第四或第五或第六或 第七或第八种可能的实现方式, 在第九种可能的实现方式中, 在所述播放单元 按照所述播放次数, 播放所述媒体之后, 或者在所述取消单元接收到用户输入 的取消指令,停止按照所述播放次数播放所述媒体之后,所述播放单元还用于: 根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
本发明实施例第三方面提供了一种播放媒体的终端, 可包括:
处理器, 用于开启播放次数设置功能;
输入装置, 用于检测用户的输入命令;
所述处理器还用于, 根据所述输入命令, 确定对媒体的播放次数, 指示媒 体输出装置按照所述播放次数, 播放所述媒体;
所述媒体播放装置, 用于按照所述播放次数, 播放所述媒体。
在第三方面的第一种可能的实现方式中, 所述媒体包括:
终端当前正在播放的音频文件或视频文件;
所述媒体播放装置具体用于:
播放所述终端当前正在播放的音频文件或视频文件, 直至达到所述播放次 数。
在第三方面的第二种可能的实现方式中, 所述媒体包括:
选定的待播放的音频文件或选定的待播放的视频文件;
所述媒体播放装置具体用于:
播放所述选定的待播放的音频文件或选定的待播放的视频文件, 直至达到 所述播放次数。
结合第三方面或结合第三方面的第一或第二种可能的实现方式, 在第三种 可能的实现方式中, 所述输入装置还用于:
在所述处理器开启播放次数设置功能之前, 执行以下步骤中的至少一个: 检测到用户通过语音输入的预设命令;
检测到终端的运动轨迹符合预设的轨迹; 检测到用户对所述终端的触控显示屏的预设区域的点击操作; 检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数, 达到预设 的个数。
结合第三方面或结合第三方面的第一或第二或第三种可能的实现方式, 在 第四种可能的实现方式中, 所述输入装置具体用于检测用户通过语音输入的播 放次数, 所述处理器具体用于确定所述媒体的播放次数为所述语音输入的播放 次数; 或
所述输入装置具体用于检测用户触摸所述终端的触控显示屏的预设区域的 手指个数, 所述处理器具体用于确定所述媒体的播放次数为所述手指个数; 或 所述输入装置具体用于检测用户晃动所述终端的次数, 所述处理器具体用 于确定所述媒体的播放次数为所述用户晃动所述终端的次数; 或
所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域的点 击次数, 所述处理器具体用于确定所述媒体的播放次数为所述点击次数; 或 所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域的滑 动操作的轨迹, 所述处理器具体用于根据所述滑动操作的轨迹的长度, 确定所 述媒体的播放次数; 或
所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域选定 的时长,所述处理器具体用于根据所述选定的时长,确定所述媒体的播放次数; 或
所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域的两 个选择点之间的距离, 所述处理器具体用于根据所述距离, 确定所述媒体的播 放次数。 结合第三方面或结合第三方面的第一或第二种可能的实现方式, 在第五种 可能的实现方式中, 所述输入装置具体用于:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
所述处理器具体用于:
在所述输入装置检测到用户对所述终端的触控显示屏的预设区域的选定操 作达到第一预设时长之后, 开启所述播放次数设置功能;
所述输入装置具体用于:
持续检测到用户对所述终端的触控显示屏的预设区域的选定操作; 所述处理器具体用于:
根据所述选定操作的持续时长, 确定所述媒体的播放次数。
结合第三方面或结合第三方面的第一或第二种可能的实现方式, 在第六种 可能的实现方式中, 所述输入装置具体用于:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述处理器具体用于:
在所述输入装置检测到用户对所述终端的触控显示屏的预设区域的滑动操 作之后, 开启所述播放次数设置功能;
所述输入装置具体用于:
持续检测用户对所述终端的触控显示屏的预设区域的滑动操作;
所述处理器具体用于:
根据所述滑动操作的轨迹的方向和长度, 或根据所述轨迹的长度和方向, 调整所述媒体的播放次数。
结合第三方面或结合第三方面的第一或第二或第三或第四或第五或第六种 可能的实现方式, 在第七种可能的实现方式中, 所述终端还包括:
显示屏, 用于在所述处理器确定对媒体的播放次数之后, 显示所述媒体的 播放次数。
结合第三方面或结合第三方面的第一或第二或第三或第四或第五或第六或 第七种可能的实现方式, 在第八种可能的实现方式中, 所述输入装置还用于, 在所述媒体播放装置按照所述播放次数, 播放所述媒体时, 接收用户输入的取 消指令;
所述处理器还用于, 指示所述媒体播放装置停止按照所述播放次数播放所 述媒体;
所述媒体播放装置还用于, 根据所述处理器的指示, 停止按照所述播放次 数播放所述媒体。
结合第三方面或结合第三方面的第一或第二或第三或第四或第五或第六或 第七或第八种可能的实现方式, 在第九种可能的实现方式中, 在所述媒体播放 装置按照所述播放次数, 播放所述媒体之后, 或者在所述输入装置接收用户输 入的取消指令, 所述处理器指示所述媒体播放装置停止按照所述播放次数播放 所述媒体之后, 所述媒体播放装置还用于:
根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
实施本发明实施例, 通过在终端上配置播放次数设置功能, 并根据检测到 的用户输入指令确定对媒体的播放次数, 最后按照确定的播放次数播放所述媒 体, 从而完善了现有终端播放媒体的方法, 可以直接方便的设置媒体的播放次 数, 增强了终端便利性和易用性。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明播放媒体的方法的第一实施例的流程示意图;
图 2是本发明播放媒体的方法的第二实施例的流程示意图;
图 3是本发明播放媒体的方法的第三实施例的流程示意图;
图 4是本发明播放媒体的方法的第四实施例的流程示意图;
图 5是釆用图 2中的播放媒体的方法进行操作时的一种界面显示示意图; 图 6是釆用图 3中的播放媒体的方法进行操作时的另一种界面显示示意图; 图 7是本发明播放媒体的终端的第一实施例组成示意图;
图 8是本发明播放媒体的终端的第二实施例组成示意图;
图 9是本发明播放媒体的终端的第三实施例组成示意图;
图 10是本发明播放媒体的终端的第四实施例组成示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动的前提下所获得的所有其他实施例, 都属于本发明保护的范围。
在本发明实施例中的终端可以包括: 个人计算机(Personal Computer, 简称 PC )、 平板电脑、 手机、 PDA ( Personal Digital Assistant, 个人数字助理)、 电子 阅读器、 笔记本电脑、 车载终端等设备。
上述的终端包括输入装置和输出装置。 所述输入装置包括但不限于显示屏、 触摸屏、 软键盘、 虚拟控件、 物理键盘、 功能键(比如音量控制按键、 开关按 键等)、 轨迹球、 鼠标、 操作杆、 摄像头和麦克风, 以及未来技术能够实现的输 入装置。 所述输出装置包括但不限于, 显示屏, 触摸屏, 扬声器等, 以及未来 技术能够实现的输出装置。
本发明实施例中的媒体, 包括音频文件或视频文件, 或动态图片, 或动画。 音频文件为包含音乐, 语音, 特殊音效等的文件。 视频文件包括一系列图像, 可以包含声音, 也可以不包含声音。 所述的媒体, 可以是终端当前正在播放的 媒体, 或者选定的待播放的媒体。 也就是说, 本发明实施例, 可以在媒体正在 播放的时候, 设置该媒体的播放次数 =M, 在设置之后, 还要将该媒体播放 M-1 次; 还可以在媒体播放之前, 先选定某个媒体或某几个媒体, 设置该媒体的播 放次数 =M, 在设置之后, 立即将选定的某个媒体或某几个媒体连续播放 M次, 或者在后续播放到所述选定的某个媒体或某几个媒体时, 再将所述选定的某个 媒体或某几个媒体连续播放 M次, 其中, M为大于 0的整数。 可选的, 除了连 续播放选定的媒体, 也可以不连续的播放选定的媒体, 直至达到 M次。 本发明 实施例中的连续播放, 是指将一个媒体播放完之后, 将该媒体从头至尾再次播 放, 如此反复。 对于多个媒体的连续播放, 可以是分别将每个媒体连续播放。 例如, 播放列表中, 有 1, 2, 3 , 4, 5五个媒体需要顺序播放, 如果设置的是 媒体 2播放两次, 媒体 4播放三次, 那么播放的内容可以依次为媒体 1, 2, 2, 3 , 4, 4, 4, 5。
本发明实施例中的不连续播放,可以为,在一个选定媒体的 M次播放之间, 插播其他的一个或多个媒体, 也就是说, 可以在相邻的两次播放选定的媒体之 间插播其他的一个或多个媒体, 也可以是随机的插播其他的一个或多个媒体, 例如在第一次和第二次播放间插播其他媒体, 然后播放第三次和第四次媒体等。 插播的媒体可以是随机选定的媒体, 也可以是播放列表中选定媒体之后的其他 媒体。 例如, 播放列表中, 有 1, 2, 3 , 4, 5五个媒体需要顺序播放, 如果设 置的是媒体 2播放两次, 媒体 4播放三次, 那么播放的内容可以依次为媒体 1, 2, 3 , 2, 4, 5, 4, 4, 或者是 1, 2, 4, 2, 3 , 4, 5, 4等。 可以理解, 本领 域技术人员也可以根据上述描述, 想到其他不连续播放的方式。
媒体播放装置, 可以根据处理器的指令, 从处理器或者存储器中获取待播 放的媒体, 对该待播放的媒体进行相应的处理(如解码, 数模转换等), 并生成 所述媒体对应的声音信号和 /或视频信号, 进行播放。 为了播放视频, 媒体输出 装置可以包括具有媒体数据处理功能的芯片, 和具有图像输出功能的输出装置 (例如显示屏, 触摸屏等), 如果该视频包含声音, 该媒体输出装置还可以包括 和具有音频输出功能的输出装置(例如扬声器)。 如果只需要播放音频, 媒体输 出装置可以包括具有媒体数据处理功能的芯片, 和具有音频输出功能的输出装 置, 可选的, 还可以包括具有图像输出功能的输出装置, 来显示音频播放的界 面等内容。
播放次数设置功能是给用户设置媒体播放的次数的一个功能, 当该功能开 启后, 用户就可以通过语音、 触控等多种输入方式设置媒体的播放次数。 被设 置的媒体, 可以是当前终端正在播放的媒体, 也就是说, 可以在媒体播放的过 程中, 设置该媒体的播放次数 =M, 设置完成后, 该媒体在本次播放结束后, 会 被继续连续播放或不连续播放 M-1次。 被设置的媒体, 还可以是在待播放的媒 体, 也就是说, 也可以媒体播放之前, 预先设定媒体的播放次数, 若设置该媒 体的播放次数 =M, 则后续轮到播放该媒体时, 将该媒体连续播放或不连续播放 M次。
本发明实施例所述的检测用户对终端的语音输入, 是指终端通过麦克风等 可以接收用户语音的输入设备, 获取用户的语音, 并通过处理器等设备对该获 取的语音进行处理和识别, 判断该语音是否包含与预设命令, 或者播放次数相 关的信息。 其具体实现可以参考语音识别的相关现有技术, 此处不再赘述。 当 检测到用户输入的是预设命令, 可以开启播放次数设置功能。 可选的, 还可以 在检测到通过语音输入的播放次数时, 还可以确定所述媒体的播放次数为所述 语音输入的播放次数。 通过一种或多种传感器检测该终端的运动轨迹, 然后判断该运动轨迹是否为预 设的轨迹, 预设的轨迹例如为竖直向下运动(用户将终端向下扔), 或者竖直向 上运动后再自由落体(用户将终端向上抛出), 或者是水平方向来回移动(用户 水平晃动终端), 或者是竖直方向来回移动 (用户竖直晃动终端)。 如果终端的 运动轨迹符合预设的轨迹, 可以开启播放次数设置功能。 上述检测终端运动轨 迹的方法,可以釆用现有技术中的多种实现方式,本发明实施例对此不做限定。
检测到用户对所述终端的触控显示屏的预设区域的点击操作, 和对该预设 区域的点击次数, 是指终端通过触控显示屏预设区域相关的参数的变化(例如 电容或电阻的变化), 来检测用户对触控显示屏预设区域的点击操作。 通过统计 预设区域相关的参数的变化 (例如电容或电阻的变化次数)便可以得到用户的点 击次数,可选的,判断点击次数是否和触发开启播放次数设置功能的次数匹配, 若匹配, 则开启播放次数设置功能。 可选的, 还可以通过该点击的次数, 设置 媒体播放的次数。其中,预设区域可以是媒体播放应用显示界面中指定的区域, 如播放按钮的上方或下方, 或触控显示屏的上边缘、 下边缘、左边缘或右边缘, 也可以是终端桌面或终端锁屏界面上指定的区域如终端桌面上任意无应用图标 的区域或终端锁屏界面上的任意区域。 上述点击的预设区域可以釆用终端当前 显示界面上与其他应用或功能无冲突的区域, 或者也可以为媒体应用配置较高 或较低的优先级, 当点击的区域与其他应用或功能存在冲突时, 按照优先级进 行响应和处理, 本发明实施例对此不做限定。
检测到用户对所述终端的敲击操作, 和敲击次数是指终端通过一种或多种 传感器检测该终端的震动, 然后判断震动的次数是否达到触发开启播放次数设 置功能的次数, 敲击的位置可以终端的外壳或显示屏, 如果传感器检测到的震 动次数达到触发开启播放次数设置功能的次数, 可以开启播放次数设置功能。 可选的,还可以根据敲击次数设置媒体播放的次数。上述检测终端震动的方法, 可以釆用现有技术中的多种实现方式, 本发明实施例对此不做限定。
检测到用户对所述终端的触控显示屏的预设区域的滑动操作, 是指终端通 过触控显示屏的被触摸位置的参数变化 (例如电容或电阻的变化)来检测用户在 为滑动操作, 若判定为滑动操作且滑动长度达到一定长度, 则可以开启播放次 数设置功能。 可选的, 还可以进一步的根据滑动操作的轨迹的长度, 或者根据 所述滑动操作的轨迹的长度和方向, 设置播放次数。 其中, 预设区域可以是媒 体播放应用显示界面中指定的区域如播放按钮处或播放按钮的上方或下方, 也 可以是终端桌面或锁屏界面的指定区域, 滑动方向可以朝任意方向延伸, 如可 以在播放按钮的上方向右滑动一定距离开启播放次数设置功能, 或者也可以在 终端桌面或锁屏界面的任意区域向左滑动一定长度开启播放次数设置功能。 当 播放次数设置功能开启之后, 还可以根据滑动的方向和长度来确定播放次数, 如向右滑动播放次数增加, 每向右滑动 1厘米, 播放次数加 1, 向左滑动则播放 次数减少, 每向左滑动 1厘米, 播放次数减 1。 上述滑动的区域、 方向和长度, 可以釆用多种实现方式, 本发明实施例对此不做限定。
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长, 是指终端通过触控显示屏的被选定位置的参数变化 (例如电容或电阻的变 化持续时长)来检测用户在触控显示屏上选定操作的时长, 然后判断被选定区域 的参数变化 (例如电容或电阻变化的持续时长)是否达到第一预设时长, 若达到, 则可以开启播放次数设置功能。 其中, 触摸操作可以是触摸选定(包括直接触 摸选定的操作和间接触摸选定的操作;), 或者触控显示屏为悬浮式触控显示屏, 对应的选定操作也可以是悬浮触控的选定操作。 选定的区域和时长, 可以根据 需要进行组合, 本发明实施例对此不做限定。
检测到用户对所述终端的指定按键的按下操作, 是指终端通过检测触摸按 键或物理按键被按下时的电信号变化来检测指定按键是否被按下, 若指定按键 被按下, 则可以开启播放次数设置功能。 可选地, 还可以配置按下的时长来防 止误操作, 若按下指定按键达到一定时长, 则开启播放次数设置功能, 上述检 测终端指定按键被按下的方法, 可以釆用现有技术中的多种实现方式, 本发明 实施例对此不做限定。
检测用户触摸所述终端的触控显示屏的预设区域的手指个数, 是指终端通 过触控显示屏的被触摸位置的参数变化 (例如电容或电阻的变化及数量)来检测 用户在触控显示屏上触摸的手指个数, 若判定触摸的手指个数长度达到一定数 量, 则可以开启播放次数设置功能。 如触摸的手指数达到 2个则开启播放次数 自定义, 或者触摸的手指数达到 3 个则开启播放次数自定义。 其中, 触摸同样 可以为直接触摸和间接触摸或悬浮触摸等, 可选地, 还可以结合触摸时长阔值 来开启播放次数自定义, 如触摸的手指数达到 2个且触摸时长达到 2秒则开启 播放次数自定义, 上述触摸的手指个数或时间, 可以釆用多种实现方式, 本发 明实施例对此不做限定。 可选的, 还可以通过触摸所述终端的触控显示屏的预 设区域的手指个数, 来设置媒体的播放次数, 例如, 如果检测到触摸触控显示 屏的预设区域的手指为 3个, 则将媒体播放的次数设置为 3次。
检测用户晃动所述终端的次数, 是指终端通过一种或多种传感器如加速度 传感器和陀螺仪传感器等检测该终端的晃动以及晃动的次数, 然后判断晃动次 数是否为达到预设次数, 晃动的方向可以为水平晃动, 或者为竖直晃动, 也可 以是其他两个相反方向的来回晃动。 如果终端的晃动次数达到预设次数, 则可 以开启播放次数设置功能。 上述检测终端晃动及次数的方法, 可以釆用现有技 术中的多种实现方式, 本发明实施例对此不做限定。 而在触发播放次数设置功 能之后,通过统计终端的晃动次数也可以确定播放次数,如左右水平晃动一次, 播放次数加 1, 竖直晃动一次, 播放次数减 1。 当然, 还可以是向左晃动一次, 播放次数加 1, 向右晃动一次, 播放次数再加 1等, 具体映射关系可以釆用多种 实现方式, 本发明实施例对此不做限定。
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹, 根据所 述滑动操作的轨迹的长度, 确定所述媒体的播放次数, 是指终端通过触控显示 屏的被触摸位置的参数连续变化 (例如电容或电阻的连续变化)来检测用户在触 控显示屏上滑动操作的轨迹的长度, 滑动操作的轨迹的长度与播放次数存在映 射关系, 根据滑动操作的轨迹的长度可确定所述媒体的播放次数。 可选的, 还 可以综合考虑滑动操作的轨迹的方向和长度, 滑动操作的方向可以朝任意方向 延伸或缩短, 如可以在媒体播放应用的播放按钮上方持续向右滑动, 滑动操作 的轨迹的长度越长, 播放次数随之增加, 若向左滑动, 则根据向左滑动的轨迹 长度,播放次数随之减少。如向右滑动 1厘米则播放次数加 1,向左滑动 1厘米, 则播放次数减 1。 上述检测终端滑动操作的轨迹长度和方向的方法, 可以釆用现 有技术中的多种实现方式, 本发明实施例对此不做限定。
检测用户对所述终端的触控显示屏的预设区域的选定的时长, 根据所述选 定的时长, 确定所述媒体的播放次数, 是指终端通过触控显示屏的被选定位置 的参数的变化 (例如电容或电阻的变化持续时长)来检测用户在触控显示屏上选 定的时长, 然后根据选定的时长与播放次数的预设映射关系来确定播放次数。 例如, 可以设置为: 选定的时长越大, 则播放次数越多。 如选定的时长为 3 秒 时, 则播放次数为 3, 选定的时长为 4秒时, 则播放次数为 4。 其中, 触摸操作 可以是触摸选定(包括直接触摸选定的操作和间接触摸选定的操作), 或者触控 显示屏为悬浮式触控显示屏, 对应的选定也可以是悬浮触控的选定。 选定的区 域和时长, 可以根据需要进行组合, 本发明实施例对此不做限定。
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数, 是指终端通过触控显示屏上被触摸 位置的两个选择点的参数变化 (例如电容或电阻的变化)来确定选择点的位置及 两个选择点的距离, 然后根据两个选择点的距离与播放次数的预设映射关系来 确定播放次数。 如两个选择点距离达到 2厘米小于 3厘米则播放次数为 2, 两个 选择点的距离小于 2厘米则播放次数为 1, 在用户操作完成之前, 两个选择点的 距离可根据用户的操作实时变化。 上述检测终端触控显示屏上两个选择点之间 距离的方法, 可以釆用现有技术中的多种实现方式, 本发明实施例对此不做限 定。
开启播放次数设置功能的触发条件, 可以为以下至少一个:
检测到用户通过语音输入的预设命命令;
检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数, 达到预设 的个数。
上述各项检测操作可以独立作为开启播放次数设置功能的条件, 也可以将 两项或以上的操作进行组合作为开启播放次数设置功能的条件。
例如, 触发播放次数设置功能的操作可以是在触摸终端触控显示屏的预设 区域达到预设时长后并滑动达到预设长度, 也可以是在终端触控显示屏上的预 设区域滑动达到预设长度并触摸终端触控显示屏达到预设时长, 或者还可以是 数设置功能等, 由多种单一的操作可组合得到更多的组合操作, 此处不再—— 例举。 一般而言, 检测单一操作效率较高, 可节省终端的检测处理时间; 识别 组合操作时间较长, 但可避免用户误操作带来的终端错误响应, 因此, 触发播 放次数设置功能的操作具体可根据终端所处的环境及用户习惯进行选择和配置。
当然, 触发条件还可以是媒体播放功能打开时, 自动打开该播放次数设置 功能, 或者每首歌曲或视频播放的时候, 自动打开该播放次数设置功能。
本发明实施例中, 检测用户的输入命令, 根据所述输入命令, 确定对媒体 的播放次数, 可以通过以下步骤中的任意一个:
检测用户通过语音输入的播放次数, 确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数, 确定所述媒 体的播放次数为所述手指个数;
检测用户晃动所述终端的次数, 确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数, 确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹, 根据所 述滑动操作的轨迹的长度, 或根据所述滑动操作的轨迹的长度和方向, 确定所 述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长, 根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。
在播放媒体时, 终端可通过设定定时器来判断是否播放完成, 或者还可以 每播放一次便判断次数是否为零, 若不为零则继续播放, 判断播放是否完成可 以釆用现有技术中的多种实现方式, 本发明实施例对此不做限定。
可选的, 上述确定了播放次数之后, 就可以以语音播放、 或在显示屏上显 示等方式向用户提示已确定的播放次数。 还可以在设置参数的过程中, 对过程 中确定的播放次数实时显示, 以便引导用户更准确的设置。 若将触发播放次数设置功能启动的操作称为第一操作, 设置播放次数的操 作称为第二操作, 则两次操作的类型可以相同, 也可以不同 (操作的类型可以 包括但不限于语音操作、 触摸操作、 晃动操作、 点击操作、 敲击操作、 选定操 作、 滑动操作、 按键操作及多手指操作), 两次操作可以连续进行, 也可以非连 续进行。 例如第一操作与第二操作的类型均为触摸操作, 通过触摸终端触控显 示屏的预设区域达到第一预设时长如 2秒开启播放次数设置功能, 然后继续对 该区域保持触摸状态即触摸终端触控显示屏的同一区域达到第二预设时长如 5 秒, 终端便可识别触摸的持续时间从而映射得到播放次数; 又如, 在终端触控 显示屏上的预设区域滑动达到第一预设长度如 1 厘米触发播放次数设置功能, 然后保持方向不变继续在终端触控显示屏上的预设区域滑动达到第二预设长度 如 3厘米, 终端便可识别触摸的持续距离从而映射得到播放次数。 当然, 用户 执行第一操作的时间和执行第二操作的时间也可以大于 0而小于某一预设阔值, 即两次操作之间存在时间间隔, 但是确保终端仍处于播放次数设置功能开启的 状态下即可。 如预设阔值为 3 秒, 则终端在识别第一操作并开启播放次数设置 功能之后, 在 3秒内检测到第二操作, 终端便可以得到播放次数, 若在 3秒内 未检测到第二操作, 则终端将关闭播放次数功能, 在 3 秒后, 用户再执行第二 操作则视为无效操作。 此处预设阔值为 3秒仅用于举例说明, 具体阔值可由厂 家或用户进行配置, 本发明实施例不作任何限定。
下面将结合图 1-图 4,对本发明实施例提供的播放媒体的方法进行详细介绍。 请参照图 1, 为本发明播放媒体的方法的第一实施例的流程示意图, 在本实 施例中, 所述方法包括以下步骤:
S101 , 开启播放次数设置功能。
可选的, 在 S101之前还可以有一些触发条件, 例如之前所述的各种用户的 触发操作, 或者是某项预设的功能开启 (例如媒体播放等)。 播放次数设置功能之 后, 可以没有初始的播放次数, 完全由用户的输入命令来确定; 或者, 还可以 有一个初始的播放次数, 例如为 0或 1, 或者是比较大的数值(例如 5 ), 然后 根据用户的输入命令对该初始的播放次数进行调整, 直到用户得到想要的播放 次数。
5102,检测用户的输入命令,根据所述输入命令,确定对媒体的播放次数。 检测输入命令, 以及根据该输入命令确定媒体播放次数的方式可以参考之 前的描述, 此处不再重复。
5103 , 按照所述播放次数, 播放所述媒体。
上述的方法的执行主体可以为终端, 或者是终端中的具体模块,具体可以参 加装置部分的相关实施例。
通过在终端上配置播放次数设置功能, 并根据检测到的用户输入指令确定 对媒体的播放次数, 最后按照确定的播放次数播放所述媒体, 从而完善了现有 终端播放媒体的方法, 解决了在需要重复播放同一媒体时, 终端的操作较繁瑣 的问题, 可以直接方便的设置媒体的播放次数, 增强了终端便利性和易用性。
请参照图 2, 为本发明播放媒体的方法的第二实施例的流程示意图, 在本实 施例中, 所述方法包括:
5201 , 检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第 一预设时长。
5202, 开启播放次数设置功能。
S201和 S202可以参考之前的对应描述, 此处不再重复。
5203 , 检测用户对所述终端的触控显示屏的第一预设区域选定的第一时长, 根据所述选定的第一时长增加所述媒体的播放次数。
此处, 当检测到用户对第一预设区域的选定时,确定增加媒体的播放次数。 具体实现时, 该第一预设区域可以是一个表示次数增加的按钮, 例如为加号按 钮。
S203之后, 如果用户停止输入, 可以直接跳转至 S205。 可选的, 如果用户 发现播放的次数设置的太多, 需要减少播放的次数, 终端可以执行 S204。
5204, 检测用户对所述终端的触控显示屏的第二预设区域选定的第二时长, 根据所述选定的第二时长减少所述媒体的播放次数。
此处, 当检测到用户对第二预设区域的选定时,确定减少媒体的播放次数, 该第一预设区域可以是一个表示次数减少的按钮, 例如为减号按钮。 当用户得 到满意的播放次数时, 停止对第二预设区域的输入。 当终端没有检测到用户的 后续输入时, 执行 S205。
S205 , 按照所述播放次数, 播放所述媒体。
S205的执行过程可以参考之前的描述, 此处不再重复。
需要说明的是, 当播放次数设置功能开启后, 初始的播放次数可以是 0或 者 1, 此时用户可以在第一预设区域输入, 终端执行 S203。 或者初始的播放次 数可以是比较大的数值, 例如是 5, 此时用户可以直接在第二预设区域输入, 即 S202之后直接执行 S204, 而不执行 S203。 可以理解, 还可以先执行 S204, 再 执行 S203。
上述的方法的执行主体可以为终端, 或者是终端中的具体模块,具体可以参 加装置部分的相关实施例。
请参照图 3, 为本发明播放媒体的方法的第三实施例的流程示意图, 在本实 施例中, 所述方法包括:
5301 , 检测到用户对所述终端的触控显示屏的预设区域的滑动操作。
5302, 开启播放次数设置功能。
S301和 S302可以参考之前的对应描述, 此处不再重复。
S303, 检测用户对所述终端的触控显示屏的预设区域在第一方向上的第一 滑动操作的轨迹, 根据所述第一滑动操作的轨迹的长度, 增加所述媒体的播放 次数。
与 S203类似,检测到用户的第一滑动操作时,根据该第一滑动操作的轨迹, 确定增加媒体的播放次数。 具体实现时, 该预设区域可以是一个条形区域, 若 该条形区域是一个与触控显示屏的横轴平行的方向, 第一方向可以为沿着所述 条形区域向右的方向, 若该条形区域是一个与触控显示屏的纵轴平行的方向, 第一可以方向可以为沿着所述条形区域向上的方向。 若检测到用户沿着第一方 向滑动的轨迹的长度越长, 则确定媒体的播放次数的数值越大。 当用户得到满 意的播放次数时, 停止所述第一滑动操作。 当终端没有检测到用户的后续输入 时, 可以直接跳转至 S305。 可选的, 如果用户发现播放的次数设置的太多, 需 要减少播放的次数, 终端可以执行 S304。
5304, 检测用户对所述终端的触控显示屏的预设区域在与第二方向上的第 二滑动操作的轨迹, 根据所述第二滑动操作的轨迹的长度, 减少所述媒体的播 放次数。
与 S204类似, 检测到用户的第二滑动操作时, 根据第二滑动操作的轨迹, 确定减少媒体的播放次数。 具体实现时, 该预设区域可以是一个条形区域, 若 该条形区域是一个与触控显示屏的横轴平行的方向, 第二方向可以为沿着所述 条形区域向左的方向, 若该条形区域是一个与触控显示屏的纵轴平行的方向, 第二可以方向可以为沿着所述条形区域向下的方向。 若检测到用户沿着第二方 向滑动的轨迹的长度越长, 则确定媒体的播放次数的数值越小。 当用户得到满 意的播放次数时, 停止所述第二滑动操作。 当终端没有检测到用户的后续输入 时, 可以执行 S305。
5305 , 按照所述播放次数, 播放所述媒体。
S305的执行过程可以参考之前的描述, 此处不再重复。
需要说明的是, 当播放次数设置功能开启后, 初始的播放次数可以是 0或 者 1, 此时用户输入第一滑动操作, 终端执行 S303。 或者初始的播放次数可以 是比较大的数值, 例如是 5, 此时用户可以输入第二滑动操作, 即 S302之后直 接执行 S304, 而不执行 S303。 可以理解, 还可以先执行 S304, 再执行 S303。
上述的方法的执行主体可以为终端, 或者是终端中的具体模块,具体可以参 加装置部分的相关实施例。
请参照图 4, 为本发明播放媒体的方法的第四实施例的流程示意图, 在本实 施例中, 所述方法包括以下步骤:
5401 , 开启播放次数设置功能。
5402,检测用户的输入命令,根据所述输入命令,确定对媒体的播放次数。 S401和 S402可以参考之前的相关描述。
5403 , 显示所述媒体的播放次数。 可选地, 可以将所述媒体的播放次数显示在终端的触控显示屏上, 也可以 显示在终端的其他显示屏如用于显示时间和日期的显示屏, 或者还可以显示在 与终端连接的其他显示设备上, 通过将确定的播放次数实时的显示在终端触控 显示屏上, 从而利于终端提示用户当前设置的播放次数, 方便用户进行相应控 制, 以便终端得到最佳的播放次数。
当然, 除了实时显示当前确定的播放次数之外, 也可以仅保存但不显示操 作过程中的实时确定的播放次数, 只在操作完成最终确定播放次数后, 将最终 的播放次数显示在触控显示屏上。
5404, 按照所述播放次数, 连续播放所述媒体。
5405 , 接收用户输入的取消指令, 停止连续播放所述媒体。
例如, 当前设置播放次数为 5次, 已播放 2次, 或正在进行第 2次播放, 若此时接收到用户输入的取消指令, 在第 2次播放结束后, 不再播放剩余的 3 次。
可选地, 所述取消指令可以由终端通过检测用户对终端的操作获得, 该操 作可以是任意在终端触控显示屏上执行的操作或终端可感应的操作, 如双击触 控显示屏的某一区域。 当然, 还可以通过直接点击音乐播放应用中的上一曲或 下一曲来直接取消设置的播放次数并直接播放其他媒体, 上述方式同样可视为 通过点击的操作来点击终端触控显示屏的预设区域, 从而实现终端取消已设置 播放次数的目的。
5406, 根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
在 S405之后, 对之前连续播放的媒体已停止连续播放, 后续, 可以按照媒 体列表和预设播放规则, 连续播放所述媒体列表中的媒体。 例如媒体播放列表 中, 已设置了顺序播放媒体 1, 2, 3和 4, 且之前设置需要将媒体 2播放 5次, 如果在媒体 2正在播放第 2次时, 接收了用户输入的取消指令, 则在第 2次播 放了媒体 2之后, 直接顺序播放后续的媒体 3和 4。 或者, 也可以在接收到取消 指令后, 暂停或停止播放媒体, 此处可以参考现有技术的相关方案, 本发明不 对此做任何限定。 可以理解, 上述步骤中的连续播放, 也可以替换为不连续播放, 其实现方 案类似。
在本实施例中, 对整个播放方法进行了完整性描述, 通过将确定的的播放 次数显示在终端触控显示屏上, 从而利于终端提示用户当前设置的播放次数, 方便用户进行相应控制, 以便终端得到用户想要的播放次数; 当根据已设置的 播放次数播放完成后, 终端再根据媒体列表和预设规则播放媒体列表中的媒体 即可,如预设规则为随机播放, 则播放完成后,将随机播放歌曲列表中的歌曲, 若预设规则为顺序播放, 则播放完成后, 将播放歌曲列表中的下一首歌曲, 当 然还可能预设规则本身即为重复播放, 用户也可以在此时启动播放次数设置功 能, 则在已设置的播放次数播放完成后将按照重复播放规则继续播放媒体。
在步骤 S404和 S405之后终端可直接执行步骤 S406, 从而实现媒体正常播 放与设置播放次数的完美结合和兼容。
上述的方法的执行主体可以为终端, 或者是终端中的具体模块,具体可以参 加装置部分的相关实施例。
下面结合音乐播放应用的显示界面对本发明播放方法进行举例说明。
请参照图 5,图 5是釆用图 2中的播放方法进行操作时的一种界面显示示意 图; 如图 5 所示, 用户所有操作均在音乐播放应用显示界面完成, 在该显示界 面上半部分可调用歌曲信息如歌曲名, 歌曲时长、 歌词等信息进行显示, 在显 示界面下半部分可显示各项操作按钮如 "上一曲"、 "暂停 /播放" 和 "下一曲", 用户触摸或选定的区域用黑色圓圈表示,在本实施例中,用户可触摸或选定 "暂 停 /播放" 按钮达到第一预设时长来触发播放次数设置功能, 若用户在第一预设 时长的基础上继续触摸或选定, 则终端开始根据 "暂停 /播放" 按键触摸或选定 的时长以确定播放次数并以数字的形式显示, 数字可包含在方形气泡或圓形气 泡中, 且显示的位置可以在触摸或选定区域邻近的上方, 也可根据触控显示屏 的大小或当前界面的功能按钮的位置进行自适应调整, 或者还可以釆用其他的 具体提示方式如配置为声音或闪光的形式, 此处不作任何限定。 如第一排第 3 个显示界面图所示, 此时检测确定播放次数为 "2", 并显示在 "暂停 /播放" 按 键的邻近上方, 若用户继续选定并触摸 "暂停 /播放" 按钮, 则播放次数将持续 增加, 如图第一排的第 4个显示界面图所示, 播放次数增加至 "5", 若用户此 时觉得播放次数满意, 则可以不再触摸或选定终端触控显示屏的预设区域, 终 端确定的播放次数即为 5, 终端将连续播放当前歌曲 5次。 若在播放次数增加至 5之后, 用户觉得次数较多, 则可以向下滑动预设长度, 此时次数仍为 5次(如 第二排第 1个显示界面图所示), 此时显示次数的气泡可显示在离触摸或选定区 域较远的 "暂停 /播放" 按钮的上方, 避免遮挡 "暂停 /播放" 按钮, 若向下滑动 后再持续触摸或选定, 则自定义播放次数将随触摸或选定时长而减少, 若用户 觉得重复播放 3次较佳, 则可以在终端显示当前播放次数为 3次时 (如第二排 第 2个显示界面图所示), 停止当前操作, 此时, 若终端不再检测到用户的与设 置播放次数相关的任何输入操作时, 则终端确定的播放次数为 3, 终端开始连续 播放 3次当前歌曲 (如第二排第 3个显示界面图所示)。 上述连续播放, 也可以 替换为不连续播放, 其实现方案类似。
请参照图 6,图 6是釆用图 3中的播放方法进行操作时的另一种界面显示示 意图; 如图 6所示, 所有操作均在音乐播放应用显示界面完成, 在该显示界面 上半部分可调用歌曲信息如歌曲名, 歌曲时长、 歌词等信息进行显示, 在显示 界面下半部分可显示各项操作按钮如 "上一曲"、 "暂停 /播放"和 "下一曲", 用 户触摸或选定的区域用黑色圓圈表示, 滑动的轨迹用以触摸或选定区域作为端 点的黑色直线表示, 滑动的轨迹的长度即为黑色直线的长度。 在本实施例中, 用户可在各项操作按钮的上方向右滑动达到预设长度与来触发播放次数设置功 能, 若用户在预设长度的基础上继续向右滑动则终端开始根据检测确定播放次 数并以数字的形式显示, 具体提示方式还可以配置为声音或闪光的形式, 此处 不作任何限定。如第一排第 3个显示界面图所示,此时检测确定播放次数为 "2", 若用户继续向右滑动, 则播放次数将持续增加, 如第一排第 4个显示界面图所 示, 增加至 "5", 若用户此时觉得播放次数满意, 则可以不再触摸或选定终端 触控显示屏的预设区域, 终端确定的播放次数即为 5, 终端将连续播放当前歌曲 5次。 若在播放次数增加至 5之后, 用户觉得次数较多, 则可以向左滑动一定长 度, 此时次数降为 3次(如第二排第 1个显示界面图所示), 若再向右滑动, 则 播放次数又将增加至 5次 (如第二排第 2个显示界面图所示 ), 若用户觉得播放 5次较佳, 则可以在终端显示当前播放次数为 5次时, 停止当前操作, 此时, 若 终端不再检测到用户的与设置播放次数相关的任何输入操作时, 则终端确定的 播放次数为 5, 终端开始连续播放 5次当前歌曲(如第二排第 3个显示界面图所 示)。 上述连续播放, 也可以替换为不连续播放, 其实现方案类似。
需要说明的是, 在图 5和图 6中, 具体应用了长按和滑动的操作及其组合 来达到播放次数自定义的效果, 其他操作同样适用, 如双击触控显示屏可开启 播放次数设置功能,然后再根据单击触控显示屏的次数来确定播放次数, 当然, 若还需要配置次数减少的调整功能, 则可以相应配置触控显示屏的两个显示区 域分别对应增加和减少的功能, 再通过在对应区域进行点击便可以实现播放次 数的增加和减少; 或者还可以通过晃动终端利用重力感应的方式来触发播放次 数自定义, 并配置水平晃动增加播放次数, 竖直晃动减少播放次数等方式来实 现播放次数设置功能。 本发明不作任何限定。
请参照图 7, 为本发明播放媒体的终端的第一实施例组成示意图, 在本实施 例中, 所述终端包括:
开启单元 100, 用于开启播放次数设置功能;
第一检测单元 200, 用于检测用户的输入命令, 根据所述输入命令, 确定对 媒体的播放次数;
播放单元 300, 用于按照所述播放次数, 播放所述媒体。 可选的, 所述媒体 包括:
终端当前正在播放的音频文件或视频文件;
所述播放单元 300具体用于:
播放所述终端当前正在播放的音频文件或视频文件, 直至达到所述播放次 数。
或者, 所述媒体包括:
选定的待播放的音频文件或选定的待播放的视频文件; 所述播放单元 300具体用于:
播放所述选定的待播放的音频文件或选定的待播放的视频文件, 直至达到 所述播放次数。
所述第一检测单元 200具体用于执行以下步骤中的任意一个:
检测用户通过语音输入的播放次数, 确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数, 确定所述媒 体的播放次数为所述手指个数;
检测用户晃动所述终端的次数, 确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数, 确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹, 根据所 述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向, 确定所述媒体的播 放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长, 根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。
请参照图 8, 为本发明播放媒体的终端的第二实施例组成示意图, 在本实施 例中, 所述终端包括:
开启单元 100, 用于开启播放次数设置功能;
第一检测单元 200, 用于检测用户的输入命令, 根据所述输入命令, 确定对 媒体的播放次数;
播放单元 300, 用于按照所述播放次数, 播放所述媒体。
可选地, 所述终端还包括:
第二检测单元 400, 用于在所述开启单元 100开启播放次数设置功能之前, 执行以下步骤中的至少一个:
检测到用户通过语音输入的预设命令;
检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数, 达到预设 的个数。
所述第一检测单元 200具体用于执行以下步骤中的任意一个:
检测用户通过语音输入的播放次数, 确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数, 确定所述媒 体的播放次数为所述手指个数;
检测用户晃动所述终端的次数, 确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数, 确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹, 根据所 述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向, 确定所述媒体的播 放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长, 根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。 可选地, 在所述开启单元 100开启播放次数设置功能之前, 所述第二检测 单元 400具体用于:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
所述第一检测单元 200具体用于:
持续检测到用户对所述终端的触控显示屏的预设区域的选定操作, 根据所 述选定操作的持续时长, 确定所述媒体的播放次数。
可选地, 在所述开启单元 100开启播放次数设置功能之前, 所述第二检测 单元 400具体用于:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述第一检测单元 200具体用于:
持续检测用户对所述终端的触控显示屏的预设区域的滑动操作;
根据所述滑动操作的轨迹的方向和长度, 调整所述媒体的播放次数。
可选地, 在所述第一检测单元 200检测用户的输入命令, 根据所述输入命 令, 确定对媒体的播放次数时检测到的用户的第一操作与在所述开启单元 100 开启播放次数设置功能之前,所述第二检测单元 400检测到的用户的第二操作, 两次操作的类型相同, 时间连续。
请参照图 9, 为本发明播放媒体的终端的第三实施例组成示意图, 在本实施 例中, 所述终端包括:
开启单元 100, 用于开启播放次数设置功能;
第一检测单元 200, 用于检测用户的输入命令, 根据所述输入命令, 确定对 媒体的播放次数;
播放单元 300, 用于按照所述播放次数, 播放所述媒体。
可选地, 所述终端还包括:
第二检测单元 400, 用于在所述开启单元 100开启播放次数设置功能之前, 执行以下步骤中的至少一个:
检测到用户通过语音输入的预设命令; 检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数, 达到预设 的个数。
所述第一检测单元 200用于执行以下步骤中的任意一个:
检测用户通过语音输入的播放次数, 确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数, 确定所述媒 体的播放次数为所述手指个数;
检测用户晃动所述终端的次数, 确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数, 确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹, 根据所 述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向, 确定所述媒体的播 放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长, 根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。
所述终端还包括:
显示单元 500, 用于在所述第一检测单元 200确定对媒体的播放次数之后, 显示所述媒体的播放次数。
取消单元 600, 用于在所述播放单元 300按照所述播放次数, 播放所述媒体 时, 若接收用户输入的取消指令, 则停止按照所述播放次数播放所述媒体。
在所述播放单元 300按照所述播放次数, 播放所述媒体之后, 或者在所述 取消单元 600接收到用户输入的取消指令, 停止按照所述播放次数播放所述媒 体之后, 所述播放单元 300还用于:
根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
需要说明的是, 以上开启单元 100、 第一检测单元 200、 播放单元 300、 显 示单元 500播放单元 300显示单元 500或取消单元 600可独立设置, 也可以集 成设置, 且以上开启单元 100、 第一检测单元 200、播放单元 300、 显示单元 500 和取消单元 600播放单元 300显示单元 500取消单元 600可以以硬件的形式独 立于终端的处理器单独设置, 且可以分别设置或集成在一起设置, 且设置形式 可以是微处理器的形式; 也可以以硬件形式内嵌于终端的处理器中, 还可以以 软件形式存储于终端的存储器中, 以便于终端的处理器调用执行以上开启单元 100、 第一检测单元 200、 播放单元 300、 显示单元 500和取消单元 600播放单 元 300显示单元 500取消单元 600对应的操作。
例如, 在本发明播放媒体的终端的第一实施例 (图 7 所示的实施例) 中, 启动单元可以为终端的处理器, 而第一检测单元播放单元 300 的功能可以内嵌 于该处理器中, 也可以独立于处理器单独设置, 也可以以软件的形式存储于存 储器中, 由处理器调用实现其功能, 播放单元 300作为媒体播放装置, 受开启 单元 100控制。 在本发明播放媒体的终端的第二实施例 (图 8所示的实施例) 中, 还包括第二检测单元 400, 所述第二检测单元 400可以与第一检测单元 200 集成设置, 也可以独立设置, 或者还可以作为终端的接口电路, 用于检测用户 的操作并进行识别, 可独立设置或与处理器集成设置。 而在图 9所述的第三实 施例中, 显示单元 500可以作为终端的输出装置, 取消单元 600可以与开启单 元 100集成设置或独立设置, 本发明实施例不做任何限制。 以上处理器可以为 中央处理单元(CPU )、 微处理器、 单片机等。 请参照图 10, 为本发明播放媒体的终端的第四实施例组成示意图, 在本实 施例中, 所述终端包括:
处理器 110, 用于开启播放次数设置功能;
输入装置 120, 用于检测用户的输入命令;
所述处理器 110还用于, 根据所述输入命令, 确定对媒体的播放次数, 指 示媒体输出装置 140按照所述播放次数, 播放所述媒体;
所述媒体播放装置 130, 用于按照所述播放次数, 播放所述媒体。
可选地, 所述媒体包括:
终端当前正在播放的音频文件或视频文件;
所述媒体播放装置 130具体用于:
播放所述终端当前正在播放的音频文件或视频文件, 直至达到所述播放次 数。
或者, 所述媒体包括:
选定的待播放的音频文件或选定的待播放的视频文件;
所述媒体播放装置 130具体用于:
播放所述选定的待播放的音频文件或选定的待播放的视频文件, 直至达到 所述播放次数。
可选地, 在触发播放次数设置功能时, 所述输入装置 120还用于: 在所述处理器 110开启播放次数设置功能之前, 执行以下步骤中的至少一 个:
检测到用户通过语音输入的预设命令; 此时输入装置 120可为麦克风; 检测到终端的运动轨迹符合预设的轨迹; 此时输入装置 120可为一种或多 种传感器如加速度传感器、 陀螺仪传感器或电子罗盘传感器等;
检测到用户对所述终端的触控显示屏的预设区域的点击操作; 此时输入装 置 120可为触控显示屏;
检测到用户对所述终端的敲击操作; 此时输入装置 120可为触控显示屏; 检测到用户对所述终端的触控显示屏的预设区域的滑动操作; 此时输入装 置 120可为触控显示屏;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长; 此时输入装置 120可为触控显示屏;
检测到用户对所述终端的指定按键的按下操作。 此时输入装置 120可为触 控显示屏或与按键相连的信号传输电路;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数, 达到预设 的个数, 此时输入装置 120可为触控显示屏。
在确定播放次数时, 所述输入装置 120具体用于检测用户通过语音输入的 播放次数, 所述处理器 110具体用于确定所述媒体的播放次数为所述语音输入 的播放次数; 或
所述输入装置 120具体用于检测用户触摸所述终端的触控显示屏的预设区 域的手指个数, 所述处理器 110具体用于确定所述媒体的播放次数为所述手指 个数; 或
所述输入装置 120具体用于检测用户晃动所述终端的次数,所述处理器 110 具体用于确定所述媒体的播放次数为所述用户晃动所述终端的次数; 或
所述输入装置 120具体用于检测用户对所述终端的触控显示屏的预设区域 的点击次数, 所述处理器 110具体用于确定所述媒体的播放次数为所述点击次 数; 或
所述输入装置 120具体用于检测用户对所述终端的触控显示屏的预设区域 的滑动操作的轨迹,所述处理器 110具体用于根据所述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向, 确定所述媒体的播放次数; 或
所述输入装置 120具体用于检测用户对所述终端的触控显示屏的预设区域 选定的时长, 所述处理器 110具体用于根据所述选定的时长, 确定所述媒体的 播放次数; 或
所述输入装置 120具体用于检测用户对所述终端的触控显示屏的预设区域 的两个选择点之间的距离, 所述处理器 110具体用于根据所述距离, 确定所述 媒体的播放次数。 可选地, 所述输入装置 120具体用于:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预设 时长;
所述处理器 110具体用于:
在所述输入装置 120检测到用户对所述终端的触控显示屏的预设区域的选 定操作达到第一预设时长之后, 开启所述播放次数设置功能;
所述输入装置 120具体用于:
持续检测到用户对所述终端的触控显示屏的预设区域的选定操作; 所述处理器 110具体用于:
根据所述选定操作的持续时长, 确定所述媒体的播放次数。
可选地, 所述输入装置 120具体用于:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述处理器 110具体用于:
在所述输入装置 120检测到用户对所述终端的触控显示屏的预设区域的滑 动操作之后, 开启所述播放次数设置功能;
所述输入装置 120具体用于:
持续检测用户对所述终端的触控显示屏的预设区域的滑动操作;
所述处理器 110具体用于:
根据所述滑动操作的轨迹的方向和长度, 调整所述媒体的播放次数。
可选地, 在所述输入装置 120检测用户的输入命令, 所述处理器 110根据 所述输入命令, 确定对媒体的播放次数时所述输入装置 120检测到的用户的第 一操作与在所述处理器 110开启播放次数设置功能之前, 所述输入装置 120检 测到的用户的第二操作, 两次操作的类型相同, 时间连续。
所述终端还包括:
显示屏 140(图未示),用于在所述处理器 110确定对媒体的播放次数之后, 显示所述媒体的播放次数。
所述输入装置 120还用于, 在所述媒体播放装置 130按照所述播放次数, 播放所述媒体时, 接收用户输入的取消指令;
所述处理器 110还用于, 指示所述媒体播放装置停止按照所述播放次数播 放所述媒体; 所述媒体播放装置 130还用于, 根据所述处理器 110的指示, 停 止按照所述播放次数播放所述媒体。
在所述媒体播放装置 130按照所述播放次数, 播放所述媒体之后, 或者在 所述输入装置 120接收用户输入的取消指令, 所述处理器 110指示所述媒体播 放装置 130停止按照所述播放次数播放所述媒体之后, 所述媒体播放装置 130 还用于:
根据媒体列表和预设播放规则, 连续播放所述媒体列表中的媒体。
需要说明的是, 本说明书中的各个实施例均釆用递进的方式描述, 每个实 施例重点说明的都是与其它实施例的不同之处, 各个实施例之间相同相似的部 分互相参见即可。 对于装置实施例而言, 由于其与方法实施例基本相似, 所以 描述的比较简单, 相关之处参见方法实施例的部分说明即可。
通过上述实施例的描述, 本发明具有以下优点:
通过在终端上配置播放次数设置功能, 并根据检测到的用户输入指令确定 对媒体的播放次数, 最后按照确定的播放次数播放所述媒体, 从而完善了现有 终端播放媒体的方法, 解决了在需要重复播放同一媒体时, 终端的操作较繁瑣 的问题, 可以直接方便的设置媒体的播放次数, 增强了终端便利性和易用性。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, 简称 ROM )或随机存取存储器( Random Access Memory, 简称 RAM )等。
以上所揭露的仅为本发明较佳实施例而已, 当然不能以此来限定本发明之 权利范围, 因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种播放媒体的方法, 其特征在于, 包括:
开启播放次数设置功能;
检测用户的输入命令, 根据所述输入命令, 确定对媒体的播放次数; 按照所述播放次数, 播放所述媒体。
2、 如权利要求 1所述的播放媒体的方法, 其特征在于, 所述媒体包括: 终端当前正在播放的音频文件或视频文件;
所述按照所述播放次数, 播放所述媒体, 包括:
播放所述终端当前正在播放的音频文件或视频文件,直至达到所述播放次 数。
3、 如权利要求 1所述的播放媒体的方法, 其特征在于, 所述媒体包括: 选定的待播放的音频文件或选定的待播放的视频文件;
所述按照所述播放次数, 播放所述媒体, 包括:
播放所述选定的待播放的音频文件或选定的待播放的视频文件,直至达到 所述播放次数。
4、 如权利要求 1至 3任一项所述的播放媒体的方法, 其特征在于, 在所 述开启播放次数设置功能之前, 还包括以下步骤中的至少一个:
检测到用户通过语音输入的预设命令;
检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预 设时长; 检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数,达到预设 的个数。
5、 如权利要求 1至 4任一项所述的播放媒体的方法, 其特征在于, 所述 检测用户的输入命令, 根据所述输入命令, 确定对媒体的播放次数, 包括以下 步骤中的任意一个:
检测用户通过语音输入的播放次数,确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数,确定所述媒 体的播放次数为所述手指个数;
检测用户晃动所述终端的次数,确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数,确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹,根据所 述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向,确定所述媒体的播 放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长,根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。
6、 如权利要求 1至 3任一项所述的播放媒体的方法, 其特征在于, 在所 述开启播放次数设置功能之前, 还包括:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预 设时长;
所述检测用户的输入命令, 根据所述输入命令, 确定对媒体的播放次数, 包括: 持续检测到用户对所述终端的触控显示屏的预设区域的选定操作,根据所 述选定操作的持续时长, 确定所述媒体的播放次数。
7、 如权利要求 1至 3任一项所述的播放媒体的方法, 在所述开启播放次 数设置功能之前, 还包括:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述检测用户的输入命令, 根据所述输入命令, 确定对媒体的播放次数, 包括:
持续检测用户对所述终端的触控显示屏的预设区域的滑动操作;
根据所述滑动操作的轨迹的方向和长度, 调整所述媒体的播放次数。
8、 如权利要求 1-7任一项所述的播放媒体的方法, 其特征在于, 在所述 确定对媒体的播放次数之后, 还包括:
显示所述媒体的播放次数。
9、 如权利要求 1-8任一项所述的播放媒体的方法, 其特征在于, 在按照 所述播放次数, 播放所述媒体时, 若接收到用户输入的取消指令, 则停止按照 所述播放次数播放所述媒体。
10、 如权利要求 1-9任一项所述的播放媒体的方法, 其特征在于, 在所述 按照所述播放次数, 播放所述媒体之后, 或者在接收到用户输入的取消指令, 停止按照所述播放次数播放所述媒体之后, 还包括:
根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
11、 一种播放媒体的终端, 其特征在于, 包括:
开启单元, 用于开启播放次数设置功能;
第一检测单元, 用于检测用户的输入命令, 根据所述输入命令, 确定对媒 体的播放次数;
播放单元, 用于按照所述播放次数, 播放所述媒体。
12、 如权利要求 11所述的终端, 其特征在于, 所述媒体包括: 终端当前正在播放的音频文件或视频文件;
所述播放单元具体用于:
播放所述终端当前正在播放的音频文件或视频文件,直至达到所述播放次 数。
13、 如权利要求 11所述的终端, 其特征在于, 所述媒体包括:
选定的待播放的音频文件或选定的待播放的视频文件;
所述播放单元具体用于:
播放所述选定的待播放的音频文件或选定的待播放的视频文件,直至达到 所述播放次数。
14、如权利要求 11-13任一项所述的终端,其特征在于,所述终端还包括: 第二检测单元, 用于在所述开启单元开启播放次数设置功能之前,执行以 下步骤中的至少一个:
检测到用户通过语音输入的预设命令;
检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预 设时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数,达到预设 的个数。
15、 如权利要求 11-14任一项所述的终端, 其特征在于, 所述第一检测单 元具体用于执行以下步骤中的任意一个: 检测用户通过语音输入的播放次数,确定所述媒体的播放次数为所述语音 输入的播放次数;
检测用户触摸所述终端的触控显示屏的预设区域的手指个数,确定所述媒 体的播放次数为所述手指个数;
检测用户晃动所述终端的次数,确定所述媒体的播放次数为所述用户晃动 所述终端的次数;
检测用户对所述终端的触控显示屏的预设区域的点击次数,确定所述媒体 的播放次数为所述点击次数;
检测用户对所述终端的触控显示屏的预设区域的滑动操作的轨迹,根据所 述滑动操作的轨迹的长度, 或根据所述轨迹的长度和方向,确定所述媒体的播 放次数;
检测用户对所述终端的触控显示屏的预设区域选定的时长,根据所述选定 的时长, 确定所述媒体的播放次数;
检测用户对所述终端的触控显示屏的预设区域的两个选择点之间的距离, 根据所述距离, 确定所述媒体的播放次数。
16、 如权利要求 11-13任一项所述的终端, 其特征在于, 在所述开启单元 开启播放次数设置功能之前, 所述第二检测单元具体用于:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预 设时长;
所述第一检测单元具体用于:
持续检测到用户对所述终端的触控显示屏的预设区域的选定操作,根据所 述选定操作的持续时长, 确定所述媒体的播放次数。
17、 如权利要求 11-13任一项所述的终端, 其特征在于, 在所述开启单元 开启播放次数设置功能之前, 所述第二检测单元具体用于:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述第一检测单元具体用于:
持续检测用户对所述终端的触控显示屏的预设区域的滑动操作; 根据所述滑动操作的轨迹的方向和长度, 调整所述媒体的播放次数。
18、如权利要求 11-17任一项所述的终端,其特征在于,所述终端还包括: 显示单元, 用于在所述第一检测单元确定对媒体的播放次数之后,显示所 述媒体的播放次数。
19、如权利要求 11-18任一项所述的终端,其特征在于,所述终端还包括: 取消单元, 用于在所述播放单元按照所述播放次数, 播放所述媒体时, 若 接收到用户输入的取消指令, 则停止按照所述播放次数播放所述媒体。
20、 如权利要求 11-19任一项所述的终端, 其特征在于, 在所述播放单元 按照所述播放次数,播放所述媒体之后, 或者在所述取消单元接收到用户输入 的取消指令,停止按照所述播放次数播放所述媒体之后,所述播放单元还用于: 根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
21、 一种播放媒体的终端, 其特征在于, 包括:
处理器, 用于开启播放次数设置功能;
输入装置, 用于检测用户的输入命令;
所述处理器还用于, 根据所述输入命令, 确定对媒体的播放次数, 指示媒 体输出装置按照所述播放次数, 播放所述媒体;
所述媒体播放装置, 用于按照所述播放次数, 播放所述媒体。
22、 如权利要求 21所述的终端, 其特征在于, 所述媒体包括:
终端当前正在播放的音频文件或视频文件;
所述媒体播放装置具体用于:
播放所述终端当前正在播放的音频文件或视频文件,直至达到所述播放次 数。
23、 如权利要求 21所述的终端, 其特征在于, 所述媒体包括: 选定的待播放的音频文件或选定的待播放的视频文件;
所述媒体播放装置具体用于:
播放所述选定的待播放的音频文件或选定的待播放的视频文件,直至达到 所述播放次数。
24、 如权利要求 21-23任一项所述的终端, 其特征在于, 所述输入装置还 用于:
在所述处理器开启播放次数设置功能之前, 执行以下步骤中的至少一个: 检测到用户通过语音输入的预设命令;
检测到终端的运动轨迹符合预设的轨迹;
检测到用户对所述终端的触控显示屏的预设区域的点击操作;
检测到用户对所述终端的敲击操作;
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预 设时长;
检测到用户对所述终端的指定按键的按下操作;
检测到用户触摸所述终端的触控显示屏的预设区域的手指个数,达到预设 的个数。
25、 如权利要求 21-24任一项所述的终端, 其特征在于, 所述输入装置具 体用于检测用户通过语音输入的播放次数,所述处理器具体用于确定所述媒体 的播放次数为所述语音输入的播放次数; 或
所述输入装置具体用于检测用户触摸所述终端的触控显示屏的预设区域 的手指个数, 所述处理器具体用于确定所述媒体的播放次数为所述手指个数; 或
所述输入装置具体用于检测用户晃动所述终端的次数,所述处理器具体用 于确定所述媒体的播放次数为所述用户晃动所述终端的次数; 或
所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域的 点击次数, 所述处理器具体用于确定所述媒体的播放次数为所述点击次数; 或 所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域的 滑动操作的轨迹, 所述处理器具体用于根据所述滑动操作的轨迹的长度,或根 据所述轨迹的长度和方向, 确定所述媒体的播放次数; 或
所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域选 定的时长, 所述处理器具体用于根据所述选定的时长,确定所述媒体的播放次 数; 或
所述输入装置具体用于检测用户对所述终端的触控显示屏的预设区域的 两个选择点之间的距离, 所述处理器具体用于根据所述距离,确定所述媒体的 播放次数。
26、 如权利要求 21至 23任一项所述的终端, 其特征在于, 所述输入装置 具体用于:
检测到用户对所述终端的触控显示屏的预设区域的选定操作达到第一预 设时长;
所述处理器具体用于:
在所述输入装置检测到用户对所述终端的触控显示屏的预设区域的选定 操作达到第一预设时长之后, 开启所述播放次数设置功能;
所述输入装置具体用于:
持续检测到用户对所述终端的触控显示屏的预设区域的选定操作; 所述处理器具体用于:
根据所述选定操作的持续时长, 确定所述媒体的播放次数。
27、 如权利要求 21至 23任一项所述的终端, 其特征在于, 所述输入装置 具体用于:
检测到用户对所述终端的触控显示屏的预设区域的滑动操作;
所述处理器具体用于:
在所述输入装置检测到用户对所述终端的触控显示屏的预设区域的滑动 操作之后, 开启所述播放次数设置功能;
所述输入装置具体用于: 持续检测用户对所述终端的触控显示屏的预设区域的滑动操作; 所述处理器具体用于:
根据所述滑动操作的轨迹的方向和长度, 调整所述媒体的播放次数。
28、如权利要求 21-27任一项所述的终端,其特征在于,所述终端还包括: 显示屏, 用于在所述处理器确定对媒体的播放次数之后,显示所述媒体的 播放次数。
29、 如权利要求 21-28任一项所述的终端, 其特征在于, 所述输入装置还 用于, 在所述媒体播放装置按照所述播放次数, 播放所述媒体时, 接收用户输 入的取消指令;
所述处理器还用于,指示所述媒体播放装置停止按照所述播放次数播放所 述媒体;
所述媒体播放装置还用于,根据所述处理器的指示,停止按照所述播放次 数播放所述媒体。
30、 如权利要求 21-29任一项所述的终端, 其特征在于, 在所述媒体播放 装置按照所述播放次数,播放所述媒体之后,或者在所述输入装置接收用户输 入的取消指令,所述处理器指示所述媒体播放装置停止按照所述播放次数播放 所述媒体之后, 所述媒体播放装置还用于:
根据媒体列表和预设播放规则, 播放所述媒体列表中的媒体。
PCT/CN2014/078634 2014-05-28 2014-05-28 一种播放媒体的方法及终端 WO2015180067A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2016549381A JP6265401B2 (ja) 2014-05-28 2014-05-28 メディアを再生するための方法および端末
PCT/CN2014/078634 WO2015180067A1 (zh) 2014-05-28 2014-05-28 一种播放媒体的方法及终端
US15/109,588 US10540074B2 (en) 2014-05-28 2014-05-28 Method and terminal for playing media
ES14893160.3T ES2681653T3 (es) 2014-05-28 2014-05-28 Método y terminal para reproducción de contenido multimedia
EP14893160.3A EP3073490B1 (en) 2014-05-28 2014-05-28 Method and terminal for playing media
KR1020167019153A KR102059882B1 (ko) 2014-05-28 2014-05-28 미디어 재생을 위한 방법 및 단말기
HUE14893160A HUE040507T2 (hu) 2014-05-28 2014-05-28 Eljárás és terminál média lejátszására
CN201480002499.8A CN104685898B (zh) 2014-05-28 2014-05-28 一种播放媒体的方法及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/078634 WO2015180067A1 (zh) 2014-05-28 2014-05-28 一种播放媒体的方法及终端

Publications (1)

Publication Number Publication Date
WO2015180067A1 true WO2015180067A1 (zh) 2015-12-03

Family

ID=53318769

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/078634 WO2015180067A1 (zh) 2014-05-28 2014-05-28 一种播放媒体的方法及终端

Country Status (8)

Country Link
US (1) US10540074B2 (zh)
EP (1) EP3073490B1 (zh)
JP (1) JP6265401B2 (zh)
KR (1) KR102059882B1 (zh)
CN (1) CN104685898B (zh)
ES (1) ES2681653T3 (zh)
HU (1) HUE040507T2 (zh)
WO (1) WO2015180067A1 (zh)

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977255B2 (en) 2007-04-03 2015-03-10 Apple Inc. Method and system for operating a multi-function portable electronic device using voice-activation
DE212014000045U1 (de) 2013-02-07 2015-09-24 Apple Inc. Sprach-Trigger für einen digitalen Assistenten
US9338493B2 (en) 2014-06-30 2016-05-10 Apple Inc. Intelligent automated assistant for TV user interactions
WO2017015906A1 (zh) * 2015-07-29 2017-02-02 张阳 歌曲循环演唱方法及系统
US10747498B2 (en) 2015-09-08 2020-08-18 Apple Inc. Zero latency digital assistant
US10691473B2 (en) 2015-11-06 2020-06-23 Apple Inc. Intelligent automated assistant in a messaging environment
CN106790940B (zh) * 2015-11-25 2020-02-14 华为技术有限公司 录音方法、录音播放方法、装置及终端
US10222979B2 (en) * 2015-12-04 2019-03-05 Datalogic Usa, Inc. Size adjustable soft activation trigger for touch displays on electronic device
CN105573596B (zh) * 2015-12-10 2018-09-04 广东欧珀移动通信有限公司 一种播放列表的播放顺序调整方法及用户终端
CN105573646A (zh) * 2015-12-10 2016-05-11 广东欧珀移动通信有限公司 一种多媒体内容播放进度控制方法及用户终端
CN105892880A (zh) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 一种歌曲播放进度控制方法及装置
US10586535B2 (en) * 2016-06-10 2020-03-10 Apple Inc. Intelligent digital assistant in a multi-tasking environment
KR102255789B1 (ko) 2016-08-30 2021-05-26 삼성전자주식회사 광학모듈 및 이를 이용한 광학디바이스
CN107025914A (zh) * 2017-04-07 2017-08-08 宇龙计算机通信科技(深圳)有限公司 一种多媒体播放方法及其装置
KR101971982B1 (ko) * 2017-04-20 2019-04-24 주식회사 하이딥 터치 감지 및 터치압력 감지가 가능한 장치 및 제어방법
CN107256125B (zh) * 2017-04-25 2020-10-27 捷开通讯(深圳)有限公司 存储装置、移动终端及其多媒体循环播放的控制方法
DK201770427A1 (en) 2017-05-12 2018-12-20 Apple Inc. LOW-LATENCY INTELLIGENT AUTOMATED ASSISTANT
DK179496B1 (en) 2017-05-12 2019-01-15 Apple Inc. USER-SPECIFIC Acoustic Models
CN107845391B (zh) * 2017-09-18 2019-10-15 维沃移动通信有限公司 一种音乐播放方法及移动终端
CN107704232B (zh) * 2017-09-26 2021-01-08 维沃移动通信有限公司 一种音频控制方法和电子设备
US10928918B2 (en) 2018-05-07 2021-02-23 Apple Inc. Raise to speak
JP7316604B2 (ja) 2018-05-23 2023-07-28 株式会社 資生堂 化粧料用オイル増粘剤及び油溶性共重合体
CN109147830A (zh) * 2018-08-29 2019-01-04 维沃移动通信有限公司 一种歌曲播放方法及移动终端
US11462215B2 (en) 2018-09-28 2022-10-04 Apple Inc. Multi-modal inputs for voice commands
CN109462770A (zh) * 2018-11-23 2019-03-12 北京达佳互联信息技术有限公司 视频播放控制方法、装置、终端及存储介质
US11301128B2 (en) * 2019-05-01 2022-04-12 Google Llc Intended input to a user interface from detected gesture positions
US11468890B2 (en) 2019-06-01 2022-10-11 Apple Inc. Methods and user interfaces for voice-based control of electronic devices
CN113126743B (zh) * 2019-12-31 2023-07-18 华为技术有限公司 一种敲击检测方法、检测系统及可穿戴设备
US11061543B1 (en) 2020-05-11 2021-07-13 Apple Inc. Providing relevant data items based on context
US11490204B2 (en) 2020-07-20 2022-11-01 Apple Inc. Multi-device audio adjustment coordination
US11438683B2 (en) 2020-07-21 2022-09-06 Apple Inc. User identification using headphones
KR102248932B1 (ko) * 2020-11-12 2021-05-04 박명재 반복 학습을 통한 국어 강의 콘텐츠 제공 방법 및 이를 위한 장치
US11579838B2 (en) 2020-11-26 2023-02-14 Verses, Inc. Method for playing audio source using user interaction and a music application using the same
WO2022216099A1 (ko) * 2021-04-08 2022-10-13 주식회사 버시스 사용자 입력에 기반하여 사운드를 제공하는 전자 장치 및 그 동작 방법
CN113365154A (zh) * 2021-06-03 2021-09-07 北京字跳网络技术有限公司 一种视频处理方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797392A (zh) * 2004-12-29 2006-07-05 乐金电子(中国)研究开发中心有限公司 利用移动通信终端的声音播放编辑方法
CN101465146A (zh) * 2007-12-19 2009-06-24 联想(北京)有限公司 播放媒体文件的方法和设备
CN102073437A (zh) * 2009-11-23 2011-05-25 英业达股份有限公司 触控式电子装置的控制方法
CN103309601A (zh) * 2012-03-15 2013-09-18 百度在线网络技术(北京)有限公司 用于触摸屏的快速翻页方法、电子阅读装置及终端设备

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099568B2 (en) 2000-03-21 2006-08-29 Sony Corporation Information playback apparatus and electronic pop advertising apparatus
JP2002116858A (ja) 2000-10-06 2002-04-19 Sony Corp 電子pop広告装置
US20060218187A1 (en) 2005-03-25 2006-09-28 Microsoft Corporation Methods, systems, and computer-readable media for generating an ordered list of one or more media items
WO2007002800A2 (en) * 2005-06-28 2007-01-04 Metacarta, Inc. User interface for geographic search
WO2009155092A2 (en) * 2008-05-29 2009-12-23 Telcordia Technologies, Inc. Method and system for multi-touch-based browsing of media summarizations on a handheld device
US8441155B2 (en) * 2008-07-29 2013-05-14 Honeywell International Inc. Electric timer for controlling power to a fan
KR101593598B1 (ko) * 2009-04-03 2016-02-12 삼성전자주식회사 휴대단말에서 제스처를 이용한 기능 실행 방법
KR101691938B1 (ko) * 2010-01-06 2017-01-03 삼성전자주식회사 휴대 단말기의 반복 재생 구간 설정 방법 및 장치
JP2012014604A (ja) 2010-07-05 2012-01-19 Panasonic Corp コンテンツ再生装置、コンテンツ再生方法及びコンテンツ再生プログラム
JP2012159820A (ja) 2011-10-05 2012-08-23 Pioneer Electronic Corp 表示制御装置、再生処理システム、表示制御装置の制御方法およびプログラム
CN103123795B (zh) 2011-11-21 2015-11-25 宏碁股份有限公司 多媒体播放方法
US9164629B2 (en) 2012-08-06 2015-10-20 Stmicroelectronics Asia Pacific Pte Ltd Touch screen panel with slide feature
KR20140025940A (ko) * 2012-08-23 2014-03-05 삼성전자주식회사 터치 시간에 따라 컨텐츠의 페이지 수를 이동시키는 전자 장치 및 방법
CN103076979A (zh) * 2013-01-17 2013-05-01 广东欧珀移动通信有限公司 一种在视频播放界面中调节音量的方法、系统及移动终端
CN103257825B (zh) 2013-04-28 2016-03-30 小米科技有限责任公司 一种调节播放进度的方法和装置
BR102014005041A2 (pt) * 2014-02-28 2015-12-29 Samsung Eletrônica Da Amazônia Ltda método para ativar teclas físicas de um dispositivo a partir da tela

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797392A (zh) * 2004-12-29 2006-07-05 乐金电子(中国)研究开发中心有限公司 利用移动通信终端的声音播放编辑方法
CN101465146A (zh) * 2007-12-19 2009-06-24 联想(北京)有限公司 播放媒体文件的方法和设备
CN102073437A (zh) * 2009-11-23 2011-05-25 英业达股份有限公司 触控式电子装置的控制方法
CN103309601A (zh) * 2012-03-15 2013-09-18 百度在线网络技术(北京)有限公司 用于触摸屏的快速翻页方法、电子阅读装置及终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3073490A4 *

Also Published As

Publication number Publication date
CN104685898A (zh) 2015-06-03
KR102059882B1 (ko) 2019-12-27
US20160328134A1 (en) 2016-11-10
JP2017519256A (ja) 2017-07-13
ES2681653T3 (es) 2018-09-14
EP3073490A4 (en) 2017-07-12
US10540074B2 (en) 2020-01-21
HUE040507T2 (hu) 2019-03-28
CN104685898B (zh) 2018-06-19
EP3073490A1 (en) 2016-09-28
JP6265401B2 (ja) 2018-01-24
EP3073490B1 (en) 2018-05-23
KR20160098456A (ko) 2016-08-18

Similar Documents

Publication Publication Date Title
WO2015180067A1 (zh) 一种播放媒体的方法及终端
US11182066B2 (en) Electronic device using auxiliary input device and operating method thereof
AU2021203022B2 (en) Multifunction device control of another electronic device
TWI397844B (zh) 觸摸感應裝置和用於提供側觸摸板的方法
KR101419701B1 (ko) 멀티미디어 재생장치에서 멀티 터치를 이용한 재생 제어 방법
US11150798B2 (en) Multifunction device control of another electronic device
KR102009423B1 (ko) 음성 인식을 이용한 미리 설정된 동작 모드의 수행 방법 및 장치
KR100801089B1 (ko) 터치 및 드래그를 이용하여 제어 가능한 모바일 장치 및 그조작 방법
US20090179867A1 (en) Method for providing user interface (ui) to display operating guide and multimedia apparatus using the same
US10180783B2 (en) Information processing device, information processing method and program that controls movement of a displayed icon based on sensor information and user input
EP2992412A1 (en) User interface apparatus and associated methods
WO2017161826A1 (zh) 一种功能的控制方法和终端
KR20120080859A (ko) 손가락 추적을 이용한 휴대 단말기 제어 방법 및 장치
EP2829967A2 (en) Method of processing input and electronic device thereof
JP2014157578A (ja) タッチパネル装置、タッチパネル装置の制御方法及びプログラム
WO2016112791A1 (zh) 移动终端应用程序页面的展现方法和装置
KR101210298B1 (ko) 터치 입력을 이용한 사용자 인터페이스 방법 및 이를 적용한 단말기
US20220035521A1 (en) Multifunction device control of another electronic device
CN111656303A (zh) 数据处理装置的手势控制
WO2015001622A1 (ja) 入力装置、入力制御方法、及び入力制御プログラム
JP6392051B2 (ja) 電子機器、方法およびプログラム
US9413870B2 (en) Terminal capable of controlling attribute of application based on motion and method thereof
TW200844810A (en) Microphones as contact sensors for device control
TW201812560A (zh) 行動裝置的控制方法

Legal Events

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

Ref document number: 14893160

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014893160

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014893160

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15109588

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20167019153

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016549381

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE