CN105430188B - A kind of melody selecting method and mobile terminal - Google Patents
A kind of melody selecting method and mobile terminal Download PDFInfo
- Publication number
- CN105430188B CN105430188B CN201510919114.0A CN201510919114A CN105430188B CN 105430188 B CN105430188 B CN 105430188B CN 201510919114 A CN201510919114 A CN 201510919114A CN 105430188 B CN105430188 B CN 105430188B
- Authority
- CN
- China
- Prior art keywords
- touch
- serial number
- identity information
- preset
- song
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a kind of melody selecting methods, which comprises obtains user for the touch parameter for playing control interface progress touch control operation generation;Judge whether the touch parameter matches with preset touch parameter;If so, pop-up dialog box;Obtain the song serial number inputted in the dialog box in preset time;Selected songs operation is carried out according to the song serial number.The embodiment of the invention also provides a kind of mobile terminals.Selected songs efficiency can be improved through the embodiment of the present invention.
Description
Technical field
The present invention relates to multimedia technology fields, and in particular to a kind of melody selecting method and mobile terminal.
Background technique
With the development of information technology, mobile terminal (such as mobile phone, tablet computer) function is more and more complete, in movement
Different APP is installed, it can be achieved that different function in terminal, for example, music APP is installed in the terminal, then it can benefit
Music is played with the APP.
In life, when carrying out selected songs using APP, when number of songs is larger, user thinks to select in the play list
Select the song of some range, must a certain song in click play list be starting song, then drag playlist selection
Other songs, when song is more, user just will drag playlist, and can not preferably hold the end for wanting selection
Song position, thus, reduce the efficiency of selected songs.
Summary of the invention
The embodiment of the invention provides a kind of melody selecting method and mobile terminals, and the efficiency of selected songs can be improved.
First aspect of the embodiment of the present invention discloses a kind of melody selecting method, comprising:
User is obtained for the touch parameter for playing control interface progress touch control operation generation;
Judge whether the touch parameter matches with preset touch parameter;
If so, pop-up dialog box;
Obtain the song serial number inputted in the dialog box in preset time;
Selected songs operation is carried out according to the song serial number.
In conjunction with the embodiment of the present invention in a first aspect, in the first possible embodiment of first aspect, the touching
Control parameter includes carrying out the touch time of touch control operation, in broadcasting control interface progress touch-control in the broadcasting control interface
The press pressure value of operation and it is described broadcasting control interface carry out touch control operation touch track, the acquisitions user be directed to broadcast
Put the touch parameter that control interface carries out touch control operation generation, comprising:
Judge whether the touch time is greater than preset threshold, if so, judging whether the pressing force angle value is in default
Range, if so, judge whether the touch track is consistent with default touch track, if so, according to touch time and described
Pressing force angle value generates touch parameter.
In the first possible embodiment in conjunction with the first aspect of the embodiment of the present invention, at second of first aspect
It is described that touch parameter is generated according to the touch time and the pressing force angle value in possible embodiment, comprising:
Object time value is converted by the touch time;
Target is converted according to the mapping relations between preset pressing force angle value and grade point by the pressing force angle value
Grade point;
The object time value and the goal gradient value are synthesized into touch parameter.
In conjunction in the first aspect of the embodiment of the present invention or the first or second of possible embodiment of first aspect,
In the third possible embodiment of first aspect, the song serial number includes starting song serial number and end song sequence
Number;
The song serial number inputted in the dialog box in the acquisition preset time, comprising:
Whether the starting song serial number and end song serial number inputted in the dialog box in detection preset time
Effectively;If so, judging whether the starting song serial number is less than or equal to the end song serial number, if so, executing described
The step of carrying out selected songs operation according to the song serial number.
In conjunction in the first aspect of the embodiment of the present invention or the first or second of possible embodiment of first aspect,
It is described to obtain the song inputted in the dialog box in preset time in the 4th kind of possible embodiment of first aspect
Before serial number, and after the pop-up dialog box, the method also includes:
Acquire the identity information of user;
Multiple designated contacts into address list send preset reference identity information acquisition request;
Receive the multiple designated contact respond it is described sent with reference to identity information acquisition request it is multiple with reference to identity
Information;
By the multiple time order and function sent with reference to identity information according to the preset reference identity information acquisition request
Sequence is combined into sequence;
Judge whether the sequence matches with predetermined sequence, if so, the preset reference identity information will be received earliest
The reference identity information that the designated contact of acquisition request is sent is as preset reference identity information;
Judge whether the identity information matches with the preset reference identity information, is preset if so, executing described obtain
The song serial number inputted in the dialog box in time.
Second aspect of the embodiment of the present invention discloses a kind of mobile terminal, comprising:
First acquisition unit, for obtaining user for the touch parameter for playing control interface progress touch control operation generation;
Judging unit, for judging that the touch parameter that the first acquisition unit is got is with preset touch parameter
No matching;
Unit is popped up, is to pop up dialog box when being for the judging result in the judging unit;
Second acquisition unit inputs in the dialog box of the pop-up unit pop-up for obtaining in preset time
Song serial number;
Selected songs unit, the song serial number for being got according to the second acquisition unit carry out selected songs operation.
In conjunction with the second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect, described
The touch parameter that one acquiring unit is got include it is described broadcasting control interface carry out touch control operation the touch time,
The control interface that plays carries out the press pressure value of touch control operation and carries out the touching of touch control operation in the broadcasting control interface
Track is touched, the first acquisition unit includes:
First judgment module, for judging whether the touch time is greater than preset threshold;
The first judgment module, is also used to:
When the first judgment module judges that the touch time is greater than the preset threshold, the pressing force is judged
Whether angle value is in preset range;
The first judgment module, is also used to:
When the first judgment module judges that the pressing force angle value is in the preset range, the touch is judged
Whether track is consistent with default touch track;
Generation module, for judging that the touch track is consistent with the desired guiding trajectory in the first judgment module
When, touch parameter is generated according to the touch time and the pressing force angle value.
In the first possible embodiment in conjunction with the second aspect of the embodiment of the present invention, at second of second aspect
In possible embodiment, the generation module includes:
First conversion module, for converting object time value for the touch time;
Second conversion module, for by the pressing force angle value according to reflecting between preset pressing force angle value and grade point
Penetrating transformation is goal gradient value;
Synthesis module, the object time value and second conversion module for converting first conversion module
The goal gradient value of conversion synthesizes touch parameter.
In conjunction in the second aspect of the embodiment of the present invention or the first or second of possible embodiment of second aspect,
In the third possible embodiment of second aspect, the song serial number includes starting song serial number and end song sequence
Number;
The second acquisition unit includes:
Detection module, for detect in preset time it is described pop-up unit pop-up the dialog box in input described in
It originates song serial number and whether end song serial number is effective;
Second judgment module is when being, to judge the starting song serial number for the testing result in the detection module
Whether the end song serial number is less than or equal to, when the judging result of second judgment module is to be, by the selected songs
Unit carries out selected songs operation according to the song serial number that the second acquisition unit is got.
In conjunction in the second aspect of the embodiment of the present invention or the first or second of possible embodiment of second aspect,
In the 4th kind of possible embodiment of second aspect, the mobile terminal further include:
Acquisition unit, for acquiring the identity information of user after the pop-up unit pops up dialog box;
Interactive unit sends preset reference identity information acquisition request for multiple designated contacts into address list;
The interactive unit, is also used to:
Receive the multiple designated contact respond it is described sent with reference to identity information acquisition request it is multiple with reference to identity
Information;
Assembled unit, the multiple reference identity information for receiving the interactive unit is according to the default ginseng
The chronological order for examining the transmission of identity information acquisition request is combined into sequence, and judges that the combination is single by the judging unit
Whether the sequence of member combination matches with predetermined sequence, when the judging result of the judging unit is to be, will receive earliest
The reference identity information that the designated contact of the preset reference identity information acquisition request is sent is believed as preset reference identity
Breath, and judge whether the identity information matches with the preset reference identity information, and in the judgement knot of the judging unit
Fruit is to obtain the song serial number inputted in the dialog box in preset time by the second acquisition unit when being.
The implementation of the embodiments of the present invention has the following beneficial effects:
User is obtained through the embodiment of the present invention for the touch parameter for playing control interface progress touch control operation generation, and
Judge whether the touch parameter matches with preset touch parameter, if so, pop-up dialog box, obtains in preset time in the dialogue
The song serial number inputted in frame carries out selected songs operation according to the song serial number.Thus, the song sequence that can be directly inputted by user
Number selected songs are carried out, thus, it realizes than the faster selected songs speed of dragging playlist searching song position, selected songs efficiency can be improved.
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 melody selecting method provided in an embodiment of the present invention;
Fig. 1 a is the demonstration graph provided in an embodiment of the present invention for playing control interface;
Fig. 2 is a kind of second embodiment flow diagram of melody selecting method provided in an embodiment of the present invention;
Fig. 2 a is the schematic diagram of dialog box provided in an embodiment of the present invention.
Fig. 3 is a kind of 3rd embodiment flow diagram of melody selecting method provided in an embodiment of the present invention;
Fig. 4 a is a kind of schematic structural diagram of the first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 4 b is a kind of another structural schematic diagram of first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 5 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 melody selecting method and mobile terminal, can be used for improving selected songs efficiency.
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.
It should be noted that in the present embodiment, mobile terminal may include that cell phone, tablet computer, individual digital help
Manage (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device,
MID), intelligent wearable device (such as smartwatch, Intelligent bracelet) all kinds of terminal devices, the embodiment of the present invention are not construed as limiting.
Referring to Fig. 1, being a kind of first embodiment flow diagram of melody selecting method provided in an embodiment of the present invention.This reality
Apply melody selecting method described in example, comprising the following steps:
101, user is obtained for the touch parameter for playing control interface progress touch control operation generation.
In the present embodiment, user can carry out touch control operation, the touching by touch screen in the broadcasting control interface of mobile terminal
Control operation can be to carry out pressing operation on the touchscreen or carry out slide on the touchscreen.When user is playing control circle
When face carries out touch control operation, corresponding touch parameter is produced.The touch parameter can for pressing touch screen compressing time,
It presses the pressing dynamics of touch screen, the touch area for touching touch screen, the sliding number slided on the touchscreen, touching
The touch point number generated on screen is (for example, the different finger of user, which carries out touching on the touchscreen, can produce different touches
Point), alternatively, (for example, 3 touch points, whether 3 touch points are in same straight line for the positional relationship between above-mentioned touch point
On, alternatively, whether the range difference of 3 touch points between any two is in preset range etc.).Fig. 1 a is to play control interface to show
Figure, playing control interface is to be used to control the broadcasting situation of song.
102, judge whether the touch parameter matches with preset touch parameter.
In the present embodiment, mobile terminal can match touch parameter with preset touch parameter, if matching, executes step
Rapid 103;If mismatching, 101 are thened follow the steps.Further, under touch parameter and the unmatched situation of preset touch parameter,
Dialog box can not be popped up, alternatively, directly prompt user re-starts touch control operation.
Optionally, touch parameter may include carrying out the touch time of touch control operation, in the broadcasting control in broadcasting control interface
Interface processed carries out the press pressure value of touch control operation and carries out the touch track of touch control operation in the broadcasting control interface, and judgement should
Whether touch parameter matches with preset touch parameter, concretely: judge whether the touch time is greater than preset threshold, if so,
Judge whether the pressing force angle value is in preset range, if so, judge whether the touch track is consistent with default touch track, if
It is that touch parameter is generated according to the touch time and the pressing force angle value.Wherein, preset threshold may include, but are not limited to: 1
Second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 5.5 seconds, 30 seconds, 1 minute etc..Preset range may include, but are not limited to: 5 Ns~10 Ns,
10.5 Ns~20 Ns, 15 Ns~30 Ns, less than 25 Ns, alternatively, being greater than 25 Ns etc..
Further, mobile terminal is according to time and pressing force angle value generation touch parameter is touched, mainly are as follows: firstly, moving
Dynamic terminal can will touch the time be converted into object time value, then, by the pressing force angle value according to preset pressing force angle value with
Mapping relations between grade point are converted into goal gradient value;Finally, the object time value and goal gradient value are synthesized touch-control
Parameter.For example, touch the time be 1 point 30 seconds, then can convert object time value 90 for the touch time, that is, when indicating the target
Between value represent 90 seconds, alternatively, the touch time can be converted into object time value 1.5, that is, indicate that the object time value represents 1.5 points
Clock.Further, mobile terminal can close the pressing force angle value according to the mapping between preset pressing force angle value and grade point
System is converted into goal gradient value, for example, a kind of feasible embodiment, the mapping between preset pressing force angle value and grade point
Relationship are as follows: grade point can corresponding A 1-A5, the mapping relations between preset pressing force angle value and grade point can are as follows: pressing dynamics
Value is greater than 0 and less than 12 Ns corresponding grade value A1, and pressing force angle value is greater than or equal to 12 Ns and less than 24 Ns corresponding grade value A2,
Pressing force angle value is greater than or equal to 24 Ns and less than 36 Ns corresponding grade value A3, and pressing force angle value is greater than or equal to 36 Ns and is less than
48 Ns of corresponding grade value A4, pressing force angle value are greater than or equal to 48 Ns of corresponding grade value A5, the pressing in first group of pressing data
Dynamics value is 23 Ns, then corresponding goal gradient value is A2.Assuming that pressing force angle value is 50 Ns, then goal gradient value is grade point
A5, thus, finally the object time value and goal gradient value can be synthesized touch parameter, for example, object time value is 90 and mesh
When mark grade point is A5, then touch parameter can be (90, A5).
Optionally, mobile terminal can obtain the touch parameter that user carries out touch control operation generation for broadcasting control interface,
Touch control operation can draw a circle in the broadcasting control interface for user, touch parameter can be the shape of the circle, the perimeter of circle or
The area of person's circle can determine whether the phase between the shape and preset shape in the case where the touch parameter is the shape of the circle
Whether it is greater than preset threshold like degree, if so, pop-up dialog box.In the case where the control parameter is the perimeter of the circle, judgement
Whether the absolute value of the difference between the perimeter and default perimeter is in preset range, if so, pop-up dialog box.In the touch-control
In the case that parameter is the area of the circle, it can determine whether the ratio between area and preset area of the circle are less than preset threshold, if so,
Then pop up dialog box.
103, dialog box is popped up.
In the embodiment of the present invention, which can be used for inputting song serial number.Optionally, which can also be used to defeated
Enter the issuing date of title of the song, singer name, song, the style of song of song, the languages of song, the format of the duration of song, song, or
Person, the size of the shared memory of song.
104, the song serial number inputted in the dialog box in preset time is obtained.
In the embodiment of the present invention, mobile terminal can obtain the song serial number that user inputs in the dialog box in preset time,
For example, user inputs " 5 " in dialog box, then it can search for the 5th song in playlist, for another example, user is in dialog box
Middle input " 3.5 ", then can prompt user to re-enter song serial number.Wherein, preset time may include, but are not limited to: 5 seconds, 10
Second, 20 seconds, 20.5 seconds, 30 seconds, 1 minute, 5 minutes.Further, user has not been obtained when the preset time is exceeded in the dialog box
The song serial number of input, then close the dialog box.
105, selected songs operation is carried out according to the song serial number.
In the embodiment of the present invention, the song serial number that can be inputted according to user carries out selected songs operation, for example, the song of user's input
Bent serial number 5,8-10,12 can then search the 5th song in playlist, the 8th to the tenth according to the song serial number
Song and the 12nd song.
User is obtained through the embodiment of the present invention for the touch parameter for playing control interface progress touch control operation generation, and
Judge whether the touch parameter matches with preset touch parameter, if so, pop-up dialog box, obtains in preset time in the dialogue
The song serial number inputted in frame carries out selected songs operation according to the song serial number.To realize and find song than dragging playlist
The faster selected songs speed in position, can be improved selected songs efficiency.
Referring to Fig. 2, being a kind of second embodiment flow diagram of melody selecting method provided in an embodiment of the present invention.This reality
Apply melody selecting method described in example, comprising the following steps:
201, user is obtained for the touch parameter for playing control interface progress touch control operation generation.
202, judge whether the touch parameter matches with preset touch parameter.
203, dialog box is popped up.
204, it obtains the starting song serial number inputted in the dialog box in preset time and terminates song serial number.
In the embodiment of the present invention, mobile terminal can obtain the starting song serial number inputted in dialog box in preset time and
Terminate song serial number, which can be number, for example, 1,2,3,5,10 etc., which can be English
The number that text indicates, for example, one, two, three, four etc., which can be Roman number.Similarly, the knot
Beam song serial number can be number, for example, 1,2,3,5,10 etc., this terminates the number that song serial number can indicate for English, for example,
One, two, three, four etc., it can be Roman number that this, which terminates song serial number,.As shown in Figure 2 a, one is illustrated simply
Dialog box, it may include it is defeated to terminate song serial number input unit for inputting starting song serial number for starting song serial number input unit
Enter to terminate song serial number.
205, it detects the starting song serial number and whether the end song serial number is effective.
In the embodiment of the present invention, if so, step 206 is executed, if it is not, executing step 204.
Under normal conditions, song serial number be greater than 0 number, thus, user input song serial number negative or be
When non-integer, then prompt user's song serial number invalid.Further, song serial number is all first from playlist
Song starts, and is denoted as 1, last song terminates, then is N (in the play list include N song when), then when with
The song serial number of family input is greater than N, then prompts the song serial number invalid.
206, judge whether the starting song serial number is less than or equal to the end song serial number.
If so, executing step 207.
If it is not, executing step 204.
207, selected songs operation is carried out according to the starting song serial number and the end song serial number.
User is obtained through the embodiment of the present invention for the touch parameter for playing control interface progress touch control operation generation, and
Judge whether the touch parameter matches with preset touch parameter, if so, pop-up dialog box, obtains in preset time in the dialogue
The starting song serial number and end song serial number inputted in frame, detecting the starting song serial number and this terminates whether song serial number has
Effect, if so, judging whether the starting song serial number is less than or equal to this and terminates song serial number, if so, according to the song serial number
Carry out selected songs operation.To, it can be achieved that selected songs speed more faster than dragging playlist searching song position, can be improved selected songs effect
Rate.
Referring to Fig. 3, being a kind of 3rd embodiment flow diagram of melody selecting method provided in an embodiment of the present invention.This reality
Apply melody selecting method described in example, comprising the following steps:
301, user is obtained for the touch parameter for playing control interface progress touch control operation generation.
302, judge whether the touch parameter matches with preset touch parameter.
303, dialog box is popped up.
304, the identity information of user is acquired.
In the embodiment of the present invention, the identity information of the user of mobile terminal acquisition be may include, but are not limited to: finger print information,
Character string, voiceprint, face information or iris information, character string etc..The step is mainly used for improving mobile terminal
Safety, in case other users are to playlist method of adjustment described in the mobile terminal execution embodiment one.For example, the word
Symbol string can be " hello ".
305, multiple designated contacts into address list send preset reference identity information acquisition request.
In the embodiment of the present invention, multiple designated contacts can be the designated contact in the address list of the mobile terminal, or
Person, multiple contact person can for in the social network-i i-platform (microblogging, QQ, wechat etc.) or mailbox of the mobile terminal binding
Multiple designated contacts.Mobile terminal can send to multiple designated contact and refer to identity information acquisition request.
306, it receives the multiple designated contact and responds the multiple references sent with reference to identity information acquisition request
Identity information.
307, by the multiple time sent with reference to identity information according to the preset reference identity information acquisition request
Sequencing is combined into sequence.
In the embodiment of the present invention, it can be sent out multiple with reference to identity information according to the preset reference identity information acquisition request
The chronological order sent is combined into sequence.For example, specific combination can be as follows: directly by multiple reference identity information according to hair
The chronological order of request is sent to be spliced, it, further, can be to each reference in splicing to obtain a sequence
Identity information carries out certain processing, for example, a verification information is abcde, then can remove the stem character of the verification information
With tail portion character.
308, judge whether the sequence matches with predetermined sequence, if so, the preset reference identity will be received earliest
The reference identity information that the designated contact of information acquisition request is sent is as preset reference identity information.
In the embodiment of the present invention, mobile terminal can determine whether to form a sequence by multiple preset reference identity informations, then,
The sequence and predetermined sequence are compared, if so, the specified of preset reference identity information acquisition request will be received earliest
The reference identity information that contact person sends is as preset reference identity information, if it is not, thening follow the steps 304.
309, judge whether the identity information matches with the preset reference identity information.
In the embodiment of the present invention, if collected identity information and the matching of preset reference identity information, can obtain default
The song serial number inputted in dialog box in time, wherein preset time may include, but are not limited to: 30 seconds, 40.5 seconds, 1 point
Clock, 1.5 minutes etc..If collected identity information and preset reference identity information mismatch, 304 are thened follow the steps.
310, the song serial number inputted in the dialog box in preset time is obtained.
311, selected songs operation is carried out according to the song serial number.
In above-described embodiment, user can be obtained for the touch parameter for playing control interface progress touch control operation generation, and
Judge whether the touch parameter matches with preset touch parameter, if so, pop-up dialog box, acquires the identity information of user, to
Multiple designated contacts in address list send preset reference identity information acquisition request, receive multiple designated contact response
This refers to identity information with reference to the multiple of identity information acquisition request transmission, and presets multiple with reference to identity information according to this
Be combined into sequence with reference to the chronological order that identity information acquisition request is sent, judge the sequence and predetermined sequence whether
Match, if so, using the reference identity information for the designated contact for receiving the preset reference identity information acquisition request earliest as
Preset reference identity information;Judge whether the identity information matches with the preset reference identity information, if so, obtaining preset time
The song serial number inputted in the inherent dialog box, and selected songs operation is carried out according to the song serial number.To realize and be played than dragging
Song position faster selected songs speed is found in list, and selected songs efficiency can be improved, meanwhile, it can be improved and mobile terminal is operated
Safety.
Fig. 4 a is please referred to, is a kind of schematic structural diagram of the first embodiment of mobile terminal provided in an embodiment of the present invention.This
Mobile terminal described in embodiment, comprising:
First acquisition unit 401, for obtaining user for the touch-control ginseng for playing control interface progress touch control operation generation
Number.
Judging unit 402, for judging the touch parameter and preset touch that the first acquisition unit 401 is got
Whether parameter matches.
Unit 403 is popped up, is to pop up dialog box when being for the judging result in the judging unit 402.
Second acquisition unit 404, for obtaining in preset time in the dialog box that the pop-up unit 403 pops up
The song serial number of input.
Selected songs unit 405, the song serial number for being got according to the second acquisition unit 404 carry out selected songs behaviour
Make.
Optionally, the touch parameter that the first acquisition unit 401 is got is included in the broadcasting control interface
Carry out touching the time, carrying out the press pressure value of touch control operation and in the broadcasting in the broadcasting control interface for touch control operation
Control interface carries out the touch track of touch control operation, and the first acquisition unit 401 includes:
First judgment module 4011, for judging whether the touch time is greater than preset threshold.
The first judgment module 4011, is also used to:
When the first judgment module 4011 judges that the touch time is greater than the preset threshold, pressed described in judgement
Whether pressure angle value is in preset range.
The first judgment module 4011, is also used to:
When the first judgment module 4011 judges that the pressing force angle value is in the preset range, described in judgement
Whether touch track is consistent with default touch track.
Generation module 4012, for judging the touch track and the default rail in the first judgment module 4011
When mark is consistent, touch parameter is generated according to the touch time and the pressing force angle value.
Optionally, the generation module 4012 includes:
First conversion module (does not mark) in figure, for converting object time value for the touch time.
Second conversion module (does not mark) in figure, for by the pressing force angle value according to preset pressing force angle value with etc.
Mapping relations between grade value are converted into goal gradient value.
Synthesis module (does not mark) in figure, the object time value for converting above-mentioned first conversion module and described
The goal gradient value of second conversion module conversion synthesizes touch parameter.
Optionally, the song serial number includes starting song serial number and end song serial number;The second acquisition unit 404
Include:
Detection module 4041, for detect in preset time it is described pop-up unit 403 pop up the dialog box in it is defeated
Whether the starting song serial number and end song serial number entered be effective;
Second judgment module 4042 is when being, to judge the starting for the testing result in the detection module 4041
Whether song serial number is less than or equal to the end song serial number, is yes in the judging result of second judgment module 4042
When, the selected songs unit 405 carries out selected songs operation according to the song serial number that the second acquisition unit 404 is got.
Optionally, as shown in Figure 4 b, mobile terminal described in Fig. 4 a may also include that
Acquisition unit 406, for acquiring the identity information of user after the pop-up unit pops up dialog box;
Interactive unit 407 sends the acquisition of preset reference identity information for multiple designated contacts into address list and asks
It asks;
The interactive unit 407, is also used to:
Receive the multiple designated contact respond it is described sent with reference to identity information acquisition request it is multiple with reference to identity
Information;
Assembled unit 408, the multiple reference identity information for receiving the interactive unit 407 is according to described
The chronological order that preset reference identity information acquisition request is sent is combined into sequence, judges institute by the judging unit 402
Whether the sequence for stating the combination of assembled unit 408 matches with predetermined sequence, is in the judging result of the judging unit 402
It is that will then receive the reference identity information of the designated contact of the preset reference identity information acquisition request earliest as default
With reference to identity information, and judge whether the identity information matches with the preset reference identity information again, and in the judgement
The judging result of unit 402 is the song inputted in the dialog box when obtaining default by the second acquisition unit 404 when being
Bent serial number.
Wherein, the first acquisition unit 401 in Fig. 4 b may include first judgment module 4011 and generation module 4012, second
Acquiring unit 404 may include detection module 4041 and the second judgment module 4042.
Mobile terminal described in above-described embodiment can obtain user and carry out touch control operation generation for control interface is played
Touch parameter, and judge whether the touch parameter matches with preset touch parameter, if so, pop-up dialog box, obtains default
The song serial number inputted in the dialog box in time carries out selected songs operation according to the song serial number.Thus, the present embodiment
In, selected songs directly can be carried out by the song serial number that user inputs, can avoid dragging playlist and find song position, therefore,
Selected songs efficiency can be improved.
Referring to Fig. 5, 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 panel, physical button, mouse or fingerprint input device.
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 input equipment 1000, is used for
User is obtained for the touch parameter for playing control interface progress touch control operation generation;
Above-mentioned processor 3000, is used for:
Judge whether the touch parameter matches with preset touch parameter;
If so, pop-up dialog box;
Above-mentioned input equipment 1000, is also used to:
Obtain the song serial number inputted in the dialog box in preset time;
Above-mentioned processor 3000, is used for:
Selected songs operation is carried out according to the song serial number.
Optionally, the touch parameter includes carrying out the touch time of touch control operation, in institute in the broadcasting control interface
It states the press pressure value for playing control interface progress touch control operation and carries out the touch of touch control operation in the broadcasting control interface
Track, above-mentioned processor 3000 obtain user for the touch parameter for playing control interface progress touch control operation generation, comprising:
Judge whether the touch time is greater than preset threshold, if so, judging whether the pressing force angle value is in default
Range, if so, judge whether the touch track is consistent with default touch track, if so, according to touch time and described
Pressing force angle value generates touch parameter.
Optionally, above-mentioned processor 3000 generates touch parameter, packet according to the touch time and the pressing force angle value
It includes:
Object time value is converted by the touch time;
Target is converted according to the mapping relations between preset pressing force angle value and grade point by the pressing force angle value
Grade point;
The object time value and the goal gradient value are synthesized into touch parameter.
Optionally, the song serial number includes starting song serial number and end song serial number;Above-mentioned processor 3000 obtains
The song serial number inputted in the dialog box in preset time, comprising:
It detects the starting song serial number and whether the end song serial number is effective;If so, judging the starting song
Whether serial number is less than or equal to the end song serial number, if so, executing described according to song serial number progress selected songs operation
The step of.
Optionally, above-mentioned processor 3000 obtain in preset time the song serial number that is inputted in the dialog box it
Before, and after above-mentioned processor 3000 pops up dialog box, above-mentioned input equipment 1000 is also used to:
Acquire the identity information of user;
Above-mentioned processor 3000, is also used to:
Multiple designated contacts into address list send preset reference identity information acquisition request;
Receive the multiple designated contact respond it is described sent with reference to identity information acquisition request it is multiple with reference to identity
Information;
By the multiple time order and function sent with reference to identity information according to the preset reference identity information acquisition request
Sequence is combined into sequence;
Judge whether the sequence matches with predetermined sequence, if so, the preset reference identity information will be received earliest
The reference identity information of the designated contact of acquisition request is as preset reference identity information;
Judge whether the identity information matches with the preset reference identity information, is preset if so, executing described obtain
The song serial number inputted in the dialog box in time.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey
Sequence, the program include some or all of any one signal processing method recorded in above method embodiment step when executing
Suddenly.
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.
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, certain steps may can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily this hair
Necessary to bright.
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 said units, 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.
Above-mentioned 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.
In addition, each functional unit in various embodiments of the present invention can integrate in one processing unit, it is also possible to
Each unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit
Both it can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned 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 be personal computer, server or network equipment etc., specifically can be the processor in computer equipment) is held
The all or part of the steps of each embodiment above method of the row present invention.Wherein, storage medium above-mentioned can include: USB flash disk, shifting
Dynamic hard disk, magnetic disk, CD, read-only memory (English: Read-Only Memory, abbreviation: ROM) or random access memory
The various media that can store program code such as (English: Random Access Memory, abbreviation: RAM).
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 spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of melody selecting method characterized by comprising
User is obtained for the touch parameter for playing control interface progress touch control operation generation;
Judge whether the touch parameter matches with preset touch parameter;
If so, pop-up dialog box;
The one or more song serial numbers inputted in the dialog box in preset time are obtained, the song serial number includes for I
Uncle's number, English digital or Roman number, the multiple song serial number include individual song serial number, in continuous song serial number
One kind or the combination between them;
Selected songs operation is carried out according to the song serial number.
2. the method as described in claim 1, which is characterized in that the touch parameter, which is included in the broadcasting control interface, to carry out
Touch control operation touches the time, carries out the press pressure value of touch control operation in the broadcasting control interface and control in the broadcasting
Interface carries out the touch track of touch control operation, described to obtain user for the touch-control for playing control interface progress touch control operation generation
Parameter, comprising:
Judge whether the touch time is greater than preset threshold, if so, judge whether the pressing force angle value is in preset range,
If so, judging whether the touch track is consistent with default touch track, if so, according to the touch time and the pressing force
Angle value generates touch parameter.
3. method according to claim 2, which is characterized in that described raw according to the touch time and the pressing force angle value
At touch parameter, comprising:
Object time value is converted by the touch time;
Goal gradient is converted according to the mapping relations between preset pressing force angle value and grade point by the pressing force angle value
Value;
The object time value and the goal gradient value are synthesized into touch parameter.
4. method as described in any one of claims 1 to 3, which is characterized in that the song serial number includes starting song serial number
With end song serial number;
The song serial number inputted in the dialog box in the acquisition preset time, comprising:
Whether the starting song serial number and the end song serial number inputted in the dialog box in detection preset time
Effectively;If so, judging whether the starting song serial number is less than or equal to the end song serial number, if so, executing described
The step of carrying out selected songs operation according to the song serial number.
5. method as described in any one of claims 1 to 3, which is characterized in that in the dialogue in the acquisition preset time
Before the song serial number inputted in frame, and after the pop-up dialog box, the method also includes:
Acquire the identity information of user;
Multiple designated contacts into address list send preset reference identity information acquisition request;
Receive the multiple designated contact respond it is described sent with reference to identity information acquisition request it is multiple with reference to identity information;
By the multiple chronological order sent with reference to identity information according to the preset reference identity information acquisition request
It is combined into sequence;
Judge whether the sequence matches with predetermined sequence, is obtained if so, the preset reference identity information will be received earliest
The reference identity information that the designated contact of request is sent is as preset reference identity information;
Judge whether the identity information matches with the preset reference identity information, if so, executing the acquisition preset time
The song serial number inputted in the inherent dialog box.
6. a kind of mobile terminal characterized by comprising
First acquisition unit, for obtaining user for the touch parameter for playing control interface progress touch control operation generation;
Judging unit, for judge the touch parameter that the first acquisition unit is got and preset touch parameter whether
Match;
Unit is popped up, is to pop up dialog box when being for the judging result in the judging unit;
Second acquisition unit, for obtaining one inputted in the dialog box of the pop-up unit pop-up in preset time
Or multiple song serial numbers, the song serial number include Arabic numerals, English digital or Roman number, the multiple song serial number
Including one kind in individual song serial number, continuous song serial number or the combination between them;
Selected songs unit, the song serial number for being got according to the second acquisition unit carry out selected songs operation.
7. mobile terminal as claimed in claim 6, which is characterized in that the touch-control ginseng that the first acquisition unit is got
Number includes carrying out the touch time of touch control operation, in broadcasting control interface progress touch control operation in the broadcasting control interface
Press pressure value and carry out the touch track of touch control operation in the broadcasting control interface, the first acquisition unit includes:
First judgment module, for judging whether the touch time is greater than preset threshold;
The first judgment module is also used to, and judges that the touch time is greater than the default threshold in the first judgment module
When value, judge whether the pressing force angle value is in preset range;
The first judgment module is also used to:
When the first judgment module judges that the pressing force angle value is in the preset range, the touch track is judged
It is whether consistent with default touch track;
Generation module, for when the first judgment module judges that the touch track is consistent with the desired guiding trajectory, root
Touch parameter is generated according to the touch time and the pressing force angle value.
8. mobile terminal as claimed in claim 7, which is characterized in that the generation module includes:
First conversion module, for converting object time value for the touch time;
Second conversion module, for closing the pressing force angle value according to the mapping between preset pressing force angle value and grade point
System is converted into goal gradient value;
Synthesis module, the object time value and second conversion module conversion for converting first conversion module
The goal gradient value synthesize touch parameter.
9. such as the described in any item mobile terminals of claim 6 to 8, which is characterized in that the song serial number includes starting song
Serial number and end song serial number;
The second acquisition unit includes:
Detection module, for detecting the starting inputted in the dialog box of the pop-up unit pop-up in preset time
Whether song serial number and end song serial number are effective;
Second judgment module is when being, whether to judge the starting song serial number for the testing result in the detection module
Less than or equal to the end song serial number, when the judging result of second judgment module is to be, by the selected songs unit
Selected songs operation is carried out according to the song serial number that the second acquisition unit is got.
10. such as the described in any item mobile terminals of claim 6 to 8, which is characterized in that the mobile terminal further include:
Acquisition unit, for acquiring the identity information of user after the pop-up unit pops up dialog box;
Interactive unit sends preset reference identity information acquisition request for multiple designated contacts into address list;
The interactive unit, is also used to:
Receive the multiple designated contact respond it is described sent with reference to identity information acquisition request it is multiple with reference to identity information;
Assembled unit, the multiple reference identity information for receiving the interactive unit is according to the preset reference body
The chronological order that part information acquisition request is sent is combined into sequence, and judges the assembled unit group by the judging unit
Whether the sequence closed matches with predetermined sequence, described by receiving earliest when the judging result of the judging unit is to be
The reference identity information that the designated contact of preset reference identity information acquisition request is sent as preset reference identity information, and
Judge whether the identity information matches with the preset reference identity information, and is yes in the judging result of the judging unit
When, the song serial number inputted in the dialog box in preset time is obtained by the second acquisition unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510919114.0A CN105430188B (en) | 2015-12-10 | 2015-12-10 | A kind of melody selecting method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510919114.0A CN105430188B (en) | 2015-12-10 | 2015-12-10 | A kind of melody selecting method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105430188A CN105430188A (en) | 2016-03-23 |
CN105430188B true CN105430188B (en) | 2019-03-15 |
Family
ID=55508121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510919114.0A Active CN105430188B (en) | 2015-12-10 | 2015-12-10 | A kind of melody selecting method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105430188B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106295308B (en) * | 2016-08-22 | 2019-01-04 | 维沃移动通信有限公司 | A kind of unlocking method and mobile terminal of application program for mobile terminal |
CN106527951A (en) * | 2016-11-16 | 2017-03-22 | 珠海格力电器股份有限公司 | Method and device for playing designated audio file and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833419A (en) * | 2010-04-30 | 2010-09-15 | 华为终端有限公司 | Method for operating user interface and mobile terminal |
CN103197867A (en) * | 2012-01-04 | 2013-07-10 | 海尔集团公司 | Application program control method and system based on touch screen |
CN103544293A (en) * | 2013-10-30 | 2014-01-29 | 宇龙计算机通信科技(深圳)有限公司 | Chatting record viewing method and mobile terminal of method |
CN105005729A (en) * | 2015-07-31 | 2015-10-28 | 广东欧珀移动通信有限公司 | Method for unlocking screen based on image, and user terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4600548B2 (en) * | 2008-08-27 | 2010-12-15 | ソニー株式会社 | REPRODUCTION DEVICE, REPRODUCTION METHOD, AND PROGRAM |
-
2015
- 2015-12-10 CN CN201510919114.0A patent/CN105430188B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833419A (en) * | 2010-04-30 | 2010-09-15 | 华为终端有限公司 | Method for operating user interface and mobile terminal |
CN103197867A (en) * | 2012-01-04 | 2013-07-10 | 海尔集团公司 | Application program control method and system based on touch screen |
CN103544293A (en) * | 2013-10-30 | 2014-01-29 | 宇龙计算机通信科技(深圳)有限公司 | Chatting record viewing method and mobile terminal of method |
CN105005729A (en) * | 2015-07-31 | 2015-10-28 | 广东欧珀移动通信有限公司 | Method for unlocking screen based on image, and user terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105430188A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102333505B1 (en) | Generating computer responses to social conversational inputs | |
CN110838286B (en) | Model training method, language identification method, device and equipment | |
CN108288468B (en) | Audio recognition method and device | |
CN110069608B (en) | Voice interaction method, device, equipment and computer storage medium | |
CN112863547B (en) | Virtual resource transfer processing method, device, storage medium and computer equipment | |
CN105917404B (en) | For realizing the method, apparatus and system of personal digital assistant | |
CN110288077A (en) | A kind of synthesis based on artificial intelligence is spoken the method and relevant apparatus of expression | |
CN109785820A (en) | A kind of processing method, device and equipment | |
EP3593346B1 (en) | Graphical data selection and presentation of digital content | |
CN110544473B (en) | Voice interaction method and device | |
US11341945B2 (en) | Techniques for learning effective musical features for generative and retrieval-based applications | |
CN110311858B (en) | Method and equipment for sending session message | |
CN111383631A (en) | Voice interaction method, device and system | |
CN109558500A (en) | Multimedia sequence generation method, medium, device and calculating equipment | |
CN110493125A (en) | Instant communicating method, equipment and computer readable storage medium | |
US11635883B2 (en) | Indication of content linked to text | |
CN114073854A (en) | Game method and system based on multimedia file | |
CN103098124B (en) | Method and system for text to speech conversion | |
CN110225202A (en) | Processing method, device, mobile terminal and the storage medium of audio stream | |
CN105430188B (en) | A kind of melody selecting method and mobile terminal | |
Waqar et al. | Design of a speech anger recognition system on Arduino nano 33 BLE sense | |
CN105677891B (en) | A kind of file naming method, device and terminal | |
KR20160134564A (en) | Device and method for analyzing user emotion | |
CN108495160A (en) | Intelligent control method, system, equipment and storage medium | |
CN108231074A (en) | A kind of data processing method, voice assistant equipment and computer readable storage medium |
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: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |