CN102346651A - Music file processing method and device - Google Patents

Music file processing method and device Download PDF

Info

Publication number
CN102346651A
CN102346651A CN2011103585352A CN201110358535A CN102346651A CN 102346651 A CN102346651 A CN 102346651A CN 2011103585352 A CN2011103585352 A CN 2011103585352A CN 201110358535 A CN201110358535 A CN 201110358535A CN 102346651 A CN102346651 A CN 102346651A
Authority
CN
China
Prior art keywords
music file
play amount
threshold value
offset data
control
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.)
Pending
Application number
CN2011103585352A
Other languages
Chinese (zh)
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN2011103585352A priority Critical patent/CN102346651A/en
Publication of CN102346651A publication Critical patent/CN102346651A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to a music file processing method and device. The method comprises the steps of: receiving offset data generated when a user touches a display screen; judging whether the offset data exceed a preset offset threshold value; judging an information type for controlling a music file according to a comparison result between the offset and the offset threshold value; and controlling the music file according to the offset and the information type for controlling the music file, thereby facilitating the user on accurately operating the music file.

Description

The disposal route of music file and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of disposal route and device of music file.
Background technology
At present, along with the fast development of smart mobile phone and panel computer, roomy screen can bring broad more visual enjoyment to the user, and the processing mode of music file is also brought smooth more audio-visual recreation experience to the user.But still there are certain problem in smart mobile phone and panel computer aspect the audio-visual amusement, are promptly guaranteeing how to the user more convenient operation to be provided under the smooth prerequisite of operation.
In the processing mode of miscellaneous music file, Power AMP player is for the user prompt operation player preferably to be provided at present on market.As depicted in figs. 1 and 2, user interface that Power AMP player is magnificent and succinct operation make the user when controling player, can conveniently control player.In the screen locking layout setting of Power AMP player; Include the setting of the application window widget (Widget) at screen locking interface; If choose to " opening Widget during screen locking ", then when the screen locking interface, player as shown in Figure 2 will be provided, user friendly play operation.
As shown in Figure 2, the function touching that provides at the screen locking interface has: the touching of broadcast/time-out, last one bent touching, next bent touching; Information in the screen locking interface display has: the pattern of the title of current play list, the singer of current song, the special edition of current song, current broadcast is single circulation or broadcast immediately etc.
The shortcoming that the processing mode of prior art music file exists is that the quantity of information of pointing out in the broadcast interface about current play list is too numerous and diverse; Touching quantity in the interface is many, and inconvenient operation, and the operation music file that the user is prepared.
Summary of the invention
The embodiment of the invention provides a kind of disposal route and device of music file, under the situation that is implemented in the screen locking interface, conveniently and exactly operates music file.
In first aspect, the embodiment of the invention provides a kind of disposal route of music file, the treating method comprises: receive the user and touch the offset data that produces when music file is handled Petting Area; Judge whether said offset data surpasses preset side-play amount threshold value; Judge the information type of control music file according to the comparative result of said side-play amount and said side-play amount threshold value; Information type control music file according to said side-play amount and said control music file.
In second aspect, the embodiment of the invention provides a kind of treating apparatus of music file, and the device that said music file is handled comprises: receiving element is used to receive the user and touches the offset data that produces when music file is handled Petting Area; Judging unit is used to judge whether said offset data surpasses preset side-play amount threshold value; Processing unit is used for judging the information type of controlling music file according to the comparative result of said side-play amount and said side-play amount threshold value; Information type control music file according to said side-play amount and said control music file.
Through using embodiment of the invention the methods and apparatus disclosed; User's touch display screen produces side-play amount; Compare judgement according to offset data and preset side-play amount threshold value; Judge the information type of control music file according to the comparative result of said side-play amount and said side-play amount threshold value; Control music file according to the information type of said side-play amount and said control music file again, thereby can make things convenient for the user to operate music file exactly.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously; Accompanying drawing in describing below only is some embodiments of the present invention; For those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a Power AMP music player surface chart in the prior art;
Fig. 2 is a Power AMP music player screen locking surface chart in the prior art;
Fig. 3 is the process flow figure of the disclosed music file of the embodiment of the invention;
Fig. 4 sets up music file and handles the Petting Area particular flow sheet for the embodiment of the invention is disclosed;
Fig. 5 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set;
Fig. 6 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set;
Fig. 7 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set;
Fig. 8 is that the disclosed music file of the embodiment of the invention is handled the Petting Area surface chart;
Fig. 9 sets up music file and handles the Petting Area particular flow sheet for the embodiment of the invention is disclosed;
Figure 10 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set;
Figure 11 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set;
Figure 12 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set;
Figure 13 is that the disclosed music file of the embodiment of the invention is handled the Petting Area surface chart;
Figure 14 is that the disclosed music file of the embodiment of the invention is handled the Petting Area surface chart;
Figure 15 is the treating apparatus figure of the disclosed music file of the embodiment of the invention;
Figure 16 is the entity structure diagram that the disclosed music file of the embodiment of the invention is handled.
Embodiment
For the technical scheme and the advantage that make the embodiment of the invention is clearer, the specific embodiment of the invention is described in further detail below in conjunction with accompanying drawing.
Be the method that example describes the processing of the music file that the embodiment of the invention provides in detail below with Fig. 3, Fig. 3 is the process flow figure of the disclosed music file of the embodiment of the invention.
As shown in Figure 3; At first load the User Defined layout structure; And the monitoring function of the corresponding touch of interpolation in the handling procedure of music file; Monitor function and receive the offset data that user's touch display screen produces; And make the judgement of volume control information and music file handover information according to the threshold value whether offset data that produces surpasses preset side-play amount, concrete steps are following:
Step 310, obtain the user and touch the offset data that produces when music file is handled Petting Area.
Particularly; At first load self-defined layout structure; In the handling procedure of music file, add the monitoring function of corresponding touch then, monitor function and receive the offset data that user's touch display screen produces, this offset data comprises translation offset data and pivot offset amount data.
Step 320, judge that whether offset data surpasses preset side-play amount threshold value, the side-play amount threshold value is that said music file is handled the length of Petting Area or the rotational angle that said music file is handled Petting Area;
Step 330, judge the information type of control music file according to the comparative result of side-play amount and side-play amount threshold value.In the present embodiment, the information type of said control music file comprises volume control information and music file handover information,
Particularly, if said offset data does not surpass said side-play amount threshold value, the information type of then judging said control music file is the volume control information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the music file handover information;
Perhaps, if said offset data does not surpass said side-play amount threshold value, the information type of then judging said control music file is the music file handover information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the volume control information.
Step 340, according to the information type of said side-play amount and said control music file control music file.
Concrete, when the information type of judging said control music file is the volume control information, according to the volume of said offset data adjustment music file; When the information type of judging said control music file is the music file handover information, switch the song of music file according to said offset data.
Through using embodiment of the invention disclosed method; User's touch display screen produces side-play amount; Compare judgement according to offset data and preset side-play amount threshold value; Judge the information type of control music file according to the comparative result of said side-play amount and said side-play amount threshold value; Control music file according to the information type of said side-play amount and said control music file again, thereby can make things convenient for the user to operate music file exactly.
Be the disposal route that example describes the music file that the embodiment of the invention provides in detail below with Fig. 4, Fig. 4 sets up music file and handles the Petting Area particular flow sheet for the embodiment of the invention is disclosed;
As shown in Figure 4, at first load self-defined layout structure, and then add the monitoring function of corresponding touch in the program, and judge whether to make the selection of switching song and adjustment volume according to the side-play amount that touch event slides.Monitor function and at first note the coordinate of user touch point, detect user's translation direction then, the side-play amount of dependence translation direction and translation is adjusted the size of volume.The situation of switching song will formerly be judged after the translation direction, rely on the translatory distance (handling the length of Petting Area greater than music file) of touch point to send the notice of switching song, and concrete steps are following:
Step 410, loading User Defined layout.
Select whether loading opens the screen locking interface control, Petting Area broadcast/time-out touching pattern handled by music file and music file is handled self-defined options such as Petting Area background patterns.
Particularly, Fig. 5 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set; As shown in Figure 5; Handle being provided with in the interface of Petting Area at music file; The touching that is provided with at special screen locking interface is arranged; Point touches corresponding screen locking layout setting touching; Corresponding selection occurs and whether open screen locking interface control dialog box; The control application window widget (Widget) that can point out the user whether will open the screen locking interface; If chosen the unlatching option; Just can open the control application window widget at screen locking interface; If chosen the off option, then cannot open the control application window widget at screen locking interface.
Figure 6 embodiment of the invention discloses a music file handle touch area setup interface diagram; shown in Figure 6, in the aforementioned open the lock screen interface controls, there was a corresponding touch area select a music file handling Play / Pause touch key style dialog box, you can select a music file in the options area handle touch Play / Pause touch key style, in the embodiment shown in Figure 6, the button style is divided into two, one is the normal triangular shape, the other is stretching triangular shape, in the present embodiment, the selected play / pause key touch pattern for normal triangular shape, and accordingly the check next round normal triangular shape, a triangular shape selected normal flag.
Fig. 7 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set; As shown in Figure 7; Behind the application window widget of aforementioned unlatching screen locking interface control; The corresponding dialog box of selecting music file to handle the Petting Area background patterns appears; Can in option, select music file to handle the style of Petting Area background patterns; In the embodiment shown in fig. 7; The background patterns of four music file processing Petting Areas is provided; In Fig. 7 not with pattern 1; Pattern 2; The concrete pattern of pattern 3 and pattern 4 draws; 4 patterns have nothing in common with each other; From 4 patterns, select a pattern to handle the background patterns of Petting Area as music file; In embodiments of the present invention, select pattern 1 to handle the background patterns of Petting Area as music file.
Need to prove that in the described loading User Defined of the preamble layout step, the user can be according to oneself hobby, change is also selected different-style.
Add the monitoring function that touches in step 420, the program.
Handle in the Petting Area program at the design music file, add the monitoring function that touches, the monitoring function of said touch is for judging whether to make the selection of corresponding program according to the translation side-play amount of user's touch event.
Step 430, monitor touch event and return the side-play amount of touch event.
Monitor function and at first note the horizontal and vertical coordinate of user touch point; Then according to the horizontal and vertical coordinate after the horizontal and vertical coordinate detection user touch point translation of user touch point; Horizontal and vertical coordinate and the side-play amount between the horizontal and vertical coordinate after the translation according to user touch point are made the corresponding program adjustment; The threshold value of user touch point translation offset data has been set in monitoring function, and this threshold value is the length range that music file is handled Petting Area.
Step 440, judge whether side-play amount exceeds threshold value, if the side-play amount of translation does not exceed threshold value, then execution in step 450; If the side-play amount of translation exceeds threshold value, then execution in step 460.
Particularly, if when the translation side-play amount that user touch point produces does not exceed preset side-play amount threshold value, judge that then the touch event that produces this side-play amount is the volume control information, execution in step 450; When if the offset data that user touch point produces exceeds preset side-play amount threshold value, judge that then the touch event that produces this side-play amount is the music file handover information, execution in step 460.
Step 450, adjustment volume.
Judgement according to step 440; The side-play amount that has translation between the horizontal and vertical coordinate of user touch point and the translation direction; And the side-play amount of translation does not surpass the length range that music file is handled Petting Area, adjusts the operation of volume according to the side-play amount of translation.
According to the horizontal and vertical coordinate detected touch point translation side-play amount and the direction of user touch point, and the side-play amount of translation do not exceed the length range that music file is handled Petting Area, then adjusts the size that music file is handled the Petting Area volume.
Step 460, switching song.
According to the judgement of step 440, have the side-play amount of translation between the horizontal and vertical coordinate of user touch point and the translation direction, and the side-play amount of translation surpasses the length range that music file is handled Petting Area, the operation of switching song according to the side-play amount of translation.
Horizontal and vertical coordinate detected touch point translation side-play amount and direction according to user touch point; The direction of judging the touch point translation is to front slide or slides backward; And the side-play amount of translation exceeds the length range that music file is handled Petting Area, then adjusts music file and handles Petting Area switching song.
Be understandable that; In the present embodiment; Also can operate like this; Judge promptly whether side-play amount exceeds threshold value, if the side-play amount of translation does not exceed threshold value, then execution in step 460; At this moment; The side-play amount that has translation between the horizontal and vertical coordinate of user touch point and the translation direction, and the side-play amount of translation does not surpass the length range that music file is handled Petting Area, the operation of switching song according to the side-play amount of translation; According to the horizontal and vertical coordinate detected touch point translation side-play amount and the direction of user touch point, and the side-play amount of translation do not exceed the length range that music file is handled Petting Area, then adjusts music file and handles Petting Area and switch song.
If the side-play amount of translation exceeds threshold value; Then execution in step 450; At this moment; The side-play amount that has translation between the horizontal and vertical coordinate of user touch point and the translation direction; And the side-play amount of translation surpasses the length range that music file is handled Petting Area, adjusts the operation of volume according to the side-play amount of translation; Horizontal and vertical coordinate detected touch point translation side-play amount and direction according to user touch point; The direction of judging the touch point translation is to front slide or slides backward; And the side-play amount of translation exceeds the length range that music file is handled Petting Area, then adjusts the size that music file is handled the Petting Area volume.
In the present embodiment, above dual mode does not limit.
After above-mentioned selection, just can see the state of music file processing Petting Area at the screen locking interface.As shown in Figure 8, in the screen locking interface, comprise loudspeaker touching, music file processing Petting Area, screen locking touching, temporal information touching and urgent call touching.Wherein, music file is handled to have added in the Petting Area and is shown current play list, next bent song of playing, last bent song and broadcast/time-out touching of playing.
Handle at music file within the scope of Petting Area; (music file is handled in the square frame of Petting Area among Fig. 8) user point touches and translation to the right; And the scope of translation does not exceed the scope that music file is handled Petting Area; The volume of music file is raise; Otherwise; User's point touches and translation left, and the volume of music file is reduced; If the user puts and touches and translation left; And the scope of translation exceeds the scope that music file is handled Petting Area; Switch to a song; In embodiments of the present invention; The music file of current broadcast is a letter bomb; User's point touches and translation left; And exceed the scope that music file is handled Petting Area, switch to a music file and be good night Beijing, the user puts and touches and translation to the right; And exceed the scope that music file is handled Petting Area; Switch to next song, in embodiments of the present invention, the music file of current broadcast is a letter bomb; User's point touches and translation to the right, switches to next music file and is decoding.
Be that example describes the disclosed method of in the screen locking interface, adding music file processing Petting Area of another embodiment of the present invention in detail below with Fig. 9, Fig. 9 sets up music file and handles the Petting Area particular flow sheet for the embodiment of the invention is disclosed.
As shown in Figure 9, at first load the User Defined layout structure, in the handling procedure of music file, add the monitoring function of corresponding touch then, and judge whether to make the selection of switching song and adjustment volume according to the side-play amount that touch event rotates.Monitor function and at first note the coordinate of user touch point, detect the direction that user touch point is rotated then, the side-play amount of dependence rotation direction and rotation is adjusted the size of volume.The situation of switching song will formerly be judged after the rotation direction; Rely on side-play amount that the touch point rotates to next reference mark (whether pivot offset amount data surpass said music file is handled the angular range that Petting Area rotates) send the notice of switching song, concrete steps are following:
Step 910, loading User Defined layout.
Select whether loading opens the screen locking interface control, Petting Area broadcast/time-out touching pattern handled by music file and music file is handled self-defined options such as Petting Area background patterns.
Particularly, Figure 10 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set; As shown in figure 10; Handle being provided with in the interface of Petting Area at music file; The touching that is provided with at special screen locking interface is arranged; Point touches corresponding screen locking layout setting touching; Corresponding selection occurs and whether open screen locking interface control dialog box; The control application window widget (Widget) that can point out the user whether will open the screen locking interface; If chosen the unlatching option; Just can open the control application window widget at screen locking interface; If chosen the off option, then cannot open the control application window widget at screen locking interface.
Figure 11 embodiment of the invention disclosed in the music file processing touch area setting interface; FIG 11, the aforementioned control on the lock screen widgets after application, a corresponding touch area select a music file playback processing / Pause touch key style dialog box, you can select a music file in the options area handle touch Play / Pause touch key style, in the embodiment shown in Figure 11, the button style is divided into two kinds, one is normal triangle shape, a triangular shape other is stretched, in the present embodiment, the selected play / pause key pattern for normal touch triangular shape, and accordingly the check next round normal triangular shape, a triangular shape as a normal sign of selected .
Figure 12 handles in the Petting Area for the disclosed music file of the embodiment of the invention surface chart is set; As shown in figure 12; Behind aforementioned unlatching screen locking interface control; The corresponding dialog box of selecting music file to handle the Petting Area background patterns appears; Can in option, select music file to handle the style of Petting Area background patterns; In the embodiment shown in fig. 12; The background patterns of four music file processing Petting Areas is provided; In Figure 12 not with pattern 1; Pattern 2; The concrete pattern of pattern 3 and pattern 4 draws; 4 patterns have nothing in common with each other; The user can be according to oneself hobby; From 4 patterns, select a pattern to handle the background patterns of Petting Area as music file; In embodiments of the present invention, select pattern 2 to handle the background patterns of Petting Area as music file.
Need to prove that in the described loading User Defined of the preamble layout step, the user can be according to oneself hobby, change is also selected different-style.
Add the monitoring function that touches in step 920, the program.
Handle in the Petting Area program at the design music file, add the monitoring function that touches, the monitoring function of said touch is for judging whether to make the selection of corresponding program according to the pivot offset amount of user's touch event.
Step 930, monitoring touch event confirm whether the touch point is the reference mark of Petting Area, if one of three reference mark that user touch point is a music file handles Petting Area, then execution in step 940; If any response is not then made, execution in step 920 in one of three reference mark that user touch point is not a music file handles Petting Area.
Particularly; Handle in the Petting Area at music file, three summits of circular triangle control are corresponding respectively, volume reference mark, song reference mark and reservation reference mark; The rotation in the lump at three reference mark that if user touch point is a music file handles Petting Area, then execution in step 940.
Step 940, monitor touch event, return the side-play amount of touch event.
Oracle listener is at first noted the horizontal and vertical coordinate of user touch point; Horizontal and vertical coordinate after rotating according to the horizontal and vertical coordinate detected touch point of user touch point then; The horizontal and vertical coordinate of dependence user touch point and the side-play amount of the horizontal and vertical coordinate after the rotation are made the adjustment of corresponding program; The threshold value of user touch point pivot offset amount data has been set in monitoring function, and this threshold value is the rotational angle that music file is handled Petting Area.
Step 950, judge whether side-play amount exceeds threshold value, if the side-play amount of rotating does not exceed threshold value, then execution in step 960; If the side-play amount of rotating exceeds threshold value, then execution in step 970.
Particularly; If the pivot offset measuring angle that user touch point produces is no more than 60 when spending; Be that side-play amount does not turn to music file when handling the scope of Petting Area sixth, judge that then the touch event that produces this side-play amount is the volume control information, execution in step 960; When if the side-play amount angle that user touch point produces is spent above 60, i.e. when side-play amount rotation is handled the scope of Petting Area sixth above music file, judge that then the touch event of this side-play amount of generation is the music file handover information, execution in step 970.
Step 960, adjustment volume.
According to the judgement of step 950, have the side-play amount of rotating between the horizontal and vertical coordinate of user touch point and the rotation direction, and the side-play amount angle of rotating is adjusted the operation of volume not above 60 degree scopes according to the side-play amount of rotating.
According to the horizontal and vertical coordinate detected touch point pivot offset amount and the direction of user touch point, and the angle of pivot offset amount is then adjusted the size that music file is handled the Petting Area volume when not surpassing 60 degree scopes.
Step 970, switching song.
According to the judgement of step 950, there is the side-play amount of rotating between the horizontal and vertical coordinate of user touch point and the sense of rotation, switch the operation of song or adjustment volume according to the side-play amount of rotating.
According to the rotation direction of the horizontal and vertical coordinate detected touch point of user touch point, judge that the touch point rotation direction is upwards to rotate or rotate, and the side-play amount angle of rotating is when surpassing 60 degree scopes, then adjust music file and handle Petting Area and switch song.
Be understandable that, in the present embodiment, also can operate like this that in step 950, judge whether side-play amount exceeds threshold value, if the side-play amount of rotating does not exceed threshold value, then execution in step 970; If the side-play amount of rotating exceeds threshold value, then execution in step 960.
Particularly; If the pivot offset measuring angle that user touch point produces is no more than 60 when spending; Be that side-play amount does not turn to music file when handling the scope of Petting Area sixth, judge that then the touch event that produces this side-play amount is the volume control information, execution in step 970; When if the side-play amount angle that user touch point produces is spent above 60, i.e. when side-play amount rotation is handled the scope of Petting Area sixth above music file, judge that then the touch event of this side-play amount of generation is the music file handover information, execution in step 960.
At this moment, step 960, adjustment volume.
According to the judgement of step 950, have the side-play amount of rotating between the horizontal and vertical coordinate of user touch point and the rotation direction, and the side-play amount angle of rotating is adjusted the operation of volume above 60 degree scopes according to the side-play amount of rotating.
According to the horizontal and vertical coordinate detected touch point pivot offset amount and the direction of user touch point, and the angle of pivot offset amount is then adjusted the size that music file is handled the Petting Area volume when surpassing 60 degree scopes.
Step 970, switching song.
According to the judgement of step 950, there is the side-play amount of rotating between the horizontal and vertical coordinate of user touch point and the sense of rotation, switch song according to the side-play amount of rotating.
Rotation direction according to the horizontal and vertical coordinate detected touch point of user touch point; Judge that the touch point rotation direction is upwards to rotate or rotate; And when the side-play amount angle of rotating does not surpass 60 degree scopes, then adjust music file processing Petting Area and switch song.
In the present embodiment, above dual mode does not limit.
After above-mentioned selection, just can see the concrete state of music player control at the screen locking interface.As shown in figure 13, in the screen locking interface, comprise loudspeaker touching, music file processing Petting Area, screen locking touching, time touching and urgent call touching.Wherein, music file is handled to have added in the Petting Area and is shown current play list, next bent song of playing, last bent song and broadcast/time-out touching of playing.
Handle in the Petting Area at music file, three summits of circular triangle control are corresponding respectively, volume reference mark, song reference mark and reservation reference mark (in Figure 13, all marking).In the music player, the range of control, (Figure 13, the music player controls a circular triangle) user touch point to the volume control is rotated, and the rotation offset amount data does not exceed the music file processing touch area sixths a range, can increase the volume of music files, on the contrary, the user touch points and rotate the volume control, can reduce the volume of music files; when users touch the track control points and swing it to the reserved the position of the control point, the rotation offset of the music data file processing touch area than one-sixth of the range, can be switched to the next track in the present embodiment, the currently playing music file as the letter bombs, Users tap and rotate to retain control point position, switch to the next music file is decoded, the user tap to turn on the triangle to the round forward, that track is circular control points are vertices of a triangle , you can switch to the previous track, in this embodiment of the invention, the currently playing music file as the letter bombs, users tap the track control point and pivot, switch to the previous music file as Goodnight Beijing.
Figure 14 is that the disclosed music file of the embodiment of the invention is handled the Petting Area surface chart;
As shown in figure 14; The user can point out this summit of user when point touches the fillet vertex of a triangle be volume reference mark, song reference mark or reservation reference mark; Do corresponding variation (adjustment volume or switching song) then clockwise or counterclockwise, can show that in the interface a transparent fillet triangle is along with the rotation of user's finger touch.After user point touches the song reference mark and upwards rotates; When making circular triangle be forward; When being the song reference mark for circular leg-of-mutton positive summit; Switch to a song; Also together rotate with the reservation reference mark at the volume reference mark; Keeping the reference mark rotates forward; The volume reference mark rotates; Make the rounded triangle state rotation of original music player control be positive circular triangle state; In embodiments of the present invention; The music file of current broadcast is a letter bomb, and user point touches the song reference mark and upwards rotates, and switches to a music file and be good night Beijing.
Need to prove that two embodiment of above-mentioned the present invention do not surpass under the side-play amount threshold value situation in offset data, realize volume control, surpass under the side-play amount threshold value situation in offset data, realize that music file switches; Accordingly, do not surpass under the side-play amount threshold value situation, can realize that music file switches yet, surpass under the side-play amount threshold value situation, can realize volume control yet in offset data in offset data.
Through using embodiment of the invention disclosed method; User's touch display screen produces side-play amount; Compare judgement according to offset data and preset side-play amount threshold value; Judge the information type of control music file according to the comparative result of said side-play amount and said side-play amount threshold value; Control music file according to the information type of said side-play amount and said control music file again, thereby can make things convenient for the user to operate music file exactly.
Figure 15 is the treating apparatus figure of the disclosed music file of the embodiment of the invention; As shown in figure 15, the device of said music file processing comprises: loading unit 1510, receiving element 1520, judging unit 1530 and processing unit 1540.
Loading unit 1510 is used to load self-defined layout options, in user's touch display screen, shows music file processing Petting Area; Can select in loading unit 1510 whether loading opens the screen locking interface control, Petting Area broadcast/time-out touching pattern handled by music file and music file is handled self-defined options such as Petting Area background patterns.
Figure 16 is the entity structure diagram that the disclosed music file of the embodiment of the invention is handled;
As shown in figure 16; Loading unit 1510 is connected with processor in mobile phone or the panel computer; In loading unit 1510; Exist music file to handle Petting Area the interface is set; The touching that is provided with at special screen locking interface, the interface is arranged in being set; Point touches corresponding screen locking layout setting touching; Corresponding selection occurs and whether open screen locking interface control dialog box; The control application window widget (Widget) that can point out the user whether will open the screen locking interface; If chosen the unlatching option; Just can open the control application window widget at screen locking interface,, then cannot open the control application window widget at screen locking interface if chosen the off option.
After opening the screen locking interface control; The corresponding dialog box of selecting music file to handle Petting Area broadcast/time-out touching pattern appears; Can in option, select music file to handle the style of the broadcast/time-out touching of Petting Area; The button pattern is divided into two kinds; A kind of is normally triangular shaped; Another kind is that stretching is triangular shaped, and the circle on corresponding selected button pattern next door is as the sign of choosing.
Behind the application window widget of opening the screen locking interface control; The corresponding dialog box of selecting music file to handle the Petting Area background patterns appears; Can in option, select music file to handle the style of Petting Area background patterns; In embodiments of the present invention; The background patterns of four music file processing Petting Areas is provided; 4 patterns have nothing in common with each other, and from 4 patterns, select a pattern to handle the background patterns of Petting Area as music file.
Need to prove that in the described loading User Defined of the preamble layout step, the user can be according to oneself hobby, change is also selected different-style.
As shown in figure 16, receiving element 1520 is connected with touch display screen 1610 in mobile phone or the panel computer, and receiving element 1520 is used to obtain the offset data that user's touch display screen produces; Comprise that in receiving element 1,520 first receives submodule 1521, be used to receive the user and touch the translation offset data that music file is handled the Petting Area generation; Comprise also that in receiving element second receives submodule 1522; Be used to receive the user and touch the pivot offset amount data that music file is handled the Petting Area generation; Receiving element 1520 passes to the processor 1620 in mobile phone or the panel computer with the offset data of obtaining through touch display screen 1610; Transferring 1530 pairs of offset data of judging unit by processor 1620 again judges; Judging unit 1530 transfers to processing unit 1540 with judged result; Processing unit 1540 is made corresponding adjustment, and will adjust in result transmission to the processor 1620.
As shown in figure 16; Judging unit 1530 is connected with processor 1620 in mobile phone or the panel computer; Judging unit 1530; Be used to judge whether offset data surpasses preset side-play amount threshold value, the side-play amount threshold value is that music file is handled the length of Petting Area or the rotational angle that music file is handled Petting Area; Comprise that in judging unit first judges submodule 1531, be used to judge whether the translation offset data surpasses the length range that music file is handled Petting Area; Comprise also that in judging unit second judges submodule 1532, be used to judge whether the pivot offset measuring angle surpasses the scope of 60 degree.
As shown in figure 16; Processing unit 1540 is connected with processor 1620 in judging unit 1530 and mobile phone or the panel computer, and processing unit 1540 is used for judging according to the comparative result of 1530 pairs of said side-play amounts of judging unit and said side-play amount threshold value the information type of control music file.In the present embodiment; The information type of said control music file comprises volume control information and music file handover information; If said processing unit 1540 specifically is used for said offset data and does not surpass said side-play amount threshold value, the information type of then judging said control music file is the volume control information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the music file handover information; If perhaps said offset data does not surpass said side-play amount threshold value, the information type of then judging said control music file is the music file handover information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the volume control information.
Said processing unit 1540 is further used for the information type control music file according to said side-play amount and said control music file.Concrete, processing unit 1540 specifically is used for when the information type of judging said control music file is the volume control information, according to the volume of said offset data adjustment music file; Said processing unit 1540 specifically is used for when the information type of judging said control music file is the music file handover information, switching the song of music file according to said offset data.
Through using the disclosed device of the embodiment of the invention; User's touch display screen produces side-play amount; Compare judgement according to offset data and preset side-play amount threshold value; Judge the information type of control music file according to the comparative result of said side-play amount and said side-play amount threshold value; Control music file according to the information type of said side-play amount and said control music file again, thereby can make things convenient for the user to operate music file exactly.
The professional should further recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain; Institute is understood that; The above only is the specific embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (19)

1. the disposal route of a music file is characterized in that, the treating method comprises:
Obtain the user and touch the offset data that produces when music file is handled Petting Area;
Judge whether said offset data surpasses preset side-play amount threshold value;
Judge the information type of control music file according to the comparative result of said side-play amount and said side-play amount threshold value;
Information type control music file according to said side-play amount and said control music file.
2. the disposal route of music file as claimed in claim 1; It is characterized in that; The said user of obtaining also comprises before touching the offset data that produces when music file is handled Petting Area: load self-defined layout options, handle the self-defined layout options of the said loading of demonstration in the Petting Area at said music file.
3. the disposal route of music file as claimed in claim 2 is characterized in that, the self-defined layout options of said loading comprises the pattern of background patterns and broadcast/pause button.
4. the disposal route of music file as claimed in claim 1 is characterized in that, the offset data that the said user's of obtaining touch display screen produces is specially, and obtains the user and touches the translation offset data that said music file is handled the Petting Area generation.
5. the disposal route of music file as claimed in claim 4; It is characterized in that; Said side-play amount threshold value is the length that said music file is handled Petting Area; Saidly judge that whether said offset data surpasses preset side-play amount threshold value and be specially, judge whether said translation offset data surpasses the length range that said music file is handled Petting Area.
6. the disposal route of music file as claimed in claim 1 is characterized in that, the offset data that the said user's of obtaining touch display screen produces is specially, and obtains the user and touches the pivot offset amount data that said music file is handled the Petting Area generation.
7. the disposal route of music file as claimed in claim 6; It is characterized in that; Said side-play amount threshold value is the rotational angle that said music file is handled Petting Area; Saidly judge that whether said offset data surpasses preset side-play amount threshold value and be specially, judge whether said pivot offset amount data surpass the rotational angle that said music file is handled Petting Area.
8. the disposal route of music file as claimed in claim 1; It is characterized in that; The information type of said control music file comprises volume control information and music file handover information, and said comparative result according to said side-play amount and said side-play amount threshold value judges that the step of the information type of control music file comprises:
If said offset data does not surpass said side-play amount threshold value, the information type of then judging said control music file is the volume control information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the music file handover information; If perhaps said offset data does not surpass said side-play amount threshold value, the information type of then judging said control music file is the music file handover information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the volume control information.
9. the disposal route of music file as claimed in claim 1 is characterized in that, the step of controlling music file according to the information type of said side-play amount and said control music file comprises:
When the information type of judging said control music file is the volume control information, according to the volume of said offset data adjustment music file.
10. the disposal route of music file as claimed in claim 1 is characterized in that, the step of controlling music file according to the information type of said side-play amount and said control music file further comprises:
When the information type of judging said control music file is the music file handover information, switch the song of music file according to said offset data.
11. the treating apparatus of a music file is characterized in that, the device that said music file is handled
Comprise:
Receiving element is used to obtain the offset data that user's touch display screen produces;
Judging unit is used to judge whether said offset data surpasses preset side-play amount threshold value;
Processing unit is used for judging the information type of controlling music file according to the comparative result of said side-play amount and said side-play amount threshold value, and controls music file according to the information type of said side-play amount and said control music file.
12. the treating apparatus of music file as claimed in claim 11 is characterized in that, said treating apparatus also comprises: loading unit, be used to load self-defined layout options, and in said display screen, show music file processing Petting Area.
13. the treating apparatus of music file as claimed in claim 11 is characterized in that, comprises in the said receiving element that first receives submodule, is used to obtain the user and touches the translation offset data that said music file is handled the Petting Area generation.
14. the treating apparatus of music file as claimed in claim 13; It is characterized in that; Said side-play amount threshold value is the length that said music file is handled Petting Area; Comprise in the said judging unit that first judges submodule, be used to judge whether said translation offset data surpasses the length range that said music file is handled Petting Area.
15. the treating apparatus of music file as claimed in claim 11 is characterized in that, comprises in the said receiving element that second receives submodule, is used to obtain the user and touches the pivot offset amount data that said music file is handled the Petting Area generation.
16. the treating apparatus of music file as claimed in claim 15; It is characterized in that; Said side-play amount threshold value is the rotational angle that said music file is handled Petting Area; Comprise in the said judging unit that second judges submodule, be used to judge whether said pivot offset amount data surpass the rotational angle that said music file is handled Petting Area.
17. the treating apparatus of music file as claimed in claim 11; It is characterized in that; The information type of said control music file comprises volume control information and music file handover information; If said processing unit specifically is used for said offset data and does not surpass said side-play amount threshold value, the information type of then judging said control music file is the volume control information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the music file handover information; If perhaps said offset data does not surpass said side-play amount threshold value, the information type of then judging said control music file is the music file handover information; If said offset data surpasses said side-play amount threshold value, the information type of then judging said control music file is the volume control information.
18. the treating apparatus of music file as claimed in claim 11; It is characterized in that; Said processing unit is further used for when the information type of judging said control music file is the volume control information, according to the volume of said offset data adjustment music file.
19. the treating apparatus of music file as claimed in claim 11; It is characterized in that; Said processing unit is further used for when the information type of judging said control music file is the music file handover information, switching the song of music file according to said offset data.
CN2011103585352A 2011-11-14 2011-11-14 Music file processing method and device Pending CN102346651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103585352A CN102346651A (en) 2011-11-14 2011-11-14 Music file processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103585352A CN102346651A (en) 2011-11-14 2011-11-14 Music file processing method and device

Publications (1)

Publication Number Publication Date
CN102346651A true CN102346651A (en) 2012-02-08

Family

ID=45545362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103585352A Pending CN102346651A (en) 2011-11-14 2011-11-14 Music file processing method and device

Country Status (1)

Country Link
CN (1) CN102346651A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707888A (en) * 2012-05-15 2012-10-03 中兴通讯股份有限公司 Terminal control method and terminal
CN102779012A (en) * 2012-07-11 2012-11-14 广州市久邦数码科技有限公司 Screen locking system for touch screen device and realizing method thereof
CN102855056A (en) * 2012-07-09 2013-01-02 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method
CN103002148A (en) * 2012-11-28 2013-03-27 广东欧珀移动通信有限公司 Music switching method based on mobile terminal in screen extinguishment mode and mobile terminal
CN103076979A (en) * 2013-01-17 2013-05-01 广东欧珀移动通信有限公司 Method and system for regulating sound volume in video playing interface as well as mobile terminal
CN103218163A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for adjusting volume and mobile equipment
CN103257814A (en) * 2012-02-17 2013-08-21 宏碁股份有限公司 Electronic device and screen locking method
CN103279281A (en) * 2013-05-29 2013-09-04 苏州市米想网络信息技术有限公司 Computer screen lock software
CN103631613A (en) * 2012-08-24 2014-03-12 上海斐讯数据通信技术有限公司 Terminal unlocking and program running triggering method
CN103970435A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 Method and device for controlling application program of mobile terminal
CN103106037B (en) * 2013-02-06 2015-10-07 广东欧珀移动通信有限公司 A kind of mobile terminal switches the method and system of playout software song
CN106933484A (en) * 2017-02-28 2017-07-07 维沃移动通信有限公司 Touch area self-adapting regulation method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005018222A1 (en) * 2003-08-14 2005-02-24 Matsushita Electric Industrial Co., Ltd. User interface system, program, and recording medium
EP2172837A2 (en) * 2008-10-02 2010-04-07 Samsung Electronics Co., Ltd. Touch input device and method for portable device
CN102016779A (en) * 2008-04-23 2011-04-13 夏普株式会社 Portable information terminal, computer readable program and recording medium
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005018222A1 (en) * 2003-08-14 2005-02-24 Matsushita Electric Industrial Co., Ltd. User interface system, program, and recording medium
CN102016779A (en) * 2008-04-23 2011-04-13 夏普株式会社 Portable information terminal, computer readable program and recording medium
EP2172837A2 (en) * 2008-10-02 2010-04-07 Samsung Electronics Co., Ltd. Touch input device and method for portable device
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257814A (en) * 2012-02-17 2013-08-21 宏碁股份有限公司 Electronic device and screen locking method
CN102707888B (en) * 2012-05-15 2014-07-02 中兴通讯股份有限公司 Terminal control method and terminal
CN102707888A (en) * 2012-05-15 2012-10-03 中兴通讯股份有限公司 Terminal control method and terminal
CN102855056B (en) * 2012-07-09 2015-09-30 宇龙计算机通信科技(深圳)有限公司 terminal and terminal control method
CN102855056A (en) * 2012-07-09 2013-01-02 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method
CN102779012A (en) * 2012-07-11 2012-11-14 广州市久邦数码科技有限公司 Screen locking system for touch screen device and realizing method thereof
CN103631613A (en) * 2012-08-24 2014-03-12 上海斐讯数据通信技术有限公司 Terminal unlocking and program running triggering method
CN103002148A (en) * 2012-11-28 2013-03-27 广东欧珀移动通信有限公司 Music switching method based on mobile terminal in screen extinguishment mode and mobile terminal
CN103076979A (en) * 2013-01-17 2013-05-01 广东欧珀移动通信有限公司 Method and system for regulating sound volume in video playing interface as well as mobile terminal
CN103970435A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 Method and device for controlling application program of mobile terminal
CN103106037B (en) * 2013-02-06 2015-10-07 广东欧珀移动通信有限公司 A kind of mobile terminal switches the method and system of playout software song
CN103218163A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for adjusting volume and mobile equipment
CN103218163B (en) * 2013-03-28 2015-12-23 广东欧珀移动通信有限公司 A kind of method, device and mobile device regulating volume
CN103279281A (en) * 2013-05-29 2013-09-04 苏州市米想网络信息技术有限公司 Computer screen lock software
CN106933484A (en) * 2017-02-28 2017-07-07 维沃移动通信有限公司 Touch area self-adapting regulation method and mobile terminal

Similar Documents

Publication Publication Date Title
CN102346651A (en) Music file processing method and device
JP6955557B2 (en) Game screen display control methods, devices, storage media and electronic devices
US8286106B2 (en) System and method for interacting with status information on a touch screen device
CN103838472B (en) The multistage feature navigator menu and its method of work of fan-shaped and concentric circles composition
CN105373291B (en) A kind of interface switching method and device
CN109960558B (en) Virtual object control method and device, computer storage medium and electronic equipment
JP5379315B2 (en) Component display processing method and user device
CN103795869B (en) A kind of information processing method and electronic equipment
JP2015537314A (en) Method and system for realizing a suspension type global button in a touch screen terminal interface
CN104007917B (en) The control method and electronic equipment of a kind of dummy keyboard
CN108521819B (en) Information display method and device and terminal equipment
CN103577045A (en) Method for self-defining status bar of mobile phone
WO2013061156A2 (en) Systems and method for implementing multiple personas on mobile technology platforms
KR20130093043A (en) Method and mobile device for user interface for touch and swipe navigation
CN104680051A (en) Control method for 3D magic cube type mobile phone desktop
WO2012068932A1 (en) Method and device for controlling application icons on touch screen
CN103543951B (en) A kind of electronic equipment and its unlocking method with touch screen
US20130298079A1 (en) Apparatus and method for unlocking an electronic device
WO2022068865A1 (en) Widget control method and apparatus, electronic device, and readable storage medium
KR20140136356A (en) user terminal device and interaction method thereof
CN108132747A (en) A kind of screen content switching method and dual-screen mobile terminal
CN104049898A (en) Touch screen operation method and device and touch terminal
CN106406741A (en) Operation processing method of mobile terminal and mobile terminal
CN103257805A (en) Method and device for providing shortcut panel
CN104583903A (en) Method, system and terminal for preventing faulty touch operation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20120208

RJ01 Rejection of invention patent application after publication