CN106385610A - Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal - Google Patents

Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal Download PDF

Info

Publication number
CN106385610A
CN106385610A CN201610859857.8A CN201610859857A CN106385610A CN 106385610 A CN106385610 A CN 106385610A CN 201610859857 A CN201610859857 A CN 201610859857A CN 106385610 A CN106385610 A CN 106385610A
Authority
CN
China
Prior art keywords
music
mobile terminal
stored
machine
playback equipment
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
CN201610859857.8A
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 CN201610859857.8A priority Critical patent/CN106385610A/en
Publication of CN106385610A publication Critical patent/CN106385610A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/16Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters 
    • 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/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses a playing device, a mobile terminal, a method and system for pre-storing the local music of a mobile terminal. The method for pre-storing the local music of the mobile terminal is applied to the playing device and includes the following steps that: a wireless connection with the mobile terminal is established; a music playing instruction of the mobile terminal is received; the local music of the mobile terminal is downloaded and is pre-stored in a pre-storage database; and the state of the connection with the mobile terminal is monitored in real time, data channels are synchronously selected and switched according to the state of the connection so as to perform music playing. According to the method, the pre-storage database is established at the playing device so as to store a predetermined amount of local music, when an on-demand playing request is received, the playing device can read music data from the pre-storage database to play the music data under a condition that a music source is not online, the probability of the failure of music playing of the playing device can be decreased, and user experience can be enhanced.

Description

The method of playback equipment, mobile terminal and pre-stored mobile terminal the machine music and System
Technical field
The present invention relates to electronic technology field, particularly to a kind of playback equipment, mobile terminal and pre-stored mobile terminal The method and system of the machine music.
Background technology
Playback equipment is a kind of new intelligent appliance equipment, by connecting WIFI network, can enter with mobile terminal APP Row communication, receives the various instructions of APP transmission, the various operations that execution user issues.
At present, market there have are some playback equipment products, be all by pacifying on mobile terminals taking SONOS as a example Dress APP realizes checking and controlling audio amplifier to carry out music.Under normal circumstances, mobile terminal APP can be by the sound in local equipment Frequency is shared out in every way, and so that playback equipment is play, the song that this preservation shares out in the terminal is claimed For the machine music, all APP being connected to playback equipment system can be checked and point by share directory or collection catalogue Broadcast song.However, when the mobile terminal preserving song source is online or during disconnecting (being not connected with playback equipment), user's Program request then cannot be play, and causes bad experience during use.
Content of the invention
It is an object of the invention to overcome the shortcoming of prior art with not enough, provide a kind of playback equipment, mobile terminal and The method and system of pre-stored mobile terminal the machine music, wherein, playback equipment can pre-stored a number of the machine music, When receiving order request, playback equipment can be read in the case that mobile terminal music source is not online from the data of pre-stored Music data is taken to play out, thus solving when mobile terminal and playback equipment because middle connection breaking offline leads in music Disconnected problem and the not good problem leading to music interim card of network connection link-quality, improve Consumer's Experience.
According to disclosed embodiment, a first aspect of the present invention proposes a kind of side of pre-stored mobile terminal the machine music Method, is applied to playback equipment, and methods described includes:
Set up with mobile terminal and be wirelessly connected;
Receive the music instruction of described mobile terminal;
Download the machine music of described mobile terminal and be pre-stored in pre-stored data storehouse;
Monitoring and the connection status of described mobile terminal, and synchronously selected and switch data passage according to described connection status Carry out music.
Further, the connection status of described monitoring and described mobile terminal, and synchronously selected according to described connection status Carry out music with switch data passage to be specially:
When unimpeded with the wireless connection of described mobile terminal, select described mobile terminal to carry out music as music source and broadcast Put.
When the wireless disconnecting with described mobile terminal, select pre-stored data storehouse to carry out music as music source and broadcast Put.
Further, the described the machine music being pre-stored in pre-stored data storehouse downloading described mobile terminal is specifically wrapped Include:
Downloaded mobile whole successively according to the order of songs of music playlist in the music instruction of described mobile terminal The machine music at end.
Further, described download the machine music of described mobile terminal and be pre-stored in pre-stored data storehouse specifically also Including:
Detect the memory space in described pre-stored data storehouse, if the song in described pre-stored data storehouse take up room more than etc. In storage threshold space, then delete the song adding described pre-stored data storehouse at first;If the song in described pre-stored data storehouse Take up room less than storage threshold space, detect the number of songs in described pre-stored data storehouse, if described pre-stored data storehouse Number of songs is more than or equal to song upper limit quantity, then delete the song adding described pre-stored data storehouse at first, if described prestore The number of songs of storage data base is less than song upper limit quantity, then carry out pre-stored to the machine music downloaded.
According to disclosed embodiment, a second aspect of the present invention proposes a kind of side of pre-stored mobile terminal the machine music Method, is applied to mobile terminal, and methods described includes:
Set up with playback equipment and be wirelessly connected;
Send music instruction to described playback equipment;
Transmit the machine music data to described playback equipment, described the machine music data includes the machine music play The machine music with pre-stored.
According to disclosed embodiment, a third aspect of the present invention proposes a kind of broadcasting of pre-stored mobile terminal the machine music Put equipment, described playback equipment includes:
Wireless link block, is wirelessly connected for being set up with mobile terminal;
Command reception module, the music for receiving described mobile terminal instructs;
Download pre-stored module, for downloading the machine music of described mobile terminal and being pre-stored in pre-stored data storehouse In;
Monitoring playing module, for the connection status of monitoring and described mobile terminal and synchronous according to described connection status Select and switch data passage carries out music.
Further, described monitoring playing module includes:
First broadcast unit, for when unimpeded with the wireless connection of described mobile terminal, selecting described mobile terminal conduct Music source carries out music.
Second broadcast unit, for when the wireless disconnecting with described mobile terminal, selecting the conduct of pre-stored data storehouse Music source carries out music.
Further, described download pre-stored module includes:
Download unit, for the order of songs according to music playlist in the instruction of the music of described mobile terminal according to The secondary the machine music downloading mobile terminal.
Pre-storing unit, for detecting the memory space in described pre-stored data storehouse, if the song in described pre-stored data storehouse Song takes up room more than or equal to storage threshold space, then delete the song adding described pre-stored data storehouse at first;If described pre- The song in data storage storehouse takes up room less than storage threshold space, detects the number of songs in described pre-stored data storehouse, if institute The number of songs stating pre-stored data storehouse is more than or equal to song upper limit quantity, then delete and add described pre-stored data storehouse at first Song, if the number of songs in described pre-stored data storehouse is less than song upper limit quantity, prestores to the machine music downloaded Storage.
According to disclosed embodiment, a fourth aspect of the present invention proposes a kind of mobile terminal, and described mobile terminal includes:
Connection establishment module, is wirelessly connected for being set up with playback equipment;
Instruction sending module, for sending music instruction to described playback equipment;
Data transmission blocks, for transmitting the machine music data to described playback equipment, described the machine music data includes The machine music play and the machine music of pre-stored.
According to disclosed embodiment, what a fifth aspect of the present invention proposed a kind of pre-stored mobile terminal the machine music is System, including:
Playback equipment, for playing the machine music of mobile terminal, downloads the machine music and is pre-stored in pre-stored data In storehouse, meanwhile, the connection status of monitoring and described mobile terminal, and synchronously select to lead to switch data according to described connection status Road carries out music;
Mobile terminal, for sending music instruction to playback equipment, and plays to the transmission of described playback equipment The machine music and pre-stored the machine music.
The present invention has such advantages as with respect to prior art and effect:
1st, the method for pre-stored mobile terminal the machine music disclosed by the invention, by preserving in playback equipment real-time synchronization The machine music data of some or memory space, to realize can continue to broadcast when mobile terminal as music source is online Put the music on.
2nd, in the method for pre-stored mobile terminal the machine music disclosed by the invention, the update mode in pre-stored data storehouse is protected Demonstrate,prove the nearest song play higher probability can be had to rise and broadcast.
3rd, the method for pre-stored mobile terminal the machine music disclosed by the invention, effectively reduces due to playback equipment and shifting Dynamic terminal is offline to interrupt leading to the probability of music failure.
Brief description
Fig. 1 is the process step figure of a kind of method of pre-stored mobile terminal the machine music disclosed in embodiment one;
Fig. 2 is that in embodiment one, step S3 is downloaded the machine music of described mobile terminal and is pre-stored in pre-stored data storehouse Flow chart of steps;
Fig. 3 is the process step figure of the method for another pre-stored mobile terminal the machine music disclosed in embodiment one;
Fig. 4 is the process step figure of the method for another kind of pre-stored mobile terminal the machine music disclosed in embodiment two;
Fig. 5 is a kind of structured flowchart of the playback equipment of pre-stored mobile terminal the machine music disclosed in embodiment three;
Fig. 6 is a kind of structured flowchart of the mobile terminal disclosed in example IV;
Fig. 7 is a kind of structured flowchart of the system of pre-stored mobile terminal the machine music disclosed in embodiment five.
Specific embodiment
For making the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention further describes.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and without In the restriction present invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " and " Four " it is etc. for distinguishing different objects, rather than be used for describing particular order.Additionally, term " comprising " and " having " and it Any deformation it is intended that cover non-exclusive comprising.For example contain the process of series of steps or unit, method, be System, product or equipment are not limited to step or the unit listed, but alternatively also include step or the list do not listed Unit, or alternatively also include for these processes, method, product or the intrinsic other steps of equipment or unit.
In implementing, the mobile terminal described in the embodiment of the present invention may include:Panel computer, mobile phone, electronic reading Device, remote control, personal computer (Personal Computer, PC), notebook computer, mobile unit etc., above-mentioned terminal is only Citing, and non exhaustive, including but not limited to above-mentioned terminal.
In implementing, the playback equipment described in the embodiment of the present invention may include:Intelligent radio audio amplifier, the wired sound of intelligence Case etc., the said equipment is only citing, and non exhaustive, including but not limited to the said equipment.
It is described in detail respectively below according to embodiment.
Embodiment one
Refer to Fig. 1, Fig. 1 is the method flow diagram of the pre-stored mobile terminal the machine music disclosed in the present embodiment one, The method is applied to playback equipment, specifically includes following steps:
S1 is set up with mobile terminal and is wirelessly connected;
In this step, playback equipment and mobile terminal are in same LAN, can find mutually and match connection.
In concrete application, playback equipment can pass through close range wireless communication NFC connected mode, Bluetooth communication connection side Formula, Wi-Fi communication connection mode or infrared communication connected mode are set up with mobile terminal and are connected naturally it is also possible to adopt Other connected modes, non-the present embodiment is limited.
S2, the music instruction of the described mobile terminal of reception;
In this step, when user is intended to carry out music by playback equipment, music can be clicked in mobile terminal Related APP application, initiates music instruction, and above-mentioned music instruction includes the machine music playlist.Mobile terminal Music instruction includes music playlist, and playback equipment carries out music according to order of songs in music playlist.
S3, the machine music of the described mobile terminal of download are simultaneously pre-stored in pre-stored data storehouse;
In this step, after playback equipment receives the music instruction that mobile terminal sends, according to music playlist Order of songs downloads the machine music of mobile terminal successively, and is pre-stored in the pre-stored data storehouse of playback equipment.
Wherein, pre-stored is to load accessing the data reading in advance, and directly accesses when when to be used. Difference with caching technology:Caching is it temporarily to be preserved the data having read, to use next time.
Have in application, as shown in Figure 2, playback equipment carries out the tool of pre-stored to the machine music of described mobile terminal Body process is as follows:
Detect the memory space in described pre-stored data storehouse, if the song in described pre-stored data storehouse take up room more than etc. In storage threshold space, then delete the song adding described pre-stored data storehouse at first;If the song in described pre-stored data storehouse Take up room less than storage threshold space, detect the number of songs in described pre-stored data storehouse, if described pre-stored data storehouse Number of songs is more than or equal to song upper limit quantity, then delete the song adding described pre-stored data storehouse at first, if described prestore The number of songs of storage data base is less than song upper limit quantity, then carry out pre-stored to song.
Wherein, the storage threshold space in pre-stored data storehouse and song upper limit quantity set according to the dielectric capacity of playback equipment Fixed.In the present embodiment, storage threshold space value is 300M, and song upper limit quantity is 50.
When song adds pre-stored data storehouse, needing will be corresponding with song data for the Id of current song, play to set Standby in pre-stored data storehouse, song data is searched by Id.
In pre-stored data storehouse, the Id of song passes through [song origin Termination ID] and [song absolute path Hash codes] generation.
The connection status of S4, monitoring and described mobile terminal, and synchronously selected and switch data according to described connection status Passage carries out music.
In specific embodiment, the connection status of step S4, monitoring and described mobile terminal, and according to described connection status Synchronous selection and switch data passage carry out music
As shown in Figure 3, the connection status of described step S4, monitoring and described mobile terminal, and according to described connection shape State synchronously selects and switch data passage carries out music and is specially:
S401, when unimpeded with the wireless connection of described mobile terminal, select described mobile terminal to carry out sound as music source Happy broadcasting.
S402, when the wireless disconnecting with described mobile terminal, select pre-stored data storehouse to carry out sound as music source Happy broadcasting.
Playback equipment during carrying out music, the wireless link shape of real-time monitoring and described mobile terminal all the time State, when wireless link interrupts or decay has a strong impact on data transfer to ensure music smooth playing, switches to and sets from broadcasting Song data is read, that is, using the local pre-stored data storehouse of playback equipment as music source in standby local pre-stored data storehouse Data channel.
Playback equipment searches song from song pre-stored data storehouse, if finding song, directly plays, if cannot look for Arrive, then prompting current song cannot be play.
When wireless link is unimpeded, when the data transmission quality of wireless link is enough to ensure that music smooth playing, switch to from Read song data in described mobile terminal, music is carried out as music source using mobile terminal.
Playback equipment acquiescence is using mobile terminal as preferential music source, wireless only when playback equipment and mobile terminal When the data transfer of link channel cannot ensure music smooth playing, just switch to the local pre-stored data storehouse of playback equipment Data channel as music source carries out music.
In another preferred embodiment, described step S3, the machine music downloading described mobile terminal pre-stored In pre-stored data storehouse, limit N/mono- that data transfer bandwidth when downloading is less than wireless channel maximum bandwidth, wherein N Value is the integer more than or equal to 2.
In concrete application, because pre-stored song needs the extra network bandwidth that takies to be transmitted it is therefore desirable to specify pre- During storage, data transfer bandwidth is only 1/10 of maximum bandwidth in net, that is, true by way of limiting pre-stored song speed of download Protect the smoothness that current music is play.
In sum, a kind of method of pre-stored mobile terminal the machine music disclosed in the present embodiment, is applied to broadcasting and sets Standby, by setting up pre-stored data storehouse in playback equipment, preserve the machine music data of some or memory space, with reality Now as music source mobile terminal online when, can continue to play music, meanwhile, the update mode of the library data that prestores is protected Demonstrate,prove the nearest song play higher probability can be had to rise and broadcast, reduce the probability of music failure, improve user Experience;And, adopt speed limit transmission in pre-stored song it is ensured that current music plays smooth stablizing.
Embodiment two
Refer to Fig. 4, Fig. 4 is the method flow diagram of the pre-stored mobile terminal the machine music disclosed in the present embodiment one, The method is applied to mobile terminal, specifically includes following steps:
Y1 is set up with playback equipment and is wirelessly connected;
In this step, mobile terminal and playback equipment are in same LAN, can find mutually and match connection.
In concrete application, mobile terminal can pass through close range wireless communication NFC connected mode, Bluetooth communication connection side Formula, Wi-Fi communication connection mode or infrared communication connected mode are set up with playback equipment and are connected naturally it is also possible to adopt Other connected modes, non-the present embodiment is limited.
Y2, to described playback equipment send music instruction;
In this step, when user is intended to carry out music by playback equipment, music can be clicked in mobile terminal Related APP application, initiates music instruction, and above-mentioned music instruction includes the machine music playlist.
Y3, transmit the machine music data to described playback equipment, the machine music data of transmission includes the basis play The machine music of machine music and pre-stored.
In concrete application, the machine music due to transmitting pre-stored needs the extra network bandwidth that takies to be transmitted, in order to Ensure the machine music transmission play and then do not affect normal music it is therefore desirable to limit the machine of transmission pre-stored The transmission bandwidth of music is less than N/mono- of wireless channel maximum bandwidth, and wherein N value is the integer more than or equal to 2.This reality Apply in example it is stipulated that data transfer bandwidth is only 1/10 of maximum bandwidth in net during pre-stored, but technical scheme is not It is limited to this example.
As can be seen here, a kind of method of pre-stored mobile terminal the machine music disclosed in the present embodiment, is applied to mobile whole End, mobile terminal, after being connected with playback equipment foundation, is transmitted, to described playback equipment, the machine music play and prestores The machine music of storage, wherein, the machine music of pre-stored sets up pre-stored data storehouse for playback equipment, realizes as music source Mobile terminal online when, playback equipment can continue to play music, reduces the probability of music failure, improves use Family is experienced.
Embodiment three
Embodiments provide a kind of playback equipment of pre-stored mobile terminal the machine music, Fig. 5 is that the present invention is real Apply the structured flowchart of the playback equipment 1 of pre-stored mobile terminal the machine music disclosed in example, this playback equipment 1 includes:Wirelessly connect Connection module 101, command reception module 102, download pre-stored module 103, monitoring playing module 104.Wherein:
Wireless link block 101, is wirelessly connected for being set up with mobile terminal;
In concrete application, playback equipment and mobile terminal are in same LAN, can find mutually and match connection. Playback equipment can be set up with mobile terminal by wireless link block 101 and wirelessly be connected, and wireless link block 101 supports low coverage From wireless telecommunications NFC connected mode, Bluetooth communication connected mode, Wi-Fi communication connection mode or infrared communication connection side Formula is set up with mobile terminal and is connected naturally it is also possible to adopt other connected modes, and non-the present embodiment is limited.
Command reception module 102, the music for receiving described mobile terminal instructs;
In concrete application, when user is intended to carry out music by playback equipment, music can be clicked in mobile terminal and broadcast Put related APP application, initiate music instruction, playback equipment receives described mobile terminal by command reception module 102 Music instructs.Above-mentioned music instruction includes the machine music playlist.The music instruction of mobile terminal includes Music playlist, playback equipment carries out music according to order of songs in music playlist.
Download pre-stored module 103, for downloading the machine music of described mobile terminal and being pre-stored in pre-stored data In storehouse;
Wherein, pre-stored is to load accessing the data reading in advance, and directly accesses when when to be used. Difference with caching technology:Caching is it temporarily to be preserved the data having read, to use next time.
Described download pre-stored module includes:
Download unit, for the order of songs according to music playlist in the instruction of the music of described mobile terminal according to The secondary the machine music downloading mobile terminal.
Pre-storing unit, for detecting the memory space in described pre-stored data storehouse, if the song in described pre-stored data storehouse Song takes up room more than or equal to storage threshold space, then delete the song adding described pre-stored data storehouse at first;If described pre- The song in data storage storehouse takes up room less than storage threshold space, detects the number of songs in described pre-stored data storehouse, if institute The number of songs stating pre-stored data storehouse is more than or equal to song upper limit quantity, then delete and add described pre-stored data storehouse at first Song, if the number of songs in described pre-stored data storehouse is less than song upper limit quantity, prestores to the machine music downloaded Storage.
Wherein, the storage threshold space in pre-stored data storehouse and song upper limit quantity set according to the dielectric capacity of playback equipment Fixed.In the present embodiment, storage threshold space value is 300M, and song upper limit quantity is 50.
When song adds pre-stored data storehouse, needing will be corresponding with song data for the Id of current song, play to set Standby in pre-stored data storehouse, song data is searched by Id.
In pre-stored data storehouse, the Id of song passes through [song origin Termination ID] and [song absolute path Hash codes] generation.
Monitoring playing module 104, for the connection status of real-time monitoring and described mobile terminal, and according to described connection shape State synchronously selects and switch data passage carries out music.
Described monitoring playing module includes:
First broadcast unit, for when unimpeded with the wireless connection of described mobile terminal, selecting described mobile terminal conduct Music source carries out music.
Second broadcast unit, for when the wireless disconnecting with described mobile terminal, selecting the conduct of pre-stored data storehouse Music source carries out music.
In sum, a kind of playback equipment of pre-stored mobile terminal the machine music disclosed in the present embodiment, including wireless Link block 101, command reception module 102, download pre-stored module 103, monitoring playing module 104, this playback equipment passes through Wireless link block 101 is set up with mobile terminal after being wirelessly connected, and is received the sound of described mobile terminal by command reception module 102 Happy play instruction, then downloads pre-stored module 103 and downloads the machine music of described mobile terminal and be pre-stored in pre-stored number According in storehouse, finally monitor the connection status of playing module 104 real-time monitoring and described mobile terminal, and according to described connection status Synchronous selection and switch data passage carry out music.The playback equipment of this pre-stored mobile terminal the machine music passes through broadcasting Put and in equipment, set up pre-stored data storehouse, preserve the machine music data of some or memory space, to realize as music When the mobile terminal in source is online, can continue to play music, meanwhile, the update mode of the library data that prestores ensure that to be broadcast recently The song let slip can have higher probability to rise to broadcast, reduce the probability of music failure, improve Consumer's Experience.
Example IV
Embodiments provide a kind of mobile terminal, Fig. 6 is the structure of mobile terminal 2 disclosed in the embodiment of the present invention Block diagram, this mobile terminal 2 includes:Connection establishment module 201, instruction sending module 202, data transmission blocks 203.Wherein:
Connection establishment module 201, is wirelessly connected for being set up with playback equipment;
In concrete application, mobile terminal and playback equipment are in same LAN, can find mutually and match connection. Mobile terminal can be set up with playback equipment by connection establishment module 201 and wirelessly be connected, and connection establishment module 201 supports low coverage From wireless telecommunications NFC connected mode, Bluetooth communication connected mode, Wi-Fi communication connection mode or infrared communication connection side Naturally it is also possible to adopt other connected modes, non-the present embodiment is limited formula.
Instruction sending module 202, for sending music instruction to described playback equipment;
In concrete application, when user is intended to carry out music by playback equipment, can be existed by instruction sending module 202 Mobile terminal clicks on music correlation APP application, initiates music instruction, and above-mentioned music instruction includes the machine music Playlist.
Data transmission blocks 203, for transmitting the machine music data, described the machine music data bag to described playback equipment Include the machine music of the machine music play and pre-stored.
In concrete application, because the machine music that data transmission blocks 203 transmit pre-stored needs extra occupancy Netowrk tape Width is transmitted, in order to ensure the machine music transmission play and then not affect normal music it is therefore desirable to limit Transmission pre-stored the machine music transmission bandwidth be less than wireless channel maximum bandwidth N/mono-, wherein N value be more than Integer equal to 2.In the present embodiment it is stipulated that during pre-stored data transfer bandwidth be only 1/10 of maximum bandwidth in net, but this Bright technical scheme is not limited to this example.
In sum, a kind of mobile terminal disclosed in the present embodiment, with pre-stored mobile terminal disclosed in above-described embodiment The playback equipment of the machine music supports the use, including connection establishment module 201, instruction sending module 202, data transmission blocks 203.This mobile terminal is first passed through connection establishment module 201 and is set up after wireless connection with playback equipment, is then sent by instruction Module 202 sends music instruction to described playback equipment, is finally transmitted from data transmission blocks 203 to described playback equipment The machine music data, described the machine music data includes the machine music of the machine music play and pre-stored, wherein, in advance The machine music of storage is used for playback equipment and sets up pre-stored data storehouse, realize as music source mobile terminal not online when, Playback equipment can continue to play music, reduces the probability of music failure, improves Consumer's Experience.
Embodiment five
Embodiments provide a kind of system of pre-stored mobile terminal the machine music, Fig. 7 is the embodiment of the present invention The structured flowchart of the system of disclosed pre-stored mobile terminal the machine music, this system includes:Playback equipment 1 and mobile terminal 2, Wherein,
Playback equipment 1, for playing the machine music of mobile terminal, downloads the machine music and is pre-stored in pre-stored data In storehouse, meanwhile, the connection status of real-time monitoring and described mobile terminal, and synchronously selected according to described connection status and switching number Carry out music according to passage;
Mobile terminal 2, for sending music instruction to playback equipment, and plays to the transmission of described playback equipment The machine music and pre-stored the machine music.
Wherein, playback equipment 1 and mobile terminal 2 pass through close range wireless communication NFC connected mode, Bluetooth communication connection side Formula, the Wi-Fi communication connection radio connection such as mode or infrared communication connected mode enter row information and music data Interaction.
In sum, the system of pre-stored mobile terminal the machine music disclosed in the embodiment of the present invention, including playback equipment 1 With mobile terminal 2, above-mentioned playback equipment 1 and mobile terminal 2 jointly coordinate cooperation, set up pre-stored data storehouse in playback equipment real When the synchronous the machine music data preserving some or memory space, using realize mobile terminal as music source online when Can continue to play music, the song update mode in wherein pre-stored data storehouse ensure that the song play recently can have more High probability rises to be broadcast.The system of this pre-stored mobile terminal the machine music effectively reduce due to playback equipment and mobile terminal from Line interrupts leading to the probability of music failure.
It should be noted that in said system and device embodiment, included modules and unit simply according to Function logic is divided, but is not limited to above-mentioned division, as long as being capable of corresponding function;In addition, it is each The specific name of module and unit also only to facilitate mutual distinguish, is not limited to protection scope of the present invention.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention are not subject to above-described embodiment Limit, other any spirit without departing from the present invention and the change made under principle, modification, replacement, combine, simplify, All should be equivalent substitute mode, be included within protection scope of the present invention.

Claims (10)

1. a kind of method of pre-stored mobile terminal the machine music is it is characterised in that methods described includes:
Playback equipment is set up with mobile terminal and is wirelessly connected;
Receive the music instruction of described mobile terminal;
Download the machine music of described mobile terminal and be pre-stored in pre-stored data storehouse;
Monitoring and the connection status of described mobile terminal, and synchronously select to carry out with switch data passage according to described connection status Music.
2. the method for pre-stored mobile terminal the machine music according to claim 1 is it is characterised in that described monitoring and institute State the connection status of mobile terminal, and it is concrete to carry out music according to the synchronization selection of described connection status and switch data passage For:
When unimpeded with the wireless connection of described mobile terminal, described mobile terminal is selected to carry out music as music source;
When the wireless disconnecting with described mobile terminal, pre-stored data storehouse is selected to carry out music as music source.
3. the method for pre-stored mobile terminal the machine music according to claim 1 is it is characterised in that described in described download The machine music of mobile terminal being pre-stored in pre-stored data storehouse specifically includes:
Mobile terminal is downloaded successively according to the order of songs of music playlist in the music instruction of described mobile terminal The machine music.
4. the method for pre-stored mobile terminal the machine music according to claim 1 is it is characterised in that described in described download The machine music of mobile terminal being pre-stored in pre-stored data storehouse specifically also includes:
Detect the memory space in described pre-stored data storehouse, if the song in described pre-stored data storehouse takes up room to be more than or equal to depositing Storage threshold space, then delete the song adding described pre-stored data storehouse at first;If the song in described pre-stored data storehouse takies Space is less than storage threshold space, detects the number of songs in described pre-stored data storehouse, if the song in described pre-stored data storehouse Quantity is more than or equal to song upper limit quantity, then delete the song adding described pre-stored data storehouse at first, if described pre-stored number Number of songs according to storehouse is less than song upper limit quantity, then carry out pre-stored to the machine music downloaded.
5. a kind of method of pre-stored mobile terminal the machine music is it is characterised in that methods described includes:
Mobile terminal is set up with playback equipment and is wirelessly connected;
Send music instruction to described playback equipment;
Transmit the machine music data to described playback equipment, described the machine music data includes the machine music of playing and pre- The machine music of storage.
6. a kind of playback equipment of pre-stored mobile terminal the machine music is it is characterised in that described playback equipment includes:
Wireless link block, is wirelessly connected for being set up with mobile terminal;
Command reception module, the music for receiving described mobile terminal instructs;
Download pre-stored module, for downloading the machine music of described mobile terminal and being pre-stored in pre-stored data storehouse;
Monitoring playing module, for the connection status of monitoring and described mobile terminal, and synchronously selects according to described connection status Carry out music with switch data passage.
7. the playback equipment of pre-stored mobile terminal the machine music according to claim 6 is it is characterised in that described monitoring Playing module includes:
First broadcast unit, for when unimpeded with the wireless connection of described mobile terminal, selecting described mobile terminal as music Source carries out music;
Second broadcast unit, for when the wireless disconnecting with described mobile terminal, selecting pre-stored data storehouse as music Source carries out music.
8. the playback equipment of pre-stored mobile terminal the machine music according to claim 6 is it is characterised in that described download Pre-stored module includes:
Download unit, for according to the order of songs of music playlist in the instruction of the music of described mobile terminal successively under Carry the machine music of mobile terminal;
Pre-storing unit, for detecting the memory space in described pre-stored data storehouse, if the song in described pre-stored data storehouse accounts for It is more than or equal to storage threshold space with space, then delete the song adding described pre-stored data storehouse at first;If described pre-stored The song of data base takes up room less than storage threshold space, detects the number of songs in described pre-stored data storehouse, if described pre- The number of songs in data storage storehouse is more than or equal to song upper limit quantity, then delete the song adding described pre-stored data storehouse at first Song, if the number of songs in described pre-stored data storehouse is less than song upper limit quantity, carries out pre-stored to the machine music downloaded.
9. a kind of mobile terminal is it is characterised in that described mobile terminal includes:
Connection establishment module, is wirelessly connected for being set up with playback equipment;
Instruction sending module, for sending music instruction to described playback equipment;
Data transmission blocks, for transmitting the machine music data to described playback equipment, described the machine music data is included The machine music play and the machine music of pre-stored.
10. a kind of system of pre-stored mobile terminal the machine music is it is characterised in that include:
Playback equipment, for playing the machine music of mobile terminal, downloads the machine music and is pre-stored in pre-stored data storehouse, Meanwhile, the connection status of monitoring and described mobile terminal, and synchronously select to enter with switch data passage according to described connection status Row music;
Mobile terminal, for sending music instruction, and the basis play to the transmission of described playback equipment to playback equipment The machine music of machine music and pre-stored.
CN201610859857.8A 2016-09-28 2016-09-28 Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal Pending CN106385610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610859857.8A CN106385610A (en) 2016-09-28 2016-09-28 Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610859857.8A CN106385610A (en) 2016-09-28 2016-09-28 Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal

Publications (1)

Publication Number Publication Date
CN106385610A true CN106385610A (en) 2017-02-08

Family

ID=57936901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610859857.8A Pending CN106385610A (en) 2016-09-28 2016-09-28 Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal

Country Status (1)

Country Link
CN (1) CN106385610A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040840A (en) * 2017-06-09 2017-08-11 珠海格力电器股份有限公司 Earphone, music playing method and device, and electronic equipment
CN108768936A (en) * 2018-04-12 2018-11-06 上海博泰悦臻网络技术服务有限公司 Music collection method based on vehicle-mounted radio and cloud server
CN108882002A (en) * 2018-07-16 2018-11-23 广州辉群智能科技有限公司 A kind of audio and video playing control method and system
CN108900877A (en) * 2018-07-16 2018-11-27 广州辉群智能科技有限公司 Control the method and service equipment of playing audio/video playing audio-video document
CN108924885A (en) * 2017-04-11 2018-11-30 腾讯科技(深圳)有限公司 Information acquisition method and device
CN110310672A (en) * 2018-03-27 2019-10-08 厦门歌乐电子企业有限公司 A kind of music player and its control method
CN111182123A (en) * 2018-11-13 2020-05-19 奇酷互联网络科技(深圳)有限公司 Method for avoiding audio playing delay of wireless player, mobile terminal and storage medium
CN113521485A (en) * 2021-06-25 2021-10-22 荣耀终端有限公司 Sleep assisting method, electronic equipment and true wireless stereo earphone
CN113691673A (en) * 2020-05-13 2021-11-23 北京小米移动软件有限公司 Audio playing control method and device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1963943A (en) * 2006-11-06 2007-05-16 威盛电子股份有限公司 Method for playing music
US20070130418A1 (en) * 2003-10-03 2007-06-07 Naoki Hori Playback device
US20090040886A1 (en) * 2004-02-18 2009-02-12 Koji Kishimoto Disk playback apparatus and method
CN102710986A (en) * 2012-05-07 2012-10-03 Tcl集团股份有限公司 Mobile phone audio and video playing method, mobile phone and playing device
CN102984620A (en) * 2012-11-30 2013-03-20 深圳市博尊音域科技有限公司 Sound equipment
CN105828134A (en) * 2016-03-22 2016-08-03 广东欧珀移动通信有限公司 Playing control method and device in audio-video playing system
CN105955702A (en) * 2016-06-28 2016-09-21 广州三星通信技术研究有限公司 Wireless audio equipment and method for playing music in same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070130418A1 (en) * 2003-10-03 2007-06-07 Naoki Hori Playback device
US20090040886A1 (en) * 2004-02-18 2009-02-12 Koji Kishimoto Disk playback apparatus and method
CN1963943A (en) * 2006-11-06 2007-05-16 威盛电子股份有限公司 Method for playing music
CN102710986A (en) * 2012-05-07 2012-10-03 Tcl集团股份有限公司 Mobile phone audio and video playing method, mobile phone and playing device
CN102984620A (en) * 2012-11-30 2013-03-20 深圳市博尊音域科技有限公司 Sound equipment
CN105828134A (en) * 2016-03-22 2016-08-03 广东欧珀移动通信有限公司 Playing control method and device in audio-video playing system
CN105955702A (en) * 2016-06-28 2016-09-21 广州三星通信技术研究有限公司 Wireless audio equipment and method for playing music in same

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924885A (en) * 2017-04-11 2018-11-30 腾讯科技(深圳)有限公司 Information acquisition method and device
CN107040840A (en) * 2017-06-09 2017-08-11 珠海格力电器股份有限公司 Earphone, music playing method and device, and electronic equipment
CN110310672A (en) * 2018-03-27 2019-10-08 厦门歌乐电子企业有限公司 A kind of music player and its control method
CN110310672B (en) * 2018-03-27 2023-06-23 厦门歌乐电子企业有限公司 Music player and control method thereof
CN108768936A (en) * 2018-04-12 2018-11-06 上海博泰悦臻网络技术服务有限公司 Music collection method based on vehicle-mounted radio and cloud server
CN108768936B (en) * 2018-04-12 2022-11-25 上海博泰悦臻网络技术服务有限公司 Music collection method based on vehicle-mounted radio and cloud server
CN108882002A (en) * 2018-07-16 2018-11-23 广州辉群智能科技有限公司 A kind of audio and video playing control method and system
CN108900877A (en) * 2018-07-16 2018-11-27 广州辉群智能科技有限公司 Control the method and service equipment of playing audio/video playing audio-video document
CN111182123A (en) * 2018-11-13 2020-05-19 奇酷互联网络科技(深圳)有限公司 Method for avoiding audio playing delay of wireless player, mobile terminal and storage medium
CN113691673A (en) * 2020-05-13 2021-11-23 北京小米移动软件有限公司 Audio playing control method and device and storage medium
CN113521485A (en) * 2021-06-25 2021-10-22 荣耀终端有限公司 Sleep assisting method, electronic equipment and true wireless stereo earphone
CN113521485B (en) * 2021-06-25 2024-05-17 荣耀终端有限公司 Sleep assisting method, electronic equipment and true wireless stereo earphone

Similar Documents

Publication Publication Date Title
CN106385610A (en) Playing device, mobile terminal, method and system for pre-storing local music of mobile terminal
CN104994466B (en) Bluetooth connection control method, device and the music playing system of more playback equipments
EP2191633B1 (en) Method of and device for transferring content
CN103702175A (en) Multi-screen interactive method and multi-screen interactive device
CN105681881A (en) Multimedia data transmission method based on mobile terminal, and mobile terminal
CN105163372A (en) Network access method and network access device of intelligent household appliance
CN105139877A (en) Method for connecting multimedia play devices, main device, control terminal and system
WO2008016733B1 (en) Multi-representation media event handoff
CN108781473B (en) Method and equipment for sharing files among different terminals
CN105553868A (en) Data transmission method and device and terminal
CN109743783A (en) Data transfer control method and Related product
CN103036922A (en) Method for browsing media files continuously in different electronic terminals and electronic terminal
CN101106500A (en) Bluetooth master with improved transmitting efficiency and method of transmitting data using the same
CN104244063B (en) The conversion method and device of many playback equipments
CN105072146A (en) Music information sharing method and device
CN104967608A (en) Method of playing multimedia file, mobile terminal and fixing terminal
CN106331258A (en) Call methods, call apparatus and call system
CN107846715A (en) Access point switching method and device of the Internet of Things based on transmission rate
CN104980191A (en) Sharing method for Bluetooth audio packet
CN105812185A (en) Communication connection method for playing device
US10356828B2 (en) Method for controlling a wireless access device using channel avoidance between processors of the wireless access device
CN105681886A (en) Playback device Bluetooth connection control method and device, and playback device
WO2016161645A1 (en) Antenna configuration method and terminal
CN105227627A (en) A kind of playback equipment packet control process and user terminal
CN103559091B (en) A kind of data dispatching method and split type terminal system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20170208