CN106953970A - Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock - Google Patents

Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock Download PDF

Info

Publication number
CN106953970A
CN106953970A CN201710150992.XA CN201710150992A CN106953970A CN 106953970 A CN106953970 A CN 106953970A CN 201710150992 A CN201710150992 A CN 201710150992A CN 106953970 A CN106953970 A CN 106953970A
Authority
CN
China
Prior art keywords
alarm clock
network address
song
ring
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710150992.XA
Other languages
Chinese (zh)
Inventor
任超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710150992.XA priority Critical patent/CN106953970A/en
Publication of CN106953970A publication Critical patent/CN106953970A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

Method, device and the audio-frequence player device for broadcasting alarm clock are acted the invention discloses a kind of application network resource.This method includes:Obtain the network address and the alarm clock triggered time of alarm clock song;Before alarm clock triggering in preset time, detect whether the network address can connect;According to testing result, ring of alarm clock during alarm clock triggering is determined;When reaching the alarm clock triggered time, the ring of alarm clock is played.The present invention solve application network resource as during ring of alarm clock can not jingle bell or the problem of delay jingle bell, carry out jingle bell on time when realizing triggering alarm clock.

Description

Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock
Technical field
The present embodiments relate to audio play-back technology, more particularly to a kind of application network resource rise broadcast alarm clock method, Device and audio-frequence player device.
Background technology
Audio-frequence player device is a kind of new intelligent appliance equipment, by connecting WIFI network, can be whole with mobile phone etc. APP (Application, application program) on end is communicated, so as to receive the various instructions that APP is transmitted, performs user's phase The various orders hoped.
User can be checked and be controlled audio-frequence player device by the APP installed in terminal to play music.User's energy Song information is enough browsed by APP, equally also can browse network resource, be then pushed to audio-frequence player device and play out.Net Network resource acts not only as song and played out, and it is ring of alarm clock that can also apply.At present, Internet resources are played all to pass through Resource address is accessed during broadcasting to obtain resource data, however, because the broadcasting of Internet resources needs to connect internet, therefore set Put Internet resources for alarm clock when, if present video playback equipment can not connect internet, can not play out, cause alarm clock without Method jingle bell or delay ringing.
The content of the invention
The embodiment of the present invention provides a kind of application network resource and acts method, device and the audio-frequence player device for broadcasting alarm clock, can To carry out alarm clock jingle bell on time.
In a first aspect, acting the method for broadcasting alarm clock, methods described bag the embodiments of the invention provide a kind of application network resource Include:
Obtain the network address and the alarm clock triggered time of alarm clock song;
Before alarm clock triggering in preset time, detect whether the network address can connect;
According to testing result, ring of alarm clock during alarm clock triggering is determined;
When reaching the alarm clock triggered time, the ring of alarm clock is played.
Second aspect, the embodiment of the present invention additionally provides a kind of application network resource and acts the device for broadcasting alarm clock, described device Including:
Alarm clock information acquisition module, the network address and alarm clock triggered time for obtaining alarm clock song;
Validation checking module, in preset time, detecting whether the network address can connect before alarm clock triggering;
Ring of alarm clock determining module, for according to testing result, determining ring of alarm clock during alarm clock triggering;
Alarm clock jingle bell module, for when reaching the alarm clock triggered time, playing the ring of alarm clock.
The third aspect, the embodiment of the present invention additionally provides a kind of audio-frequence player device, including memory, processor and storage On a memory and the computer program that can run on a processor, realized described in the computing device during computer program with Lower step:
Obtain the network address and the alarm clock triggered time of alarm clock song;
Before alarm clock triggering in preset time, detect whether the network address can connect;
According to testing result, ring of alarm clock during alarm clock triggering is determined;
When reaching the alarm clock triggered time, the ring of alarm clock is played.
The technical scheme of the embodiment of the present invention, by obtaining the network address and the alarm clock triggered time of alarm clock song, noisy Before clock triggering in preset time, detect whether the network address can connect, according to testing result, determine making a noise during alarm clock triggering Bell sound, and the ring of alarm clock is played when reaching the alarm clock triggered time, application network resource is solved as alarm clock During the tinkle of bells can not jingle bell or the problem of delay jingle bell, carry out jingle bell on time when realizing triggering alarm clock.
Brief description of the drawings
Fig. 1 is the flow chart that a kind of application network resource provided in an embodiment of the present invention acts the method for broadcasting alarm clock;
Fig. 2 is the flow chart that a kind of application network resource that one embodiment of the invention is provided acts the method for broadcasting alarm clock;
Fig. 3 is the structural representation that a kind of application network resource provided in an embodiment of the present invention acts the device for broadcasting alarm clock;
Fig. 4 is a kind of structural representation of audio-frequence player device provided in an embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is the flow chart that a kind of application network resource provided in an embodiment of the present invention acts the method for broadcasting alarm clock, this implementation Example is applicable to situation of the application network resource as ring of alarm clock, and this method can broadcast the dress of alarm clock by application network resource Put to perform, the device can be realized by hardware and/or software, can be integrated in audio-frequence player device.This method is included such as Lower step:
Step 110, the network address and the alarm clock triggered time of alarm clock song are obtained.
Wherein, the network address is address information of the alarm clock song on network, can be the URL (Uniform of alarm clock song Resource Locator, URL).The network address of alarm clock song can be the network address of a song, It can also be the single network address of a song, such as the song list of the song list of same singer, or the song of same type, also may be used To be song list of number of songs, etc. of user's combination.
The network address and alarm clock triggered time are configured by user, and user can be set by being mounted with that control audio is played Standby APP terminal is configured, and can also be directly configured on audio-frequence player device.Directly in audio-frequence player device On when being configured, audio-frequence player device, which is needed, corresponding sets interface.
Audio-frequence player device application network resource as during ring of alarm clock, it is necessary to obtain corresponding Internet resources i.e. alarm clock sing The bent network address and corresponding alarm clock triggered time.Wherein, audio-frequence player device can be intelligent sound box.
Wherein, the audio-frequence player device in same LAN can constitute an audio frequency broadcast system, and the audio is broadcast Place system can be by being mounted with that corresponding APP terminal is controlled.Wherein, the terminal for being mounted with APP is control end.
Step 120, detect whether the network address can connect in preset time before alarm clock triggering.
The audio-frequence player device inspection system time whether in the preset time before the alarm clock triggered time, if during system Between in the preset time before the alarm clock triggered time, i.e., before alarm clock triggering in preset time, with attempting the connection network Location, to determine whether the network address can connect, can prevent from spending the time to access not attachable network during triggering alarm clock Address.Wherein, the network address can not connect including the network address is invalid or the router of audio-frequence player device connection occurs therefore Barrier etc..
When the router by currently connecting connects internet, detect whether the network address can connect, if not It can connect, then can attempt the router that connection others have backed up password, and the network address is detected by the router Whether can connect, if can not still connect, it is determined that the network address can not be connected, i.e., the described network address is invalid, if It can now connect, it is determined that the router for starting connection breaks down.When router breaks down, prompting can be sent, Such as convert this information into voice messaging and report, or be shown in display interface, or send that information to connection Control end, prompting message is pushed to user, etc. by control end.
Wherein, preset time be it is reserved can detect whether the network address can connect and obtain the time of testing result, Preset time can be a regular time, such as 5 minutes;Preset time can also be by interacting determination, i.e., with user It can show that preset time sets interface and receives user-defined time work when user has the demand for setting preset time For preset time, or in preset time set interface to provide multiple times, selected to determine by user, such as provide 2 minutes, 3 Minute, 5 minutes, 10 minutes etc., one of those time is selected by user.User has the demand for setting preset time to be appreciated that To detect the setting that user selects preset time by setting option.Can also be by by the preset time that is determined with user mutual User changes at any time.
In one embodiment, detect the network address whether can connect it is optional including:
Access the network address;
If the network address is accessed successfully, it is determined that the network address can be connected;
If the network address accesses failure, it is determined that the network address can not be connected.
Before alarm clock triggering in preset time, attempt to access the network address, if the network address can be accessed Success, it is determined that the network address can be connected, if the network address accesses failure, it is determined that the network address can not Connection.Detect whether the network address can connect by accessing the network address, can be accurately obtained whether the network address can connect Connect, so as to further ensure the punctual jingle bell of network alarm clock.
Step 130, according to testing result, ring of alarm clock during alarm clock triggering is determined.
If the network address can be connected, it is determined that when the song corresponding to the network address triggers for alarm clock Ring of alarm clock;If the network address can not be connected, can using the song being locally stored as alarm clock trigger when alarm clock The tinkle of bells.When can be connected in the network address, the ring of alarm clock can be first cached, and is played out when triggering alarm clock, It can not also cache, and connect the network address when triggering alarm clock and directly play corresponding ring of alarm clock.
In one embodiment, according to testing result, determine alarm clock triggering when ring of alarm clock, it is optional including:
If the network address can be connected, cache song data, and using the song data as alarm clock trigger when Ring of alarm clock;
If the network address can not be connected, mark current network resources are unavailable, and obtain the bell locally preserved Ring of alarm clock when sound is triggered as alarm clock.
, can be with the corresponding song data of buffered in advance, and by the number of songs of caching if the network address can be connected According to ring of alarm clock when being triggered as alarm clock;If the network address can not be connected, mark current network resources are unavailable, And the ring of alarm clock when the tinkle of bells locally preserved is triggered as alarm clock is obtained, it thereby may be ensured that continuous on time when triggering alarm clock Carry out alarm clock jingle bell.Wherein, caching song data can cache default first (such as 5 is first) song data, can also cache default The song data of size (such as 30M or no more than 30M).
In one embodiment, caching song data it is optional including:
Obtain the size of current residual storage space;
According to the size of the current residual storage space, it is determined that the size of song data to be cached;
Cache song data, and the size of the song data in caching reaches and described stopped when the size of song data is cached Only cache.
Before caching song data, the size of current residual storage space can be first obtained, so that according to current residual The size of memory space determines the size of song data to be cached, and size during caching song data in the song data of caching reaches Stop caching when the size of song data is cached to described, i.e., when residual memory space is larger, it may be determined that treat caching song The size of number of tracks evidence is larger, you can to cache more song data, when residual memory space is smaller, it may be determined that wait to cache The size of song data is smaller, you can to cache less song data.
Step 140, when reaching the alarm clock triggered time, the ring of alarm clock is played.
When system time reaches the alarm clock triggered time, the ring of alarm clock is played.System time reaches described noisy Alarm clock jingle bell is triggered during the clock triggered time, if at this moment having cached the corresponding alarm clock bell of the network address information before Sound, then play the ring of alarm clock of caching;If network address information is effectively, without caching corresponding ring of alarm clock, then directly The corresponding network address of the network address information is connected to obtain the ring of alarm clock and play.
The technical scheme of the present embodiment, by obtaining the network address and the alarm clock triggered time of alarm clock song, is touched in alarm clock Before hair in preset time, detect whether the network address can connect, according to testing result, determine alarm clock bell during alarm clock triggering Sound, and the ring of alarm clock is played when reaching the alarm clock triggered time, application network resource is solved as ring of alarm clock Shi Wufa jingle bells or the problem of delay jingle bell, jingle bell is carried out when realizing triggering alarm clock on time.
On the basis of above-mentioned technical proposal, obtain alarm clock song the network address and the alarm clock triggered time it is optional including:
Receive the network address and alarm clock triggered time, the network address and the alarm clock for the alarm clock song that control end is sent Triggered time is that user is set by control end.
User can set the relevant information of alarm clock, including the network address of alarm clock song and alarm clock triggering by control end Time, then the network address for the alarm clock song that control end sets user and alarm clock triggered time be sent to the sound that user selectes Main equipment in frequency playback equipment either audio frequency broadcast system, so that the audio-frequence player device either audio that user selectes is broadcast Main audio playback equipment in place system receives the network address of alarm clock song and the alarm clock triggered time and preserved.If sound Main audio playback equipment in frequency Play System receives the network address and the alarm clock triggered time of alarm clock song, then can be by this Ring of alarm clock when the connectivity inspection that main audio playback equipment carries out the network address simultaneously determines alarm clock triggering, and by determination Ring of alarm clock is sent to each in audio frequency broadcast system from audio-frequence player device, so that when reaching the alarm clock triggered time, sound Each audio-frequence player device in frequency Play System carries out alarm clock jingle bell on time simultaneously.
Fig. 2 is the flow chart that a kind of application network resource that one embodiment of the invention is provided acts the method for broadcasting alarm clock, such as Shown in Fig. 2, the method described in the present embodiment includes:
Step 210, control end receives song list resource URL and the alarm clock triggered time for the network song that user is set, and will Song list resource URL and alarm clock triggered time are sent to audio-frequence player device.
User by be mounted with control audio-frequence player device APP the i.e. control end browse network resource, and selecting of terminal One song nonoculture is the song list of alarm clock song, sets the alarm clock triggered time, and control end just can receive the network of user's setting The song list resource URL of song and alarm clock triggered time.Wherein, audio-frequence player device here can be that the audio that user selectes is broadcast Put the main audio playback equipment in equipment or audio frequency broadcast system.
Step 220, audio-frequence player device receives the song list resource URL and alarm clock triggered time and preserved.
Step 230, whether audio-frequence player device judges current time in the preceding preset time of alarm clock triggering, if it is, holding Row step 240.
The preset time can be 5 minutes.
Step 240, audio-frequence player device starts the single resource URL of song validity check, attempts the access song single Resource URL.
Step 250, audio-frequence player device judges whether the song list resource URL can access, if can access, holds Row step 260;If cannot access, step 270 is performed.
Step 260, audio-frequence player device buffer network song, is used as ring of alarm clock.
The 5 first or network song data no more than 30M can be cached, ring of alarm clock is used as.When triggering alarm clock, carry out The ring of alarm clock that alarm clock jingle bell is played is the network song of caching.
Step 270, audio-frequence player device marks current alarm clock Internet resources unavailable, it is determined that the tinkle of bells locally preserved is noisy Bell sound.
When triggering alarm clock, the ring of alarm clock for carrying out alarm clock jingle bell broadcasting is the tinkle of bells locally preserved, namely default ring tone.
Step 280, audio-frequence player device judges whether current time reaches the alarm clock triggered time, if it is, performing step Rapid 290.
Step 290, audio-frequence player device plays ring of alarm clock and carries out alarm clock jingle bell.
Above-mentioned song list resource URL validity checks are only effective when secondary alarm clock, if alarm clock is repeatable, each alarm clock triggering Preceding preset time all needs to carry out the single resource URL validity checks of song.
The technical scheme of the present embodiment, by the validity for carrying out the single resource URL of song in preset time before alarm clock is triggered Check, and, can not in the single resource URL of song as ring of alarm clock singing buffered in advance network song when list resource URL can be accessed The tinkle of bells locally preserved is determined during accessing as ring of alarm clock, so that when reaching the alarm clock triggered time, determination can be played Ring of alarm clock carry out alarm clock jingle bell, it is therefore prevented that spend the time to access invalid URL during triggering alarm clock, solve network alarm clock without Method jingle bell or the problem of delay jingle bell, realizes the punctual jingle bell of network alarm clock.
Fig. 3 is the structural representation that a kind of application network resource provided in an embodiment of the present invention acts the device for broadcasting alarm clock, should Device can be integrated in audio-frequence player device, as shown in figure 3, the application network resource described in the present embodiment acts the dress for broadcasting alarm clock Put including:Alarm clock information acquisition module 310, validation checking module 320, ring of alarm clock determining module 330 and alarm clock jingle bell mould Block 340.
Wherein, alarm clock information acquisition module 310, the network address and alarm clock triggered time for obtaining alarm clock song;
Validation checking module 320, in preset time, detecting whether the network address can connect before alarm clock triggering Connect;
Ring of alarm clock determining module 330, for according to testing result, determining ring of alarm clock during alarm clock triggering;
Alarm clock jingle bell module 340, for when reaching the alarm clock triggered time, playing the ring of alarm clock.
Optionally, the ring of alarm clock determining module includes:
Network song buffer unit, if can be connected for the network address, caches song data, and by the song Number of tracks is according to ring of alarm clock when being triggered as alarm clock;
Local the tinkle of bells acquiring unit, if can not be connected for the network address, mark current network resources can not With, and obtain the ring of alarm clock when the tinkle of bells locally preserved is triggered as alarm clock.
Optionally, the network song buffer unit includes:
Current residual storage space obtains subelement, the size for obtaining current residual storage space;
Song size determination subelement to be cached, for the size according to the current residual storage space, it is determined that waiting to delay Deposit the size of song data;
Song data caches subelement, for caching song data, and the song data in caching size reach it is described Stop caching when the size of song data is cached.
Optionally, the validation checking module includes:
Network address access unit, for accessing the network address;
The effective determining unit in the network address, if accessed successfully for the network address, it is determined that the network address It can connect;
The invalid determining unit in the network address, fails, it is determined that the network address if accessed for the network address It can not connect.
Optionally, the alarm clock information acquisition module specifically for:
Receive the network address and alarm clock triggered time, the network address and the alarm clock for the alarm clock song that control end is sent Triggered time is that user is set by control end.
Above-mentioned application network resource, which rises, broadcasts the application network that the executable any embodiment of the present invention of device of alarm clock is provided Resource acts the method for broadcasting alarm clock, possesses the corresponding functional module of execution method and beneficial effect.It is not detailed in the present embodiment to retouch The ins and outs stated, reference can be made to the application network resource that any embodiment of the present invention is provided acts the method for broadcasting alarm clock.
The embodiment of the present invention additionally provides a kind of audio-frequence player device, and it is any that the audio-frequence player device can include the present invention The application network resource that embodiment is provided acts the device for broadcasting alarm clock.Fig. 4 is played for a kind of audio provided in an embodiment of the present invention and set Standby structural representation, as shown in figure 4, the audio-frequence player device can include:Housing (not shown), memory 401, in Central processor (Central Processing Unit, CPU) 402 (also known as processor, hereinafter referred to as CPU), it is stored in memory On 401 and computer program, circuit board (not shown) and the power circuit that can run on the processor 402 (do not show in figure Go out).The circuit board is placed in the interior volume that the housing is surrounded;The CPU402 and the memory 401 are arranged on institute State on circuit board;The power circuit, for being powered for each circuit or device of the audio-frequence player device;The memory 401, for storing the computer program that can be run on a processor;The CPU402 is by reading and performing the memory The computer program stored in 401.
The audio-frequence player device also includes:Peripheral Interface 403, RF (Radio Frequency, radio frequency) circuit 405, audio Circuit 406, loudspeaker 411, power management chip 408, input/output (I/O) subsystem 409, touch-screen 412, other input/ Control device 410 and outside port 404, these parts are communicated by one or more communication bus or signal wire 407.
It should be understood that diagram audio-frequence player device 400 is only an example of audio-frequence player device, and audio Playback equipment 400 can have than more or less parts shown in figure, can combine two or more portions Part, or can have different parts to configure.Various parts shown in figure can be at including one or more signals Hardware, software including reason and/or application specific integrated circuit or realization in the combination of hardware and software.
The audio-frequence player device for broadcasting alarm clock for application network resource that the present embodiment is provided is carried out in detail below Description.
Memory 401, the memory 401 can be accessed by CPU402, Peripheral Interface 403 etc., and the memory 401 can With including high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU402 and deposited by Peripheral Interface 403, the Peripheral Interface 403 Reservoir 401.
I/O subsystems 409, the I/O subsystems 409 can be by the input/output peripheral in equipment, such as touch-screen 412 With other input/control devicess 410, Peripheral Interface 403 is connected to.I/O subsystems 409 can include the He of display controller 4091 One or more input controllers 4092 for controlling other input/control devicess 410.Wherein, one or more input controls Device 4092 processed receives electric signal from other input/control devicess 410 or sends electric signal to other input/control devicess 410, Other input/control devicess 410 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click roller.What deserves to be explained is, input controller 4092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 412, the touch-screen 412 is the input interface and output interface between audio-frequence player device and user, By visual output display to user, visual output can include figure, text, icon, video etc..
Display controller 4091 in I/O subsystems 409 receives electric signal from touch-screen 412 or sent out to touch-screen 412 Electric signals.The contact detected is converted to and shown by the contact on the detection touch-screen of touch-screen 412, display controller 4091 The interaction of user interface object on touch-screen 412, that is, realize man-machine interaction, is shown in the user interface on touch-screen 412 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is, equipment can also include light Mouse, light mouse is the extension for not showing the touch sensitive surface visually exported, or the touch sensitive surface formed by touch-screen.
RF circuits 405, are mainly used in setting up the communication of audio-frequence player device and wireless network (i.e. network side), realize audio The data receiver and transmission of playback equipment and wireless network.Such as transmitting-receiving APP control information and reply.Specifically, RF electricity Road 405 receives and sends RF signals, and RF signals are also referred to as electromagnetic signal, RF circuits 405 convert electrical signals to electromagnetic signal or Electromagnetic signal is converted into electric signal, and communicated by the electromagnetic signal with communication network and other equipment.RF electricity Road 405 can include being used to perform the known circuits of these functions, its include but is not limited to antenna system, RF transceivers, one Or multiple amplifiers, tuner, one or more oscillators, digital signal processor, CODEC (COder-DECoder, compiling Code device) chipset etc..
Voicefrequency circuit 406, is mainly used in receiving voice data from Peripheral Interface 403, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 411.
Loudspeaker 411, for the audio signal for receiving audio-frequence player device from wireless network by RF circuits 405, also Originally it was sound and played the sound to user.
Power management chip 408, the hardware for being connected by CPU402, I/O subsystem and Peripheral Interface is powered And power management.
CPU402 provided in an embodiment of the present invention realized in the computer program stored in performing the memory 401 with Lower step:
Obtain the network address and the alarm clock triggered time of alarm clock song;
Before alarm clock triggering in preset time, detect whether the network address can connect;
According to testing result, ring of alarm clock during alarm clock triggering is determined;
When reaching the alarm clock triggered time, the ring of alarm clock is played.
Above-mentioned audio-frequence player device can perform the method that any embodiment of the present invention is provided, and possess execution method corresponding Functional module and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (11)

1. a kind of application network resource acts the method for broadcasting alarm clock, it is characterised in that methods described includes:
Obtain the network address and the alarm clock triggered time of alarm clock song;
Before alarm clock triggering in preset time, detect whether the network address can connect;
According to testing result, ring of alarm clock during alarm clock triggering is determined;
When reaching the alarm clock triggered time, the ring of alarm clock is played.
2. according to the method described in claim 1, it is characterised in that according to testing result, determine alarm clock bell during alarm clock triggering Sound, including:
If the network address can be connected, cache song data, and using the song data as alarm clock trigger when it is noisy Bell sound;
If the network address can not be connected, mark current network resources are unavailable, and obtain the tinkle of bells work locally preserved Ring of alarm clock when being triggered for alarm clock.
3. method according to claim 2, it is characterised in that caching song data includes:
Obtain the size of current residual storage space;
According to the size of the current residual storage space, it is determined that the size of song data to be cached;
Song data is cached, and the size of the song data in caching reaches that the stopping when size of song data is cached is slow Deposit.
4. according to the method described in claim 1, it is characterised in that the detection network address whether can connect including:
Access the network address;
If the network address is accessed successfully, it is determined that the network address can be connected;
If the network address accesses failure, it is determined that the network address can not be connected.
5. according to any described methods of claim 1-4, it is characterised in that the network address and alarm clock for obtaining alarm clock song are touched The hair time includes:
Receive the network address and the alarm clock triggered time for the alarm clock song that control end is sent, the network address and alarm clock triggering Time is that user is set by control end.
6. a kind of application network resource acts the device for broadcasting alarm clock, it is characterised in that described device includes:
Alarm clock information acquisition module, the network address and alarm clock triggered time for obtaining alarm clock song;
Validation checking module, in preset time, detecting whether the network address can connect before alarm clock triggering;
Ring of alarm clock determining module, for according to testing result, determining ring of alarm clock during alarm clock triggering;
Alarm clock jingle bell module, for when reaching the alarm clock triggered time, playing the ring of alarm clock.
7. device according to claim 6, it is characterised in that the ring of alarm clock determining module includes:
Network song buffer unit, if can be connected for the network address, caches song data, and by the number of songs According to ring of alarm clock when being triggered as alarm clock;
Local the tinkle of bells acquiring unit, if can not be connected for the network address, mark current network resources are unavailable, and Obtain the ring of alarm clock when the tinkle of bells locally preserved is triggered as alarm clock.
8. device according to claim 7, it is characterised in that the network song buffer unit includes:
Current residual storage space obtains subelement, the size for obtaining current residual storage space;
Song size determination subelement to be cached, for the size according to the current residual storage space, it is determined that treating caching song The size of number of tracks evidence;
Song data caches subelement, for caching song data, and the size of the song data in caching reaches and described waits to delay Stop caching when depositing the size of song data.
9. device according to claim 6, it is characterised in that the validation checking module includes:
Network address access unit, for accessing the network address;
The effective determining unit in the network address, if accessed successfully for the network address, it is determined that the network address can connect Connect;
The invalid determining unit in the network address, fails, it is determined that the network address can not if accessed for the network address Connection.
10. according to any described devices of claim 6-9, it is characterised in that the alarm clock information acquisition module specifically for:
Receive the network address and the alarm clock triggered time for the alarm clock song that control end is sent, the network address and alarm clock triggering Time is that user is set by control end.
11. a kind of audio-frequence player device, including memory, processor and storage can be run on a memory and on a processor Computer program, it is characterised in that realize following steps during computer program described in the computing device:
Obtain the network address and the alarm clock triggered time of alarm clock song;
Before alarm clock triggering in preset time, detect whether the network address can connect;
According to testing result, ring of alarm clock during alarm clock triggering is determined;
When reaching the alarm clock triggered time, the ring of alarm clock is played.
CN201710150992.XA 2017-03-14 2017-03-14 Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock Pending CN106953970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710150992.XA CN106953970A (en) 2017-03-14 2017-03-14 Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710150992.XA CN106953970A (en) 2017-03-14 2017-03-14 Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock

Publications (1)

Publication Number Publication Date
CN106953970A true CN106953970A (en) 2017-07-14

Family

ID=59467976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710150992.XA Pending CN106953970A (en) 2017-03-14 2017-03-14 Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock

Country Status (1)

Country Link
CN (1) CN106953970A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111393A (en) * 2017-12-02 2018-06-01 程桂平 Using the pushed information of social networks account as the method and system of alarm clock jingle bell resource
CN112468652A (en) * 2020-11-13 2021-03-09 南京创维信息技术研究院有限公司 Alarm clock ring setting method, system, equipment and storage medium
CN114417050A (en) * 2022-03-09 2022-04-29 深圳市云动创想科技有限公司 Intelligent caching method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729673A (en) * 2009-12-08 2010-06-09 深圳市五巨科技有限公司 Method and device for setting ringtone and wallpaper of mobile terminal
CN103491240A (en) * 2013-08-30 2014-01-01 小米科技有限责任公司 Alarm clock sounding method, device and mobile terminal
CN104065831A (en) * 2014-07-11 2014-09-24 华为软件技术有限公司 Mobile terminal alarm clock implementation method and device
CN105101003A (en) * 2015-07-24 2015-11-25 广东欧珀移动通信有限公司 Alarm clock music ringtone setting method on loudspeaker box, system and the loudspeaker box
CN105959915A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 User-defined alarm clock prompting method and device
CN106210317A (en) * 2016-07-12 2016-12-07 佛山杰致信息科技有限公司 A kind of ring of alarm clock Play System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729673A (en) * 2009-12-08 2010-06-09 深圳市五巨科技有限公司 Method and device for setting ringtone and wallpaper of mobile terminal
CN103491240A (en) * 2013-08-30 2014-01-01 小米科技有限责任公司 Alarm clock sounding method, device and mobile terminal
CN104065831A (en) * 2014-07-11 2014-09-24 华为软件技术有限公司 Mobile terminal alarm clock implementation method and device
CN105101003A (en) * 2015-07-24 2015-11-25 广东欧珀移动通信有限公司 Alarm clock music ringtone setting method on loudspeaker box, system and the loudspeaker box
CN105959915A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 User-defined alarm clock prompting method and device
CN106210317A (en) * 2016-07-12 2016-12-07 佛山杰致信息科技有限公司 A kind of ring of alarm clock Play System

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111393A (en) * 2017-12-02 2018-06-01 程桂平 Using the pushed information of social networks account as the method and system of alarm clock jingle bell resource
CN112468652A (en) * 2020-11-13 2021-03-09 南京创维信息技术研究院有限公司 Alarm clock ring setting method, system, equipment and storage medium
CN114417050A (en) * 2022-03-09 2022-04-29 深圳市云动创想科技有限公司 Intelligent caching method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN106126176B (en) A kind of audio collocation method and mobile terminal
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN106802858B (en) Method, device and system for dynamically configuring log
CN107835033A (en) Control method, device, terminal device and the storage medium of antenna tuning switch
CN106681635A (en) Method and device for preventing split screen touch by mistake and mobile terminal
CN106911956A (en) A kind of audio data play method, device and mobile terminal
CN106686519B (en) The method, apparatus and terminal of the stereo pairing of audio-frequence player device
CN106445647B (en) Open the data manipulation method, device and mobile terminal of application more
CN106210755A (en) A kind of methods, devices and systems playing live video
CN106384599B (en) A kind of method and apparatus of distorsion identification
CN106776385A (en) A kind of transmission method of daily record log information, device and terminal
CN106484262A (en) A kind of generation method of application of attending to anything else, device and terminal
CN106484547A (en) A kind of management method, device and terminal for opening application more
CN103294442B (en) A kind of method of playing alert tones, device and terminal device
CN106953970A (en) Application network resource acts method, device and the audio-frequence player device for broadcasting alarm clock
CN107729764A (en) Guard method, device, storage medium and the electronic equipment of sensitive information
CN106231433A (en) A kind of methods, devices and systems playing Internet video
CN107483733A (en) volume adjusting method, device, terminal and storage medium
CN106445671B (en) A kind of management method of application program, device and terminal
CN107026933A (en) A kind of information management method, device and intelligent terminal for opening application more
CN106937258A (en) A kind of control method of broadcast, device and mobile terminal
CN107423064A (en) Message treatment method, device, terminal device and storage medium
CN106445706B (en) Open the data transmission method, device and mobile terminal of application more
CN104966205A (en) Object draw-off method and apparatus
CN104301824A (en) Drive-by-wire device, controller, method and device

Legal Events

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

Application publication date: 20170714