CN105511757B - A kind of playlist control method and mobile terminal - Google Patents

A kind of playlist control method and mobile terminal Download PDF

Info

Publication number
CN105511757B
CN105511757B CN201510916407.3A CN201510916407A CN105511757B CN 105511757 B CN105511757 B CN 105511757B CN 201510916407 A CN201510916407 A CN 201510916407A CN 105511757 B CN105511757 B CN 105511757B
Authority
CN
China
Prior art keywords
multimedia file
acceleration
unit
distance
playlist
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510916407.3A
Other languages
Chinese (zh)
Other versions
CN105511757A (en
Inventor
黄浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510916407.3A priority Critical patent/CN105511757B/en
Publication of CN105511757A publication Critical patent/CN105511757A/en
Application granted granted Critical
Publication of CN105511757B publication Critical patent/CN105511757B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention provides a kind of playlist control methods, which comprises chooses the multimedia file in playlist;Detection carries out the acceleration of touch control operation generation for the multimedia file;The first movement direction of the multimedia file is determined according to the direction of the acceleration;The first movement distance of the multimedia file is determined according to the size of the acceleration;The multimedia file is moved to corresponding position in the playlist according to the first movement direction and the first movement distance.The embodiment of the invention also provides a kind of mobile terminals.A kind of personalized mode for moving the multimedia file in playlist can be provided through the embodiment of the present invention for user.

Description

A kind of playlist control method and mobile terminal
Technical field
The present invention relates to multimedia technology fields, and in particular to a kind of playlist control method and mobile terminal.
Background technique
In life, user can install an application program in mobile terminal (such as mobile phone, tablet computer) (Application, APP) can be used to check or control the music of speaker broadcasting, however, utilizing traditional APP (such as QQ Music, Netease's cloud music etc.) when going to the position of mobile multimedia file (such as song), main users pin some multimedia with hand Then file drags the multimedia file in the play list, can be by the multimedia when we unclamp hand File is maintained at the position loosed one's grip, and this mode is more single, is not able to satisfy the individual demand of user.
Summary of the invention
The embodiment of the invention provides a kind of playlist control method and mobile terminals, and a kind of can be provided for user The mode of multimedia file in the mobile playlist of propertyization.
First aspect of the embodiment of the present invention provides a kind of playlist control method, comprising:
Choose the multimedia file in playlist;
Detection carries out the acceleration of touch control operation generation for the multimedia file;
The first movement direction of the multimedia file is determined according to the direction of the acceleration;
The first movement distance of the multimedia file is determined according to the size of the acceleration;
The multimedia file is moved to the broadcasting according to the first movement direction and the first movement distance Corresponding position in list.
In conjunction with the embodiment of the present invention in a first aspect, in the first possible embodiment of first aspect, the inspection Stylus carries out the acceleration of touch control operation generation to the multimedia file, comprising:
Determine maximum speed and the action time that touch control operation generation is carried out for the multimedia file;
The acceleration generated for the multimedia file is calculated according to the maximum speed and the action time.
In conjunction with the embodiment of the present invention in a first aspect, in second of possible embodiment of first aspect, described The first movement direction of the multimedia file is determined according to the direction of the acceleration, comprising:
Judge whether the direction of the acceleration is in preset range, wherein the preset range includes the first default model It encloses and the second preset range;
When the direction of the acceleration is in first preset range, the first movement of the multimedia file is determined Direction is first direction;
Alternatively,
When the direction of the acceleration is in second preset range, the first movement of the multimedia file is determined Direction is second direction.
In conjunction with the embodiment of the present invention in a first aspect, in the third possible embodiment of first aspect, described The first movement distance of the multimedia file is determined according to the size of the acceleration, comprising:
Determine that the size of the acceleration is corresponding according to the mapping relations between predetermined acceleration and unit distance number Target unit is apart from number, using the target unit apart from number as the first movement distance of the multimedia file, wherein The unit distance number is the number of unit distance, and the unit distance is a multimedia file in the playlist Spacing.
In conjunction with the embodiment of the present invention first aspect or first aspect the first into the third any possible reality Mode is applied, in the 4th kind of possible embodiment of first aspect, which is characterized in that described according to the moving direction and institute It states after the multimedia file is moved in the playlist corresponding position by moving distance, the method also includes:
Detection is operated for mobile terminal whipping;
It obtains the whipping and operates the second moving distance generated to the multimedia file and the second moving direction, it is described Second moving distance is vertical distance;
The multimedia file is moved to the broadcasting according to second moving direction and second moving distance Corresponding position in list.
Second aspect of the embodiment of the present invention discloses a kind of mobile terminal, comprising:
Selection unit, for choosing the multimedia file in playlist;
Detection unit, for detecting the multimedia file progress touch control operation generation for being directed to the selection unit and choosing Acceleration;
Determination unit, the direction of the acceleration for being detected according to the detection unit determine the multimedia text The first movement direction of part;
The determination unit, is also used to:
The size of the acceleration detected according to the detection unit determines the first movement of the multimedia file Distance;
First movement unit, the first movement direction and the first movement for being determined according to the determination unit The multimedia file is moved to corresponding position in the playlist by distance.
In conjunction with the second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect, the inspection Surveying unit includes:
Determining module, for determining that the multimedia file chosen for the selection unit carries out touch control operation generation Maximum speed and action time;
Computing module, the maximum speed and the action time for being determined according to the determining module, which calculate, to be directed to The acceleration that the multimedia file generates.
It is described true in second of possible embodiment of second aspect in conjunction with the second aspect of the embodiment of the present invention Order member is specifically used for:
Judge whether the direction of the acceleration is in preset range, wherein the preset range includes the first default model It encloses and determines the multimedia text and when the direction of the acceleration is in first preset range with the second preset range The first movement direction of part is first direction;
Alternatively,
When the direction of the acceleration is in second preset range, the first movement of the multimedia file is determined Direction is second direction.
It is described true in the third possible embodiment of second aspect in conjunction with the second aspect of the embodiment of the present invention Order member also particularly useful for:
Determine that the size of the acceleration is corresponding according to the mapping relations between predetermined acceleration and unit distance number Target unit is apart from number, using the target unit apart from number as the first movement distance of the multimedia file, wherein The unit distance number is the number of unit distance, and the unit distance is a multimedia file in the playlist Spacing.
In conjunction with the embodiment of the present invention second aspect or second aspect the first into the third any possible reality Mode is applied, in the 4th kind of possible embodiment of second aspect, the detection unit is also used to detect for mobile terminal Whipping operation;
The mobile terminal further include:
Acquiring unit, in the first movement direction that the first movement unit is determined according to the determination unit After the multimedia file is moved in the playlist corresponding position with the first movement distance, described in acquisition The whipping that detection unit detects operates the second moving distance generated to the multimedia file and the second moving direction, Second moving distance is vertical distance;
Second mobile unit is moved for second moving direction according to the information acquired by the acquisition unit and described second The multimedia file is moved to corresponding position in the playlist by dynamic distance.
The implementation of the embodiments of the present invention has the following beneficial effects:
The multimedia file in playlist can be chosen through the embodiment of the present invention, and detection is carried out for the multimedia file The acceleration that touch control operation generates, the first movement direction of the multimedia file is determined according to the direction of the acceleration, according to this The size of acceleration determines the first movement distance of the multimedia file, according to the first movement direction and the first movement distance The multimedia file is moved to corresponding position in the playlist.In the present embodiment, size and the side of acceleration can be relied on To removing mobile multimedia file, thus, a kind of side of the multimedia file in personalized mobile playlist can be provided for user Formula.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of first embodiment flow diagram of playlist control method provided in an embodiment of the present invention;
Fig. 1 a is the schematic diagram of playlist provided in an embodiment of the present invention;
Fig. 1 b is the demonstration graph of the first glide direction effective range provided in an embodiment of the present invention;
Fig. 1 c is the another demonstration graph of the first glide direction effective range provided in an embodiment of the present invention;
Fig. 2 is a kind of second embodiment flow diagram of playlist control method provided in an embodiment of the present invention;
Fig. 3 a is a kind of schematic structural diagram of the first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 3 b is a kind of another structural schematic diagram of first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic structural diagram of the second embodiment of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of playlist control method and mobile terminal, and a kind of personalization can be provided for user The mode of multimedia file in mobile playlist.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In the present embodiment, mobile terminal may include cell phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), intelligence wearing set Standby (such as smartwatch, Intelligent bracelet) all kinds of mobile terminal devices, the embodiment of the present invention are not construed as limiting.
Referring to Fig. 1, being that a kind of first embodiment process of playlist control method provided in an embodiment of the present invention is shown It is intended to.Playlist control method as described in this embodiment, comprising the following steps:
101, the multimedia file in playlist is chosen.
In the embodiment of the present invention, multimedia file can be a song, for example, some includes the playlist of number of songs In, which can be any one song in the playlist.The multimedia file can also be a music packet, should Music packet may include number of songs, for example, some album shown in playlist, such as: " Eight Dimensions " of Zhou Jielun, it should Album includes 10 songs, when user's point opens " Eight Dimensions ", can click any one song in the album.It should The number of songs that music packet can also like oneself for user are combined into a music packet.User can select from the playlist Select at least one multimedia file.Optionally, which can be video file or audio file.As shown in Figure 1a, Fig. 1 a is playlist schematic diagram, and the multimedia file of selection can be any song in playlist.
Optionally, mobile terminal can determine that user carries out touch control operation for a multimedia file in the playlist The touch parameter of generation, and judge whether the touch parameter matches with preset touch parameter, if so, choosing the multimedia file. It is illustrated with a multimedia file, when detecting that user is directed to the touch control operation of the multimedia file, can be obtained The corresponding touch parameter of the touch control operation.The touch control operation can be pressing operation, slide or drag operation etc., at this When touch control operation is pressing operation, the compressing time of the pressing operation can be obtained, using the compressing time as touch parameter, And judge whether the touch parameter matches with preset touch parameter, if so, choosing the multimedia file;It is pressed alternatively, this can be obtained Press operation presses dynamics value, using the pressing force angle value as touch parameter, and judges whether the touch parameter joins with preset touch Number matching, if so, choosing the multimedia file.When the touch control operation is slide, the slide can be obtained Glide direction and sliding force judge the glide direction and sliding force using the glide direction and sliding force as touch parameter Whether degree matches with the glide direction and sliding force for including in preset touch parameter, if so, choosing the multimedia file.? When the touch control operation is drag operation, the dragging dynamics of the drag operation can be obtained, is joined the drawing direction as touch-control Number, and whether judge the drawing direction consistent with the drawing direction that preset touch parameter includes, if so, choosing multimedia text Part.When user wants that the multimedia file chosen is multiple, multiple multimedia files can be successively chosen in the manner described above. Optionally, user want choose multimedia file be it is multiple when, can also according to it is above-mentioned disposably select it is multiple more Media file.
102, detection carries out the acceleration of touch control operation generation for the multimedia file.
In the embodiment of the present invention, touch control operation can be drag operation, for example, user drags for some multimedia file When dynamic operation, an acceleration can be generated to the multimedia file, acceleration transducer can be used in the size of the value of the acceleration It measures.For example, when user can drag the multimedia file suddenly, can produce when user chooses some multimedia file One acceleration.Alternatively, the sliding trace and time that moment generates are built when can drag some multimedia file according to user Mould determines the functional relation between time and sliding trace, then solves acceleration.
Optionally, when mobile terminal can determine the maximum speed and effect for multimedia file progress touch control operation generation Between, and the acceleration generated for the multimedia file is calculated according to the maximum speed and the action time, it is assumed that maximum speed For v, action time t, enabling acceleration is a, according to formula v=at, then a=v/t.
Optionally, when mobile terminal can determine the average speed and the effect that carry out touch control operation generation for multimedia file Between, and the acceleration generated for the multimedia file is calculated according to the average speed and the action time.
103, the first movement direction of the multimedia file is determined according to the direction of the acceleration.
In the embodiment of the present invention, the first movement direction of multimedia file, usual situation can be determined by the direction of acceleration Under, acceleration is vector, i.e., acceleration includes acceleration magnitude and two, acceleration direction parameter, for the side of acceleration To detectable user generates the sliding starting point and sliding terminal decision when acceleration for multimedia file, according to the sliding A ray can be obtained in starting point and sliding terminal, can be using the direction of the ray as the direction of the acceleration.
Optionally, mobile terminal can determine whether the direction of acceleration is in preset range, wherein the preset range includes First preset range and the second preset range.When the direction of the acceleration is in first preset range, it may be determined that more matchmakers The first movement direction of body file be first direction, the first direction can be playlist top, i.e., by multimedia file into Row moves up, wherein the size of the first preset range and the second preset range without limitation, can be by user according to actual needs It is configured.Alternatively, when the direction of the acceleration is in the second preset range, it may be determined that the first movement of the multimedia file Direction is second direction, which can be the lower section of playlist, i.e., moves down multimedia file.Such as Fig. 1 b Shown, Fig. 1 b is the demonstration graph of the first glide direction effective range, wherein if the direction of acceleration in the first preset range, First movement direction is first direction;If the direction of acceleration, in the first default preset range, first movement direction is second Direction.Shown in Fig. 1 c, Fig. 1 c is the another demonstration graph of the first glide direction effective range, wherein assuming that ray a is for more matchmakers The glide direction of body file, then the direction of the ray, then at this point, can i.e. not in the first preset range again not in the second preset range It does not generate and the mobile instruction in position is carried out to multimedia file, thus, which will not move the multimedia file.For another example ray The direction of b, ray b then can move down in the play list multimedia file in the second preset range.It needs to illustrate , the first preset range and the second preset range in Fig. 1 b and Fig. 1 c are simply to illustrate that acceleration in the embodiment of the present invention Direction obtain a kind of mode, be not limited thereto.
104, the first movement distance of the multimedia file is determined according to the size of the acceleration.
In the embodiment of the present invention, mobile terminal can be determined according to the size of acceleration the first movement of the multimedia file away from From.Specifically, mobile terminal can determine the acceleration according to the mapping relations between predetermined acceleration and unit distance number The corresponding target unit of size apart from number, using the target unit apart from number as the first movement of the multimedia file away from From, wherein the unit distance number is the number of unit distance, which is a multimedia file in the played column Spacing in table, wherein unit distance can be as shown in Figure 1a, i.e. spacing between two multimedia files (song).For example, plus Speed is 5, and corresponding unit distance number is 5, then according to mobile 5 unit distances of the acceleration.In reality of the embodiment of the present invention During applying, if the size of the acceleration got is not integer, quantification treatment can be carried out to the acceleration, it is a kind of feasible Quantification treatment mode can are as follows: predetermined acceleration is greater than 0 and less than 2.5 meters corresponding 1 unit distance of every quadratic power second, presets and accelerates Degree is greater than or equal to 2.5 and less than 5 meters corresponding 2 unit distances of every quadratic power second, predetermined acceleration are greater than or equal to 5 and are less than 7.5 meters of every quadratic power seconds corresponding 3 unit distances, predetermined acceleration is greater than or equal to 7.5 and less than 10 meters every quadratic power seconds are right 4 unit distances are answered, predetermined acceleration is greater than or equal to 10 meters of every quadratic power seconds corresponding 5 unit distances, it is assumed that acceleration Size is 8.5 meters of every quadratic power seconds, then corresponding unit distance number is 4, if but the corresponding first movement direction of the acceleration Multimedia file is moved accordingly.Optionally, get acceleration it is big as a child, can to the acceleration magnitude into Row rounding operation, using the value obtained after the rounding operation as the size of acceleration.Optionally, in the size for getting acceleration When, the acceleration magnitude can be carried out to be rounded up to obtain an integer value, using the integer value as the big of acceleration It is small.
105, the multimedia file is moved to according to the first movement direction and the first movement distance described Corresponding position in playlist.
In the embodiment of the present invention, mobile terminal can be moved multimedia file according to first movement direction and first movement distance Move corresponding position in the playlist.
A kind of possible embodiment if the moving direction of first movement direction instruction is upward, can incite somebody to action as shown in Figure 1a The multimedia file moves up in the play list, if the multimedia file is moved upwards up to top set position in the play list It sets, if also needing to continue to move up, then the multimedia file can be moved to the lowest positions in the playlist, so It afterwards, then can be by the multimedia file to moving up when receiving the move for moving up N number of unit (N is positive integer) distance Move N number of unit distance.It, can will be in the multimedia file again playlist if the moving direction of first movement direction instruction is downward It moves down, if the multimedia file is moved upwards up to playlist the lowermost position in the play list, if need to also be after It is continuous to move down, then the multimedia file can be moved to the top set position in the playlist, then, receive to moving down When moving the move of N number of unit (N is positive integer) distance, then the multimedia file can be moved down to N number of unit distance.
It optionally, as shown in Figure 1a, can be by the multimedia file if the moving direction of first movement direction instruction is upward It moves up in the play list, if the multimedia file is moved upwards up to top set position in the play list, if need to also be after It is continuous to move up, then the multimedia file can not be moved up again.If the moving direction of first movement direction instruction is downward, can The multimedia file is moved down in the play list, if the multimedia file is moved down into broadcasting in the play list Lowest positions in list can not move the multimedia file if also needing to continue to move down still further below.
Optionally, after step 105, the more of two multimedia files in playlist or two regions can be chosen Media file, thus, two touch points are generated, judge whether the distance between two touch points are less than preset threshold, if so, Exchange the position of two multimedia files in the play list.For example, user chooses two multimedia files with two fingers (song), when two fingers are brought together, the distance between two fingers are less than the preset threshold, exchange two multimedias The position of file in the play list.In another example when user chooses multimedia file (song) in two regions with two fingers, When two fingers are brought together, the distance between two fingers are less than the preset threshold, exchange the multimedia in two regions The position of file in the play list.
The multimedia file in playlist can be chosen through the embodiment of the present invention, and detection is carried out for the multimedia file The acceleration that touch control operation generates, the first movement direction of the multimedia file is determined according to the direction of the acceleration, according to this The size of acceleration determines the first movement distance of the multimedia file, according to the first movement direction and the first movement distance The multimedia file is moved to corresponding position in the playlist.In the present embodiment, size and the side of acceleration can be relied on To removing mobile multimedia file, thus, a kind of side of the multimedia file in personalized mobile playlist can be provided for user Formula.Meanwhile the interest operated to playlist can be enhanced.
Referring to Fig. 2, being that a kind of second embodiment process of playlist control method provided in an embodiment of the present invention is shown It is intended to.Playlist control method as described in this embodiment, comprising the following steps:
201, the multimedia file in playlist is chosen.
202, detection carries out the acceleration of touch control operation generation for the multimedia file.
203, the first movement direction of the multimedia file is determined according to the direction of the acceleration.
204, the first movement distance of the multimedia file is determined according to the size of the acceleration.
205, the multimedia file is moved to according to the first movement direction and the first movement distance described Corresponding position in playlist.
206, detection is operated for mobile terminal whipping.
In the embodiment of the present invention, mobile terminal can detect the whipping operation of the mobile terminal according to gravity sensor.For example, When mobile terminal is mobile phone, during shake, the center of gravity of the mobile phone will necessarily decline or rise mobile phone, according to the center of gravity Height change direction and size, which are generated, carries out the mobile instruction in position to multimedia file.It should be noted that mobile phone is being walked The rising or decline of mobile phone center of gravity can be also generated in the process (such as upstairs or downstairs), thus, it can detect getting rid of for the mobile phone Perhaps frequency is greater than some preset threshold when the whipping amplitude or frequency of the mobile phone to dynamic amplitude, then just executes step 207.
Optionally, mobile terminal can input the finger print information of user before detecting for the operation of mobile terminal whipping, when After the finger print information of the user is verified, the whipping operation of mobile terminal just can detect.
Optionally, mobile terminal can detect the initial acceleration of mobile terminal whipping operation, in the big of the initial acceleration Small to be greater than preset threshold, then the secondary whipping operation can be considered that effective whipping operates by mobile terminal, and this method is for preventing from using Family maloperation.
Optionally, it if mobile terminal is being parallel to the progress whipping operation of horizontal line direction, does not generate to multimedia file Position carry out mobile operational order.
207, the whipping is detected using gravity sensor operate the second moving distance generated to the multimedia file With the second moving direction, second moving distance is vertical distance.
In the embodiment of the present invention, during carrying out whipping to mobile terminal, the whipping is detected using gravity sensor The vertical direction situation of change and vertical distance situation of change of the center of gravity of mobile terminal in operation, wherein the second moving direction packet Downward containing vertical upward and vertical direction, the vertical i.e. moving direction of center of gravity upwards is again perpendicular to horizontal line direction along far from horizontal Line direction is mobile, and vertical i.e. the moving direction of center of gravity is being moved perpendicular to horizontal line direction along close to horizontal line direction downwards.Example Such as, mobile terminal downward whipping is carried out to operate, then, the center of gravity of mobile terminal will necessarily decline, it may be determined that under the center of gravity The height of drop, using the height of the decline as the second moving distance.
Optionally, when mobile terminal being carried out upwards upward this whipping operation repeatedly again, then it can determine initial time Mobile terminal position of centre of gravity and finish time mobile terminal position of centre of gravity, determine mobile weight according to two position of centre of gravitys The change direction of the center of gravity of the heart be it is vertical upward or it is vertical downwards, if it is vertical upwards, multimedia file is moved up, if It is vertical downward, then multimedia file is moved down.
Optionally, mobile terminal can be according between the gravity motion distance and unit distance number of preset mobile terminal Mapping relations determine the corresponding target unit of the second moving distance apart from number, the target unit is more as this apart from number Second moving distance of media file, wherein the unit distance number is the number of unit distance, which is more than one Spacing of the media file in the playlist.In implementation process of the embodiment of the present invention, if the gravity motion distance got Size be not integer, then can carry out quantification treatment to gravity motion distance, a kind of feasible quantification treatment mode can are as follows: pre- If acceleration is greater than 0 and less than 2.5 centimetres corresponding 1 unit distance, gravity motion distance is greater than or equal to 2.5 and less than 5 li Corresponding 2 unit distances of rice, gravity motion distance are greater than or equal to 5 and less than 7.5 centimetres corresponding 3 unit distances, and center of gravity is moved Dynamic distance is greater than or equal to 7.5 and less than 10 centimetres corresponding 4 unit distances, and gravity motion distance is right more than or equal to 10 centimetres Answer 5 unit distances, it is assumed that the second moving distance is 8.5 centimetres, then corresponding unit distance number is 4, if but the acceleration Corresponding second moving direction moves multimedia file accordingly.Optionally, the big of gravity motion distance is being got Hour, rounding operation can be carried out to gravity motion distance, using the value obtained after the rounding operation as the second moving distance.It can Selection of land, get gravity motion apart from when, the gravity motion distance can be carried out to be rounded up to obtain an integer Value, using the integer value as the second moving distance.
208, the multimedia file is moved to according to second moving direction and second moving distance described Corresponding position in playlist.
In the embodiment of the present invention, mobile terminal can be according to the second moving direction and the second moving distance to multimedia file Position moves up and down.For example, as shown in Figure 1a, if whipping operation the second moving direction be it is upward, can be by more matchmakers Body file moves up in the play list, if the multimedia file is moved upwards up to top set position in the play list, if It also needs to continue to move up, then the multimedia file can be moved to the lowest positions in the playlist, then, receive To when the move for moving up N number of unit (N is positive integer) distance, then the multimedia file can be moved up to N number of list Position distance.If whipping operation the second moving direction be it is downward, can will be moved down in the multimedia file again playlist, If the multimedia file is moved upwards up to playlist the lowermost position in the play list, if also needing to continue to moving down It is dynamic, then the multimedia file can be moved to the top set position in the playlist, then, receives and move down N number of list When the move of position (N is positive integer) distance, then the multimedia file can be moved down to N number of unit distance.
Optionally, as shown in Figure 1a, if whipping operation the second moving direction be it is upward, then can be by the multimedia file It moves up in the play list, if the multimedia file is moved upwards up to top set position in the play list, if need to also be after It is continuous to move up, then the multimedia file can not be moved up again.If whipping operation the second moving direction be it is downward, can general The multimedia file moves down in the play list, if the multimedia file is moved down into played column in the play list Lowest positions in table can not move the multimedia file if also needing to continue to move down still further below.
In the embodiments of the present invention, mobile terminal can choose the multimedia file in playlist, and detection is more for this Media file carries out the acceleration of touch control operation generation, and the first movement of the multimedia file is determined according to the direction of the acceleration Direction determines the first movement distance of the multimedia file according to the size of the acceleration, according to the first movement direction and is somebody's turn to do The multimedia file is moved to corresponding position in the playlist by first movement distance, can also detected to movement end When the whipping operation at end, the position of multimedia file is moved according to the second moving direction of generation and the second moving distance It is dynamic, thus, a kind of personalized mode for moving the multimedia file in playlist can be provided for user, meanwhile, there is entertaining Property.
Referring to Fig. 3, being a kind of schematic structural diagram of the first embodiment of mobile terminal provided in an embodiment of the present invention.This reality Apply mobile terminal described in example, comprising:
Selection unit 301, for choosing the multimedia file in playlist;
Detection unit 302, for detecting the multimedia file progress touch-control behaviour for being directed to the selection unit 301 and choosing Make the acceleration generated;
Determination unit 303, the direction of the acceleration for being detected according to the detection unit 302 determine described more The first movement direction of media file;
The determination unit 303, is also used to:
The size of the acceleration detected according to the detection unit 302 determines that the first of the multimedia file moves Dynamic distance;
First movement unit 304, the first movement direction for being determined according to the determination unit 303 and described the The multimedia file is moved to corresponding position in the playlist by one moving distance.
Optionally, the detection unit 302 includes:
Determining module 3021, for determining that the multimedia file chosen for the selection unit 301 carries out touch-control Operate the maximum speed generated and action time;
Computing module 3022, the maximum speed and the action time for being determined according to the determining module 3021 Calculate the acceleration generated for the multimedia file.
Optionally, the determination unit 303 is specifically used for:
Judge whether the direction of the acceleration is in preset range, wherein the preset range includes the first default model It encloses and determines the multimedia text and when the direction of the acceleration is in first preset range with the second preset range The first movement direction of part is first direction;
Alternatively,
When the direction of the acceleration is in second preset range, the first movement of the multimedia file is determined Direction is second direction.
Further, the determination unit 303 also particularly useful for:
Determine that the size of the acceleration is corresponding according to the mapping relations between predetermined acceleration and unit distance number Target unit is apart from number, using the target unit apart from number as the first movement distance of the multimedia file, wherein The unit distance number is the number of unit distance, and the unit distance is a multimedia file in the playlist Spacing.
As a kind of possible embodiment, as shown in Figure 3b, the detection unit 302 is also used to detect for mobile whole Hold whipping operation;The mobile terminal further include:
Acquiring unit 305, for being moved in first movement unit 304 according to described first that the determination unit 303 determines After the multimedia file is moved in the playlist corresponding position by dynamic direction and the first movement distance, obtain The whipping for taking the detection unit 302 to detect operates the second moving distance and second generated to the multimedia file Moving direction, second moving distance are vertical distance.
Second mobile unit 306, second moving direction for being got according to the acquiring unit 305 and described The multimedia file is moved to corresponding position in the playlist by the second moving distance.
Described mobile terminal can choose the multimedia file in playlist through the embodiment of the present invention, and detection is directed to The multimedia file carries out the acceleration of touch control operation generation, determines the first of the multimedia file according to the direction of the acceleration Moving direction determines the first movement distance of the multimedia file according to the size of the acceleration, according to the first movement direction The multimedia file is moved to corresponding position in the playlist with the first movement distance.In the present embodiment, it can rely on The size and Orientation of acceleration removes mobile multimedia file, thus, it can be provided for user in a kind of personalized mobile playlist Multimedia file mode.Meanwhile the interest operated to playlist can be enhanced.
Referring to Fig. 4, being a kind of schematic structural diagram of the second embodiment of mobile terminal provided in an embodiment of the present invention.This reality Apply mobile terminal described in example, comprising: at least one input equipment 1000;At least one output equipment 2000;At least one A processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000,3000 and of processor Memory 4000 is connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely touch screen, touch panel, physical button, mouse etc..
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high speed RAM memory, can also be non-labile memory (non-volatile ), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store a set of program code, above-mentioned input equipment 1000, defeated Equipment 2000 and processor 3000 are used to call the program code stored in memory 4000 out, perform the following operations:
Above-mentioned processor 3000, is used for:
Choose the multimedia file in playlist;
Detection carries out the acceleration of touch control operation generation for the multimedia file;
The first movement direction of the multimedia file is determined according to the direction of the acceleration;
The first movement distance of the multimedia file is determined according to the size of the acceleration;
The multimedia file is moved to the broadcasting according to the first movement direction and the first movement distance Corresponding position in list.
Optionally, the above-mentioned detection of processor 3000 carries out the acceleration of touch control operation generation for the multimedia file, Include:
Determine maximum speed and the action time that touch control operation generation is carried out for the multimedia file;
The acceleration generated for the multimedia file is calculated according to the maximum speed and the action time.
Optionally, above-mentioned processor 3000 determines the first movement of the multimedia file according to the direction of the acceleration Direction, comprising:
Judge whether the direction of the acceleration is in preset range, wherein the preset range includes the first default model It encloses and the second preset range;
When the direction of the acceleration is in first preset range, the first movement of the multimedia file is determined Direction is first direction;Alternatively, determining the multimedia text when the direction of the acceleration is in second preset range The first movement direction of part is second direction.
Optionally, above-mentioned processor 3000 determines the first movement of the multimedia file according to the size of the acceleration Distance, comprising:
Determine that the size of the acceleration is corresponding according to the mapping relations between predetermined acceleration and unit distance number Target unit is apart from number, using the target unit apart from number as the first movement distance of the multimedia file, wherein The unit distance number is the number of unit distance, and the unit distance is a multimedia file in the playlist Spacing.
Further, above-mentioned processor 3000 is literary by the multimedia according to the moving direction and the moving distance Part is moved in the playlist after corresponding position, also particularly useful for:
Detection is operated for mobile terminal whipping;
It obtains the whipping and operates the second moving distance generated to the multimedia file and the second moving direction, it is described Second moving distance is vertical distance;
The multimedia file is moved to the broadcasting according to second moving direction and second moving distance Corresponding position in list.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (8)

1. a kind of playlist control method characterized by comprising
Choose the multimedia file in playlist;
Detection carries out the acceleration of touch control operation generation for the multimedia file;
The first movement direction of the multimedia file is determined according to the direction of the acceleration;
The first movement distance of the multimedia file is determined according to the size of the acceleration;
The multimedia file is moved to the playlist according to the first movement direction and the first movement distance In corresponding position;
Detection is operated for mobile terminal whipping;
When the whipping frequency of the mobile terminal is greater than preset threshold, the lead of the center of gravity of mobile terminal in whipping operation is detected Histogram obtains whipping operation generates the multimedia file the to situation of change and vertical distance situation of change Two moving distances and the second moving direction, second moving distance are vertical distance;
The multimedia file is moved to the playlist according to second moving direction and second moving distance In corresponding position, wherein according between the gravity motion distance of preset mobile terminal and unit distance number mapping close Be determine the corresponding target unit of the second moving distance apart from number, and using the target unit apart from number as described the Two moving distances.
2. the method as described in claim 1, which is characterized in that the detection carries out touch control operation for the multimedia file The acceleration of generation, comprising:
Determine maximum speed and the action time that touch control operation generation is carried out for the multimedia file;
The acceleration generated for the multimedia file is calculated according to the maximum speed and the action time.
3. the method as described in claim 1, which is characterized in that the direction according to the acceleration determines the multimedia The first movement direction of file, comprising:
Judge whether the direction of the acceleration is in preset range, wherein the preset range include the first preset range and Second preset range;
When the direction of the acceleration is in first preset range, the first movement direction of the multimedia file is determined For first direction;
Alternatively,
When the direction of the acceleration is in second preset range, the first movement direction of the multimedia file is determined For second direction.
4. the method as described in claim 1, which is characterized in that the size according to the acceleration determines the multimedia The first movement distance of file, comprising:
The corresponding target of the size of the acceleration is determined according to the mapping relations between predetermined acceleration and unit distance number Unit distance number, using the target unit apart from number as the first movement distance of the multimedia file, wherein described Unit distance number be unit distance number, the unit distance be a multimedia file in the playlist between Away from.
5. a kind of mobile terminal characterized by comprising
Selection unit, for choosing the multimedia file in playlist;
Detection unit carries out adding for touch control operation generation for detecting the multimedia file chosen for the selection unit Speed;
The direction of determination unit, the acceleration for being detected according to the detection unit determines the multimedia file First movement direction;
The determination unit, is also used to:
The size of the acceleration detected according to the detection unit determines the first movement distance of the multimedia file;
First movement unit, the first movement direction and the first movement distance for being determined according to the determination unit The multimedia file is moved to corresponding position in the playlist;
Acquiring unit, for being directed to the whipping frequency of the operation of mobile terminal whipping and the mobile terminal in detection unit detection When rate is greater than preset threshold, detects the vertical direction situation of change of the center of gravity of mobile terminal and vertical distance in whipping operation and become Change situation, and obtain whipping operation that the detection unit detects to the multimedia file generates second move away from From with the second moving direction, second moving distance be vertical distance;
Second mobile unit, for second moving direction according to the information acquired by the acquisition unit and it is described second it is mobile away from Corresponding position in the playlist is moved to from by the multimedia file, wherein according to the weight of preset mobile terminal Mapping relations between heart moving distance and unit distance number determine the corresponding target unit of second moving distance apart from number Mesh, and using the target unit apart from number as second moving distance.
6. mobile terminal as claimed in claim 5, which is characterized in that the detection unit includes:
Determining module, for determining that the multimedia file chosen for the selection unit carries out touch control operation generation most Big speed and action time;
Computing module, the maximum speed and the action time for being determined according to the determining module are calculated for described The acceleration that multimedia file generates.
7. mobile terminal as claimed in claim 5, which is characterized in that the determination unit is specifically used for:
Judge whether the direction of the acceleration is in preset range, wherein the preset range include the first preset range and Second preset range, and when the direction of the acceleration is in first preset range, determine the multimedia file First movement direction is first direction;
Alternatively,
When the direction of the acceleration is in second preset range, the first movement direction of the multimedia file is determined For second direction.
8. mobile terminal as claimed in claim 5, which is characterized in that the determination unit also particularly useful for:
The corresponding target of the size of the acceleration is determined according to the mapping relations between predetermined acceleration and unit distance number Unit distance number, using the target unit apart from number as the first movement distance of the multimedia file, wherein described Unit distance number be unit distance number, the unit distance be a multimedia file in the playlist between Away from.
CN201510916407.3A 2015-12-10 2015-12-10 A kind of playlist control method and mobile terminal Expired - Fee Related CN105511757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510916407.3A CN105511757B (en) 2015-12-10 2015-12-10 A kind of playlist control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510916407.3A CN105511757B (en) 2015-12-10 2015-12-10 A kind of playlist control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105511757A CN105511757A (en) 2016-04-20
CN105511757B true CN105511757B (en) 2019-02-12

Family

ID=55719781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510916407.3A Expired - Fee Related CN105511757B (en) 2015-12-10 2015-12-10 A kind of playlist control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105511757B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184255A (en) * 2011-05-30 2011-09-14 昆山富泰科电脑有限公司 Method for performing multi-web page browse switching on portable multifunctional equipment and user graphical interface
CN102722324A (en) * 2012-05-24 2012-10-10 中兴通讯股份有限公司 Method and device for operating touch screen
CN102736849A (en) * 2012-04-20 2012-10-17 中兴通讯股份有限公司 Menu layout processing method and device
CN103064583A (en) * 2012-12-20 2013-04-24 北京小米科技有限责任公司 Display block arranging method, display block switching method and mobile terminal
CN103309548A (en) * 2012-03-13 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Terminal and application icon management method
CN104503700A (en) * 2015-01-16 2015-04-08 深圳市中兴移动通信有限公司 Free screen splitting method and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7907974B2 (en) * 2007-01-04 2011-03-15 Microsoft Corporation Scrollable computing device display
US8091045B2 (en) * 2007-01-07 2012-01-03 Apple Inc. System and method for managing lists
CN102566871B (en) * 2010-12-30 2014-03-26 福建星网视易信息系统有限公司 Song scrolling system and method
CN103631419B (en) * 2012-08-27 2017-08-25 腾讯科技(深圳)有限公司 Cursor positioning method and system based on remote control touch plate
CN103235681B (en) * 2013-04-25 2019-08-06 Oppo广东移动通信有限公司 A kind of method and device controlling list interface
CN104699805A (en) * 2015-03-20 2015-06-10 努比亚技术有限公司 Music search method and music search device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184255A (en) * 2011-05-30 2011-09-14 昆山富泰科电脑有限公司 Method for performing multi-web page browse switching on portable multifunctional equipment and user graphical interface
CN103309548A (en) * 2012-03-13 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Terminal and application icon management method
CN102736849A (en) * 2012-04-20 2012-10-17 中兴通讯股份有限公司 Menu layout processing method and device
CN102722324A (en) * 2012-05-24 2012-10-10 中兴通讯股份有限公司 Method and device for operating touch screen
CN103064583A (en) * 2012-12-20 2013-04-24 北京小米科技有限责任公司 Display block arranging method, display block switching method and mobile terminal
CN104503700A (en) * 2015-01-16 2015-04-08 深圳市中兴移动通信有限公司 Free screen splitting method and mobile terminal

Also Published As

Publication number Publication date
CN105511757A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
TW202036356A (en) Gradient boosting decision tree-based method and device for model training
CN106462321A (en) Application menu for video system
CN106445374A (en) Mobile terminal, and interaction control method and device thereof
CN102077153A (en) User interface for gestural control
Ono et al. Sensing touch force using active acoustic sensing
US8773381B2 (en) Time-based contextualizing of multiple pages for electronic book reader
CN109614207A (en) Processing method, equipment and the computer readable storage medium of boarding application
CN104581480A (en) Touch control headset system and touch control command recognition method
CN108446073A (en) A kind of method, apparatus and terminal for simulating mouse action using gesture
US20170277379A1 (en) Method and terminal for processing desktop icon
CN104346074A (en) Terminal
CN106055236A (en) Content pushing method and terminal
CN104318950A (en) Information processing method and electronic equipment
CN103050140A (en) Method and equipment for displaying audio files
CN104360800A (en) Adjustment method of unlocking mode
CN105511757B (en) A kind of playlist control method and mobile terminal
CN102541390B (en) Electronic equipment and method for movably displaying object
WO2017161808A1 (en) Method for processing desktop icon and terminal
CN108319444B (en) Music drumbeat-based control terminal vibration method, storage device and computer device
CN105045590A (en) Method and device for altering interface resources
CN105589934B (en) A kind of song adding method and device
CN108932336A (en) Information recommendation method, electric terminal and computer readable storage medium message
CN111090369B (en) Music playing method, device and storage medium
CN105573598B (en) A kind of playlist method of adjustment and mobile terminal
CN106844504B (en) A kind of method and apparatus for sending song and singly identifying

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190212

CF01 Termination of patent right due to non-payment of annual fee