CN106708464A - Sound box-based alarm clock ringtone playing method, and sound box - Google Patents

Sound box-based alarm clock ringtone playing method, and sound box Download PDF

Info

Publication number
CN106708464A
CN106708464A CN201611160214.0A CN201611160214A CN106708464A CN 106708464 A CN106708464 A CN 106708464A CN 201611160214 A CN201611160214 A CN 201611160214A CN 106708464 A CN106708464 A CN 106708464A
Authority
CN
China
Prior art keywords
url addresses
song
alarm clock
effective
address
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
CN201611160214.0A
Other languages
Chinese (zh)
Other versions
CN106708464B (en
Inventor
龚敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611160214.0A priority Critical patent/CN106708464B/en
Publication of CN106708464A publication Critical patent/CN106708464A/en
Application granted granted Critical
Publication of CN106708464B publication Critical patent/CN106708464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a sound box-based alarm clock ringtone playing method, and a sound box. The method comprises the steps of detecting whether URL addresses corresponding to songs as alarm clock ringtones of an alarm clock include an effective URL address or not in a preset time period before ring time of the alarm clock is up; if the effective URL address is included, online playing the song corresponding to the effective URL address by utilizing the effective URL address when the ring time of the alarm clock is up; and if the effective URL address is not included, playing a local default audio file when the ring time of the alarm clock is up. Compared with the prior art, the method and the sound box have the advantages that the audio files of the songs do not need to be stored in the sound box, the URL addresses corresponding to the songs only need to be stored, and the storage space required by the URL addresses is far smaller than that of the audio files, so that the sound box is not burdened, the storage space of the sound box does not need to be expanded, and the manufacturing cost of the sound box can be effectively prevented from being increased.

Description

Ring of alarm clock player method and audio amplifier based on audio amplifier
Technical field
The present invention relates to technology for loudspeaker box field, more particularly to a kind of ring of alarm clock player method and audio amplifier based on audio amplifier.
Background technology
With the development of the communication technology, audio amplifier has been the electronic equipment commonly used in people's daily life.At present, audio amplifier With the communication mode of other equipment communication from wired communication mode transition before till now, it passes through Communication can be communicated with intelligent terminal and server such that it is able to received the instruction of intelligent terminal transmission and held OK, and can from server download song.
At present, the function of audio amplifier is more and more, and in addition to it can play music, also with alarm clock, timing is played and specified The expanded functions such as song, to embody its intelligent and practicality.For prior art, the alarm clock function limitation of audio amplifier compared with Greatly, user can only typically select the built-in song that audio amplifier is given tacit consent to as ring of alarm clock.
In order to solve above-mentioned limitation, the audio file of song can be downloaded to audio amplifier from network, as alarm clock The tinkle of bells, but audio amplifier is not used in the audio file of storage song in itself, as just the instrument for playing song, its memory space is non- It is often small, will need to increase the memory space of audio amplifier in the downloaded of song to audio amplifier, cause the manufacturing cost of audio amplifier to increase It is high.
The content of the invention
It is a primary object of the present invention to provide a kind of ring of alarm clock player method based on audio amplifier, it is intended to solve existing skill If will need in as the downloaded of the song of ring of alarm clock to audio amplifier to increase the memory space of audio amplifier in art, sound is caused The technical problem that the manufacturing cost of case increases.
To achieve the above object, first aspect present invention provides a kind of ring of alarm clock player method based on audio amplifier, described Stored in audio amplifier as the corresponding uniform resource position mark URL address of song of ring of alarm clock, methods described includes:
Within the preset time period reached before the ring time of alarm clock, the song as the ring of alarm clock of the alarm clock is detected Whether effective URL addresses are included in bent corresponding URL addresses;
If comprising effective URL addresses, when the ring time of the alarm clock is reached, being existed using effective URL addresses Line plays the corresponding song in effective URL addresses;
If not including effective URL addresses, when the ring time of the alarm clock is reached, the audio text of local acquiescence is played Part.
To achieve the above object, second aspect present invention provides a kind of audio amplifier, has been stored in the audio amplifier as alarm clock bell The corresponding uniform resource position mark URL address of song of sound, the audio amplifier includes:
Detection module, within the preset time period reached before the ring time of alarm clock, detecting as the alarm clock Ring of alarm clock the corresponding URL addresses of song in whether include effective URL addresses;
First playing module, if for comprising effective URL addresses, when the ring time of the alarm clock is reached, utilizing The corresponding song in effective URL addresses is played online in effective URL addresses;
Second playing module, if for not including effective URL addresses, when the ring time of the alarm clock is reached, broadcasting Put the audio file of local acquiescence.
The present invention provides a kind of ring of alarm clock player method based on audio amplifier, has been stored as ring of alarm clock in the audio amplifier The corresponding URL of song (Universal Resource Locator, URL) address, reaches the jingle bell of alarm clock In preset time period before time, whether detection in the corresponding URL addresses of song of the ring of alarm clock of the alarm clock used as including Effective URL addresses, if comprising effective URL addresses, when the ring time of the alarm clock is reached, being existed using effective URL addresses Line plays the corresponding song in the effective URL addresses, if not including effective URL addresses, reaches the ring time of the alarm clock When, play the audio file of local acquiescence.Relative to prior art, the audio file of song need not be preserved in audio amplifier, it is only necessary to The corresponding URL addresses of song are preserved, because the memory space required for URL addresses is far smaller than audio file, can't be given Audio amplifier causes burden, it is not required that increases the memory space of audio amplifier, can effectively avoid the increase of the manufacturing cost of audio amplifier.And Further, detected as the corresponding URL ground of song of the ring of alarm clock of alarm clock by before the ring time of alarm clock is reached Whether effective URL addresses are included in location, can be prevented effectively from when the ring time of alarm clock is reached, due to the corresponding URL of song The invalid problem that cannot play ring of alarm clock brought in address.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those skilled in the art, without having to pay creative labor, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structured flowchart of mobile terminal;
Fig. 2 is the schematic flow sheet of the ring of alarm clock player method based on audio amplifier in first embodiment of the invention;
Fig. 3 is the schematic flow sheet of the refinement step of step 201 in first embodiment of the invention;
Fig. 4 is the schematic flow sheet of the refinement step of step 202 in first embodiment of the invention;
Fig. 5 is the schematic flow sheet of the ring of alarm clock player method based on audio amplifier in second embodiment of the invention;
Fig. 6 is the schematic diagram of the functional module of audio amplifier in third embodiment of the invention;
Fig. 7 is the schematic diagram of the refinement functional module of detection module 601 in third embodiment of the invention;
Fig. 8 is the schematic diagram of the refinement functional module of the first playing module 702 in third embodiment of the invention;
Fig. 9 is the schematic diagram of function of loudspeaker box module in fourth embodiment of the invention.
Specific embodiment
To enable that goal of the invention of the invention, feature, advantage are more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 shows a kind of structured flowchart of audio amplifier.Ring of alarm clock based on audio amplifier provided in an embodiment of the present invention is played Method can be applied in audio amplifier 10 as shown in Figure 1.
As shown in figure 1, audio amplifier 10 includes memory 101, storage control 102, one or more (only show one in figure It is individual) processor 103, Peripheral Interface 104, radio-frequency module 105, key-press module 106, audio-frequency module 107 and Touch Screen 108. These components are mutually communicated by one or more communication bus/holding wire 108.
It is appreciated that the structure shown in Fig. 1 is only to illustrate, it does not cause to limit to the structure of audio amplifier.Audio amplifier 10 may be used also Including components more more than shown in Fig. 1 or less, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can Realized with using hardware, software or its combination.
Memory 101 can be used to store software program and module, the alarm clock based on audio amplifier such as in the embodiment of the present invention Ring playing method and the corresponding programmed instruction/module of audio amplifier, processor 103 are soft in memory 101 by running storage Part program and module, so as to perform various function application and data processing, that is, realize the above-mentioned alarm clock bell based on audio amplifier Sound player method.Wherein, the memory space of memory 101 is smaller, will also store the ring time of alarm clock, and as ring of alarm clock Song corresponding URL addresses.
Various input/output devices are coupled to CPU and memory 101 by Peripheral Interface 104.The operation of processor 103 is deposited Various softwares in reservoir 101, instruction are performing the various functions of audio amplifier 10 and carry out data processing.
In certain embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be in one single chips Realize.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used to receive and send electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with Communication network or other equipment are communicated.Radio-frequency module 105 may include the various existing electricity for performing these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, memory etc..Radio-frequency module 105 can with various networks for example internet, intranet, preset type wireless network communicated or by preset type Wireless network communicated with other equipment.The wireless network of above-mentioned preset type may include cellular telephone networks, wireless LAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can use various communication standards, agreement and technology, including But global system for mobile communications (Global System for Mobile Communication, GSM) is not limited to, it is enhanced Mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, W-CDMA), CDMA (Code Division Access, CDMA), tdma (Time Division Multiple Access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) (such as IEEE-USA's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi- Max), other are used for the agreement of mail, instant messaging and short message, and any other suitable communications protocol.
Key-press module 106 provides the interface that is input into audio amplifier of user, user can by press different buttons with Audio amplifier 10 is performed different functions, for example, increase volume, reduce volume, be turned on and off audio amplifier.
Audio-frequency module 107 provides a user with COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 104, and voice data is converted into electric address, Electric address is transmitted to loudspeaker.The sound wave that loudspeaker can hear electric address conversion for human ear.Voice data can be from storage Obtained at device 101 or by radio-frequency module 105.
Ring of alarm clock player method based on audio amplifier in the embodiment of the present invention is described based on above-mentioned audio amplifier.
Due to will need in as the downloaded of the song of ring of alarm clock to audio amplifier to increase audio amplifier in the prior art Memory space, the problem for causing the manufacturing cost of audio amplifier to increase.
In order to solve the above problems, the present invention proposes a kind of ring of alarm clock player method based on audio amplifier, using the method, The audio file of song need not be preserved in audio amplifier, it is only necessary to the corresponding URL addresses of song are preserved, due to required for URL addresses Memory space be far smaller than audio file, can't to audio amplifier cause burden, it is not required that increase audio amplifier memory space, energy Enough effectively avoid the increase of the manufacturing cost of audio amplifier.And it is further, detected by before the ring time of alarm clock is reached As in the corresponding URL addresses of the song of the ring of alarm clock of alarm clock whether include effective URL addresses, and comprising effective URL ground During location, played online using effective URL addresses, when effective URL addresses are not included, play local default audio file, energy Enough be prevented effectively from alarm clock ring time reach when, due to the corresponding URL addresses of song it is invalid bring cannot play noisy The problem of bell sound.
Fig. 2 is referred to, is the schematic flow sheet of the ring of alarm clock player method based on audio amplifier in first embodiment of the invention, Wherein, stored in the audio amplifier as the corresponding URL addresses of song of ring of alarm clock, the method includes:
Step 201, reach alarm clock ring time before preset time period in, detection as the alarm clock alarm clock Whether effective URL addresses are included in the corresponding URL addresses of song of the tinkle of bells;
In embodiments of the present invention, user can set alarm clock in audio amplifier, wherein, alarm clock is set and includes setting alarm clock Ring time, number of rings, ring of alarm clock etc., for example, the ring time for setting alarm clock is o'clock sharp in the morning 7, number of rings is Three times, ring of alarm clock is song A.
Usual user is that the alarm clock in audio amplifier is configured by mobile terminal, wherein, the mobile terminal and the audio amplifier Connected by wireless network, such as wifi or bluetooth, and in order to the audio amplifier is able to access that network, the audio amplifier is in access network The state of network, for example, being in wifi connection status.
Wherein, when user sets alarm clock by mobile terminal in audio amplifier, the ring of alarm clock of alarm clock can be set to net Song on network, specifically:User is input into the search interface of mobile terminal and specifies title or specified type or specify Song search request is sent to server by the song of singer, mobile terminal, comprising user on search circle in the searching request The content being input into face, server will be scanned for after receiving song search request, and Search Results are fed back into shifting Dynamic terminal, mobile terminal will show Search Results on display interface, and user can be operated in display interface, will be searched for The song shown on interface is set to the ring of alarm clock of alarm clock, and mobile terminal will get the URL ground of the song from server Location and song data, and the song data and URL addresses are sent to audio amplifier, preserved by audio amplifier, to realize the noisy of audio amplifier The setting of bell sound.
It is understood that in embodiments of the present invention, a ring of alarm clock for alarm clock can include at least one song.
In embodiments of the present invention, within the preset time period reached before the ring time of alarm clock, audio amplifier will be detected to be made Whether to include effective URL addresses in the corresponding URL addresses of the song of the ring of alarm clock of the alarm clock.Wherein, the preset time period Can be alarm clock ring time before 1 minute, if for example, the ring time of alarm clock be morning 7:00, then audio amplifier will be 6: 59 separately begin performs the technical scheme in the embodiment of the present invention.
Wherein, effective URL addresses refer to the audio file that song is able to access that using the URL addresses, and normal play The address of song.
It is understood that when the ring of alarm clock of alarm clock is set to song by user, the URL addresses of the song are effective , you can to realize the normal play of song, but the URL address modifications of song are there may be or because version is asked in the later stage Topic song can not be played or situations such as server has deleted the song etc., so as to cause can not using the URL addresses of the song Have access to the audio file of the song, it is impossible to realize the normal play of song, in this case, as URL addresses of song It is invalid.
In embodiments of the present invention, by detect in the corresponding URL addresses of song as the ring of alarm clock of alarm clock whether Comprising effective URL addresses, can effectively determine which song can be normal play, which song is cannot normal play 's.
If step 202, comprising effective URL addresses, when the ring time of the alarm clock is reached, using it is described effectively The corresponding song in effective URL addresses is played online in URL addresses;
If step 203, not including effective URL addresses, when the ring time of the alarm clock is reached, local acquiescence is played Audio file.
In embodiments of the present invention, if as in the corresponding URL addresses of song of the ring of alarm clock of alarm clock include effective URL Address, then when the ring time of the alarm clock is reached, play effective URL addresses corresponding online using effective URL addresses Song, for example, song A and song B is included as the song of the ring of alarm clock of alarm clock, and the URL addresses of song A and song B are divided Not Wei address A and address B, audio amplifier will detect two URL addresses in whether there is effective URL addresses, if address B is effective URL addresses, then when the ring time of alarm clock is reached, song B is played using address B online, to realize that ring of alarm clock is played.Its In, if not including effective URL addresses, when the ring time of alarm clock is reached, the audio file of local acquiescence is played, wherein, The audio file of the local acquiescence is typically the audio file that audio amplifier is set in production.
Wherein, if there are at least two effective URL addresses, song will online be played using this two effective URL addresses successively Song, if for example, address A and address B be effective URL addresses, reach alarm clock ring time when, it is online first with address A The corresponding song A of address A are played, and after song A is played, using the corresponding song B of the online broadcast address B of address B.
It is understood that audio amplifier is in the preset time period before the ring time of alarm clock, detect as the alarm clock In the corresponding URL addresses of song of ring of alarm clock whether include effective URL addresses, be in order to prevent reach ring time when, Due to not including effective URL addresses in the corresponding URL addresses of song, that brings cannot play the problem of ring of alarm clock.
And it is further, it is directly to utilize effective URL ground when the ring time of alarm clock is reached in the embodiment of the present invention Corresponding song is played in location online, without when the ring time of alarm clock is reached, going to sound out as the noisy of alarm clock successively Whether the song of bell sound can be played, and more long due to souning out the time of occupancy each time, and alarm clock will be caused to broadcast on schedule Ring of alarm clock is put, therefore, by detecting the validity of URL addresses before ring time is reached, can effectively avoid alarm clock The problem that cannot play on time of ring of alarm clock.
In embodiments of the present invention, within the preset time period reached before the ring time of alarm clock, detection is noisy as this Whether effective URL addresses are included in the corresponding URL addresses of song of the ring of alarm clock of clock, if comprising effective URL addresses, arriving Up to the alarm clock ring time when, the corresponding song in the effective URL addresses is played online using effective URL addresses, if not wrapping Containing effective URL addresses, then when the ring time of the alarm clock is reached, the audio file of local acquiescence is played.Relative to existing Technology, need not preserve the audio file of song in audio amplifier, it is only necessary to the corresponding URL addresses of song be preserved, by URL addresses institute The memory space of needs is far smaller than audio file, can't cause burden to audio amplifier, it is not required that the storage for increasing audio amplifier is empty Between, can effectively avoid the increase of the manufacturing cost of audio amplifier.And it is further, by before the ring time of alarm clock is reached Whether detection includes effective URL addresses as in the corresponding URL addresses of song of the ring of alarm clock of alarm clock, can be prevented effectively from When the ring time of alarm clock is reached, due to the invalid problem that cannot play ring of alarm clock brought in the corresponding URL addresses of song.
Fig. 3 is referred to, is the schematic flow sheet of the refinement step of step 201 in first embodiment of the invention, the step 201 Refinement step include:
Step 301, reach alarm clock ring time before preset time period in, to server send address detected please Ask, the URL addresses are included in the address detected request, so as to be included in address detected request described in the server by utilizing The URL addresses whether determine in the URL addresses comprising effective URL addresses, and feed back testing result;
If comprising the URL addresses for having been provided with criterion note in step 302, the testing result, it is determined that the URL addresses In include effective URL addresses;
If not comprising the URL addresses for having been provided with criterion note in step 303, the testing result, it is determined that the URL ground Effective URL addresses are not included in location.
In embodiments of the present invention, within the preset preset time period reached before the ring time of alarm clock, audio amplifier will be to Whether server sends address detected request, to realize depositing as in the corresponding URL addresses of song of the ring of alarm clock of the alarm clock In effective URL addresses.
Wherein, the corresponding URL addresses of above-mentioned song are included in address above mentioned detection request, server is receiving the request Afterwards, whether will be determined in the URL addresses comprising effective URL addresses using the URL addresses included in the request, and feed back inspection Result is surveyed, specifically:For any one URL address, server will be whether there is and URL ground using the URL address searches The corresponding broadcast address in location, stores the audio file of song in the broadcast address, if not finding corresponding with the URL addresses Broadcast address, then show that the URL addresses are invalid, and for the URL addresses set invalid flag, if finding and the URL addresses pair The broadcast address answered, then show the URL addresses effectively, and for the URL addresses set significant notation.
In embodiments of the present invention, audio amplifier is wrapped after the testing result for receiving server feedback in the testing result Containing the URL addresses detected, and the URL addresses mark, if comprising the URL ground for having been provided with criterion note in the testing result Location, it is determined that it is effective URL addresses, if not comprising the URL addresses for having been provided with criterion note in the testing result, it is determined that The URL addresses of detection are invalid URL addresses.If for example, including address A, address B and address in the URL addresses of audio amplifier transmission C, if the mark of address A is (i.e. significant notation), the mark of address B and address C is 0 (as invalid flag), then can be true Determine to include effective URL addresses, as address A in URL addresses.If address A, address B, the mark of address C are 0, show URL Effective URL addresses are not included in address.
In embodiments of the present invention, it is sent to server in address detected is asked by by the carrying of URL addresses so that energy It is enough whether effectively to determine in the URL addresses comprising effective URL addresses.
Fig. 4 is referred to, is the schematic flow sheet of the refinement step of step 202 in first embodiment of the invention, the step 202 Refinement step include:
If step 401, comprising effective URL addresses, when the ring time of the alarm clock is reached, it is sent in server Line playing request, includes effective URL addresses in the online playing request, so that described in the server by utilizing effectively Feed back the broadcast address of the corresponding song in effective URL addresses in URL addresses;
Step 402, the loading broadcast address, to realize the online broadcasting of song.
In embodiments of the present invention, if as in the corresponding URL addresses of song of the ring of alarm clock of alarm clock include effective URL Address, then when the ring time of alarm clock is reached, audio amplifier will send online playing request to server, i.e., by streaming media playing Mode realizes the online broadcasting of the corresponding song in effective URL addresses.
Wherein, in the online playing request include above-mentioned effective URL addresses, server receive the online broadcasting please After asking, by using the URL address searches included in request broadcast address corresponding with the URL addresses, and by broadcasting ground Location feeds back to audio amplifier.
Audio amplifier will load the broadcast address, to realize the online broadcasting of song after the broadcast address is received.Specifically , audio amplifier will download the data block of the audio file of song from server in real time after the broadcast address is loaded, and to downloading Data block parsed, and parsing after play out.Wherein, when playing song by online broadcasting form, and need not The audio file of song is preserved, the occupancy to the memory space of audio amplifier is prevented effectively from.
In embodiments of the present invention, through the above way, audio amplifier can be not take up when the ring time of alarm clock is reached Memory space on the basis of effectively play song, with realize ring of alarm clock play.
Fig. 5 is referred to, is the schematic flow sheet of the ring of alarm clock player method based on audio amplifier in second embodiment of the invention, The method includes:
Step 501, reach alarm clock ring time before preset time period in, detection as the alarm clock alarm clock Whether effective URL addresses are included in the corresponding URL addresses of song of the tinkle of bells;
If step 502, comprising effective URL addresses, when the ring time of the alarm clock is reached, using it is described effectively The corresponding song in effective URL addresses is played online in URL addresses;
In embodiments of the present invention, the step 501 and step 502 in second embodiment respectively with first embodiment in step Rapid 201 and step 202 description content it is similar, do not repeat herein.
If step 503, not including effective URL addresses, sending address to server updates request, and the address updates please Comprising the song data of the song in asking, so that the song data search song is newest described in the server by utilizing URL addresses, and feedback search result;Step 504 and step 505 are continued executing with, or continues executing with step 506;
If step 504, the Search Results are sky, when the ring time of the alarm clock is reached, local acquiescence is played Audio file;
If step 505, the Search Results are sky, prompting message is sent to specified mobile terminal, and delete the URL Address, it is invalid as the corresponding URL addresses of song of the ring of alarm clock of the alarm clock that the prompting message is used for prompting;
If the newest URL addresses of step 506, the Search Results comprising at least one song, using described newest URL addresses URL addresses corresponding to respective songs be updated, and when the ring time of the alarm clock is reached, using institute State newest URL addresses and play the newest corresponding song in URL addresses online.
In embodiments of the present invention, however, it is determined that as not included in the corresponding URL addresses of the song of the ring of alarm clock of alarm clock Effective URL addresses, then audio amplifier send address to server and update request, to realize the renewal of URL addresses.
Wherein, the address updates the song data of the song comprising the ring of alarm clock as the alarm clock in request, wherein, song Number of tracks data related to song such as song title, singer, affiliated special edition comprising each song in.
Server will search for the newest URL addresses of song, example after renewal request is received using the song data Such as, if including song A, song B, the song data of song C in the song data, search song A, song B and song C are newest URL addresses, if searching the newest URL addresses of song B and song C, the newest URL addresses of song B and song C are carried Audio amplifier is fed back in Search Results.If it is understood that not searching song A, song B and the newest URL ground of song C Location, then to audio amplifier feedback search result, and the Search Results are sky.
Wherein, audio amplifier, if the Search Results are sky, shows not searching as alarm clock after Search Results are received Ring of alarm clock song newest URL addresses, reach the alarm clock ring time when, in order to avoid alarm clock cannot be played Jingle bell, audio amplifier will play the audio file of local acquiescence, to realize that alarm clock jingle bell is played.
And in the case where Search Results are for sky, audio amplifier will also send prompting message to specified mobile terminal, and delete work It is the URL addresses of the song of the ring of alarm clock of the alarm clock, the prompting message is used to point out user, and it is provided as ring of alarm clock Song URL addresses it is invalid, user need re-start setting.And it is understood that delete URL addresses when, audio amplifier The song data of song can also be deleted, is taken with avoiding memory space from being deactivated data.Wherein, the specified mobile terminal can be with It is the mobile terminal with audio amplifier wireless connection.
In embodiments of the present invention, if Search Results include the newest URL addresses of at least one song, using this most New URL addresses URL addresses corresponding to respective songs are updated, if for example, newest comprising song A in Search Results URL addresses, then be updated using the newest URL addresses to the corresponding URL addresses of song A stored in audio amplifier, i.e. profit Original URL addresses are replaced with the newest URL addresses.
And after the updating, when the ring time of alarm clock is reached, played online using the newest URL addresses for receiving The newest corresponding song in URL addresses.
If it is understood that have more as the song of the ring of alarm clock of alarm clock, and the corresponding URL ground of the number of songs When location is all effective, order or numbering when can be set according to user are played out successively.
If it is understood that comprising effective in detecting the corresponding URL addresses of song as the ring of alarm clock of alarm clock URL addresses, and simultaneously not all URL addresses are effective URL addresses, then can be by the song of the corresponding song in invalid URL addresses Data is activation is scanned for server by server, if searching newest URL addresses, is entered using newest URL addresses Row is updated, and the newest URL addresses are used as effective URL addresses.For example, the song pair of the ring of alarm clock as alarm clock Address A and address B is effective URL addresses in the URL addresses answered, and address C and address D are invalid URL addresses, then can be by address The song data of C and address D corresponding song C and song D is sent to server, is scanned for by server, if server is searched Rope does not search for the newest URL addresses of song D to the newest URL addresses of song C, then audio amplifier is using song C newest URL addresses Address C is replaced, to realize updating, further, audio amplifier can also send prompting message to mobile terminal, be included in the prompting message The failed prompting of address D of song D, and delete the song data and address D of the song D preserved in audio amplifier.
In embodiments of the present invention, not comprising effective in the corresponding URL addresses of song of the ring of alarm clock as alarm clock During URL addresses, request is updated by sending address to server, enabling by the URL that the above-mentioned song of server search is newest Address, to carry out the renewal of URL addresses.
Fig. 6 is referred to, is the schematic diagram of the functional module of audio amplifier in third embodiment of the invention, wherein, in the audio amplifier Store as the corresponding URL addresses of song of ring of alarm clock, the audio amplifier includes:Detection module 601, the first playing module 602 and Second playing module 603.
Detection module 601, within the preset time period reached before the ring time of alarm clock, detection to be used as described noisy Whether effective URL addresses are included in the corresponding URL addresses of song of the ring of alarm clock of clock;
In embodiments of the present invention, user can set alarm clock in audio amplifier, wherein, alarm clock is set and includes setting alarm clock Ring time, number of rings, ring of alarm clock etc., for example, the ring time for setting alarm clock is o'clock sharp in the morning 7, number of rings is Three times, ring of alarm clock is song A.
Usual user is that the alarm clock in audio amplifier is configured by mobile terminal, wherein, the mobile terminal and the audio amplifier Connected by wireless network, such as wifi or bluetooth, and in order to the audio amplifier is able to access that network, the audio amplifier is in access network The state of network, for example, being in wifi connection status.
Wherein, when user sets alarm clock by mobile terminal in audio amplifier, the ring of alarm clock of alarm clock can be set to net Song on network, specifically:User is input into the search interface of mobile terminal and specifies title or specified type or specify Song search request is sent to server by the song of singer, mobile terminal, comprising user on search circle in the searching request The content being input into face, server will be scanned for after receiving song search request, and Search Results are fed back into shifting Dynamic terminal, mobile terminal will show Search Results on display interface, and user can be operated in display interface, will be searched for The song shown on interface is set to the ring of alarm clock of alarm clock, and mobile terminal will get the URL ground of the song from server Location and song data, and the song data and URL addresses are sent to audio amplifier, preserved by audio amplifier, to realize the noisy of audio amplifier The setting of bell sound.
It is understood that in embodiments of the present invention, a ring of alarm clock for alarm clock can include at least one song.
In embodiments of the present invention, within the preset time period reached before the ring time of alarm clock, detection module 601 will Whether detection includes effective URL addresses as in the corresponding URL addresses of song of the ring of alarm clock of the alarm clock.Wherein, this is preset Time period can be 1 minute before the ring time of alarm clock, if for example, the ring time of alarm clock is morning 7:00, then audio amplifier Will be 6:59 separately begin performs the technical scheme in the embodiment of the present invention.
Wherein, effective URL addresses refer to the audio file that song is able to access that using the URL addresses, and normal play The address of song.
It is understood that when the ring of alarm clock of alarm clock is set to song by user, the URL addresses of the song are effective , you can to realize the normal play of song, but the URL address modifications of song are there may be or because version is asked in the later stage Topic song can not be played or situations such as server has deleted the song etc., so as to cause can not using the URL addresses of the song Have access to the audio file of the song, it is impossible to realize the normal play of song, in this case, as URL addresses of song It is invalid.
In embodiments of the present invention, by detect in the corresponding URL addresses of song as the ring of alarm clock of alarm clock whether Comprising effective URL addresses, can effectively determine which song can be normal play, which song is cannot normal play 's.
First playing module 602, if for comprising effective URL addresses, when the ring time of the alarm clock is reached, profit The corresponding song in effective URL addresses is played online with effective URL addresses;
Second playing module 603, if for not including effective URL addresses, when the ring time of the alarm clock is reached, Play the audio file of local acquiescence.
In embodiments of the present invention, if as in the corresponding URL addresses of song of the ring of alarm clock of alarm clock include effective URL Address, then when the ring time of the alarm clock is reached, the first playing module 602 plays this online using effective URL addresses to be had The corresponding song in effect URL addresses, for example, including song A and song B, and song A and song as the song of the ring of alarm clock of alarm clock The URL addresses of bent B are respectively address A and address B, and audio amplifier whether there is effective URL addresses in detecting two URL addresses, If address B is effective URL addresses, when the ring time of alarm clock is reached, song B is played online using address B, to realize making a noise Bell sound is played.Wherein, if not including effective URL addresses, when the ring time of alarm clock is reached, the second playing module 603 The audio file of local acquiescence is played, wherein, the audio file of the local acquiescence is typically the audio that audio amplifier is set in production File.
Wherein, if there are at least two effective URL addresses, song will online be played using this two effective URL addresses successively Song, if for example, address A and address B be effective URL addresses, reach alarm clock ring time when, it is online first with address A The corresponding song A of address A are played, and after song A is played, using the corresponding song B of the online broadcast address B of address B.
It is understood that audio amplifier is in the preset time period before the ring time of alarm clock, detect as the alarm clock In the corresponding URL addresses of song of ring of alarm clock whether include effective URL addresses, be in order to prevent reach ring time when, Due to not including effective URL addresses in the corresponding URL addresses of song, that brings cannot play the problem of ring of alarm clock.
And it is further, it is directly to utilize effective URL ground when the ring time of alarm clock is reached in the embodiment of the present invention Corresponding song is played in location online, without when the ring time of alarm clock is reached, going to sound out as the noisy of alarm clock successively Whether the song of bell sound can be played, and more long due to souning out the time of occupancy each time, and alarm clock will be caused to broadcast on schedule Ring of alarm clock is put, therefore, by detecting the validity of URL addresses before ring time is reached, can effectively avoid alarm clock The problem that cannot play on time of ring of alarm clock.
In embodiments of the present invention, within the preset time period reached before the ring time of alarm clock, detection is noisy as this Whether effective URL addresses are included in the corresponding URL addresses of song of the ring of alarm clock of clock, if comprising effective URL addresses, arriving Up to the alarm clock ring time when, the corresponding song in the effective URL addresses is played online using effective URL addresses, if not wrapping Containing effective URL addresses, then when the ring time of the alarm clock is reached, the audio file of local acquiescence is played.Relative to existing Technology, need not preserve the audio file of song in audio amplifier, it is only necessary to the corresponding URL addresses of song be preserved, by URL addresses institute The memory space of needs is far smaller than audio file, can't cause burden to audio amplifier, it is not required that the storage for increasing audio amplifier is empty Between, can effectively avoid the increase of the manufacturing cost of audio amplifier.And it is further, by before the ring time of alarm clock is reached Whether detection includes effective URL addresses as in the corresponding URL addresses of song of the ring of alarm clock of alarm clock, can be prevented effectively from When the ring time of alarm clock is reached, due to the invalid problem that cannot play ring of alarm clock brought in the corresponding URL addresses of song.
Fig. 7 is referred to, is the schematic diagram of the functional module of detection module 601 in third embodiment of the invention, the detection mould Block 601 includes:
First sending module 701, is asked for sending address detected to server, and institute is included in the address detected request URL addresses are stated, so that the URL addresses included in address detected request described in the server by utilizing determine the URL ground Whether effective URL addresses are included, and feed back testing result in location;
First determining module 702, if having been provided with the URL addresses of criterion note for being included in the testing result, really Effective URL addresses are included in the fixed URL addresses;
Second determining module 703, if having been provided with the URL addresses of criterion note for not included in the testing result, Determine in the URL addresses not comprising effective URL addresses.
In embodiments of the present invention, within the preset preset time period reached before the ring time of alarm clock, first sends Module 701 will send address detected and ask to server, to realize the corresponding URL ground of song as the ring of alarm clock of the alarm clock Whether there is effective URL addresses in location.
Wherein, the corresponding URL addresses of above-mentioned song are included in address above mentioned detection request, server is receiving the request Afterwards, whether will be determined in the URL addresses comprising effective URL addresses using the URL addresses included in the request, and feed back inspection Result is surveyed, specifically:For any one URL address, server will be whether there is and URL ground using the URL address searches The corresponding broadcast address in location, stores the audio file of song in the broadcast address, if not finding corresponding with the URL addresses Broadcast address, then show that the URL addresses are invalid, and for the URL addresses set invalid flag, if finding and the URL addresses pair The broadcast address answered, then show the URL addresses effectively, and for the URL addresses set significant notation.
In embodiments of the present invention, audio amplifier is wrapped after the testing result for receiving server feedback in the testing result Containing the URL addresses detected, and the URL addresses mark, if comprising the URL ground for having been provided with criterion note in the testing result Location, then the first determining module 702 determines that it is effective URL addresses, if do not included in the testing result having been provided with criterion note URL addresses, then the second determining module 703 determine that the URL addresses detected are invalid URL addresses.For example, what if audio amplifier sent Address A, address B and address C are included in URL addresses, if the mark of address A is (i.e. significant notation), address B's and address C Mark is 0 (as invalid flag), then can determine that in URL addresses comprising effective URL addresses, as address A.If address A, Location B, the mark of address C are 0, then show in URL addresses not comprising effective URL addresses.
In embodiments of the present invention, it is sent to server in address detected is asked by by the carrying of URL addresses so that energy It is enough whether effectively to determine in the URL addresses comprising effective URL addresses.
Fig. 8 is referred to, is the schematic diagram of the refinement functional module of the first playing module 702 in third embodiment of the invention, First playing module 702 includes:
Second sending module 801, if for comprising effective URL addresses, when the ring time of the alarm clock is reached, to Server sends online playing request, effective URL addresses is included in the online playing request, so that the server is sharp The broadcast address of the corresponding song in effective URL addresses is fed back with effective URL addresses;
Load-on module 802, for loading the broadcast address, to realize the online broadcasting of song.
In embodiments of the present invention, if as in the corresponding URL addresses of song of the ring of alarm clock of alarm clock include effective URL Address, then when the ring time of alarm clock is reached, the second sending module 801 will send online playing request to server, that is, lead to Cross the online broadcasting that streaming media playing mode realizes the corresponding song in effective URL addresses.
Wherein, in the online playing request include above-mentioned effective URL addresses, server receive the online broadcasting please After asking, by using the URL address searches included in request broadcast address corresponding with the URL addresses, and by broadcasting ground Location feeds back to audio amplifier.
Audio amplifier after the broadcast address is received, load-on module 802 will load the broadcast address, with realize song Line is played.Specifically, audio amplifier is after the broadcast address is loaded, the data of the audio file of song will be downloaded from server in real time Block, and to download data block parse, and parsing after play out.Wherein, song is played by online form of playing When, and the audio file of song need not be preserved, it is prevented effectively from the occupancy to the memory space of audio amplifier.
In embodiments of the present invention, through the above way, audio amplifier can be not take up when the ring time of alarm clock is reached Memory space on the basis of effectively play song, with realize ring of alarm clock play.
Fig. 9 is referred to, is the schematic diagram of the functional module of audio amplifier in fourth embodiment of the invention, the audio amplifier includes:Such as the Detection module 601, the first playing module 602 and the second playing module 603 in three embodiments, and with described in 3rd embodiment Content it is similar, do not repeat herein.
In embodiments of the present invention, audio amplifier also includes:
3rd sending module 901, if for not including effective URL addresses, sending address to server and updating request, institute State address and update the song data comprising the song in request, so that song data search is described described in the server by utilizing The newest URL addresses of song, and feedback search result;
Trigger module 902, if being sky for the Search Results, triggers second playing module 603;
Playing module 903 is updated, if for newest URL address of the Search Results comprising at least one song, It is updated using newest URL addresses URL addresses corresponding to respective songs, and when the jingle bell of the alarm clock is reached Between when, play the newest corresponding song in URL addresses online using the newest URL addresses.
Message transmission module 904, if being sky for the Search Results, prompting message is sent to specified mobile terminal, And the URL addresses are deleted, the prompting message is used to point out the URL addresses invalid.
In embodiments of the present invention, however, it is determined that as not included in the corresponding URL addresses of the song of the ring of alarm clock of alarm clock Effective URL addresses, then the 3rd sending module 901 send address to server and update request, to realize the renewal of URL addresses.
Wherein, the address updates the song data of the song comprising the ring of alarm clock as the alarm clock in request, wherein, song Number of tracks data related to song such as song title, singer, affiliated special edition comprising each song in.
Server will search for the newest URL addresses of song, example after renewal request is received using the song data Such as, if including song A, song B, the song data of song C in the song data, search song A, song B and song C are newest URL addresses, if searching the newest URL addresses of song B and song C, the newest URL addresses of song B and song C are carried Audio amplifier is fed back in Search Results.If it is understood that not searching song A, song B and the newest URL ground of song C Location, then to audio amplifier feedback search result, and the Search Results are sky.
Wherein, audio amplifier, if the Search Results are sky, shows not searching as alarm clock after Search Results are received Ring of alarm clock song newest URL addresses, reach the alarm clock ring time when, in order to avoid alarm clock cannot be played Jingle bell, trigger module 902 will trigger the audio file that the second playing module 603 plays local acquiescence, to realize that alarm clock jingle bell is broadcast Put.
And in the case where Search Results are for sky, message transmission module 904 will send prompting message to specified mobile terminal, And delete as the URL addresses of the song of the ring of alarm clock of the alarm clock, the prompting message is used to point out user, and it is provided as The URL addresses of the song of ring of alarm clock are invalid, and user needs to re-start setting.And it is understood that deleting URL addresses When, audio amplifier can also delete the song data of song, be taken with avoiding memory space from being deactivated data.Wherein, the specified movement Terminal can be the mobile terminal with audio amplifier wireless connection.
In embodiments of the present invention, if Search Results include the newest URL addresses of at least one song, update and play Module 903 is updated using newest URL addresses URL addresses corresponding to respective songs, if for example, being wrapped in Search Results Newest URL addresses containing song A, then using the newest URL addresses to the corresponding URL addresses of song A that have been stored in audio amplifier It is updated, i.e., replaces original URL addresses using the newest URL addresses.
And after the updating, when the ring time of alarm clock is reached, played online using the newest URL addresses for receiving The newest corresponding song in URL addresses.
If it is understood that have more as the song of the ring of alarm clock of alarm clock, and the corresponding URL ground of the number of songs When location is all effective, order or numbering when can be set according to user are played out successively.
If it is understood that comprising effective in detecting the corresponding URL addresses of song as the ring of alarm clock of alarm clock URL addresses, and simultaneously not all URL addresses are effective URL addresses, then can be by the song of the corresponding song in invalid URL addresses Data is activation is scanned for server by server, if searching newest URL addresses, is entered using newest URL addresses Row is updated, and the newest URL addresses are used as effective URL addresses.For example, the song pair of the ring of alarm clock as alarm clock Address A and address B is effective URL addresses in the URL addresses answered, and address C and address D are invalid URL addresses, then can be by address The song data of C and address D corresponding song C and song D is sent to server, is scanned for by server, if server is searched Rope does not search for the newest URL addresses of song D to the newest URL addresses of song C, then audio amplifier is using song C newest URL addresses Address C is replaced, to realize updating, further, audio amplifier can also send prompting message to mobile terminal, be included in the prompting message The failed prompting of address D of song D, and delete the song data and address D of the song D preserved in audio amplifier.
In embodiments of the present invention, not comprising effective in the corresponding URL addresses of song of the ring of alarm clock as alarm clock During URL addresses, request is updated by sending address to server, enabling by the URL that the above-mentioned song of server search is newest Address, to carry out the renewal of URL addresses.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or module by some interfaces Letter connection, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module The part for showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.Some or all of module therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing module, it is also possible to It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is to realize in the form of software function module and as independent production marketing or use When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (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.
It should be noted that for foregoing each method embodiment, in order to simplicity is described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
Be more than to a kind of description of ring of alarm clock player method and audio amplifier based on audio amplifier provided by the present invention, for Those skilled in the art, according to the thought of the embodiment of the present invention, has change in specific embodiments and applications Part, to sum up, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of ring of alarm clock player method based on audio amplifier, it is characterised in that stored as ring of alarm clock in the audio amplifier The corresponding uniform resource position mark URL address of song, methods described includes:
Within the preset time period reached before the ring time of alarm clock, the song pair as the ring of alarm clock of the alarm clock is detected Whether comprising effective URL addresses in the URL addresses answered;
If comprising effective URL addresses, when the ring time of the alarm clock is reached, being broadcast online using effective URL addresses Put the corresponding song in effective URL addresses;
If not including effective URL addresses, when the ring time of the alarm clock is reached, the audio file of local acquiescence is played.
2. method according to claim 1, it is characterised in that the detection as the ring of alarm clock of the alarm clock song Whether the step of in corresponding URL addresses comprising effective URL addresses, includes:
Address detected is sent to server to ask, the URL addresses are included in the address detected request, so that the server Whether the URL addresses that include are determined in the URL addresses comprising effective URL addresses in being asked using the address detected, And feed back testing result;
If comprising the URL addresses for having been provided with criterion note in the testing result, it is determined that comprising effective in the URL addresses URL addresses;
If not comprising the URL addresses for having been provided with criterion note in the testing result, it is determined that do not include in the URL addresses Effect URL addresses.
3. method according to claim 1, it is characterised in that described to play described online using effective URL addresses The step of corresponding song in effective URL addresses, includes:
Online playing request is sent to server, effective URL addresses is included in the online playing request, so that the clothes Business device feeds back the broadcast address of the corresponding song in effective URL addresses using effective URL addresses;
The broadcast address is loaded, to realize the online broadcasting of song.
4. the method according to claims 1 to 3 any one, it is characterised in that described to reach the jingle bell of the alarm clock During the time, also include before the audio file for playing local acquiescence:
Address being sent to server and updating request, the address updates the song data comprising the song in request, with toilet State song data described in server by utilizing and search for the newest URL addresses of the song, and feedback search result;
If the Search Results are sky, described when the ring time of the alarm clock is reached, the local acquiescence of broadcasting is continued executing with Audio file the step of;
If newest URL address of the Search Results comprising at least one song, using the newest URL addresses to phase The corresponding URL addresses of song are answered to be updated, and when the ring time of the alarm clock is reached, using the newest URL ground The newest corresponding song in URL addresses is played online in location.
5. method according to claim 4, it is characterised in that methods described also includes:
If the Search Results are sky, prompting message is sent to specified mobile terminal, and delete the URL addresses, it is described to carry Show message for pointing out the URL addresses invalid.
6. a kind of audio amplifier, it is characterised in that stored in the audio amplifier and determined as the corresponding unified resource of song of ring of alarm clock Position symbol URL addresses, the audio amplifier includes:
Detection module, within the preset time period reached before the ring time of alarm clock, detection to be used as the noisy of the alarm clock Whether effective URL addresses are included in the corresponding URL addresses of song of bell sound;
First playing module, if for comprising effective URL addresses, when the ring time of the alarm clock is reached, using described The corresponding song in effective URL addresses is played online in effective URL addresses;
Second playing module, if for not including effective URL addresses, when the ring time of the alarm clock is reached, playing this The audio file of ground acquiescence.
7. audio amplifier according to claim 6, it is characterised in that the detection module includes:
First sending module, asks for sending address detected to server, comprising URL ground in the address detected request Location so that in address detected request described in the server by utilizing URL addresses that include determine in the URL addresses whether Comprising effective URL addresses, and feed back testing result;
First determining module, if having been provided with the URL addresses of criterion note for being included in the testing result, it is determined that described Effective URL addresses are included in URL addresses;
Second determining module, if having been provided with the URL addresses of criterion note for not included in the testing result, it is determined that described Effective URL addresses are not included in URL addresses.
8. audio amplifier according to claim 6, it is characterised in that first playing module includes:
Second sending module, if for comprising effective URL addresses, when the ring time of the alarm clock is reached, to server Online playing request is sent, effective URL addresses is included in the online playing request, so that described in the server by utilizing Feed back the broadcast address of the corresponding song in effective URL addresses in effective URL addresses;
Load-on module, for loading the broadcast address, to realize the online broadcasting of song.
9. the audio amplifier according to claim 6 to 9 any one, it is characterised in that the audio amplifier also includes:
3rd sending module, if for not including effective URL addresses, sending address to server and updating request, the address The song data comprising the song in request is updated, so that song data described in the server by utilizing searches for the song most New URL addresses, and feedback search result;
Trigger module, if being sky for the Search Results, triggers second playing module;
Playing module is updated, if for newest URL address of the Search Results comprising at least one song, using described Newest URL addresses URL addresses corresponding to respective songs are updated, and when the ring time of the alarm clock is reached, profit The newest corresponding song in URL addresses is played online with the newest URL addresses.
10. audio amplifier according to claim 9, it is characterised in that the audio amplifier also includes:
Message transmission module, if being sky for the Search Results, sends prompting message, and delete institute to specified mobile terminal URL addresses are stated, the prompting message is used to point out the URL addresses invalid.
CN201611160214.0A 2016-12-15 2016-12-15 Alarm clock ringtone playing method based on loudspeaker box and loudspeaker box Active CN106708464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611160214.0A CN106708464B (en) 2016-12-15 2016-12-15 Alarm clock ringtone playing method based on loudspeaker box and loudspeaker box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611160214.0A CN106708464B (en) 2016-12-15 2016-12-15 Alarm clock ringtone playing method based on loudspeaker box and loudspeaker box

Publications (2)

Publication Number Publication Date
CN106708464A true CN106708464A (en) 2017-05-24
CN106708464B CN106708464B (en) 2020-03-31

Family

ID=58937828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611160214.0A Active CN106708464B (en) 2016-12-15 2016-12-15 Alarm clock ringtone playing method based on loudspeaker box and loudspeaker box

Country Status (1)

Country Link
CN (1) CN106708464B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111213357A (en) * 2017-10-11 2020-05-29 深圳传音通讯有限公司 Alarm clock reminding method and alarm clock reminding system of intelligent terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101003A (en) * 2015-07-24 2015-11-25 广东欧珀移动通信有限公司 Alarm clock music ringtone setting method on loudspeaker box, system and the loudspeaker box
CN106202343A (en) * 2016-07-04 2016-12-07 广东欧珀移动通信有限公司 The big envelope acquisition methods of a kind of intelligent sound box and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101003A (en) * 2015-07-24 2015-11-25 广东欧珀移动通信有限公司 Alarm clock music ringtone setting method on loudspeaker box, system and the loudspeaker box
CN106202343A (en) * 2016-07-04 2016-12-07 广东欧珀移动通信有限公司 The big envelope acquisition methods of a kind of intelligent sound box and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111213357A (en) * 2017-10-11 2020-05-29 深圳传音通讯有限公司 Alarm clock reminding method and alarm clock reminding system of intelligent terminal

Also Published As

Publication number Publication date
CN106708464B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
KR100954346B1 (en) Method, system, apparatus ? computer program product for enabling the pre-download of media objects
CN106155623B (en) A kind of audio collocation method, system and relevant device
CN105302587B (en) Data-updating method and device
CN113055451B (en) Resource downloading method and device, electronic equipment and storage medium
CN109151566B (en) Audio playing method and device, electronic equipment and computer readable medium
US9191497B2 (en) Method and apparatus for implementing avatar modifications in another user's avatar
CN104243517A (en) Content sharing method and device used between different terminals
CN105354039B (en) Application management method and device
CN106095387B (en) A kind of the audio setting method and terminal of terminal
KR20100014821A (en) Systems and methods for music recognition
CN106126172B (en) A kind of sound effect treatment method and mobile terminal
CN105357604A (en) Audio playing device with Bluetooth function and audio playing method
CN105101003A (en) Alarm clock music ringtone setting method on loudspeaker box, system and the loudspeaker box
CN106126165B (en) A kind of audio stream processing method and mobile terminal
CN106254903A (en) The synchronous broadcast method of a kind of multi-medium data, Apparatus and system
CN106488413A (en) Notification message based reminding method and mobile terminal
CN106448714A (en) Synchronous playing method of playing devices, apparatus and system thereof
CN106599173A (en) Lyric matching method and terminal
CN106294707A (en) A kind of countdown information output intent and device
US7725102B2 (en) Method and apparatus for associating a received command with a control for performing actions with a mobile telecommunication device
CN106653068A (en) Audio data playing method, device and terminal
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN104113620A (en) Contact list updating method, updating device and user terminal
CN109995743A (en) A kind of processing method and terminal of multimedia file
CN105681886B (en) Bluetooth connection control method, device and the playback equipment of playback equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant