CN106297836A - A kind of audio frequency playing method and terminal - Google Patents

A kind of audio frequency playing method and terminal Download PDF

Info

Publication number
CN106297836A
CN106297836A CN201610628865.1A CN201610628865A CN106297836A CN 106297836 A CN106297836 A CN 106297836A CN 201610628865 A CN201610628865 A CN 201610628865A CN 106297836 A CN106297836 A CN 106297836A
Authority
CN
China
Prior art keywords
audio
frequency
audio file
switching command
terminal
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
CN201610628865.1A
Other languages
Chinese (zh)
Other versions
CN106297836B (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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610628865.1A priority Critical patent/CN106297836B/en
Publication of CN106297836A publication Critical patent/CN106297836A/en
Application granted granted Critical
Publication of CN106297836B publication Critical patent/CN106297836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing

Abstract

The embodiment of the invention discloses a kind of audio frequency playing method and terminal, wherein method includes: if detecting, user triggers the operation of the first switching command, then obtain currently playing audio file broadcasting time in preset time period;Wherein, described first switching command is for switching currently playing audio file;If described broadcasting time is more than the frequency threshold value preset, then audio file described in loop play.The embodiment of the present invention is by the broadcast mode of automatic switchover audio file, it is possible to use family is without carrying out Audio conversion by manual operation frequently, thus improves operating experience and the intelligent level of audio frequency broadcasting of user.

Description

A kind of audio frequency playing method and terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of audio frequency playing method and terminal.
Background technology
Music player is one of basic function indispensable when dispatching from the factory of present intelligent terminal, by intelligent terminal Music player can the audio frequency such as happy English of audition the most easily, favored by users, had high Utilization rate, is requisite miscellaneous function in living and studying scene.
At present, user is during using music player to play audio frequency, when some audio frequency literary composition of needs loop play During part, can use various ways, such as opening music player and arranging play mode is single loop play, or in music When player has been played to next audio frequency, locking screen interface is clicked in the prompt operation hurdle of the music player of display One head switches over, or is switched over by earphone control.But these modes are required for user the most manually Operation completes, and more inconvenient if in moving or operating in motor process, and the operating experience causing user is the best.
Summary of the invention
The embodiment of the present invention provides a kind of audio frequency playing method and terminal, can improve the operating experience of user.
First aspect, embodiments provides a kind of audio frequency playing method, and the method includes:
If detecting, user triggers the operation of the first switching command, then obtain currently playing audio file at Preset Time Broadcasting time in Duan;Wherein, described first switching command is for switching currently playing audio file;
If described broadcasting time is more than the frequency threshold value preset, then audio file described in loop play.
On the other hand, embodiments providing a kind of terminal, this terminal includes:
Acquiring unit, if for detecting that user triggers the operation of the first switching command, then obtaining currently playing audio frequency File broadcasting time in preset time period;Wherein, described first switching command is for switching currently playing audio file;
Switch unit, if for described broadcasting time more than the frequency threshold value preset, then audio file described in loop play.
The embodiment of the present invention, when the operation that user triggers the first switching command being detected, obtains currently playing audio frequency literary composition Part broadcasting time in preset time period, if this broadcasting time is more than the frequency threshold value preset, this audio frequency literary composition of loop play Part, it is achieved that the broadcast mode of automatic switchover audio file so that user cuts without carrying out audio frequency by manual operation frequently Change, thus improve the operating experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required use in embodiment being described below Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, general for this area From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow diagram of a kind of audio frequency playing method that the embodiment of the present invention one provides;
Fig. 2 is the schematic flow diagram of a kind of audio frequency playing method that the embodiment of the present invention two provides;
Fig. 3 is the schematic block diagram of a kind of terminal that the embodiment of the present invention three provides;
Fig. 4 is the schematic block diagram of a kind of terminal that the embodiment of the present invention four provides;
Fig. 5 is the schematic block diagram of a kind of terminal that the embodiment of the present invention five provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
Should be appreciated that when using in this specification and in the appended claims, term " includes " and " comprising " instruction Described feature, entirety, step, operation, element and/or the existence of assembly, but it is not precluded from one or more further feature, whole Body, step, operation, element, assembly and/or the existence of its set or interpolation.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Hereafter clearly indicating other situation, otherwise " ", " " and " being somebody's turn to do " of singulative is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to the one or more any combination being associated in the item listed and likely combine, and including that these combine.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if be detected that [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to really Fixed " or " [described condition or event] once being detected " or " in response to [described condition or event] being detected ".
In implementing, the terminal described in the embodiment of the present invention includes but not limited to such as have touch sensitive surface Mobile phone, laptop computer or the tablet PC of (such as, touch-screen display and/or touch pad) etc other just Portable device.It is to be further understood that in certain embodiments, described equipment not portable communication device, but have tactile Touch the desk computer of sensing surface (such as, touch-screen display and/or touch pad).
In discussion below, describe the terminal including display and touch sensitive surface.It is, however, to be understood that It is that terminal can include such as physical keyboard, mouse and/or control other physical user-interface device one or more of bar.
Terminal supports various application programs, such as following in one or more: drawing application program, demonstration application journey Sequence, word-processing application, website create application program, dish imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support the application of application program, photo management application program, digital camera application program, digital camera application program, web-browsing Program, digital music player application and/or video frequency player application program.
The various application programs that can perform in terminal can use at least one of such as touch sensitive surface public Physical user-interface device.Among applications and/or can adjust in corresponding application programs and/or change and touch sensitive table The corresponding information of display in one or more functions in face and terminal.So, the public physical structure of terminal (such as, touches Sensing surface) the various application programs with the most directly perceived and transparent user interface can be supported.
Embodiment one:
See the schematic flow diagram that Fig. 1, Fig. 1 are a kind of audio frequency playing methods that the embodiment of the present invention one provides, this enforcement The executive agent of example can be terminal, and it can be the equipment such as mobile phone or other intelligent terminal.Audio frequency broadcasting side shown in Fig. 1 Method may comprise steps of:
If S101 detects that user triggers the operation of the first switching command, then obtain currently playing audio file in advance If the broadcasting time in the time period;Wherein, the first switching command is for switching currently playing audio file.
Specifically, if terminal detects that user triggers the operation of the first switching command, then currently playing audio frequency is obtained File broadcasting time in preset time period.
Wherein, the first switching command is for switching currently playing audio file, and it can be specifically that the audio frequency of terminal is broadcast Put the switching command that in device, " upper is first " or " next " is corresponding, or the switching that on earphone control, switching key is corresponding refers to Order etc..Preset time period can be defined as with the time point commenced play out of currently playing audio file as terminal default time Between section, its concrete duration can be the reproduction time of two to three first audio files, such as 10 minutes, but is not limited to this, specifically Preset time period can be configured according to practical situation, do not limit.
If the broadcasting time that audio file currently playing for S102 is in preset time period is more than the frequency threshold value preset, Then this audio file of loop play.
The frequency threshold value preset can need the most self-defined according to user, generally could be arranged to 1, but is not limited to This, concrete frequency threshold value can be configured according to practical situation, does not limits.
Specifically, if the currently playing audio file got in step S101 broadcasting in preset time period is secondary Number is more than the frequency threshold value preset, then explanation user may repeatedly have selected currently playing audio file in preset time period Playing out, therefore terminal assert that user wishes to repeat to listen to this audio file, directly this audio file is set to circulation and broadcasts The mode put plays out.
It is understood that in embodiments of the present invention, currently playing audio file broadcasting in preset time period When number of times is more than the frequency threshold value preset, this audio file of loop play, in other embodiments, it is also possible to big for broadcasting time In or equal to preset frequency threshold value time, this audio file of loop play.
It should be noted that the embodiment of the present invention for scene be mainly user during listening to audio file double Hands is in busy condition, or inconvenience carries out the During manual operation of loaded down with trivial details audio file switching at any time.Although user can To arrange, by audio player, the audio file loop play that function selecting is liked, but this setting up procedure needs user temporary Ready front ongoing activity, and taken some time, therefore, in such a scenario, user is often led to The mode crossing the quick bottons such as click " upper is first " or " next " switches audio file, saves time and effort, but The mode clicking on quick botton frequently is still made troubles to the operation of user, is based on this situation, and the present invention implements Example is when the operation that user triggers the currently playing audio file of switching being detected, according to the hobby automatic switchover audio frequency of user The broadcast mode of file, make user can without by manual operation frequently can the audio file liked of uppick always, Thus improve operating experience and the intelligent level of audio frequency broadcasting of user.
Knowable to the audio frequency playing method of above-mentioned Fig. 1 example, in the present embodiment, detecting that user triggers the first switching and refers to During the operation made, obtain currently playing audio file broadcasting time in preset time period, if this broadcasting time is more than pre- If frequency threshold value this audio file of then loop play, it is achieved that the broadcast mode of automatic switchover audio file so that Yong Huwu Audio conversion need to be carried out by manual operation frequently, thus improve operating experience and the intelligent water of audio frequency broadcasting of user Flat.
Embodiment two:
See the schematic flow diagram that Fig. 2, Fig. 2 are a kind of audio frequency playing methods that the embodiment of the present invention two provides, this enforcement The executive agent of example can be terminal, and it can be the equipment such as mobile phone or other intelligent terminal.Audio frequency broadcasting side shown in Fig. 2 Method may comprise steps of:
If translational speed current for S201 is more than the threshold speed preset, then whether detection user triggers the first switching and refers to Order;Wherein, the first switching command is for switching currently playing audio file.
Terminal can be passed through global positioning system (Global Positioning System, GPS) etc. and obtain current shifting Dynamic speed, and judge whether user is in mobile status according to current translational speed.
If the user while listening to audio under mobile status, such as motion, drive or on foot time wear earphone and listen to sound Happy to dissolve the sense tired out in motor process and feeling of lonely, in such scene, when user hears that the song liked is wanted to repeat When listening, need to be completed by manual operation frequently the switching of song, and such action is used except giving in mobile context Family operation is made troubles, and is also easy to bring potential safety hazard, especially bows and see screen and have ignored surrounding enviroment, be easily caused meaning The generation of outer accident, makes the safety in utilization of terminal unit be affected.Therefore, more need when judgement user is in mobile status Will be by the way of automatic switchover audio file, it is to avoid user is manual operation frequently under mobile status, improve mobile context The safety in utilization of middle terminal unit.
Specifically, if current translational speed is more than the threshold speed preset, then assert that user is currently at mobile shape State, and in audio frequency playing process, detect whether user triggers the first switching command, if interrupting detecting that user triggers The operation of the first switching command, then perform step S202;Otherwise, step S208 is performed.
Wherein, the first switching command is for switching currently playing audio file, and it can be specifically that the audio frequency of terminal is broadcast Put the switching command that in device, " upper is first " or " next " is corresponding, or the switching that on earphone control, switching key is corresponding refers to Order etc..
S202, judge whether current audio-frequency play mode is single pattern;Wherein, audio-frequency play mode includes random mould Formula, list mode and single pattern.
Specifically, audio-frequency play mode can include random model, list mode and single pattern, when terminal detects use When family triggers the operation of the first switching command, it is judged that whether current audio-frequency play mode is single pattern.
If current audio-frequency play mode is single pattern, then the audio file after loop play switching, and perform step S206。
If current audio-frequency play mode is not single pattern, the most current audio-frequency play mode is random model or row Table schema, terminal identification user may want to the audio file repeated after listening to switching, and is not desired to by random model or row Table schema listens to other audio file, therefore, continues executing with step S203 and is further judged.
S203, obtain currently playing audio file broadcasting time in preset time period.
Specifically, terminal obtains the audio file after switching, and the most currently playing audio file is in preset time period Broadcasting time.
It is pre-that preset time period can be defined as with the time point commenced play out of currently playing audio file as terminal If the time period, its concrete duration can be the reproduction time of two to three first audio files, such as 10 minutes, but is not limited to this, Concrete preset time period can be configured according to practical situation, does not limits.
S204, judge that currently playing audio file broadcasting time in preset time period is whether more than the number of times preset Threshold value.
The frequency threshold value preset can need the most self-defined according to user, generally could be arranged to 1, but is not limited to This, concrete frequency threshold value can be configured according to practical situation, does not limits.
Specifically, if currently playing audio file broadcasting time in preset time period is more than the number of times threshold preset Value, then illustrate that user may repeatedly have selected currently playing audio file in preset time period and play out, therefore terminal Assert that user wishes to repeat to listen to this audio file, perform step S205;Otherwise, perform step S208, exit.
S205, current audio-frequency play mode is changed to single pattern.
Specifically, the audio file that terminal judges is currently playing broadcasting time in preset time period is secondary more than preset Number threshold value, then be changed to single pattern by current audio-frequency play mode, the audio file that loop play is current.
It is understood that in embodiments of the present invention, currently playing audio file broadcasting in preset time period When number of times is more than the frequency threshold value preset, current audio-frequency play mode is changed to single pattern, in other embodiments, also When can be broadcasting time more than or equal to the frequency threshold value preset, current audio-frequency play mode be changed to single mould Formula.
Whether S206, detection user trigger the second switching command;Wherein, the second switching command is currently playing for switching Audio file.
Specifically, when current audio-frequency play mode is single pattern, whether terminal detection user triggers second is cut Change instruction.
If detecting, user triggers the operation of the second switching command, then perform step S207;Otherwise, step is performed S208, exits.
Wherein, the second switching command is for switching currently playing audio file, and it can be specifically that the audio frequency of terminal is broadcast Put the switching command that in device, " upper is first " or " next " is corresponding, or the switching that on earphone control, switching key is corresponding refers to Order etc..Second switching command and the first switching command can represent the switching command of the audio file received the most in the same time, or Different classes of switching command, such as " upper one is first " and " next " etc., meanwhile, the second switching command and the first switching command can Be identical instruction can also be the instruction differed.
S207, current audio-frequency play mode is changed to list mode or random model.
Specifically, if terminal detects that user triggers the operation of the second switching command, then explanation user is not intended to continue Repeatedly listening to currently playing audio file, current audio-frequency play mode is changed to list mode or random by terminal automatically Pattern so that user have only to the prompt operation by an Audio conversion just can directly by audio-frequency play mode from single mould Formula is changed to list mode or random model, thus avoids loaded down with trivial details manual set-up process.
S208, exit.
Knowable to the audio frequency playing method of above-mentioned Fig. 2 example, in the present embodiment, first, sentence according to current translational speed Whether disconnected user is in mobile status, if user is currently at mobile status, detects user's whether trigger tone frequency file switching First switching command, if be detected that user triggers the first switching command, and determine current audio-frequency play mode for Machine pattern or list mode, if then determining whether, currently playing audio file broadcasting time in preset time period is big In default frequency threshold value, automatically current audio-frequency play mode is changed to single pattern, it is achieved that automatic switchover audio frequency literary composition The broadcast mode of part so that user listens to current audio file without i.e. being circulated by manual operation frequently, improves The intelligent level that the operating experience of user and audio frequency are play, it also avoid user the most manual under mobile status simultaneously The potential safety hazard that operation causes, improves the safety in utilization of terminal unit in mobile context;Secondly, mould is play at current audio frequency When formula is single pattern, terminal, if be detected that user triggers the second switching command of audio file switching, the most directly ought Before audio-frequency play mode be changed to list mode or random model so that it is fast that user has only to by an Audio conversion Audio-frequency play mode can be directly just list mode or random model from single mode altering by prompt operation, thus avoids Loaded down with trivial details manual set-up process, and the potential safety hazard thus brought under mobile status, thus further increase user's The intelligent level that operating experience and audio frequency are play, and the safety in utilization of terminal unit in mobile context.
Embodiment three:
Referring to Fig. 3, Fig. 3 is a kind of terminal schematic block diagram that the embodiment of the present invention three provides.For convenience of description, only show Go out the part relevant to the embodiment of the present invention.The terminal 300 of Fig. 3 example can be a kind of audio frequency that previous embodiment one provides The executive agent of player method.The terminal 300 of Fig. 3 example specifically includes that acquiring unit 31 and switch unit 32.Each unit is detailed It is described as follows:
Acquiring unit 31, if for detecting that user triggers the operation of the first switching command, then obtaining currently playing sound Frequency file broadcasting time in preset time period;Wherein, the first switching command is for switching currently playing audio file;
Switch unit 32, if for the currently playing audio file broadcasting time in preset time period more than presetting Frequency threshold value, then this audio file of loop play.
In a kind of terminal that the present embodiment provides, each unit realizes the process of respective function, specifically refers to earlier figures 1 institute Showing the description of embodiment, here is omitted.
Knowable to the terminal 300 of above-mentioned Fig. 3 example, in the present embodiment, detecting that user triggers the first switching command During operation, obtain currently playing audio file broadcasting time in preset time period, if this broadcasting time more than preset Frequency threshold value this audio file of then loop play, it is achieved that the broadcast mode of automatic switchover audio file so that user is without logical Cross manual operation frequently and carry out Audio conversion, thus improve operating experience and the intelligent level of audio frequency broadcasting of user.
Embodiment four:
Referring to Fig. 4, Fig. 4 is a kind of terminal schematic block diagram that the embodiment of the present invention four provides.For convenience of description, only show Go out the part relevant to the embodiment of the present invention.The terminal 400 of Fig. 4 example can be a kind of audio frequency that previous embodiment two provides The executive agent of player method.The terminal 400 of Fig. 4 example specifically includes that acquiring unit 41 and switch unit 42.Each unit is detailed It is described as follows:
Acquiring unit 41, if for detecting that user triggers the operation of the first switching command, then obtaining currently playing sound Frequency file broadcasting time in preset time period;Wherein, the first switching command is for switching currently playing audio file;
Switch unit 42, if for the currently playing audio file broadcasting time in preset time period more than presetting Frequency threshold value, then this audio file of loop play.
Further, acquiring unit 41 includes:
Pattern determining unit 411, if for detecting that user triggers the operation of the first switching command, it is determined that current sound Frequently play mode;Wherein, audio-frequency play mode includes random model, list mode and single pattern;
Number of times acquiring unit 412, if being random model or list mode for current audio-frequency play mode, then obtains Currently playing audio file broadcasting time in preset time period.
Further, switch unit 42 is additionally operable to:
If the broadcasting time that currently playing audio file is in preset time period is more than the frequency threshold value preset, then ought Front audio-frequency play mode is changed to single pattern.
Further, terminal 400 also includes:
Second detector unit 43, if being single pattern for current audio-frequency play mode, then whether detection user triggers Second switching command;Wherein, the second switching command is for switching currently playing audio file;
Changing unit 44, if for detecting that user triggers the operation of the second switching command, then playing current audio frequency Mode altering is list mode or random model.
Further, terminal 400 also includes:
First detector unit 45, if for current translational speed more than the threshold speed preset, then whether detection user Trigger the first switching command.
In a kind of terminal that the present embodiment provides, each unit realizes the process of respective function, specifically refers to earlier figures 2 institute Showing the description of embodiment, here is omitted.
Knowable to the terminal 400 of above-mentioned Fig. 4 example, in the present embodiment, first, user is judged according to current translational speed Whether it is in mobile status, if user is currently at mobile status, detects the first of user's whether trigger tone frequency file switching and cut Change instruction, if be detected that user triggers the first switching command, and determine that current audio-frequency play mode is random model Or list mode, if then determining whether currently playing audio file broadcasting time in preset time period more than presetting Frequency threshold value, automatically current audio-frequency play mode is changed to single pattern, it is achieved that broadcasting of automatic switchover audio file Put mode so that user listens to current audio file without i.e. being circulated by manual operation frequently, improves user Operating experience and audio frequency play intelligent level, it also avoid simultaneously user under mobile status frequently manual operation make The potential safety hazard become, improves the safety in utilization of terminal unit in mobile context;Next, be single at current audio-frequency play mode During bent pattern, terminal is if be detected that user triggers the second switching command of audio file switching, then directly by current sound Frequently play mode is changed to list mode or random model so that user has only to the prompt operation by an Audio conversion Can be directly just list mode or random model by audio-frequency play mode from single mode altering, thus avoid loaded down with trivial details Manual set-up process, and the potential safety hazard thus brought under mobile status, thus further increase the operating body of user Test the intelligent level play with audio frequency, and the safety in utilization of terminal unit in mobile context.
Embodiment five:
Referring to Fig. 5, Fig. 5 is a kind of terminal schematic block diagram that the embodiment of the present invention five provides.The present embodiment shown in Fig. 5 In terminal 500 may include that one or more processor 501 (only illustrating in Fig. 5);One or more input equipments 502 (only illustrating one in Fig. 5), one or more outut devices 503 (only illustrating in Fig. 5), memorizer 504.Above-mentioned place Reason device 501, input equipment 502, outut device 503 and memorizer 504 are connected by bus 505.Memorizer 504 refers to for storage Order, processor 501 is for performing the instruction of memorizer 504 storage.
Wherein, processor 501 is used for:
If detecting, user triggers the operation of the first switching command, then obtain currently playing audio file at Preset Time Broadcasting time in Duan;Wherein, the first switching command is for switching currently playing audio file;
If the broadcasting time that currently playing audio file is in preset time period is more than the frequency threshold value preset, then circulate Play this audio file.
Further, processor 501 is additionally operable to:
If detecting, user triggers the operation of the first switching command, it is determined that current audio-frequency play mode;Wherein, audio frequency Play mode includes random model, list mode and single pattern;
If current audio-frequency play mode is random model or list mode, then obtains currently playing audio file and exist Broadcasting time in preset time period.
Further, processor 501 is additionally operable to:
If the broadcasting time that currently playing audio file is in preset time period is more than the frequency threshold value preset, then ought Front audio-frequency play mode is changed to single pattern.
Further, processor 501 is additionally operable to:
If current audio-frequency play mode is single pattern, then whether detection user triggers the second switching command;Wherein, Two switching commands are for switching currently playing audio file;
If detecting, user triggers the operation of the second switching command, then current audio-frequency play mode is changed to list mould Formula or random model.
Further, processor 501 is additionally operable to:
If current translational speed is more than the threshold speed preset, then whether detection user triggers the first switching command.
Should be appreciated that in embodiments of the present invention, alleged processor 501 can be CPU (Central Processing Unit, CPU), this processor can also is that other general processors, digital signal processor (Digital Signal Processor, DSP), special IC (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device can also be the processor etc. of any routine.
Input equipment 502 can include that Trackpad, fingerprint adopt sensor (for gathering the finger print information of user and fingerprint Directional information), light sensor (for detecting the intensity of light), mike etc., outut device 503 can include display (LCD etc.), speaker etc..
This memorizer 504 can include read only memory and random access memory, and to processor 501 provide instruction and Data.A part for memorizer 504 can also include nonvolatile RAM.Such as, memorizer 504 can also be deposited The information of storage device type.
In implementing, processor 501 and input equipment 502 described in the embodiment of the present invention can perform the present invention in fact Execute example one and the implementation described by a kind of audio frequency playing method of embodiment two offer, it is possible to perform the embodiment of the present invention three With the implementation of the terminal described by embodiment four, do not repeat them here.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware With the interchangeability of software, the most generally describe composition and the step of each example according to function.This A little functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Specially Industry technical staff can use different methods to realize described function to each specifically should being used for, but this realization is not It is considered as beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience of description and succinctly, and the end of foregoing description End and the specific works process of unit, be referred to the corresponding process in preceding method embodiment, do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can be passed through it Its mode realizes.Such as, device embodiment described above is only schematically, such as, and the division of described unit, only Being only a kind of logic function to divide, actual can have other dividing mode, the most multiple unit or assembly to tie when realizing Close or be desirably integrated into another system, or some features can be ignored, or not performing.It addition, shown or discussed phase Coupling between Hu or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication Connect, it is also possible to be electric, machinery or other form connect.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme Purpose.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to be that two or more unit are integrated in a unit.Above-mentioned integrated Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part in other words prior art contributed, or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) performs the complete of method described in each embodiment of the present invention Portion or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in the amendment of various equivalence or replace Changing, these amendments or replacement all should be contained within protection scope of the present invention.Therefore, protection scope of the present invention should be with right The protection domain required is as the criterion.

Claims (10)

1. an audio frequency playing method, it is characterised in that including:
If detecting, user triggers the operation of the first switching command, then obtain currently playing audio file in preset time period Broadcasting time;Wherein, described first switching command is for switching currently playing audio file;
If described broadcasting time is more than the frequency threshold value preset, then audio file described in loop play.
Method the most according to claim 1, it is characterised in that if the described user of detecting triggers the behaviour of the first switching command Make, then obtain currently playing audio file broadcasting time in preset time period and include:
If detecting, user triggers the operation of the first switching command, it is determined that current audio-frequency play mode;Wherein, described audio frequency Play mode includes random model, list mode and single pattern;
If described audio-frequency play mode is described random model or described list mode, then obtain currently playing audio file Broadcasting time in preset time period.
Method the most according to claim 2, it is characterised in that if described broadcasting time is more than the number of times threshold preset Value, then audio file described in loop play includes:
If described broadcasting time is more than the frequency threshold value preset, then described audio-frequency play mode is changed to described single pattern.
Method the most according to claim 3, it is characterised in that if described broadcasting time is more than the number of times threshold preset Value, then after described audio-frequency play mode being changed to described single pattern, described method also includes:
If described audio-frequency play mode is described single pattern, then detect whether described user triggers the second switching command;Wherein, Described second switching command is for switching currently playing audio file;
If detecting, described user triggers the operation of described second switching command, then be changed to by described audio-frequency play mode described List mode or described random model.
5. according to the method described in any one of Claims 1-4, it is characterised in that cut if the described user of detecting triggers first Change the operation of instruction, then, before obtaining currently playing audio file broadcasting time in preset time period, described method is also Including:
If current translational speed more than preset threshold speed, then detect described user whether trigger described first switching refer to Order.
6. a terminal, it is characterised in that described terminal includes:
Acquiring unit, if for detecting that user triggers the operation of the first switching command, then obtaining currently playing audio file Broadcasting time in preset time period;Wherein, described first switching command is for switching currently playing audio file;
Switch unit, if for described broadcasting time more than the frequency threshold value preset, then audio file described in loop play.
Terminal the most according to claim 6, it is characterised in that described acquiring unit includes:
Pattern determining unit, if for detecting that user triggers the operation of the first switching command, it is determined that current audio frequency is play Pattern;Wherein, described audio-frequency play mode includes random model, list mode and single pattern;
Number of times acquiring unit, if being described random model or described list mode for described audio-frequency play mode, then obtains Currently playing audio file broadcasting time in preset time period.
Terminal the most according to claim 7, it is characterised in that described switch unit is additionally operable to:
If described broadcasting time is more than the frequency threshold value preset, then described audio-frequency play mode is changed to described single pattern.
Terminal the most according to claim 8, it is characterised in that described terminal also includes:
Second detector unit, if being described single pattern for described audio-frequency play mode, then detects whether described user triggers Second switching command;Wherein, described second switching command is for switching currently playing audio file;
Changing unit, if for detecting that described user triggers the operation of described second switching command, then playing described audio frequency Mode altering is described list mode or described random model.
10. according to the terminal described in any one of claim 6 to 9, it is characterised in that described terminal also includes:
First detector unit, if for current translational speed more than the threshold speed preset, then detecting whether described user touches Send out the first switching command described.
CN201610628865.1A 2016-08-03 2016-08-03 A kind of audio frequency playing method and terminal Active CN106297836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610628865.1A CN106297836B (en) 2016-08-03 2016-08-03 A kind of audio frequency playing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610628865.1A CN106297836B (en) 2016-08-03 2016-08-03 A kind of audio frequency playing method and terminal

Publications (2)

Publication Number Publication Date
CN106297836A true CN106297836A (en) 2017-01-04
CN106297836B CN106297836B (en) 2019-10-22

Family

ID=57664623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610628865.1A Active CN106297836B (en) 2016-08-03 2016-08-03 A kind of audio frequency playing method and terminal

Country Status (1)

Country Link
CN (1) CN106297836B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025914A (en) * 2017-04-07 2017-08-08 宇龙计算机通信科技(深圳)有限公司 A kind of multi-medium play method and its device
CN107092460A (en) * 2017-04-19 2017-08-25 维沃移动通信有限公司 A kind of playback of songs method and mobile terminal
CN107342095A (en) * 2017-06-30 2017-11-10 广东欧珀移动通信有限公司 Playback of songs method, apparatus, storage medium and electronic equipment
CN108200472A (en) * 2018-01-31 2018-06-22 上海康斐信息技术有限公司 Judgement Web page plane video needs to repeat playing method and system
CN109671450A (en) * 2018-12-25 2019-04-23 努比亚技术有限公司 Playback of songs method, apparatus and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388233A (en) * 2008-10-22 2009-03-18 深圳华为通信技术有限公司 Method for playing music based on step of user and mobile terminal
CN101916572A (en) * 2010-08-20 2010-12-15 深圳市同洲电子股份有限公司 Method, device and system for play switching of multimedia resources
CN104484350A (en) * 2014-11-28 2015-04-01 深圳市金立通信设备有限公司 Terminal
US20150135080A1 (en) * 2013-11-14 2015-05-14 Lg Electronics Inc. Mobile terminal and control method thereof
CN104851439A (en) * 2015-04-22 2015-08-19 惠州Tcl移动通信有限公司 Method and player of playing multimedia file
CN105430184A (en) * 2015-11-24 2016-03-23 小米科技有限责任公司 Audio playing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388233A (en) * 2008-10-22 2009-03-18 深圳华为通信技术有限公司 Method for playing music based on step of user and mobile terminal
CN101916572A (en) * 2010-08-20 2010-12-15 深圳市同洲电子股份有限公司 Method, device and system for play switching of multimedia resources
US20150135080A1 (en) * 2013-11-14 2015-05-14 Lg Electronics Inc. Mobile terminal and control method thereof
CN104484350A (en) * 2014-11-28 2015-04-01 深圳市金立通信设备有限公司 Terminal
CN104851439A (en) * 2015-04-22 2015-08-19 惠州Tcl移动通信有限公司 Method and player of playing multimedia file
CN105430184A (en) * 2015-11-24 2016-03-23 小米科技有限责任公司 Audio playing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025914A (en) * 2017-04-07 2017-08-08 宇龙计算机通信科技(深圳)有限公司 A kind of multi-medium play method and its device
CN107092460A (en) * 2017-04-19 2017-08-25 维沃移动通信有限公司 A kind of playback of songs method and mobile terminal
CN107342095A (en) * 2017-06-30 2017-11-10 广东欧珀移动通信有限公司 Playback of songs method, apparatus, storage medium and electronic equipment
CN108200472A (en) * 2018-01-31 2018-06-22 上海康斐信息技术有限公司 Judgement Web page plane video needs to repeat playing method and system
CN109671450A (en) * 2018-12-25 2019-04-23 努比亚技术有限公司 Playback of songs method, apparatus and computer readable storage medium
CN109671450B (en) * 2018-12-25 2022-07-22 努比亚技术有限公司 Song playing method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN106297836B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
JP6775562B2 (en) Portable electronic device with interface reconfiguration mode
CN106297836A (en) A kind of audio frequency playing method and terminal
US9804765B2 (en) Controlling method of screen lock and electronic device supporting the same
KR101545875B1 (en) Apparatus and method for adjusting of multimedia item
CN101826352A (en) Music playback and the method that is used for the music selection and resets
US20140006948A1 (en) Method and mobile phone for capturing audio file or video file
CN101770399A (en) Electronic equipment, method and device for switching operating system desktop
CN104685898A (en) Method of broadcasting media and terminal
CN106341538B (en) A kind of method for pushing and mobile terminal of lyrics poster
CN103197965A (en) Method and apparatus for controlling interrupt in portable terminal
CN106250034A (en) A kind of method of windows exchange and terminal
CN105159581B (en) A kind of picture browsing method and mobile terminal
CN104898950B (en) music control method and system
CN105528173A (en) Multimedia operation method and terminal
CA2818554A1 (en) Method and apparatus for displaying screen of mobile terminal with touch screen
US9733897B2 (en) Method and apparatus of searching content
CN108549518A (en) A kind of method, apparatus that music information is shown and terminal device
CN106303003A (en) The method of a kind of application recommendation and terminal
CN110175015A (en) A kind of method, apparatus and terminal device of the volume of controlling terminal equipment
CN106254677A (en) A kind of scene mode setting method and terminal
CN106507187A (en) A kind of video broadcasting method and terminal
CN103854686A (en) Audio player and playing method thereof
KR20150023037A (en) Music player, automatic skin replacing method and system therefor, and computer storage medium
CN111966860A (en) Audio playing method and device and electronic equipment
CN103577060A (en) Data processing method and electronic equipment

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210218

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210426

Address after: DESAY No. 9789 building, 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets Shennan Road sign layer 17 layer (natural layer 15) No. 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21st floor, east block, time science and technology building, 7028 Shennan Avenue, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.