CN104869507B - A kind of method for playing music and intelligent sound box applied to intelligent sound box - Google Patents
A kind of method for playing music and intelligent sound box applied to intelligent sound box Download PDFInfo
- Publication number
- CN104869507B CN104869507B CN201510191259.3A CN201510191259A CN104869507B CN 104869507 B CN104869507 B CN 104869507B CN 201510191259 A CN201510191259 A CN 201510191259A CN 104869507 B CN104869507 B CN 104869507B
- Authority
- CN
- China
- Prior art keywords
- information
- history
- music
- playing music
- playing
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present embodiments relate to intelligent sound box technical fields, disclose a kind of method for playing music and intelligent sound box applied to intelligent sound box, and this method includes:The shuffle instruction that detection terminal equipment is sent;The shuffle instruction is responded, current context information is obtained;Target histories playing music is inquired from the history playing music of storage, wherein, it includes the history environment information when target histories playing music plays that the history of the target histories playing music binding, which plays record information, and history environment information when target histories playing music broadcasting is matched with the current context information;Play the target histories playing music.Implement the embodiment of the present invention, can intelligently select to play out with the music that current context information matches.
Description
Technical field
The present invention relates to intelligent sound box technical field more particularly to a kind of method for playing music applied to intelligent sound box and
Intelligent sound box.
Background technology
Intelligent sound box is a kind of current popular music player devices, and intelligent sound box can be with cell phone, tablet
The APP installed on the terminal devices such as computer, which is established, to be wirelessly connected, and can play the music that user is selected by APP.In reality
It is found in the application of border, intelligent sound box is all usually the music for playing user and being selected by APP, can not intelligently select music to carry out
It plays.
Invention content
The embodiment of the invention discloses a kind of method for playing music and intelligent sound box applied to intelligent sound box, for solving
The problem of how intelligently selecting to play out with the music that current context information matches.
First aspect of the embodiment of the present invention discloses a kind of method for playing music applied to intelligent sound box, including:
The shuffle instruction that detection terminal equipment is sent;
The shuffle instruction is responded, current context information is obtained;
Target histories playing music is inquired from the history playing music of storage, wherein the target histories
It includes the history ring when target histories playing music plays that the history of playing music binding, which plays record information,
Border information, and history environment information when target histories playing music broadcasting and the current context information
Match;
Play the target histories playing music.
In one embodiment, the quantity of the target histories playing music of acquisition is at least two, and every
It further includes that the target histories play music that the history of one target histories playing music binding, which plays record information,
The attribute information of file, wherein the attribute information include in singer's name, music name and music style any one or it is several
Kind combination, then it is described to play the target histories playing music, including:
From all target histories playing musics of acquisition, partial target history playing music is selected
It plays out;Wherein, the attribute information of the partial target history playing music and preset user are interested
The attribute information of music file matches.
In one embodiment, in all target histories playing musics from acquisition, part is selected
Target histories playing music plays out, including:
From all target histories playing musics of acquisition, selects partial target history and play music text
Part;
The partial target history music playing file is polled broadcasting according to the sequence of broadcasting frequency from high to low.
In one embodiment, history environment information when the target histories playing music plays with it is described current
Environmental information matches, including:
The history that history environment information when the target histories playing music plays includes play initial time with
The current time matches that the current context information includes;
And/or the weather history information that the history environment information of target histories playing music when playing includes
The current weather information for including with the current context information matches.
In one embodiment, before the shuffle instruction that the detection terminal equipment is sent, the method further includes:
When some music file playing duration is more than setting value, some described music file is played as history
Music file stores, and environmental information when some described music file is played is added to institute as history environment information
The history for stating the binding of history playing music plays in record information.
Second aspect of the embodiment of the present invention discloses a kind of intelligent sound box, including:
Inspection unit, the shuffle instruction sent for detection terminal equipment;
First acquisition unit obtains current context information for responding the shuffle instruction;
Second acquisition unit, for inquiring target histories playing music from the history playing music of storage,
Wherein, it includes that the target histories play music text that the history of the target histories playing music binding, which plays record information,
Part play when history environment information, and the target histories playing music play when history environment information with it is described
Current context information matches;
Broadcast unit, for playing the target histories playing music.
In one embodiment, the quantity of the target histories playing music of the second acquisition unit acquisition is
At least two, and it further includes the mesh that the history of each target histories playing music binding, which plays record information,
Mark the attribute information of history playing music, wherein the attribute information includes in singer's name, music name and music style
Any one or the combination of several of them, then the broadcast unit be specifically used for playing music from all target histories of acquisition
In file, selects partial target history playing music and play out;Wherein, the partial target history plays music text
The attribute information of part and the attribute information of the interested music file of preset user match.
In one embodiment, the broadcast unit includes:
Selecting module, for from all target histories playing musics of acquisition, selecting partial target and going through
History playing music;
Playing module, for the sequence by the partial target history music playing file according to broadcasting frequency from high to low
It is polled broadcasting.
In one embodiment, history environment information when the target histories playing music plays with it is described current
Environmental information matches, including:
The history that history environment information when the target histories playing music plays includes play initial time with
The current time matches that the current context information includes;
And/or the weather history information that the history environment information of target histories playing music when playing includes
The current weather information for including with the current context information matches.
In one embodiment, the intelligent sound box further includes:
Adding device is stored, is used for before the shuffle instruction that the inspection unit detection terminal equipment is sent, when
When some music file playing duration is more than setting value, some described music file is deposited as history playing music
Environmental information when storing up, and some described music file being played is added to the history as history environment information and plays
The history of music file binding plays in record information.
In the embodiment of the present invention, obtain terminal device is presently in location information;For the phase of the terminal device
Each photograph in volume extracts the shooting location information that the photograph carries;The shooting position carried according to the photograph
Information and the terminal device be presently in location information, works as with the terminal device with determining the shooting of the photograph
The distance between preceding residing ground value, as the corresponding distance value of the photograph;According to the corresponding distance of each photograph in the photograph album
The sequence of value from small to large, is ranked up each photograph in the photograph album.Convenient for being rapidly found out from photograph album and user place
The corresponding photograph in ground.
Compared with prior art, the embodiment of the present invention has the advantages that:
The embodiment of the present invention can respond the shuffle instruction of terminal device transmission, and music text is played from the history of storage
It obtains in part and is played out with the matched target histories playing music of current context information, realize and intelligently select and work as
The effect that the music of preceding environment information match plays out.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of network architecture schematic diagram disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of method for playing music applied to intelligent sound box disclosed by the embodiments of the present invention;
Fig. 3 is the flow signal of another method for playing music for being applied to intelligent sound box disclosed by the embodiments of the present invention
Figure;
Fig. 4 is a kind of structural schematic diagram of intelligent sound box disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of method for playing music and intelligent sound box applied to intelligent sound box, for solving
The problem of how intelligently selecting to play out with the music that current context information matches.It is described in detail separately below.
In order to be best understood from a kind of method for playing music and intelligence applied to intelligent sound box disclosed by the embodiments of the present invention
Speaker, the network architecture being first applicable in below the embodiment of the present invention are described.Referring to Fig. 1, Fig. 1 is public affairs of the embodiment of the present invention
A kind of network architecture schematic diagram opened.May include terminal device and intelligent sound box in network architecture shown in Fig. 1, wherein
Terminal device (such as WI-FI, bluetooth) can be communicated to connect with intelligent sound box wirelessly.Network architecture shown in Fig. 1
In, terminal device may include cell phone, tablet computer, personal digital assistant (Personal Digital Assistant,
PDA), mobile internet device (Mobile Internet Device, MID), intelligent wearable device (such as smartwatch, intelligence
Bracelet) etc. all kinds of terminal devices, the embodiment of the present invention be not construed as limiting.It, can be intelligently by implementing network architecture shown in FIG. 1
Selection is played out with the music that current context information matches.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses a kind of music applied to intelligent sound box broadcast
Put method.Referring to Fig. 2, Fig. 2 is a kind of stream of method for playing music applied to intelligent sound box disclosed by the embodiments of the present invention
Journey schematic diagram.As shown in Fig. 2, should may comprise steps of applied to the method for playing music of intelligent sound box.
201, the shuffle instruction that detection terminal equipment is sent.
In the embodiment of the present invention, intelligent sound box can be referred to the shuffle that detection terminal equipment is wirelessly sent
It enables.
For example, user can wirelessly be sent random by rocking terminal device with triggering terminal equipment
Play instruction is to intelligent sound box;Optionally, in the case where terminal device is in breath screen state, user also can by rocking terminal device
Shuffle is wirelessly sent with triggering terminal equipment to instruct to intelligent sound box.
Again for example, terminal device can be the various intelligent wearable devices such as smartwatch, Intelligent bracelet, further
Intelligent wearable device can detect the dohandshake action of user and other people (such as visiting business people), and can respond this shake hands it is dynamic
Make, wirelessly sends shuffle instruction to intelligent sound box.This mode can be other people (such as visiting business people)
When visiting, intelligently trigger intelligent sound box and start music, promote user experience.
202, response shuffle instruction, obtains current context information.
In the embodiment of the present invention, intelligent sound box can respond shuffle instruction, by internet and network server into
Row interaction, it is hereby achieved that the current context information of intelligent sound box;Alternatively, intelligent sound box can respond shuffle instruction,
The current context information of intelligent sound box is obtained by the various kinds of sensors built in its own.
In the embodiment of the present invention, the current context information of intelligent sound box may include current time, current weather information etc.,
Wherein, current weather information may include all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, precipitation,
The embodiment of the present invention is not construed as limiting.
203, target histories playing music is inquired from the history playing music of storage, wherein the target is gone through
It includes the history ring when target histories playing music plays that the history of history playing music binding, which plays record information,
Border information, and history environment information when target histories playing music broadcasting is matched with above-mentioned current context information.
In the embodiment of the present invention, intelligent sound box can inquire target from the history playing music of database purchase and go through
History playing music, wherein target histories playing music can bind history and play record information, and history plays note
Record information may include history environment information when target histories playing music plays, wherein target histories play music
History environment information when file plays is matched with above-mentioned current context information.
For example, history environment information when target histories playing music plays is matched with current context information,
May include:
The history that history environment information when target histories playing music plays includes play initial time with it is current
The current time matches that environmental information includes;
And/or the history environment information weather history information that includes of target histories playing music when playing with work as
The current weather information matching that preceding environment information includes.
Wherein, target histories playing music play when history environment information include history play initial time with
The current time matches that current context information includes can be:History environment information when target histories playing music plays
Including history play initial time it is identical with the current time that current context information includes, alternatively, target histories broadcasting music
The history that history environment information when file plays includes plays the current time phase that initial time includes with current context information
Than lagging preset duration.
Wherein, the history environment information weather history information that includes when target histories playing music plays with it is current
The current weather information that environmental information includes matches:History environment information when target histories playing music plays
Including weather history information weather identical with most types in the current weather information that current context information includes
The value of parameter is identical, alternatively, the weather history letter that history environment information when target histories playing music plays includes
The difference between the identical weather parameters of each type in the current weather information that breath and current context information include is less than pre-
If threshold value.
204, target histories playing music is played.
In the embodiment of the present invention, intelligent sound box can play target histories playing music.
In the embodiment of the present invention, in above-mentioned steps 203, the quantity for the target histories playing music that intelligent sound box obtains
Can be at least two, and the history broadcasting record information of each target histories playing music binding can also include
The attribute information of the target histories playing music, wherein attribute information may include singer's name, music name and music wind
Any one or the combination of several of them in lattice, then in above-mentioned steps 204, playing target histories playing music may include:
Intelligent sound box can select the broadcasting of partial target history from all target histories playing musics of acquisition
Music file plays out;Wherein, the attribute information of the partial target history playing music of selection is felt with preset user
The attribute information of the music file of interest matches.For example, the attribute of the partial target history playing music of selection
The attribute information of information and the interested music file of preset user matches and can be:The partial target history of selection plays
The attribute information of music file is identical as the attribute information completion of the interested music file of preset user, alternatively, choose
The attribute information of partial target history playing music includes the attribute information of the interested music file of preset user.
In the embodiment of the present invention, above-mentioned intelligent sound box is selected from all target histories playing musics of acquisition
Partial target history playing music plays out, including:
Intelligent sound box can select the broadcasting of partial target history from all target histories playing musics of acquisition
Music file, and the partial target history music playing file of selection is taken turns according to the sequence of broadcasting frequency from high to low
It askes and plays.
Alternatively, intelligent sound box can be selected partial target and go through from all target histories playing musics of acquisition
History playing music, and the partial target history music playing file of selection is played out according to random fashion.
In the embodiment of the present invention, intelligent sound box can also be held before the shuffle instruction that detection terminal equipment is sent
Row following steps:
When some music file playing duration is more than setting value (such as 20 seconds), using some music file as going through
History playing music is stored into database, and environmental information when some music file is played is as history ring
The history that border information is added to the binding of history playing music plays in record information.Wherein, which broadcasts
Environmental information when putting may include playing initial time, Weather information etc., wherein Weather information may include temperature, wind speed,
All kinds of weather parameters such as uitraviolet intensity, relative humidity, precipitation, the embodiment of the present invention are not construed as limiting.
N number of history playing music (such as N=10000) can be stored in the embodiment of the present invention, in database, work as storage
History playing music number exceed N when, the history playing music of oldest stored broadcasts the history newly stored
Playback music file is covered.
As the above analysis, implement method described in Fig. 2, intelligent sound box can respond the random of terminal device transmission
Play instruction obtains from the history playing music of storage and plays music text with the matched target histories of current context information
Part plays out, and realizes the effect that intelligently selection is played out with the music that current context information matches.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses another kind be applied to the music of intelligent sound box
Playback method.Referring to Fig. 3, Fig. 3 is a kind of method for playing music applied to intelligent sound box disclosed by the embodiments of the present invention
Flow diagram.As shown in figure 3, should may comprise steps of applied to the method for playing music of intelligent sound box.
301, the shuffle instruction that intelligent sound box detection terminal equipment is sent.
In the embodiment of the present invention, intelligent sound box can be referred to the shuffle that detection terminal equipment is wirelessly sent
It enables.
For example, user can wirelessly be sent random by rocking terminal device with triggering terminal equipment
Play instruction is to intelligent sound box;Optionally, in the case where terminal device is in breath screen state, user also can by rocking terminal device
Shuffle is wirelessly sent with triggering terminal equipment to instruct to intelligent sound box.
Again for example, terminal device can be the various intelligent wearable devices such as smartwatch, Intelligent bracelet, further
Intelligent wearable device can detect the dohandshake action of user and other people (such as visiting business people), and can respond this shake hands it is dynamic
Make, wirelessly sends shuffle instruction to intelligent sound box.This mode can be other people (such as visiting business people)
When visiting, intelligently trigger intelligent sound box and start music, promote user experience.
302, intelligent sound box response shuffle instruction sends prompt message to terminal device, and the prompt message is for carrying
Show input information to be verified.
303, intelligent sound box receives the information to be verified for responding prompt message input;
304, whether consistent with default verification information intelligent sound box verifies the information to be verified, if unanimously, executing step
305;If inconsistent, notice terminal device identity is illegal, music failure.
In the embodiment of the present invention, which may include but be not limited to password to be verified, finger print information to be verified, waits for
Verify in shape of face information, iris information to be verified, retinal information to be verified and voiceprint to be verified any one and
Several combinations.
In the embodiment of the present invention, which may include but be not limited to default verification password, default verification fingerprint
Information, default verification shape of face information, default verification iris information, default verification retinal information and default verification voiceprint
In any one and several combination.
In this embodiment, above-mentioned default verification information may include that fingerprint string information and each fingerprint correspond to
Input time;So correspondingly, verify whether the information to be verified is consistent with default verification information to may comprise steps of:
Whether identical as the fingerprint string that default verification information includes verify the fingerprint string that the information to be verified includes, and phase
Whether the difference with the input time of fingerprint is respectively less than preset value, if verifying the fingerprint string and preset that the information to be verified includes
The fingerprint string that verification information includes is identical, and the difference of the input time of identical fingerprints is respectively less than preset value, then can test
It is consistent with default verification information to demonstrate,prove the information to be verified;Conversely, verifying the information to be verified and default verification information is inconsistent.Its
In, by implementing the embodiment, it can prevent disabled user from controlling intelligent sound box wantonly and carry out music.
305, intelligent sound box obtains current context information.
In the embodiment of the present invention, intelligent sound box can be interacted by internet and network server, so as to obtain
Obtain the current context information of intelligent sound box;Alternatively, intelligent sound box can respond shuffle instruction, by each built in its own
Class sensor obtains the current context information of intelligent sound box.
In the embodiment of the present invention, the current context information of intelligent sound box may include current time, current weather information etc.,
Wherein, current weather information may include all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, precipitation,
The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, by implementing 302~step 305 of above-mentioned steps, it is random that response may be implemented in intelligent sound box
Play instruction obtains the purpose of current context information.
306, intelligent sound box inquires target histories playing music from the history playing music of storage, wherein
When the history broadcasting record information of target histories playing music binding includes that the target histories playing music plays
History environment information, and history environment information and the above-mentioned current environment when target histories playing music plays are believed
Breath matching.
In the embodiment of the present invention, intelligent sound box can inquire target from the history playing music of database purchase and go through
History playing music, wherein target histories playing music can bind history and play record information, and history plays note
Record information may include history environment information when target histories playing music plays, wherein target histories play music
History environment information when file plays is matched with above-mentioned current context information.
For example, history environment information when target histories playing music plays is matched with current context information,
May include:
The history that history environment information when target histories playing music plays includes play initial time with it is current
The current time matches that environmental information includes;
And/or the history environment information weather history information that includes of target histories playing music when playing with work as
The current weather information matching that preceding environment information includes.
Wherein, target histories playing music play when history environment information include history play initial time with
The current time matches that current context information includes can be:History environment information when target histories playing music plays
Including history play initial time it is identical with the current time that current context information includes, alternatively, target histories broadcasting music
The history that history environment information when file plays includes plays the current time phase that initial time includes with current context information
Than lagging preset duration.
Wherein, the history environment information weather history information that includes when target histories playing music plays with it is current
The current weather information that environmental information includes matches:History environment information when target histories playing music plays
Including weather history information weather identical with most types in the current weather information that current context information includes
The value of parameter is identical, alternatively, the weather history letter that history environment information when target histories playing music plays includes
The difference between the identical weather parameters of each type in the current weather information that breath and current context information include is less than pre-
If threshold value.
307, intelligent sound box plays target histories playing music.
In the embodiment of the present invention, intelligent sound box can play target histories playing music.
In the embodiment of the present invention, in above-mentioned steps 306, the quantity for the target histories playing music that intelligent sound box obtains
Can be at least two, and the history broadcasting record information of each target histories playing music binding can also include
The attribute information of the target histories playing music, wherein attribute information may include singer's name, music name and music wind
Any one or the combination of several of them in lattice, then in above-mentioned steps 307, playing target histories playing music may include:
Intelligent sound box can select the broadcasting of partial target history from all target histories playing musics of acquisition
Music file plays out;Wherein, the attribute information of the partial target history playing music of selection is felt with preset user
The attribute information of the music file of interest matches.For example, the attribute of the partial target history playing music of selection
The attribute information of information and the interested music file of preset user matches and can be:The partial target history of selection plays
The attribute information of music file is identical as the attribute information completion of the interested music file of preset user, alternatively, choose
The attribute information of partial target history playing music includes the attribute information of the interested music file of preset user.
In the embodiment of the present invention, above-mentioned intelligent sound box is selected from all target histories playing musics of acquisition
Partial target history playing music plays out, including:
Intelligent sound box can select the broadcasting of partial target history from all target histories playing musics of acquisition
Music file, and the partial target history music playing file of selection is taken turns according to the sequence of broadcasting frequency from high to low
It askes and plays.
Alternatively, intelligent sound box can be selected partial target and go through from all target histories playing musics of acquisition
History playing music, and the partial target history music playing file of selection is played out according to random fashion.
In the embodiment of the present invention, intelligent sound box can also be held before the shuffle instruction that detection terminal equipment is sent
Row following steps:
When some music file playing duration is more than setting value (such as 20 seconds), using some music file as going through
History playing music is stored into database, and environmental information when some music file is played is as history ring
The history that border information is added to the binding of history playing music plays in record information.Wherein, which broadcasts
Environmental information when putting may include playing initial time, Weather information etc., wherein Weather information may include temperature, wind speed,
All kinds of weather parameters such as uitraviolet intensity, relative humidity, precipitation, the embodiment of the present invention are not construed as limiting.
N number of history playing music (such as N=10000) can be stored in the embodiment of the present invention, in database, work as storage
History playing music number exceed N when, the history playing music of oldest stored broadcasts the history newly stored
Playback music file is covered.
As the above analysis, method described in implementing Fig. 3, intelligent sound box can respond the random of terminal device transmission
Play instruction obtains from the history playing music of storage and plays music text with the matched target histories of current context information
Part plays out, and realizes the effect that intelligently selection is played out with the music that current context information matches.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses a kind of intelligent sound box.Referring to Fig. 4, Fig. 4
It is a kind of structural schematic diagram of intelligent sound box disclosed by the embodiments of the present invention.As shown in figure 4, the intelligent sound box may include:
Inspection unit 401, the shuffle instruction sent for detection terminal equipment;
First acquisition unit 402 obtains current context information for responding shuffle instruction;
Second acquisition unit 403 plays music text for inquiring target histories from the history playing music of storage
Part, wherein it includes that target histories playing music is broadcast that the history of target histories playing music binding, which plays record information,
History environment information when putting, and the history environment information when broadcasting of target histories playing music and above-mentioned current environment
Information matches;
Broadcast unit 404, for playing target histories playing music.
In the embodiment of the present invention, shuffle that inspection unit 401 can wirelessly be sent with detection terminal equipment
Instruction.
In the embodiment of the present invention, first acquisition unit 402 can respond shuffle instruction, be taken by internet and network
Business device interacts, it is hereby achieved that the current context information of intelligent sound box;Alternatively, first acquisition unit 402 can respond
Shuffle instructs, and the current context information of intelligent sound box is obtained by the various kinds of sensors built in intelligent sound box itself.
In the embodiment of the present invention, the current context information of intelligent sound box may include current time, current weather information etc.,
Wherein, current weather information may include all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, precipitation,
The embodiment of the present invention is not construed as limiting.
For example, history environment information when target histories playing music plays is matched with current context information,
May include:
The history that history environment information when target histories playing music plays includes play initial time with it is current
The current time matches that environmental information includes;
And/or the history environment information weather history information that includes of target histories playing music when playing with work as
The current weather information matching that preceding environment information includes.
Wherein, target histories playing music play when history environment information include history play initial time with
The current time matches that current context information includes can be:History environment information when target histories playing music plays
Including history play initial time it is identical with the current time that current context information includes, alternatively, target histories broadcasting music
The history that history environment information when file plays includes plays the current time phase that initial time includes with current context information
Than lagging preset duration.
Wherein, the history environment information weather history information that includes when target histories playing music plays with it is current
The current weather information that environmental information includes matches:History environment information when target histories playing music plays
Including weather history information weather identical with most types in the current weather information that current context information includes
The value of parameter is identical, alternatively, the weather history letter that history environment information when target histories playing music plays includes
The difference between the identical weather parameters of each type in the current weather information that breath and current context information include is less than pre-
If threshold value.
In the embodiment of the present invention, the quantity for the target histories playing music that second acquisition unit 403 obtains is at least
Two, and it further includes that the target histories play that the history of each target histories playing music binding, which plays record information,
The attribute information of music file, wherein attribute information include in singer's name, music name and music style any one or it is several
The combination of kind, then broadcast unit 404 is specifically for from all target histories playing musics of acquisition, selecting part mesh
Mark history playing music plays out;Wherein, the attribute information of the partial target history playing music of acquisition with it is pre-
If the attribute information of the interested music file of user match.For example, the partial target history of selection plays music
The attribute information of the attribute information of file and the interested music file of preset user matches and can be:The part mesh of selection
The attribute information for marking history playing music is identical as the attribute information completion of the interested music file of preset user, or
The attribute information of person, the partial target history playing music of selection include the category of the interested music file of preset user
Property information.
In the embodiment of the present invention, in intelligent sound box shown in Fig. 4, broadcast unit 404 may include:
Selecting module 4041, for from all target histories playing musics of acquisition, selecting partial target and going through
History playing music;
Playing module 4042, for the partial target history music playing file that will select according to broadcasting frequency from high to low
Sequence be polled broadcasting.
In the embodiment of the present invention, intelligent sound box shown in Fig. 4 further includes:
Adding device 405 is stored, is used for before the shuffle instruction that 401 detection terminal equipment of inspection unit is sent,
When some music file playing duration is more than setting value, deposited using some music file as history playing music
Environmental information when storing up, and some music file being played is added to history as history environment information and plays music text
The history of part binding plays in record information.Wherein, environmental information when which plays may include playing
Initial time, Weather information etc., wherein Weather information may include temperature, wind speed, uitraviolet intensity, relative humidity, precipitation
Etc. all kinds of weather parameters, the embodiment of the present invention is not construed as limiting.
N number of history playing music (such as N=10000) can be stored in the embodiment of the present invention, in database, work as storage
History playing music number exceed N when, the history playing music of oldest stored broadcasts the history newly stored
Playback music file is covered.
As the above analysis, implement intelligent sound box described in Fig. 4, the shuffle of terminal device transmission can be responded
Instruction, from the history playing music of storage obtain with the matched target histories playing music of current context information into
Row plays, and realizes the effect that intelligently selection is played out with the music that current context information matches.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
Any other computer-readable medium for carrying or storing data.
A kind of image processing method disclosed by the embodiments of the present invention and relevant device are described in detail above, herein
In apply specific case principle and implementation of the present invention are described, the explanation of above example is only intended to sides
Assistant solves the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, think of according to the present invention
Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair
The limitation of the present invention.
Claims (8)
1. a kind of method for playing music applied to intelligent sound box, which is characterized in that including:
When some music file playing duration is more than setting value, some described music file is played into music as history
File stores, and environmental information when some described music file is played as history environment information be added to described in go through
The history of history playing music binding plays in record information, wherein the history environment information includes weather history information;
The shuffle instruction that detection terminal equipment is sent;
The shuffle instruction is responded,
Prompt message is sent to terminal device, the prompt message inputs information to be verified for prompting;
Receive the information to be verified for responding the prompt message input;
Whether consistent with default verification information verify the information to be verified;
If the information to be verified is consistent with the default verification information, current context information, the current environment letter are obtained
Breath includes current weather information;
Target histories playing music is inquired from the history playing music of storage, wherein the target histories play
It includes the history environment letter when target histories playing music plays that the history of music file binding, which plays record information,
Breath, and history environment information when target histories playing music broadcasting is matched with the current context information,
In, the history environment information when target histories playing music plays matched with the current context information including:Institute
The weather history information that history environment information when target histories playing music plays includes is stated with the current environment to believe
The current weather information matching that breath includes;
Play the target histories playing music.
2. method for playing music according to claim 1, which is characterized in that the target histories of acquisition play music text
The quantity of part is at least two, and the history of each target histories playing music binding plays record information also
Include the attribute information of the target histories playing music, wherein the attribute information include singer name, music name and
Any one or the combination of several of them in music style, then it is described to play the target histories playing music, including:
From all target histories playing musics of acquisition, the progress of partial target history playing music is selected
It plays;Wherein, the attribute information of the partial target history playing music and the interested music of preset user
The attribute information of file matches.
3. method for playing music according to claim 2, which is characterized in that all target histories from acquisition
In playing music, selects partial target history playing music and play out, including:
From all target histories playing musics of acquisition, partial target history playing music is selected;
The partial target history music playing file is polled broadcasting according to the sequence of broadcasting frequency from high to low.
4. method for playing music according to claim 1,2 or 3, which is characterized in that the target histories play music text
History environment information when part plays is matched with the current context information, including:
The history that history environment information when the target histories playing music plays includes play initial time with it is described
The current time matches that current context information includes.
5. a kind of intelligent sound box, which is characterized in that including:
Adding device is stored, is used for when some music file playing duration is more than setting value, it will some music text
Part is stored as history playing music, and environmental information when some described music file is played is as history ring
The history that border information is added to the history playing music binding plays in record information, wherein the history environment letter
Breath includes weather history information;
Inspection unit, the shuffle instruction sent for detection terminal equipment;
First acquisition unit obtains current context information for responding the shuffle instruction, wherein described first obtains
Unit is additionally operable to:The shuffle instruction is responded, sends prompt message to terminal device, the prompt message is defeated for prompting
Enter information to be verified, receives the information to be verified for responding the prompt message input, whether verify the information to be verified
It is consistent with default verification information, if the information to be verified is consistent with the default verification information, current context information is obtained,
The current context information includes current weather information;
Second acquisition unit, for inquiring target histories playing music from the history playing music of storage, wherein
It includes that the target histories playing music is broadcast that the history of the target histories playing music binding, which plays record information,
History environment information when putting, and the history environment information when target histories playing music plays with it is described current
Environmental information matches, wherein the history environment information when target histories playing music plays and the current environment
Information matches include:The weather history information that history environment information when the target histories playing music plays includes with
The current weather information matching that the current context information includes;
Broadcast unit, for playing the target histories playing music.
6. intelligent sound box according to claim 5, which is characterized in that the target that the second acquisition unit obtains is gone through
The quantity of history playing music is at least two, and the history of each target histories playing music binding is broadcast
Put the attribute information that record information further includes the target histories playing music, wherein the attribute information includes singer
Any one or the combination of several of them in name, music name and music style, then the broadcast unit be specifically used for from acquisition
In all target histories playing musics, selects partial target history playing music and play out;Wherein, institute
The attribute of the attribute information and the interested music file of preset user of stating partial target history playing music is believed
Manner of breathing matches.
7. intelligent sound box according to claim 6, which is characterized in that the broadcast unit includes:
Selecting module, for from all target histories playing musics of acquisition, selecting partial target history and broadcasting
Playback music file;
Playing module, for carrying out the partial target history music playing file according to the sequence of broadcasting frequency from high to low
Poll plays.
8. according to the intelligent sound box described in claim 5,6 or 7, which is characterized in that the target histories playing music is broadcast
History environment information when putting is matched with the current context information, including:When the target histories playing music plays
The history environment information history that includes play the current time matches that initial time and the current context information include.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510191259.3A CN104869507B (en) | 2015-04-21 | 2015-04-21 | A kind of method for playing music and intelligent sound box applied to intelligent sound box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510191259.3A CN104869507B (en) | 2015-04-21 | 2015-04-21 | A kind of method for playing music and intelligent sound box applied to intelligent sound box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104869507A CN104869507A (en) | 2015-08-26 |
CN104869507B true CN104869507B (en) | 2018-11-13 |
Family
ID=53914940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510191259.3A Active CN104869507B (en) | 2015-04-21 | 2015-04-21 | A kind of method for playing music and intelligent sound box applied to intelligent sound box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104869507B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105262793B (en) * | 2015-09-09 | 2019-04-19 | Oppo广东移动通信有限公司 | The method and system of audio file in intelligent sound box broadcasting memory |
WO2017124391A1 (en) * | 2016-01-21 | 2017-07-27 | 阮元 | Method for automatically recommending resources by vehicle-mounted computer according to weather, and recommendation system |
CN105828241A (en) * | 2016-04-27 | 2016-08-03 | 黑龙江真美广播通讯器材有限公司 | Functional household fountain sound box |
CN107948408B (en) * | 2017-11-14 | 2020-10-09 | 维沃移动通信有限公司 | Media file playing method and device |
CN108196820B (en) * | 2018-01-31 | 2019-10-18 | 百度在线网络技术(北京)有限公司 | Method and apparatus for adjusting play parameter |
CN108449677A (en) * | 2018-05-11 | 2018-08-24 | 福来宝电子(深圳)有限公司 | Control method, intelligent sound box and the computer readable storage medium of intelligent sound box |
CN109146697A (en) * | 2018-06-25 | 2019-01-04 | 福来宝电子(深圳)有限公司 | A kind of social sharing method and intelligent sound box of intelligent sound box |
CN109686371A (en) * | 2018-12-25 | 2019-04-26 | 广州灵聚信息科技有限公司 | A kind of music intelligent playing method and device |
CN110789471A (en) * | 2019-10-18 | 2020-02-14 | 中国第一汽车股份有限公司 | Vehicle-mounted music adjusting system and vehicle-mounted music adjusting method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227759A (en) * | 2007-01-15 | 2008-07-23 | 上海杰得微电子有限公司 | Earphone device with automatic volume control function |
CN102903375A (en) * | 2011-07-25 | 2013-01-30 | 富泰华工业(深圳)有限公司 | Music player and play method |
CN103237262A (en) * | 2013-05-10 | 2013-08-07 | 无锡北斗星通信息科技有限公司 | Vehicle-mounted DVB-T (Digital Video Broadcasting-Terrestrial) signal receiver for setting preference programs of user |
CN103680545A (en) * | 2013-12-27 | 2014-03-26 | 深圳市通力科技开发有限公司 | Voice frequency playing system and playing control method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030059624A (en) * | 2002-01-03 | 2003-07-10 | 삼성전자주식회사 | Volume control system and volume control method for portable computer |
CN101149950A (en) * | 2007-11-15 | 2008-03-26 | 北京中星微电子有限公司 | Media player for implementing classified playing and classified playing method |
-
2015
- 2015-04-21 CN CN201510191259.3A patent/CN104869507B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227759A (en) * | 2007-01-15 | 2008-07-23 | 上海杰得微电子有限公司 | Earphone device with automatic volume control function |
CN102903375A (en) * | 2011-07-25 | 2013-01-30 | 富泰华工业(深圳)有限公司 | Music player and play method |
CN103237262A (en) * | 2013-05-10 | 2013-08-07 | 无锡北斗星通信息科技有限公司 | Vehicle-mounted DVB-T (Digital Video Broadcasting-Terrestrial) signal receiver for setting preference programs of user |
CN103680545A (en) * | 2013-12-27 | 2014-03-26 | 深圳市通力科技开发有限公司 | Voice frequency playing system and playing control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104869507A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104869507B (en) | A kind of method for playing music and intelligent sound box applied to intelligent sound box | |
CN104851440B (en) | A kind of music shuffle method and intelligent sound box | |
US9208822B2 (en) | Media clip creation and distribution systems, apparatus, and methods | |
CN108259983A (en) | A kind of method of video image processing, computer readable storage medium and terminal | |
CN108259925A (en) | Music gifts processing method, storage medium and terminal in net cast | |
TWI574256B (en) | Interactive beat effect system and method for processing interactive beat effect | |
CN104503834B (en) | A kind of information processing method and the first electronic equipment | |
US20220329644A1 (en) | Real-time system and method for silent party hosting and streaming | |
CN105159639A (en) | Audio cover displaying method and apparatus | |
CN104519124B (en) | A kind of distribution method and device of virtual resource | |
US20170264973A1 (en) | Video playing method and electronic device | |
CN108111909A (en) | Method of video image processing and computer storage media, terminal | |
CN108259984A (en) | Method of video image processing, computer readable storage medium and terminal | |
JP7005920B2 (en) | Information processing equipment and information processing method | |
US10235898B1 (en) | Computer implemented method for providing feedback of harmonic content relating to music track | |
WO2017185782A1 (en) | Method and device for customizing alarm clock reminder | |
WO2016136104A1 (en) | Information processing device, information processing method, and program | |
EP3074978B1 (en) | Interactive media system | |
CN106407434A (en) | Video pushing method and system | |
CN110166789A (en) | Monitor method, computer equipment and the readable storage medium storing program for executing of net cast sensitive information | |
WO2017092415A1 (en) | Clothing prompting method and device | |
CN112188226B (en) | Live broadcast processing method, device, equipment and computer readable storage medium | |
JP2018151828A (en) | Information processing device and information processing method | |
CN109756628A (en) | Method and device for playing function key sound effect and electronic equipment | |
CN109889902A (en) | The filter method of video resource, terminal and storage medium in Video Applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |