CN105389118A - Audio file switching method and user terminal - Google Patents

Audio file switching method and user terminal Download PDF

Info

Publication number
CN105389118A
CN105389118A CN201510925324.0A CN201510925324A CN105389118A CN 105389118 A CN105389118 A CN 105389118A CN 201510925324 A CN201510925324 A CN 201510925324A CN 105389118 A CN105389118 A CN 105389118A
Authority
CN
China
Prior art keywords
audio file
identification point
touch
user terminal
target
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.)
Granted
Application number
CN201510925324.0A
Other languages
Chinese (zh)
Other versions
CN105389118B (en
Inventor
任超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510925324.0A priority Critical patent/CN105389118B/en
Publication of CN105389118A publication Critical patent/CN105389118A/en
Application granted granted Critical
Publication of CN105389118B publication Critical patent/CN105389118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Abstract

The present invention discloses an audio file switching method. The method comprises: acquiring a touch parameter of a touch operation performed on a user terminal touch screen by a user; according to the touch parameter, determining a target wireless speaker; if the touch parameter meets an audio file switching condition, determining a target audio file according to the touch parameter; and sending an audio file playing instruction to the target wireless speaker, wherein the audio file playing instruction is used for indicating to play the target audio file. Embodiments of the present invention also provide a user terminal. By adopting the audio file switching method and the user terminal which are provided by the embodiments of the present invention, efficiency and convenience of switching audio files can be improved.

Description

A kind of changing method of audio file and user terminal
Technical field
The present invention relates to wireless sound box technical field, particularly relate to a kind of changing method and user terminal of audio file.
Background technology
Wireless sound box has independently treating apparatus and interconnection device, and can be connected with user terminal (such as mobile phone) by wireless network, after connection completes, wireless sound box can communicate with user terminal.At present, by the audio frequency that the changeable wireless sound box of APP that user terminal is installed is play, common way is at the button just clicking song/next song in switching on broadcast interface, this method of operating needs user to be switched to corresponding broadcast interface, and then switched by the mode of the button clicking upper song/next song on this broadcast interface, obvious this mode operating efficiency is lower.
Summary of the invention
The embodiment of the present invention provides a kind of changing method and user terminal of audio file, to promoting switching efficiency and the convenience of audio file.
Embodiment of the present invention first aspect provides a kind of changing method of audio file, comprising:
Obtain the touch parameter that user to user terminal touch screen carries out touch operation;
Described Target Wireless audio amplifier is determined according to described touch parameter;
If described touch parameter meets audio file switching condition, according to described touch parameter determination target audio file;
Send audio file play instruction to described Target Wireless audio amplifier, described audio file play instruction is used to indicate plays described target audio file.
In conjunction with embodiment of the present invention first aspect, in the first possible implementation of first aspect, described method also comprises:
If described touch parameter is discontented with footsteps frequency file switching condition, then according to the target adjustment duration of described touch parameter determination audio file and the adjustment direction of described target adjustment duration; Send audio file steering order to described Target Wireless audio amplifier, described audio file steering order is used to indicate the playing progress rate adjusting the audio file of the current broadcasting of described Target Wireless audio amplifier according to the adjustment direction of described target adjustment duration and described target adjustment duration.
In conjunction with the first possible implementation of embodiment of the present invention first aspect or first aspect, in the implementation that the second of first aspect is possible, described acquisition user to user terminal touch screen carries out the touch parameter of touch operation, comprising:
Very first time acquisition user, described touch-screen is carried out to the first identification point and second identification point of touch operation; The second time acquisition user, described touch-screen is carried out to the 3rd identification point and the 4th identification point of touch operation; Determine the first glide direction according to described first identification point and described 3rd identification point, and determine the second glide direction according to described second identification point and described 4th identification point; Determine the second distance between the second identification point and described 4th identification point described in the first Distance geometry between described first identification point and described 3rd identification point; According to the difference of the described very first time and described second time, and second distance described in described first Distance geometry, determine First Speed and second speed; Using described first distance, described second distance, described First Speed, described second speed, described first glide direction and described second glide direction as described touch parameter.
In conjunction with the implementation that the second of embodiment of the present invention first aspect is possible, in the third possible implementation of first aspect, describedly determine described Target Wireless audio amplifier according to described touch parameter, comprising:
According to the mapping relations of touch screen zone and wireless sound box, determine described first identification point and wireless sound box corresponding to the touch screen zone residing for the second identification point, and using described wireless sound box as Target Wireless audio amplifier.
In conjunction with the second or the third possible implementation of embodiment of the present invention first aspect, in the 4th kind of possible implementation of first aspect, described audio file switching condition comprises following at least one: described first glide direction and described second glide direction are mated with default glide direction; Described First Speed and described second speed are less than or equal to pre-set velocity; Described in described first Distance geometry, second distance is more than or equal to predeterminable range.
Embodiment of the present invention second aspect provides a kind of user terminal, comprising:
Acquiring unit, carries out the touch parameter of touch operation for obtaining user to user terminal touch screen;
Determining unit, the described touch parameter for getting according to described acquiring unit determines described Target Wireless audio amplifier;
Described determining unit, if also meet audio file switching condition for described touch parameter, according to the described touch parameter determination target audio file that described acquiring unit gets;
Transmitting element, sends audio file play instruction for the described Target Wireless audio amplifier determined to described determining unit, and described audio file play instruction is used to indicate the described target audio file play described determining unit and determine.
In conjunction with embodiment of the present invention second aspect, in the first possible implementation of second aspect, described determining unit, if be also discontented with footsteps frequency file switching condition for described touch parameter, then according to the target adjustment duration of described touch parameter determination audio file and the adjustment direction of described target adjustment duration; Described transmitting element, also for sending audio file steering order to described Target Wireless audio amplifier, the adjustment direction that described audio file steering order is used to indicate described target adjustment duration and the described target adjustment duration determined according to described determining unit adjusts the playing progress rate of the audio file of the current broadcasting of described Target Wireless audio amplifier.
In conjunction with the first possible implementation of embodiment of the present invention second aspect or second aspect, in the implementation that the second of second aspect is possible, described acquiring unit specifically for:
Very first time acquisition user, described touch-screen is carried out to the first identification point and second identification point of touch operation; The second time acquisition user, described touch-screen is carried out to the 3rd identification point and the 4th identification point of touch operation; Determine the first glide direction according to described first identification point and described 3rd identification point, and determine the second glide direction according to described second identification point and described 4th identification point; Determine the second distance between the second identification point and described 4th identification point described in the first Distance geometry between described first identification point and described 3rd identification point; According to the difference of the described very first time and described second time, and second distance described in described first Distance geometry, determine First Speed and second speed; Using described first distance, described second distance, described First Speed, described second speed, described first glide direction and described second glide direction as described touch parameter.
In conjunction with the implementation that the second of embodiment of the present invention second aspect is possible, in the third possible implementation of second aspect, described determining unit specifically for:
According to the mapping relations of touch screen zone and wireless sound box, determine described first identification point and wireless sound box corresponding to the touch screen zone residing for the second identification point, and using described wireless sound box as Target Wireless audio amplifier.
In conjunction with the second or the third possible implementation of embodiment of the present invention second aspect, in the 4th kind of possible implementation of second aspect, described audio file switching condition comprises following at least one: described first glide direction and described second glide direction are mated with default glide direction; Described First Speed and described second speed are less than or equal to pre-set velocity; Described in described first Distance geometry, second distance is more than or equal to predeterminable range.
Can find out, in the embodiment of the present invention, when user terminal detects that user to user terminal touch screen carries out touch operation, user terminal obtains the touch parameter that user to user terminal touch screen carries out touch operation; And determine described Target Wireless audio amplifier according to described touch parameter, when described touch parameter meets audio file switching condition, user terminal is according to described touch parameter determination target audio file, and sending audio file play instruction to described Target Wireless audio amplifier, described audio file play instruction is used to indicate plays described target audio file.Visible, user only need carry out touch operation to user terminal touch-screen, i.e. the audio file of changeable wireless sound box, is conducive to switching efficiency and the convenience of the audio file promoting wireless sound box.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of network architecture that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the structure composed figure of the disclosed user terminal for realizing the method for adding wireless sound box of the embodiment of the present invention;
Fig. 3 is the disclosed schematic flow sheet adding the method for wireless sound box of the inventive method embodiment;
Fig. 3 .1 is the disclosed part run schematic diagram adding the method for wireless sound box of the inventive method embodiment;
Fig. 3 .2 is the disclosed part run schematic diagram adding the method for wireless sound box of the inventive method embodiment;
Fig. 4 is the unit composition structural representation of user terminal disclosed in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of changing method and user terminal of audio file, to promoting switching efficiency and the convenience of audio file.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below be described in detail respectively.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in instructions of the present invention and claims and described accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
Mention that " embodiment " means in this article, the special characteristic in conjunction with the embodiments described, structure or characteristic can comprise at least one embodiment of the present invention.Each position in the description occurs that this phrase might not all refer to identical embodiment, neither with other embodiment mutual exclusion independently or alternative embodiment.Those skilled in the art's explicitly and implicitly understanding, embodiment described herein can combine with other embodiment.
In order to better understand changing method and the user terminal of a kind of audio file disclosed in the embodiment of the present invention, first the network architecture that the embodiment of the present invention is suitable for is described below.Refer to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.In the network architecture shown in Fig. 1, Target Wireless audio amplifier and user terminal can be comprised.In the network architecture shown in Fig. 1, user terminal can comprise cell phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA), mobile internet device (MobileInternetDevice, MID), all types of user terminal such as Intelligent worn device (as intelligent watch, Intelligent bracelet), the embodiment of the present invention is not construed as limiting.Target Wireless audio amplifier can comprise blue teeth wireless audio amplifier, WIFI wireless sound box, 2.4G wireless sound box, FM wireless sound box etc., and the embodiment of the present invention is not construed as limiting.
In order to better understand changing method and the user terminal of a kind of audio file disclosed in the embodiment of the present invention, first the user terminal that the embodiment of the present invention is suitable for is described below.Refer to Fig. 1, Fig. 1 is a kind of structure composed figure realizing the user terminal of the changing method of audio file of the present invention that the embodiment of the present invention provides.Specifically at least one processor P rocessor201 can be comprised in the structure composed figure of this user terminal, at least one storer MemoryUnit202, at least one communication bus BUS203, reception/transtation mission circuit 204, antenna 205, at least one touch screen TouchScreen206, at least one display screen DisplayScreen207, microphone Microphone208, loudspeaker Speaker209, client identification module SIMCard210, physical button Keys211, random access memory ram memory202a, nonvolatile memory FlashROMmemory202b, external memory storage ExternalStorage212, bluetooth controller BluetoothController213, digital signal processing circuit 214, wherein, above-mentioned processor 201 communicating by receptions/transtation mission circuit 204 and antenna 205 control and External cell net, at least one storer described can be such as random access memory (RAM), nonvolatile memory, SIM card 210, and external memory storage 212, instruction set is stored in this at least one storer, this instruction set is integrated in operating system or by the executable application program of processor 201, this instruction set bootstrap processor 201 can perform the changing method with the concrete audio file disclosed in the inventive method embodiment.
Processor 201 in above-mentioned user terminal 200 can be coupled at least one storer described, instruction set is prestored in described storer 202, described instruction set specifically comprises touch parameter acquisition module and determination module, described storer 202 also stores kernel module further, and described kernel module comprises operating system (as WINDOWS tM, ANDROID tM, IOS tMdeng).Described processor 201 calls described instruction set to perform the wireless sound box sound channel control method disclosed in the embodiment of the present invention, specifically comprises the following steps:
Touch parameter acquisition module in processor 201 run memory 202 of described user terminal 200 obtains the touch parameter that user to user terminal touch screen carries out touch operation;
Determination module in processor 201 run memory 202 of described user terminal 200 determines described Target Wireless audio amplifier according to described touch parameter;
If the processor 201 of described user terminal 200 determines that described touch parameter meets audio file switching condition, the determination module in processor 201 run memory 202 of described user terminal 200 is according to described touch parameter determination target audio file;
Reception/the transtation mission circuit 204 of described user terminal 200 sends audio file play instruction to described Target Wireless audio amplifier, and described audio file play instruction is used to indicate plays described target audio file.
Optionally, if the processor 201 of described user terminal 200 determines that described touch parameter is discontented with footsteps frequency file switching condition, the target adjustment duration of the determination module in processor 201 run memory 202 of described user terminal 200 according to described touch parameter determination audio file and the adjustment direction of described target adjustment duration;
Reception/the transtation mission circuit 204 of described user terminal 200 sends audio file steering order to described Target Wireless audio amplifier, and described audio file steering order is used to indicate the playing progress rate adjusting the audio file of the current broadcasting of described Target Wireless audio amplifier according to the adjustment direction of described target adjustment duration and described target adjustment duration.
Optionally, the touch parameter acquisition module in processor 201 run memory 202 of described user terminal 200 obtains the concrete mode that user to user terminal touch screen carries out the touch parameter of touch operation: processor 201 obtains in the very first time user to carry out touch operation the first identification point and the second identification point to described touch-screen; The second time acquisition user, described touch-screen is carried out to the 3rd identification point and the 4th identification point of touch operation; Determine the first glide direction according to described first identification point and described 3rd identification point, and determine the second glide direction according to described second identification point and described 4th identification point; Determine the second distance between the second identification point and described 4th identification point described in the first Distance geometry between described first identification point and described 3rd identification point; According to the difference of the described very first time and described second time, and second distance described in described first Distance geometry, determine that First Speed, described second speed, described first glide direction and described second glide direction are as described touch parameter.
Optionally, according to described touch parameter, determination module in processor 201 run memory 202 of described user terminal 200 determines that the concrete mode of described Target Wireless audio amplifier is: according to the mapping relations of touch screen zone and wireless sound box, determine described first identification point and wireless sound box corresponding to the touch screen zone residing for the second identification point, and using described wireless sound box as Target Wireless audio amplifier.
Optionally, described audio file switching condition comprises following at least one: described first glide direction and described second glide direction are mated with default glide direction; Described First Speed and described second speed are less than or equal to pre-set velocity; Described in described first Distance geometry, second distance is more than or equal to predeterminable range.
Can find out, in the embodiment of the present invention, when user terminal detects that user to user terminal touch screen carries out touch operation, user terminal obtains the touch parameter that user to user terminal touch screen carries out touch operation; And determine described Target Wireless audio amplifier according to described touch parameter, when described touch parameter meets audio file switching condition, user terminal is according to described touch parameter determination target audio file, and sending audio file play instruction to described Target Wireless audio amplifier, described audio file play instruction is used to indicate plays described target audio file.Visible, user only need carry out touch operation to user terminal touch-screen, i.e. the audio file of changeable wireless sound box, is conducive to switching efficiency and the convenience of the audio file promoting wireless sound box.
Consistent with the technical scheme of foregoing description, as a specific embodiment, Fig. 3 is the schematic flow sheet of the changing method of the audio file of the concrete implementation comprising user terminal.Although the changing method of audio file described herein performs based on the user terminal shown in Fig. 2, it should be noted that the carrying out practically environment of the changing method of audio file disclosed in the embodiment of the present invention is not limited only to above-mentioned user terminal.
As shown in Figure 3, disclosed in the inventive method embodiment, the changing method of audio file specifically comprises the following steps:
S301, user terminal obtain the touch parameter that user to user terminal touch screen carries out touch operation.
In the embodiment of the present invention, the touch screen 206 of user terminal 200 can detect the touch-control slide of user in real time, and this touch-control slide specifically comprises touch-control clicking operation, touch-control slide and multi-point touch operation.
For example, refer to Fig. 3 .1, the specific implementation that user terminal obtains the touch parameter of described touch-control slide is:
S301-a1, described user terminal carry out the first identification point and second identification point of touch operation to described touch-screen very first time acquisition user.
S301-a2, described user terminal carry out the 3rd identification point and the 4th identification point of touch operation to described touch-screen the second time acquisition user.
S301-a3, described user terminal determine the first glide direction according to described first identification point and described 3rd identification point, and determine the second glide direction according to described second identification point and described 4th identification point.
S301-a4, described user terminal determine the second distance described in the first Distance geometry between described first identification point and described 3rd identification point between the second identification point and described 4th identification point.
S301-a5, described user terminal are according to the difference of the described very first time and described second time, and second distance described in described first Distance geometry, determine First Speed and second speed.
S301-a6, described user terminal using described first distance, described second distance, described First Speed, described second speed, described first glide direction and described second glide direction as described touch parameter.
For example, user two finger slides according to preset direction respectively on user terminal touch-screen, and for user terminal, what user terminal got at any time is two points.Therefore, user terminal obtains in the very first time the first identification point and the second identification point that user to user terminal touch screen carries out touch operation; The 3rd identification point and the 4th identification point that user to user terminal touch screen carries out touch operation is obtained in the second time; Determine the first glide direction according to described first identification point and described 3rd identification point again, and determine the second glide direction according to described second identification point and described 4th identification point; Determine the second distance between the first Distance geometry second identification point between the first identification point and the 3rd identification point and the 4th identification point again; User terminal is according to the difference of the very first time and the second time, and second distance described in the first Distance geometry, determines First Speed and second speed user terminal; Finally using the first distance, second distance, First Speed, second speed, the first glide direction and the second glide direction as touch parameter.Wherein, the first identification point and the second identification point can be two and point the touch point just started when touching user terminal touch-screen, also can be two fingers certain two points on user terminal touch-screen in sliding process; 3rd identification point and the 4th identification point can be two and point the last touch point slided on user terminal touch-screen, also can be two fingers certain two points on user terminal touch-screen in sliding process; Etc..Wherein, above-mentioned preset direction can be such as level left, level to the right, vertically upward or vertically downward etc., the present invention is not construed as limiting.
S302, described user terminal determine described Target Wireless audio amplifier according to described touch parameter.
For example, refer to Fig. 3 .2, according to described touch parameter, user terminal determines that the specific implementation of described Target Wireless audio amplifier is:
S302-a1, described user terminal, according to the mapping relations of touch screen zone and wireless sound box, determine described first identification point and wireless sound box corresponding to the touch screen zone residing for the second identification point.
S302-a2, described user terminal using described wireless sound box as Target Wireless audio amplifier.
For example, the touch-screen of user terminal can be divided into multiple region by user terminal, the wireless sound box that each region is corresponding different, such as, the wireless sound box that region A is corresponding is a, the wireless sound box that region B is corresponding is b, etc., wherein, each region coordinate range is distinguished, such as, the coordinate range of region A is (0, 0)-(5, 5), the coordinate range of region A is (5, 5)-(10, 5) etc., if the first identification point is (1, 1), second identification point is (3, 4), visible first identification point and the touch screen zone residing for the second identification point are region A, the wireless sound box that then region A is corresponding is wireless sound box a, the Target Wireless audio amplifier that then user terminal is determined is a.
If the described touch parameter of S303 meets audio file switching condition, described user terminal is according to described touch parameter determination target audio file.
Optionally, described audio file switching condition comprises following at least one: described first glide direction and described second glide direction are mated with default glide direction; Described First Speed and described second speed are less than or equal to pre-set velocity; Described in described first Distance geometry, second distance is more than or equal to predeterminable range.Wherein, predeterminable range can be such as 1cm, 1.5cm, 2cm, 3cm or other values, pre-set velocity can be such as 1cm/s, 1.5cm/s, 2cm/s, 3cm/s or other values, default glide direction can be such as level left, level to the right, vertically upward or vertically downward etc., the present invention is not construed as limiting.
For example, if the first glide direction and the second glide direction are level to the right, default glide direction be level to the right, user terminal according to the embodiment of described touch parameter determination target audio file can be: user terminal is according to the mapping relations of sliding speed and audio file, determine the audio file that the average velocity of the first sliding speed and the second sliding speed is corresponding, such as, first sliding speed is 1.5cm/s, second sliding speed is 1.45cm/s, average velocity is 1.475cm/s, if upper one is first when speed is greater than audio file corresponding to 1cm/s, when speed is less than audio file corresponding to 1cm/s next, therefore, user terminal using a upper first audio file of the audio file of current for Target Wireless audio amplifier broadcasting as above-mentioned target audio file.
Optionally, if described touch parameter is discontented with footsteps frequency file switching condition, described user terminal is according to the adjustment direction of described touch parameter determination target adjustment duration and described target adjustment duration; Described user terminal sends audio file steering order to described Target Wireless audio amplifier, and described audio file steering order is used to indicate the playing progress rate adjusting the audio file of the current broadcasting of described Target Wireless audio amplifier according to the adjustment direction of described target adjustment duration and described target adjustment duration.
Optionally, user terminal according to the embodiment of the adjustment direction of described touch parameter determination target adjustment duration and described target adjustment duration can be: user terminal determines the mean distance of second distance described in described first Distance geometry and the average velocity of described First Speed and described second speed; User terminal is according to the target adjustment duration of described mean distance and described average velocity determination audio file.
For example, if the first glide direction and the second glide direction are level left, default glide direction be level to the right, audio file switching condition is that described first glide direction and described second glide direction are mated with default glide direction, and visible touch parameter is discontented with footsteps frequency file switching condition.If above-mentioned average velocity is 5cm/s, above-mentioned mean distance is 5cm, user terminal according to the embodiment of the target adjustment duration of described mean distance and described average velocity determination audio file is: when average velocity is greater than pre-set velocity (such as 4cm/s), user terminal is according to the target adjustment duration of the mapping relations determination audio file of Distance geometry adjustment duration, the mapping of Distance geometry adjustment duration is closed as 1cm/5s, then the target adjustment duration determined is 25s.
Again for example, above-mentioned average velocity is 5cm/s, above-mentioned mean distance is 5cm, and user terminal according to the embodiment of the target adjustment duration of described mean distance and described average velocity determination audio file is: user terminal is according to the target adjustment duration of the Distance geometry adjustment mapping relations of duration and the mapping relations determination audio file of speed and adjustment duration.Such as, the mapping relations of Distance geometry adjustment duration are 1cm/5s, and the mapping relations of speed and adjustment duration are 5cm/s/5s, then target adjustment duration is 25s*5=125s.
Optionally, user is according to average velocity and mean distance, and determine that the embodiment of the adjustment direction of target adjustment duration is: if average velocity is more than or equal to pre-set velocity, then user terminal is using the adjustment adjustment direction of F.F. as target adjustment duration; If average velocity is less than pre-set velocity, then user terminal is using the adjustment adjustment direction of rewind as target adjustment duration.Such as, when pre-set velocity is 4cm/s, then the adjustment direction of target mark adjustment duration is F.F..
Optionally, user terminal sends audio file steering order to Target Wireless audio amplifier can be that user terminal sends directly to Target Wireless audio amplifier; Or user terminal is sent to Target Wireless audio amplifier by the MPP audio amplifier in wireless music system; Or user terminal is sent to Target Wireless audio amplifier by another user terminal; Etc., the present invention does not limit.
S304, described user terminal send audio file play instruction to described Target Wireless audio amplifier, and described audio file play instruction is used to indicate plays described target audio file.
Optionally, user terminal sends audio file play instruction to Target Wireless audio amplifier can be that user terminal sends directly to Target Wireless audio amplifier; Or user terminal is sent to Target Wireless audio amplifier by network entry point (MeshPortalPoint, the MPP) audio amplifier in wireless music system; Or user terminal is sent to Target Wireless audio amplifier by another user terminal; Etc., the present invention does not limit.
Can find out, in the embodiment of the present invention, when user terminal detects that user to user terminal touch screen carries out touch operation, user terminal obtains the touch parameter that user to user terminal touch screen carries out touch operation; And determine described Target Wireless audio amplifier according to described touch parameter, when described touch parameter meets audio file switching condition, user terminal is according to described touch parameter determination target audio file, and sending audio file play instruction to described Target Wireless audio amplifier, described audio file play instruction is used to indicate plays described target audio file.Visible, user only need carry out touch operation to user terminal touch-screen, i.e. the audio file of changeable wireless sound box, is conducive to switching efficiency and the convenience of the audio file promoting wireless sound box.
The unit composition structure of user terminal disclosed in the embodiment of the present invention below, the method that realizes for performing the inventive method embodiment of unit composition structure of user terminal disclosed in the embodiment of the present invention.
Based on the composition framework of the user terminal 200 shown in Fig. 2, a kind of user terminal that the embodiment of the invention discloses.Refer to Fig. 4, Fig. 4 is the unit composition structural representation of user terminal disclosed in the embodiment of the present invention.
As shown in Figure 4, this user terminal 400 can comprise detecting unit 401, acquiring unit 402, transmitting element 403, wherein:
Acquiring unit 401, carries out the touch parameter of touch operation for obtaining user to user terminal touch screen.
Determining unit 402, the described touch parameter for getting according to described acquiring unit determines described Target Wireless audio amplifier.
Described determining unit 402, if also meet audio file switching condition for described touch parameter, according to the described touch parameter determination target audio file that described acquiring unit gets.
Transmitting element 403, sends audio file play instruction for the described Target Wireless audio amplifier determined to described determining unit, and described audio file play instruction is used to indicate the described target audio file play described determining unit and determine.
Optionally, described determining unit 402, if be also discontented with footsteps frequency file switching condition for described touch parameter, then according to the target adjustment duration of described touch parameter determination audio file and the adjustment direction of described target adjustment duration; Described transmitting element 403, also for sending audio file steering order to described Target Wireless audio amplifier, the adjustment direction that described audio file steering order is used to indicate described target adjustment duration and the described target adjustment duration determined according to described determining unit adjusts the playing progress rate of the audio file of the current broadcasting of described Target Wireless audio amplifier.
Optionally, described acquiring unit 401 specifically for: obtain in the very first time user to carry out touch operation the first identification point and the second identification point to described touch-screen; The second time acquisition user, described touch-screen is carried out to the 3rd identification point and the 4th identification point of touch operation; Determine the first glide direction according to described first identification point and described 3rd identification point, and determine the second glide direction according to described second identification point and described 4th identification point; Determine the second distance between the second identification point and described 4th identification point described in the first Distance geometry between described first identification point and described 3rd identification point; According to the difference of the described very first time and described second time, and second distance described in described first Distance geometry, determine First Speed and second speed; Using described first distance, described second distance, described First Speed, described second speed, described first glide direction and described second glide direction as described touch parameter.
Optionally, described determining unit 401 specifically for: according to the mapping relations of touch screen zone and wireless sound box, determine described first identification point and wireless sound box corresponding to the touch screen zone residing for the second identification point, and using described wireless sound box as Target Wireless audio amplifier.
Optionally, described audio file switching condition comprises following at least one: described first glide direction and described second glide direction are mated with default glide direction; Described First Speed and described second speed are less than or equal to pre-set velocity; Described in described first Distance geometry, second distance is more than or equal to predeterminable range.
It should be noted that the user terminal 400 described by the embodiment of the present invention presents with the form of functional unit.Here used term " unit " should be understood to implication the widest as far as possible, can be such as integrated circuit ASIC for realizing the object of each " unit " described function, single circuit, for performing processor (shared, special or chipset) and the storer of one or more software or firmware program, combinational logic circuit, and/or other the suitable assemblies realizing above-mentioned functions are provided.For example, art technology person people can assert that the composition form of the hardware carrier of user terminal 400 can be specifically the user terminal 200 shown in Fig. 2.Wherein, the function of described acquiring unit 401 and described determining unit 402 can be realized by the processor 201 in described user terminal 200 and storer 202, particular by the touch parameter acquisition module in processor 201 run memory 202 to obtain the touch parameter that user to user terminal touch screen carries out touch operation, the determination module in processor 201 run memory 202 of described user terminal 200 determines described Target Wireless audio amplifier according to the described touch parameter that described acquiring unit gets; And if the processor 201 of described user terminal 200 determines that described touch parameter meets audio file switching condition, the described touch parameter determination target audio file that the determination module in processor 201 run memory 202 of described user terminal 200 gets according to described acquiring unit; The function of described transmitting element 403 can be realized by the reception/transtation mission circuit 204 of described user terminal 200, the described Target Wireless audio amplifier determined to described determining unit particular by the reception/transtation mission circuit 204 of described user terminal 200 sends audio file play instruction, and described audio file play instruction is used to indicate the described target audio file play described determining unit and determine.
Can find out, in the embodiment of the present invention, when user terminal detects that user to user terminal touch screen carries out touch operation, user terminal obtains the touch parameter that user to user terminal touch screen carries out touch operation; And determine described Target Wireless audio amplifier according to described touch parameter, when described touch parameter meets audio file switching condition, user terminal is according to described touch parameter determination target audio file, and sending audio file play instruction to described Target Wireless audio amplifier, described audio file play instruction is used to indicate plays described target audio file.Visible, user only need carry out touch operation to user terminal touch-screen, i.e. the audio file of changeable wireless sound box, is conducive to switching efficiency and the convenience of the audio file promoting wireless sound box.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can have program stored therein, and comprises the part or all of step of any one control property disposal route recorded in said method embodiment when this program performs.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer-readable access to memory.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storer, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storer comprises: USB flash disk, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable memory, storer can comprise: flash disk, ROM (read-only memory) are (English: Read-OnlyMemory, be called for short: ROM), random access device (English: RandomAccessMemory, RAM), disk or CD etc. be called for short:.
Be described in detail the embodiment of the present invention above, apply specific case herein and set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, to sum up above-mentioned, this description should not be construed as limitation of the present invention.

Claims (10)

1. a changing method for audio file, is characterized in that, comprising:
Obtain the touch parameter that user to user terminal touch screen carries out touch operation;
Described Target Wireless audio amplifier is determined according to described touch parameter;
If described touch parameter meets audio file switching condition, according to described touch parameter determination target audio file;
Send audio file play instruction to described Target Wireless audio amplifier, described audio file play instruction is used to indicate plays described target audio file.
2. method according to claim 1, is characterized in that, described method also comprises:
If described touch parameter is discontented with footsteps frequency file switching condition, then according to the target adjustment duration of described touch parameter determination audio file and the adjustment direction of described target adjustment duration;
Send audio file steering order to described Target Wireless audio amplifier, described audio file steering order is used to indicate the playing progress rate adjusting the audio file of the current broadcasting of described Target Wireless audio amplifier according to the adjustment direction of described target adjustment duration and described target adjustment duration.
3. method according to claim 1 and 2, is characterized in that, described acquisition user to user terminal touch screen carries out the touch parameter of touch operation, comprising:
Very first time acquisition user, described touch-screen is carried out to the first identification point and second identification point of touch operation;
The second time acquisition user, described touch-screen is carried out to the 3rd identification point and the 4th identification point of touch operation;
Determine the first glide direction according to described first identification point and described 3rd identification point, and determine the second glide direction according to described second identification point and described 4th identification point;
Determine the second distance between the second identification point and described 4th identification point described in the first Distance geometry between described first identification point and described 3rd identification point;
According to the difference of the described very first time and described second time, and second distance described in described first Distance geometry, determine First Speed and second speed;
Using described first distance, described second distance, described First Speed, described second speed, described first glide direction and described second glide direction as described touch parameter.
4. method according to claim 3, is characterized in that, describedly determines described Target Wireless audio amplifier according to described touch parameter, comprising:
According to the mapping relations of touch screen zone and wireless sound box, determine described first identification point and wireless sound box corresponding to the touch screen zone residing for the second identification point, and using described wireless sound box as Target Wireless audio amplifier.
5. the method according to claim 3 or 4, is characterized in that, described audio file switching condition comprises following at least one: described first glide direction and described second glide direction are mated with default glide direction; Described First Speed and described second speed are less than or equal to pre-set velocity; Described in described first Distance geometry, second distance is more than or equal to predeterminable range.
6. a user terminal, is characterized in that, comprising:
Acquiring unit, carries out the touch parameter of touch operation for obtaining user to user terminal touch screen;
Determining unit, the described touch parameter for getting according to described acquiring unit determines described Target Wireless audio amplifier;
Described determining unit, if also meet audio file switching condition for described touch parameter, according to the described touch parameter determination target audio file that described acquiring unit gets;
Transmitting element, sends audio file play instruction for the described Target Wireless audio amplifier determined to described determining unit, and described audio file play instruction is used to indicate the described target audio file play described determining unit and determine.
7. user terminal according to claim 6, is characterized in that,
Described determining unit, if be also discontented with footsteps frequency file switching condition for described touch parameter, then according to the target adjustment duration of described touch parameter determination audio file and the adjustment direction of described target adjustment duration;
Described transmitting element, also for sending audio file steering order to described Target Wireless audio amplifier, the adjustment direction that described audio file steering order is used to indicate described target adjustment duration and the described target adjustment duration determined according to described determining unit adjusts the playing progress rate of the audio file of the current broadcasting of described Target Wireless audio amplifier.
8. the user terminal according to claim 6 or 7, is characterized in that, described acquiring unit specifically for:
Very first time acquisition user, described touch-screen is carried out to the first identification point and second identification point of touch operation;
The second time acquisition user, described touch-screen is carried out to the 3rd identification point and the 4th identification point of touch operation;
Determine the first glide direction according to described first identification point and described 3rd identification point, and determine the second glide direction according to described second identification point and described 4th identification point;
Determine the second distance between the second identification point and described 4th identification point described in the first Distance geometry between described first identification point and described 3rd identification point;
According to the difference of the described very first time and described second time, and second distance described in described first Distance geometry, determine First Speed and second speed;
Using described first distance, described second distance, described First Speed, described second speed, described first glide direction and described second glide direction as described touch parameter.
9. user terminal according to claim 8, is characterized in that, described determining unit specifically for:
According to the mapping relations of touch screen zone and wireless sound box, determine described first identification point and wireless sound box corresponding to the touch screen zone residing for the second identification point, and using described wireless sound box as Target Wireless audio amplifier.
10. user terminal according to claim 8 or claim 9, it is characterized in that, described audio file switching condition comprises following at least one: described first glide direction and described second glide direction are mated with default glide direction; Described First Speed and described second speed are less than or equal to pre-set velocity; Described in described first Distance geometry, second distance is more than or equal to predeterminable range.
CN201510925324.0A 2015-12-10 2015-12-10 A kind of switching method and user terminal of audio file Active CN105389118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510925324.0A CN105389118B (en) 2015-12-10 2015-12-10 A kind of switching method and user terminal of audio file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510925324.0A CN105389118B (en) 2015-12-10 2015-12-10 A kind of switching method and user terminal of audio file

Publications (2)

Publication Number Publication Date
CN105389118A true CN105389118A (en) 2016-03-09
CN105389118B CN105389118B (en) 2018-12-11

Family

ID=55421440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510925324.0A Active CN105389118B (en) 2015-12-10 2015-12-10 A kind of switching method and user terminal of audio file

Country Status (1)

Country Link
CN (1) CN105389118B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867180A (en) * 2016-03-31 2016-08-17 北京小米移动软件有限公司 Control method and device
US11838823B2 (en) 2018-10-09 2023-12-05 Huawei Technologies Co., Ltd. Voice switchover method and system, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248405A (en) * 2012-02-14 2013-08-14 太和光股份有限公司 Receiving apparatus, host apparatus, and control method
CN103329075A (en) * 2011-01-06 2013-09-25 Tivo有限公司 Method and apparatus for gesture based controls
CN104572060A (en) * 2013-10-28 2015-04-29 广达电脑股份有限公司 remote playing system and method
CN104753484A (en) * 2015-03-11 2015-07-01 广东欧珀移动通信有限公司 Volume control method for wireless loudspeaker boxes and terminal
CN104765548A (en) * 2015-03-24 2015-07-08 广东欧珀移动通信有限公司 Voice box play control method and terminal
US20150286360A1 (en) * 2012-11-06 2015-10-08 D&M Holdings, Inc. Selectively coordinated audio player system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103329075A (en) * 2011-01-06 2013-09-25 Tivo有限公司 Method and apparatus for gesture based controls
CN103248405A (en) * 2012-02-14 2013-08-14 太和光股份有限公司 Receiving apparatus, host apparatus, and control method
US20150286360A1 (en) * 2012-11-06 2015-10-08 D&M Holdings, Inc. Selectively coordinated audio player system
CN104572060A (en) * 2013-10-28 2015-04-29 广达电脑股份有限公司 remote playing system and method
CN104753484A (en) * 2015-03-11 2015-07-01 广东欧珀移动通信有限公司 Volume control method for wireless loudspeaker boxes and terminal
CN104765548A (en) * 2015-03-24 2015-07-08 广东欧珀移动通信有限公司 Voice box play control method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867180A (en) * 2016-03-31 2016-08-17 北京小米移动软件有限公司 Control method and device
US11838823B2 (en) 2018-10-09 2023-12-05 Huawei Technologies Co., Ltd. Voice switchover method and system, and electronic device

Also Published As

Publication number Publication date
CN105389118B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN107219976B (en) Application display method and related product
US10747357B2 (en) Coordinate measuring apparatus for measuring input position of a touch and a coordinate indicating apparatus and driving method thereof
CN105159587A (en) Application control method and mobile terminal
CN107318091B (en) Network connection control method and mobile terminal
CN104571498A (en) Application program starting method
CN105404394A (en) Display interface display control method and mobile terminal
CN105657656A (en) Transmission power adjustment method and user equipment
CN104869207A (en) Volume adjusting method and mobile terminal
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium
CN105389118A (en) Audio file switching method and user terminal
CN106407027B (en) Information display method of mobile terminal and mobile terminal
CN104571888A (en) Radio channel switching method and radio channel switching device in smart terminal
CN104536781A (en) Terminal
CN106303003A (en) The method of a kind of application recommendation and terminal
CN105808061A (en) Desktop arranging method and mobile terminal
CN106293407B (en) Picture display method and terminal equipment
CN104407698A (en) Projecting method and electronic equipment
CN105573746A (en) Control attribute processing method and device
CN105528175A (en) Method for adding wireless sound box and user terminal
CN105929960A (en) Fingerprint module based volume control method and mobile terminal
KR20170024445A (en) Mobile terminal and method for controlling the same
CN105808077A (en) Method for controlling page turning, and mobile terminal
CN105573618A (en) Play progress control method and device
CN105578338A (en) Sound channel control method of wireless loudspeaker and user terminal
CN105573621A (en) Method for dismissing wireless sound box group and user terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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