CN104810033A - Audio playing method and device - Google Patents

Audio playing method and device Download PDF

Info

Publication number
CN104810033A
CN104810033A CN201510219191.5A CN201510219191A CN104810033A CN 104810033 A CN104810033 A CN 104810033A CN 201510219191 A CN201510219191 A CN 201510219191A CN 104810033 A CN104810033 A CN 104810033A
Authority
CN
China
Prior art keywords
played
voice data
audition
number percent
predetermined threshold
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
CN201510219191.5A
Other languages
Chinese (zh)
Other versions
CN104810033B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510219191.5A priority Critical patent/CN104810033B/en
Publication of CN104810033A publication Critical patent/CN104810033A/en
Application granted granted Critical
Publication of CN104810033B publication Critical patent/CN104810033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses an audio playing method. The method includes acquiring playing percentage, namely the ratio of the played time length of audio data to be played to the total time length of songs to be played, of the audio data to be played currently; when the playing percentage is not smaller than a first preset threshold, playing the audio data to be played; when the playing percentage is smaller than the first preset threshold, acquiring the next audio data to be played as the current audio data to be played. The invention further discloses an audio playing device. Thus, whether the audio data to be played are played or not is controlled automatically according to the percentage of a user listening to one song, manual song switching is omitted, and the system energy consumption is reduced.

Description

Audio frequency playing method and device
Technical field
The present invention relates to audio frequency play-back technology field, particularly relate to a kind of audio frequency playing method and device.
Background technology
At present, music player is when shuffle music, the general broadcasting carrying out song according to the order of audition list, but the song liked for user often user can hear out or listen the major part of this song, for the song do not liked, the control that user directly may click next or a upper head carries out cutting song, and system energy consumption is larger.
Summary of the invention
Fundamental purpose of the present invention is to propose a kind of audio frequency playing method and device, the technical matters that when being intended to playing audio-fequency data, system energy consumption is larger.
For achieving the above object, the invention provides a kind of audio frequency playing method, described audio frequency playing method comprises the following steps:
Obtain the audition number percent of current voice data to be played, wherein, described audition number percent is the ratio of the duration of audition of described voice data to be played and total duration of described song to be played;
When described audition number percent is more than or equal to the first predetermined threshold value, play described voice data to be played;
When described audition number percent is less than the first predetermined threshold value, obtain next voice data to be played as current voice data to be played.
Preferably, after the step of the audition number percent of described acquisition voice data to be played, described audio frequency playing method also comprises step:
When described audition number percent is less than or equal to the second predetermined threshold value, play described voice data to be played, wherein.Described second predetermined threshold value is less than described first predetermined threshold value.
Preferably, after the step of the described voice data to be played of described broadcasting, described audio frequency playing method also comprises step:
After described voice data broadcasting to be played terminates, calculate the ratio between this duration of audition and total duration of described voice data to be played;
The audition number percent of described voice data to be played is upgraded according to the ratio calculated.
Preferably, the step that the ratio that described basis calculates upgrades the audition number percent of described voice data to be played comprises:
The audition number percent of described voice data to be played is replaced with the ratio calculated;
Or, obtain the mean value of the audition number percent described in the ratio that calculates and prefixed time interval after each audition of audition voice data, and using described mean value as described audition number percent.
Preferably, before the step of the audition number percent of described acquisition voice data to be played, described audio frequency playing method also comprises:
Obtain the audition number percent of voice data to be played described in each in audition list;
The order descending according to described audition number percent sorts to voice data to be played described in each in described audition list;
Obtain in described audition list described in each voice data to be played successively according to the order after arrangement, using as current voice data to be played.
In addition, for achieving the above object, the present invention also proposes a kind of audio playing apparatus, and described audio playing apparatus comprises:
Acquisition module, for obtaining the audition number percent of current voice data to be played, wherein, described audition number percent is the ratio of the duration of audition of described voice data to be played and total duration of described song to be played;
Playing module, for when described audition number percent is more than or equal to the first predetermined threshold value, plays described voice data to be played;
Processing module, for when described audition number percent is less than the first predetermined threshold value, obtains next voice data to be played as current voice data to be played.
Preferably, described playing module, also for when described audition number percent is less than or equal to the second predetermined threshold value, plays described voice data to be played, wherein.Described second predetermined threshold value is less than described first predetermined threshold value.
Preferably, described audio playing apparatus also comprises:
Computing module, for after described voice data broadcasting to be played terminates, calculates the ratio between this duration of audition and total duration of described voice data to be played;
Update module, for upgrading the audition number percent of described voice data to be played according to the ratio calculated.
Preferably, described update module, also for the audition number percent of described voice data to be played is replaced with the ratio calculated; Or described update module, also for the mean value of the audition number percent described in obtaining in the ratio and prefixed time interval that calculate after each audition of audition voice data, and using described mean value as described audition number percent.
Preferably, described acquisition module, also for obtaining the audition number percent of voice data to be played described in each in audition list; Described audio playing apparatus also comprises order module, sorts to voice data to be played described in each in described audition list for the order descending according to described audition number percent; Described acquisition module, also for obtaining in described audition list according to the order after arrangement described in each voice data to be played successively, using as current voice data to be played.
The audio frequency playing method that the present invention proposes and device, obtain the audition number percent of current voice data to be played, when described audition number percent is more than or equal to the first predetermined threshold value, play described voice data to be played, when described audition number percent is less than the first predetermined threshold value, obtain next voice data to be played as current voice data to be played, automatically control whether to play voice data to be played according to the number percent of a certain song of the audition before user, and manually cut song without user, reduce system energy consumption.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the radio communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of audio frequency playing method first embodiment of the present invention;
Fig. 4 is the schematic flow sheet of audio frequency playing method second embodiment of the present invention;
Fig. 5 is the schematic flow sheet of audio frequency playing method of the present invention 3rd embodiment;
Fig. 6 is the high-level schematic functional block diagram of audio playing apparatus first embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of audio playing apparatus second embodiment of the present invention;
Fig. 8 is the high-level schematic functional block diagram of audio playing apparatus of the present invention 3rd embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130, sensing cell 140, output unit 150, storer 160, interface unit 170, controller 180 and power supply unit 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the wireless communication between mobile terminal 100 and radio communication device or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcaster Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO ) data broadcast device, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digital broadcast apparatus receive digital broadcasting.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcaster of broadcast singal and above-mentioned digital broadcast apparatus.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in storer 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global pick device).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating position and temporal information uses three satellites and by using the error of the position that goes out of an other satellite correction calculation and temporal information.In addition, GPS module 115 can carry out computing velocity information by Continuous plus current location information in real time.
A/V input block 120 is for audio reception or vision signal.A/V input block 120 can comprise camera 121 and microphone 122, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in storer 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 121 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of voice data.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration of mobile terminal 100 or speed is moved and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power supply unit 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100
Mouthful.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other coupling arrangement.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, voice data, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input media and output unit.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific embodiment wanted, mobile terminal 100 can comprise two or more display units (or other display device), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data converting audio data that is that wireless communication unit 110 is received or that store in storer 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise acoustic pickup, hummer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incoming communication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Storer 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, storer 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of voice data.
Storer 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type storer (such as, SD or DX storer etc.), random access storage device (RAM), static random-access memory (SRAM), ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power supply unit 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various embodiment described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, embodiment described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such embodiment can be implemented in controller 180.For implement software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in storer 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and radio communication device of data via frame or grouping and satellite-based communicator operates.
Describe wherein according to the communicator that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communicator can use different air interfaces and/or Physical layer.Such as, the air interface used by communicator comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA) (TDMA), CDMA (CDMA) and universal mobile communications device (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc.As non-limiting example, description below relates to cdma communication device, but such instruction is equally applicable to the device of other type.
With reference to figure 2, cdma wireless communication device can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that device as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as the sub-device of base station transceiver (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 operated in device by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global pick device (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of radio communication device, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communicator, each embodiment of audio frequency playing method of the present invention is proposed.
As shown in Figure 3, Fig. 3 is the schematic flow sheet of audio frequency playing method first embodiment of the present invention.
The present embodiment proposes a kind of audio frequency playing method, and described audio frequency playing method comprises the following steps:
Step S10, obtains the audition number percent of current voice data to be played, and wherein, described audition number percent is the ratio of the duration of audition of described voice data to be played and total duration of described song to be played;
Voice data to be played audition duration is the last playing duration of this voice data to be played, and total duration of this voice data to be played is total duration that voice data to be played can be play.This audition number percent can obtain after each voice data audition terminates, and also when obtaining the audition number percent of voice data to be played, can obtain according to the audition duration of the last time of voice data to be played and total duration calculation of described song to be played.
Step S20, when described audition number percent is more than or equal to the first predetermined threshold value, plays described voice data to be played;
Be understandable that user only may wish certain part of audition song, do not wish all to listen, for improving the accuracy of audio frequency Play Control, can when audition number percent be more than or equal to the first predetermined threshold value, obtain described audition number percent and be positioned at default audition interval, when described audition number percent is positioned at default audition interval, play described voice data to be played, when described audition number percent exceeds default audition interval, play described voice data to be played according to described broadcasting number percent.Or, described be more than or equal to the first predetermined threshold value at audition number percent time, obtain described voice data to be played in prefixed time interval and play corresponding audition number percent at every turn, when difference between the audition number percent got is less than preset difference value, described in playing according to the audition number percent got, treat audition voice data.
Step S30, when described audition number percent is less than the first predetermined threshold value, obtains next voice data to be played as current voice data to be played.
Be understandable that, because the hobby of user may change, when not playing current voice data to be played and directly cutting song to next voice data, user may switch back a upper voice data, now according to such scheme, user may cannot hear this song always, then for improving the accuracy of voice data Play Control, described step S30 comprises: when described audition number percent is less than the first predetermined threshold value, determines the audition number percent whether obtaining described voice data to be played within a preset time interval; When obtaining the audition number percent of described voice data to be played within a preset time interval, play described voice data to be played; When not obtaining the audition number percent of described voice data to be played within a preset time interval, obtain next voice data to be played as current voice data to be played.
Further, for described audition number percent be zero treat audition voice data may user do not play this voice data, may for user download new song, then also comprise step after described step S10:
When described audition number percent is less than or equal to the second predetermined threshold value, play described voice data to be played, the second predetermined threshold value is less than described first predetermined threshold value.
The audio frequency playing method that the present embodiment proposes, obtain the audition number percent of current voice data to be played, when described audition number percent is more than or equal to the first predetermined threshold value, play described voice data to be played, when described audition number percent is less than the first predetermined threshold value, obtain next voice data to be played as current voice data to be played, automatically control whether to play voice data to be played according to the number percent of a certain song of the audition before user, and manually cut song without user, reduce system energy consumption.
Further, for improving the playing efficiency of voice data, with reference to Fig. 4, proposing audio frequency playing method second embodiment of the present invention based on the first embodiment, in the present embodiment, after described step S20, also comprising step:
Step S40, after described voice data broadcasting to be played terminates, calculates the ratio between this duration of audition and total duration of described voice data to be played;
Step S50, upgrades the audition number percent of described voice data to be played according to the ratio calculated.
The process that the ratio that concrete basis calculates upgrades the audition number percent of described voice data to be played is as follows: the audition number percent of described voice data to be played is replaced with the ratio calculated; Or, obtain the mean value of the audition number percent described in the ratio that calculates and prefixed time interval after each audition of audition voice data, and using described mean value as described audition number percent.
In the present embodiment, after each voice data broadcasting terminates, all upgrade the audition number percent of voice data, make user when playing audio-fequency data, need not recalculate, improve the playing efficiency of voice data.Such as, this ratio calculated is 0.3, and the audition number percent obtained before calculated is 0.5, then the audition number percent of this voice data is updated to 0.3; Or this ratio calculated is 0.3, the audition percentage at every turn calculated in prefixed time interval is respectively 0.5 and 0.4, then averaging and obtaining final audition number percent is 0.4.
Further, for improving the dirigibility of audio and video playing, with reference to Fig. 5, proposing audio frequency playing method of the present invention 3rd embodiment based on the first or second embodiment, in the present embodiment, before described step S10, also comprising step:
Step S60, obtains the audition number percent of voice data to be played described in each in audition list;
Step S70, the order descending according to described audition number percent sorts to voice data to be played described in each in described audition list;
Step S80, obtains in described audition list described in each voice data to be played successively according to the order after arrangement, using as current voice data to be played.
In the present embodiment, during based on audition list audition audio, video data, first can treat playing audio-fequency data based on audition number percent and sort, first play the larger audio, video data of audition number percent, play the audio, video data that audition percentage is smaller again, Consumer's Experience is better, and dirigibility is higher.Being understandable that, for reducing system overhead, when current described audition number percent is less than the first predetermined threshold value, can stopping obtaining band playing audio-video data, or using the voice data of described audition list original position as next voice data to be played.
The present invention further provides a kind of audio playing apparatus.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are audio playing apparatus first embodiment of the present invention.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 6 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the audio playing apparatus shown in Fig. 6, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function block understanding this audio playing apparatus, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of respective define name will be reached.
A kind of audio playing apparatus of the present embodiment, described audio playing apparatus comprises:
Acquisition module 10, for obtaining the audition number percent of current voice data to be played, wherein, described audition number percent is the ratio of the duration of audition of described voice data to be played and total duration of described song to be played;
Voice data to be played audition duration is the last playing duration of this voice data to be played, and total duration of this voice data to be played is total duration that voice data to be played can be play.This audition number percent can obtain after each voice data audition terminates, and also when obtaining the audition number percent of voice data to be played, can obtain according to the audition duration of the last time of voice data to be played and total duration calculation of described song to be played.
Playing module 20, for when described audition number percent is more than or equal to the first predetermined threshold value, plays described voice data to be played;
Be understandable that user only may wish certain part of audition song, do not wish all to listen, for improving the accuracy of audio frequency Play Control, playing module 20 comprises: the first acquiring unit, for when audition number percent is more than or equal to the first predetermined threshold value, obtains described audition number percent and be positioned at default audition interval; First broadcast unit, during for being positioned at default audition interval at described audition number percent, plays described voice data to be played, when described audition number percent exceeds default audition interval, plays described voice data to be played according to described broadcasting number percent.Or playing module 20 comprises: second acquisition unit, for described be more than or equal to the first predetermined threshold value at audition number percent time, obtain described voice data to be played in prefixed time interval and play corresponding audition number percent at every turn; Second broadcast unit, when being less than preset difference value for the difference between the audition number percent got, treats audition voice data described in playing according to the audition number percent got.
Processing module 30, for when described audition number percent is less than the first predetermined threshold value, obtains next voice data to be played as current voice data to be played.
Be understandable that, because the hobby of user may change, when not playing current voice data to be played and directly cutting song to next voice data, user may switch back a upper voice data, now according to such scheme, user may cannot hear this song always, then for improving the accuracy of voice data Play Control, described processing module 30 comprises: determining unit, for when described audition number percent is less than the first predetermined threshold value, determine the audition number percent whether obtaining described voice data to be played within a preset time interval; Broadcast unit, during for obtaining the audition number percent of described voice data to be played within a preset time interval, play described voice data to be played; Processing unit, during for not obtaining the audition number percent of described voice data to be played within a preset time interval, obtained next voice data to be played as current voice data to be played.
Further, for described audition number percent be zero treat audition voice data may user do not play this voice data, the new song may downloaded for user, then described playing module 20, also for when described audition number percent is less than or equal to the second predetermined threshold value, play described voice data to be played, wherein.Described second predetermined threshold value is less than described first predetermined threshold value.
The audio playing apparatus that the present embodiment proposes, obtain the audition number percent of current voice data to be played, when described audition number percent is more than or equal to the first predetermined threshold value, play described voice data to be played, when described audition number percent is less than the first predetermined threshold value, obtain next voice data to be played as current voice data to be played, automatically control whether to play voice data to be played according to the number percent of a certain song of the audition before user, and manually cut song without user, reduce system energy consumption.
Further, for improving the playing efficiency of voice data, with reference to Fig. 7, propose audio playing apparatus second embodiment of the present invention based on the first embodiment, in the present embodiment, described audio playing apparatus also comprises:
Computing module 40, for after described voice data broadcasting to be played terminates, calculates the ratio between this duration of audition and total duration of described voice data to be played;
Update module 50, for upgrading the audition number percent of described voice data to be played according to the ratio calculated.
Described update module 50, also for the audition number percent of described voice data to be played is replaced with the ratio calculated; Or described update module 50, also for the mean value of the audition number percent described in obtaining in the ratio and prefixed time interval that calculate after each audition of audition voice data, and using described mean value as described audition number percent.
In the present embodiment, after each voice data broadcasting terminates, all upgrade the audition number percent of voice data, make user when playing audio-fequency data, need not recalculate, improve the playing efficiency of voice data.Such as, this ratio calculated is 0.3, and the audition number percent obtained before calculated is 0.5, then the audition number percent of this voice data is updated to 0.3; Or this ratio calculated is 0.3, the audition percentage at every turn calculated in prefixed time interval is respectively 0.5 and 0.4, then averaging and obtaining final audition number percent is 0.4.
Further, for improving the dirigibility of audio and video playing, with reference to Fig. 8, based on the first or second embodiment, audio playing apparatus of the present invention 3rd embodiment is proposed, in the present embodiment, described acquisition module 10, also for obtaining the audition number percent of voice data to be played described in each in audition list; Described audio playing apparatus also comprises order module 60, sorts to voice data to be played described in each in described audition list for the order descending according to described audition number percent; Described acquisition module 10, also for obtaining in described audition list according to the order after arrangement described in each voice data to be played successively, using as current voice data to be played.
In the present embodiment, during based on audition list audition audio, video data, first can treat playing audio-fequency data based on audition number percent and sort, first play the larger audio, video data of audition number percent, play the audio, video data that audition percentage is smaller again, Consumer's Experience is better, and dirigibility is higher.Be understandable that, for reducing system overhead, when current described audition number percent is less than the first predetermined threshold value, processing module 30 can stop obtaining band playing audio-video data, or using the voice data of described audition list original position as next voice data to be played.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an audio frequency playing method, is characterized in that, described audio frequency playing method comprises the following steps:
Obtain the audition number percent of current voice data to be played, wherein, described audition number percent is the ratio of the duration of audition of described voice data to be played and total duration of described song to be played;
When described audition number percent is more than or equal to the first predetermined threshold value, play described voice data to be played;
When described audition number percent is less than the first predetermined threshold value, obtain next voice data to be played as current voice data to be played.
2. audio frequency playing method as claimed in claim 1, it is characterized in that, after the step of the audition number percent of described acquisition voice data to be played, described audio frequency playing method also comprises step:
When described audition number percent is less than or equal to the second predetermined threshold value, play described voice data to be played, wherein.Described second predetermined threshold value is less than described first predetermined threshold value.
3. audio frequency playing method as claimed in claim 1 or 2, it is characterized in that, after the step of the described voice data to be played of described broadcasting, described audio frequency playing method also comprises step:
After described voice data broadcasting to be played terminates, calculate the ratio between this duration of audition and total duration of described voice data to be played;
The audition number percent of described voice data to be played is upgraded according to the ratio calculated.
4. audio frequency playing method as claimed in claim 3, is characterized in that, the step that the ratio that described basis calculates upgrades the audition number percent of described voice data to be played comprises:
The audition number percent of described voice data to be played is replaced with the ratio calculated;
Or, obtain the mean value of the audition number percent described in the ratio that calculates and prefixed time interval after each audition of audition voice data, and using described mean value as described audition number percent.
5. audio frequency playing method as claimed in claim 1 or 2, it is characterized in that, before the step of the audition number percent of described acquisition voice data to be played, described audio frequency playing method also comprises:
Obtain the audition number percent of voice data to be played described in each in audition list;
The order descending according to described audition number percent sorts to voice data to be played described in each in described audition list;
Obtain in described audition list described in each voice data to be played successively according to the order after arrangement, using as current voice data to be played.
6. an audio playing apparatus, is characterized in that, described audio playing apparatus comprises:
Acquisition module, for obtaining the audition number percent of current voice data to be played, wherein, described audition number percent is the ratio of the duration of audition of described voice data to be played and total duration of described song to be played;
Playing module, for when described audition number percent is more than or equal to the first predetermined threshold value, plays described voice data to be played;
Processing module, for when described audition number percent is less than the first predetermined threshold value, obtains next voice data to be played as current voice data to be played.
7. audio playing apparatus as claimed in claim 6, is characterized in that, described playing module, also for when described audition number percent is less than or equal to the second predetermined threshold value, plays described voice data to be played, wherein.Described second predetermined threshold value is less than described first predetermined threshold value.
8. audio playing apparatus as claimed in claims 6 or 7, it is characterized in that, described audio playing apparatus also comprises:
Computing module, for after described voice data broadcasting to be played terminates, calculates the ratio between this duration of audition and total duration of described voice data to be played;
Update module, for upgrading the audition number percent of described voice data to be played according to the ratio calculated.
9. audio playing apparatus as claimed in claim 8, is characterized in that, described update module, also for the audition number percent of described voice data to be played is replaced with the ratio calculated; Or described update module, also for the mean value of the audition number percent described in obtaining in the ratio and prefixed time interval that calculate after each audition of audition voice data, and using described mean value as described audition number percent.
10. audio playing apparatus as claimed in claims 6 or 7, is characterized in that, described acquisition module, also for obtaining the audition number percent of voice data to be played described in each in audition list; Described audio playing apparatus also comprises order module, sorts to voice data to be played described in each in described audition list for the order descending according to described audition number percent; Described acquisition module, also for obtaining in described audition list according to the order after arrangement described in each voice data to be played successively, using as current voice data to be played.
CN201510219191.5A 2015-04-30 2015-04-30 Audio frequency playing method and device Active CN104810033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510219191.5A CN104810033B (en) 2015-04-30 2015-04-30 Audio frequency playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510219191.5A CN104810033B (en) 2015-04-30 2015-04-30 Audio frequency playing method and device

Publications (2)

Publication Number Publication Date
CN104810033A true CN104810033A (en) 2015-07-29
CN104810033B CN104810033B (en) 2018-08-14

Family

ID=53694815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510219191.5A Active CN104810033B (en) 2015-04-30 2015-04-30 Audio frequency playing method and device

Country Status (1)

Country Link
CN (1) CN104810033B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159973A (en) * 2015-08-26 2015-12-16 努比亚技术有限公司 Song recommendation apparatus and method
CN105187863A (en) * 2015-07-31 2015-12-23 小米科技有限责任公司 Advertisement playing method and device
CN107342095A (en) * 2017-06-30 2017-11-10 广东欧珀移动通信有限公司 Playback of songs method, apparatus, storage medium and electronic equipment
CN108012584A (en) * 2015-08-06 2018-05-08 谷歌有限责任公司 Offer is suitable for the only method of the video content of audio playback, system and medium
CN113269573A (en) * 2020-02-14 2021-08-17 西安诺瓦星云科技股份有限公司 Media playing method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6842417B1 (en) * 1999-09-17 2005-01-11 Denon, Ltd. Audio system
US20060294131A1 (en) * 2005-06-24 2006-12-28 Kuan-Hong Hsieh System and method for generating a play-list
CN103065655A (en) * 2012-12-26 2013-04-24 广东欧珀移动通信有限公司 Method and system of automatically generating song playlist at mobile terminal
CN104166716A (en) * 2014-08-15 2014-11-26 华为技术有限公司 Media file assessment method and device
CN104426915A (en) * 2013-08-19 2015-03-18 中国电信股份有限公司 Method, server and system for realizing online music subsection downloading

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6842417B1 (en) * 1999-09-17 2005-01-11 Denon, Ltd. Audio system
US20060294131A1 (en) * 2005-06-24 2006-12-28 Kuan-Hong Hsieh System and method for generating a play-list
CN103065655A (en) * 2012-12-26 2013-04-24 广东欧珀移动通信有限公司 Method and system of automatically generating song playlist at mobile terminal
CN104426915A (en) * 2013-08-19 2015-03-18 中国电信股份有限公司 Method, server and system for realizing online music subsection downloading
CN104166716A (en) * 2014-08-15 2014-11-26 华为技术有限公司 Media file assessment method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187863A (en) * 2015-07-31 2015-12-23 小米科技有限责任公司 Advertisement playing method and device
CN105187863B (en) * 2015-07-31 2018-06-08 小米科技有限责任公司 Play the method and device of advertisement
CN108012584A (en) * 2015-08-06 2018-05-08 谷歌有限责任公司 Offer is suitable for the only method of the video content of audio playback, system and medium
CN108012584B (en) * 2015-08-06 2020-10-02 谷歌有限责任公司 Method, system, and medium for providing video content suitable for audio-only playback
US11109109B2 (en) 2015-08-06 2021-08-31 Google Llc Methods, systems, and media for providing video content suitable for audio-only playback
US11722746B2 (en) 2015-08-06 2023-08-08 Google Llc Methods, systems, and media for providing video content suitable for audio-only playback
CN105159973A (en) * 2015-08-26 2015-12-16 努比亚技术有限公司 Song recommendation apparatus and method
CN105159973B (en) * 2015-08-26 2019-07-12 努比亚技术有限公司 Song recommendations device and method
CN107342095A (en) * 2017-06-30 2017-11-10 广东欧珀移动通信有限公司 Playback of songs method, apparatus, storage medium and electronic equipment
CN113269573A (en) * 2020-02-14 2021-08-17 西安诺瓦星云科技股份有限公司 Media playing method, device and system

Also Published As

Publication number Publication date
CN104810033B (en) 2018-08-14

Similar Documents

Publication Publication Date Title
CN105159533A (en) Mobile terminal and automatic verification code input method thereof
CN104850259A (en) Combination operation method, combination operation apparatus, touch screen operating method and electronic device
CN104917896A (en) Data pushing method and terminal equipment
CN104954553A (en) Mobile terminal split-screen display method and device
CN105100892A (en) Video playing device and method
CN104796956A (en) Mobile terminal network switching method and mobile terminal
CN105101317A (en) Network switching device and method
CN104735255A (en) Split screen display method and system
CN104954867A (en) Media playing method and device
CN105119825A (en) Data transmission device and data transmission method
CN105099870A (en) Message pushing method and device
CN104778067A (en) Sound effect starting method and terminal equipment
CN105262883A (en) Mobile terminal and volume adjusting method thereof
CN104968033A (en) Terminal network processing method and apparatus
CN104811865A (en) Audio output method, device and system
CN104915215A (en) Icon recommending device and method
CN104993180A (en) Terminal charging method and device
CN104951514A (en) Audio playing method and device
CN104810033A (en) Audio playing method and device
CN104915127A (en) Touch key setting method and device, and mobile terminal
CN104661095A (en) Audio and video data recommendation method and system
CN105278995A (en) Management method of application, system, server and mobile terminal
CN105100194A (en) Full Netcom mutual upgrading method and device based on redundant MBN
CN105357362A (en) Mobile terminal control method and device
CN104811565A (en) Voice change communication realization method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant