Summary of the invention
The technical problem to be solved by the embodiment of the invention is that a kind of music application operating method and device are provided,It can be realized and rapidly music application is operated.
The present invention provides a kind of music application operating methods, comprising: receives to the corresponding application drawing of the music applicationTarget touch operation, the application icon include disk like control;Judge whether the touch operation is to rotate the disk like controlOperation;If so, triggering the F.F. or fast that the music application realizes music being played on according to the touch operationMove back function.
Optionally, described according to the touch operation, trigger the F.F. that the music application realizes music being played onOr rewind function, comprising: the direction of the operation of the detection rotation disk like control;If clockwise, then triggeringThe music application realizes the fast-forward functionality of music being played on;If it is real counterclockwise, then to trigger the music applicationThe rewind function of existing music being played on.
Optionally, described according to the touch operation, trigger the F.F. that the music application realizes music being played onOr rewind function, comprising: the speed of the operation of the detection rotation disk like control;According to the rotation disk like controlThe speed of the operation of part triggers F.F. or rewind function that the music application realizes music being played on, the F.F.Match with the speed of rewind and the speed of the operation of the rotation disk like control.
Optionally, the application icon includes music toggle control;The method also includes: judge that the touch operation isThe no operation to touch the music toggle control;If so, the music application is playing according to the touch operationMusic switch to preset musical.
Optionally, the music toggle control includes the left arrow logo being arranged in the application icon and right arrow markKnow;It is described according to the touch operation, music application music being played on is switched into preset musical, comprising: judgementThe touch operation is the operation for touching the left arrow logo or the operation for touching the right arrow logo;If judging resultFor the operation for touching the left arrow logo, then a head is switched to;If judging result is to touch the behaviour of the right arrow logoMake, is then switched to next.
The present invention also provides a kind of music operating devices, comprising: receiving module, first judgment module and trigger modeBlock, the receiving module are used to receive the touch operation to the corresponding application icon of the music application, the application icon packetInclude disk like control;The first judgment module is for judging whether the touch operation is the operation for rotating the disk like control;The trigger module is used for when the touch operation is to rotate the operation of the disk like control, according to the touch operation, touchingIt sends out music application described and realizes the F.F. or rewind function of music being played on.
Optionally, the trigger module includes detection unit and trigger unit, and the detection unit is described for detectingRotate the direction of the operation of the disk like control;The trigger unit is used for when being clockwise direction, is triggered the music and is answeredWith the fast-forward functionality for realizing music being played on;When being counter clockwise direction, triggers the music application realization and be playingMusic rewind function.
Optionally, the trigger module includes detection unit and trigger unit, and the detection unit is described for detectingRotate the speed of the operation of the disk like control;The trigger unit is used for according to the operation for rotating the disk like controlSpeed triggers F.F. or rewind function that the music application realizes music being played on, the speed of the fast forward and fast rewindIt spends and matches with the speed of the operation of the rotation disk like control.
Optionally, the application icon includes music toggle control;Described device further includes the second judgment module, and describedTwo judgment modules are for judging whether the touch operation is the operation for touching the music toggle control;The trigger module is usedWhen the touch operation is to touch the operation of the music toggle control, according to the touch operation, by the music applicationMusic being played on switches to preset musical.
Optionally, the music toggle control includes the left arrow logo being arranged in the application icon and right arrow markKnow;The trigger module includes detection unit and trigger unit, and the detection unit is touching for detecting the touch operationThe operation for touching the left arrow logo still touches the operation of the right arrow logo;The trigger unit is used in judging resultWhen operation to touch the left arrow logo, it is first to be switched to one;It is to touch the behaviour of the right arrow logo in judging resultWhen making, it is switched to next.
In above scheme, if detecting the touch operation to the disk like control in the corresponding application icon of music application,Then trigger F.F. or rewind function that music application realizes music being played on.So user is without again tapping on musicThe icon of application activates music application in drop-down list, but directly carries out on a graphical user interface to disk like controlOperation, it will be able to which the F.F. or rewind function for realizing music application rapidly operate music application to realize.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment, it is not intended to limit the invention." the one of the embodiment of the present invention and singular used in the attached claimsKind ", " described " and "the" are also intended to including most forms, unless the context clearly indicates other meaning.It is also understood that thisTerm "and/or" used herein refers to and includes one or more associated any or all possible group for listing projectIt closes.
Refering to fig. 1, Fig. 1 is a kind of flow chart of music application operating method provided by the invention.The application of the present embodimentProgram technic can be used on smart phone, tablet computer, smartwatch, MP4 etc. terminal.The music application of the present embodimentOperating method includes:
110: receiving the touch operation to the corresponding application icon of music application.
By taking smart phone as an example, it is arranged on the graphic user interface (Graphical User Interface, GUI) of terminalThere is the icon of music application, when the user clicks the icon of the music application on graphic user interface, so that it may start music application.Alternatively, be provided with the shortcut of music application in the drop-down list of smart phone, the music in drop-down list when the user clicksThe shortcut of application, so that it may start music application.Wherein, music application can be QQ music, kugoo music etc..
After entering music application, if user needs to run other application programs, or, it is undesirable to music applicationWhen operating in foreground, music application can be switched to backstage and run.When music application operates in backstage, will scheme originallyThe icon of original music application in shape user interface is shown as the icon of new music application.The icon packet of new music applicationDisk like control is included, can also include music toggle control, the music toggle control includes being arranged in new application iconLeft arrow logo and right arrow logo.Wherein, the shape of disk like control is disk like, when rotating clockwise disk like control or inverseWhen hour hands rotate disk like control, the F.F. and rewind function for realizing song can be corresponded to.Left arrow logo can be button controlPart and menu control etc. can be realized the function of being switched to a song when touching left arrow logo.Right arrow markKnowledge can be button control and menu control etc., when clicking right arrow logo, can be realized and is switched to next songFunction.
In another embodiment, whether detection user carries out long-pressing to the icon of the former music application on graphic user interfaceOr double click operation.If user carries out long-pressing or double click operation to the icon of the former music application on graphic user interface,The icon of former music application is then shown as to the icon of new music application, to prevent user misoperation.
In another embodiment, after user shows the icon of new music application, in the icon of new music applicationDisk like control and music toggle control are in disabled status, i.e. user cannot grasp disk like control and music toggle controlMake.At this point, whether detection user carries out long-pressing or double click operation to the icon of the new music application on graphic user interface.If user carries out long-pressing or double click operation to the icon of the new music application on graphic user interface, by disk like controlStart with music toggle control, user operates disk like control and music toggle control.
120: judging whether touch operation is the operation for rotating disk like control.
Touch operation can be by finger perhaps capacitance pen etc. click touch panel operation or in touch panelOperation of sliding etc..Judge whether touch operation is the operation for rotating disk like control, if touch operation is rotation disk like controlThe operation of part, enters step 130, if touch operation is not the operation for rotating disk like control, enters step 140.
130: according to touch operation, triggering F.F. or rewind function that music application realizes music being played on.
If touch operation is to rotate the operation of disk like control, triggers music application and realize the fast of music being played onInto or rewind function.For example, triggering music application realization if touch operation is to rotate clockwise the operation of disk like controlThe fast-forward functionality of music being played on triggers music and answers if touch operation is the operation of rotation disk like control counterclockwiseWith the rewind function of realizing music being played on.Alternatively, if touch operation is the operation of rotation disk like control counterclockwise,Triggering music application realizes the fast-forward functionality of music being played on, if touch operation is the behaviour for rotating clockwise disk like controlMake, then triggers the rewind function that music application realizes music being played on.Further, the behaviour of rotation disk like control is also detectedThe speed of work, according to rotation disk like control operation speed, triggering music application realize music being played on F.F. orPerson's rewind function, the speed of fast forward and fast rewind and the speed of the operation of rotation disk like control match.Terminate process.
140: judging whether touch operation is the operation for touching music toggle control.
If touch operation is not the operation for rotating disk like control, judge whether touch operation is to touch music switching controlThe operation of part.If touch operation is not the operation for touching music toggle control, terminate process;If touch operation is to touch soundThe operation of happy toggle control, enters step 150.
150: judging that touch operation is the operation for touching left arrow logo or the operation for touching right arrow logo.
If touch operation is to touch the operation of music toggle control, further judge that touch operation is to touch left arrow markThe operation of knowledge still touches the operation of right arrow logo.If touch operation is to touch the operation of left arrow logo, enter stepRapid 160, if touch operation is to touch the operation of right arrow logo, enter step 170.
160: being switched to a head.
If touch operation is to touch the operation of left arrow logo, music application music being played on is switched toOne is first.
170: being switched to next.
If touch operation is to touch the operation of right arrow logo, music application music being played on is switched to downOne is first.
In above scheme, if detecting the touch operation to the disk like control in the corresponding application icon of music application,Then trigger F.F. or rewind function that music application realizes music being played on.So user is without again tapping on musicThe icon of application activates music application in drop-down list, but directly carries out on a graphical user interface to disk like controlOperation, it will be able to which the F.F. or rewind function for realizing music application rapidly operate music application to realize.
Referring to Fig.2, Fig. 2 is a kind of structural schematic diagram of music application operating device provided by the invention.Sound of the inventionHappy application operating device 200 includes: receiving module 210, first judgment module 220 and trigger module 230.
The receiving module 210 is used to receive the touch operation to the corresponding application icon of the music application, described to answerIt include disk like control with icon.
The first judgment module 220 is for judging whether the touch operation is the operation for rotating the disk like control.
The trigger module 230 is used for when the touch operation is to rotate the operation of the disk like control, according to describedTouch operation triggers F.F. or rewind function that the music application realizes music being played on.
Optionally, the trigger module 230 includes detection unit 231 and trigger unit 232, the detection unit 231For detecting the direction of the operation of the rotation disk like control;The trigger unit 232 is used for when being clockwise direction,Trigger the fast-forward functionality that the music application realizes music being played on;When being counter clockwise direction, triggers the music and answerWith the rewind function of realizing music being played on.
Optionally, the trigger module 230 includes detection unit 231 and trigger unit 232, the detection unit 231For detecting the speed of the operation of the rotation disk like control;The trigger unit 232 is used for according to the rotationThe speed of the operation of disk like control triggers F.F. or rewind function that the music application realizes music being played on, instituteThe speed of the speed and the operation of the rotation disk like control of stating fast forward and fast rewind matches.
Optionally, the application icon includes music toggle control;Described device further includes the second judgment module 240, instituteThe second judgment module 240 is stated for judging whether the touch operation is the operation for touching the music toggle control;The touchingIt is when touching the operation of the music toggle control, according to the touch operation, by institute that module 230, which is sent out, for the touch operationIt states music application music being played on and switches to preset musical.
Optionally, the music toggle control includes the left arrow logo being arranged in the application icon and right arrow markKnow;The trigger module 230 includes detection unit 231 and trigger unit 232, and the detection unit 231 is described for detectingTouch operation is the operation for touching the left arrow logo or the operation for touching the right arrow logo;The trigger unit232 for when judging result is to touch the operation of the left arrow logo, being switched to a head;It is touch institute in judging resultWhen stating the operation of right arrow logo, it is switched to next.
Music application operating device provided in this embodiment is corresponding with music application operating method shown in FIG. 1, herein notIt is reinflated to repeat, referring specifically to Fig. 1 and associated description.
In above scheme, if detecting the touch operation to the disk like control in the corresponding application icon of music application,Then trigger F.F. or rewind function that music application realizes music being played on.So user is without again tapping on musicThe icon of application activates music application in drop-down list, but directly carries out on a graphical user interface to disk like controlOperation, it will be able to which the F.F. or rewind function for realizing music application rapidly operate music application to realize.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be withRelevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage mediumIn, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magneticDish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random AccessMemory, RAM) etc..
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainlySharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present inventionBenefit requires made equivalent variations, still belongs to the scope covered by the invention.