CN104851440B - A kind of music shuffle method and intelligent sound box - Google Patents

A kind of music shuffle method and intelligent sound box Download PDF

Info

Publication number
CN104851440B
CN104851440B CN201510205307.XA CN201510205307A CN104851440B CN 104851440 B CN104851440 B CN 104851440B CN 201510205307 A CN201510205307 A CN 201510205307A CN 104851440 B CN104851440 B CN 104851440B
Authority
CN
China
Prior art keywords
information
music
target
history
history environment
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
Application number
CN201510205307.XA
Other languages
Chinese (zh)
Other versions
CN104851440A (en
Inventor
龚敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510205307.XA priority Critical patent/CN104851440B/en
Publication of CN104851440A publication Critical patent/CN104851440A/en
Application granted granted Critical
Publication of CN104851440B publication Critical patent/CN104851440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present embodiments relate to intelligent sound box technical field, and disclosing a kind of music shuffle method and intelligent sound box, this method includes:The shuffle instruction that detection terminal equipment is sent;The shuffle instruction is responded, obtains current context information;Target set history environment information is inquired about from the broadcasting record of storage, wherein, the record that plays includes the attribute information for covering the music played under history environment information described in history environment information and every suit more, and the target set history environment information and the matching degree of the current context information are most like;From online music resource, the target music file that the attribute information of the music with being played under target set history environment information matches is obtained;Play the target music file.Implement the embodiment of the present invention, can intelligently select to play out with the music that current context information matches.

Description

A kind of music shuffle method and intelligent sound box
Technical field
The present invention relates to intelligent sound box technical field, more particularly to a kind of music shuffle method and intelligent sound box.
Background technology
Intelligent sound box is a kind of music player devices popular at present, and intelligent sound box can be with cell phone, flat board The APP installed on the terminal devices such as computer establishes wireless connection, and can play the music that user is selected by APP.In reality Found in the application of border, intelligent sound box is generally all to play the music that user is selected by APP, can not intelligently select music to carry out Play.
The content of the invention
The embodiment of the invention discloses a kind of music shuffle method and intelligent sound box, for solving how intelligently to select Select the problem of music plays out.
First aspect of the embodiment of the present invention discloses a kind of music shuffle method, including:
The shuffle instruction that detection terminal equipment is sent;
The shuffle instruction is responded, obtains current context information;
Target set history environment information is inquired about from the broadcasting record of storage, wherein, the broadcasting record includes described more The attribute information of the music played under history environment information described in set history environment information and every suit, the target set are gone through History environmental information and the current context information are most like;
From online music resource, the attribute information of the music with being played under target set history environment information is obtained The target music file to match;
Play the target music file.
In first aspect of the embodiment of the present invention, the attribute information of the music includes singer's name, music name and music wind Any one or a few combination in lattice.
In first aspect of the embodiment of the present invention, the target set history environment information and the matching of the current context information Spend it is most like including:
The history that the target set history environment information includes plays what initial time and the current context information included Current time is closest;
And/or the weather history information that the target set history environment information includes includes with the current context information Current weather information it is closest.
In first aspect of the embodiment of the present invention, in the resource from online music, obtain and target set history environment The target music file that the attribute information of the music played under information matches, including:
Music is sent to cloud server and obtains request, and the music, which obtains request, includes the target set history environment letter The attribute information of lower the played music of breath;
Receive that the cloud server obtains and send over from online music resource covers history ring with the target The target music file that the attribute information of the music played under environment information matches.
In first aspect of the embodiment of the present invention, before the shuffle instruction that the detection terminal equipment is sent, the side Method also includes:
When some music file playing duration exceedes setting value, environment when some described music file is played During information records as a set of history environment information added to broadcasting, and it is some described music in the broadcasting record The attribute information of some music file described in a set of history environment information configuration that environmental information when file plays is used as.
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, for responding the shuffle instruction, obtain current context information;
Query unit, for inquiring about target set history environment information from the broadcasting of storage record, wherein, it is described to play note Record includes the attribute information of the music played under history environment information described in more set history environment information and every suit, The target set history environment information and the current context information are most like;
Second acquisition unit, for from online music resource, obtain and cover that history environment information is lower to be broadcast with the target The target music file that the attribute information for the music put matches;
Broadcast unit, for playing the target music file.
In second aspect of the embodiment of the present invention, the attribute information of the music includes singer's name, music name and music wind Any one or a few combination in lattice.
In second aspect of the embodiment of the present invention, the target set history environment information and the matching of the current context information Spend it is most like including:
The history that the target set history environment information includes plays what initial time and the current context information included Current time is closest;
And/or the weather history information that the target set history environment information includes includes with the current context information Current weather information it is closest.
In second aspect of the embodiment of the present invention, the second acquisition unit is specifically used for obtaining to cloud server transmission music Request is taken, the music, which obtains request, includes the attribute information that the target covers the music played under history environment information;With And receive that the cloud server obtains and send over from online music resource covers history environment information with the target The target music file that the attribute information of lower played music matches.
In second aspect of the embodiment of the present invention, described intelligent sound box also includes:
Adding device is stored, before the shuffle for being sent in the inspection unit detection terminal equipment instructs, when When some music file playing duration exceedes setting value, environmental information when some described music file is played is as one During set history environment information records added to broadcasting, and when being some music file broadcasting during the broadcasting records A set of history environment information configuration for being used as of environmental information described in some music file attribute information.
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, be inquired about from the broadcasting record of storage History environment information is covered with the most like target of current context information, and can be from online music resource, acquisition and target The target music file that the attribute information of the music played under set history environment information matches plays out, so as to reality The effect that now intelligently selection plays out with the music that current context information matches.In addition, implement the embodiment of the present invention, nothing By being terminal device or intelligent sound box, music file need not be prestored, terminal is set so as to reduce music file The occupancy of standby and intelligent sound box memory space.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of music shuffle method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another music shuffle method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of intelligent sound box disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of music shuffle method and intelligent sound box, it is possible to achieve intelligently selection with The effect that the music that current context information matches plays out.Further, it is also possible to reduce music file to terminal device and The occupancy of the memory space of intelligent sound box.It is described in detail individually below.
It is first right below in order to be best understood from a kind of music shuffle method and intelligent sound box disclosed in the embodiment of the present invention The applicable network architecture of the embodiment of the present invention is described.Referring to Fig. 1, Fig. 1 is a kind of network disclosed in the embodiment of the present invention Framework schematic diagram.In the network architecture shown in Fig. 1, terminal device, intelligent sound box and cloud server can be included, its In, terminal device (such as WI-FI, bluetooth) can communicate to connect with intelligent sound box wirelessly, and intelligent sound box can pass through Internet communicates to connect with cloud server.In the network architecture shown in Fig. 1, terminal device can include cell phone, put down Plate computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), Intelligent worn device (such as intelligent watch, Intelligent bracelet) all kinds of terminal devices, the present invention is real Example is applied to be not construed as limiting.In the network architecture shown in Fig. 1, cloud server can store the online music resource of magnanimity, or, Cloud server can provide server from other music, music provides platform and obtains online music resource, the embodiment of the present invention It is not construed as limiting.By implementing the network architecture shown in Fig. 1, the sound to match with current context information not only can be intelligently selected Pleasure plays out, moreover, it is also possible to reduce occupancy of the music file to terminal device and the memory space of intelligent sound box.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of music shuffle method.Refer to Fig. 2, Fig. 2 are a kind of schematic flow sheets of music shuffle method disclosed in the embodiment of the present invention.As shown in Fig. 2 the music Shuffle method may comprise steps of.
201st, 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 Order.
For example, user can wirelessly be sent at random by rocking terminal device with triggering terminal equipment Play instruction is to intelligent sound box;Alternatively, 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 worn devices such as intelligent watch, Intelligent bracelet, further Intelligent worn 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 send 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, lift Consumer's Experience.
Again for example, user can be by operating the APP on terminal device, with triggering terminal equipment wirelessly Shuffle is sent to instruct to intelligent sound box.
Again for example, user can wirelessly send shuffle using voice mode triggering terminal equipment and refer to Make to intelligent sound box.
202nd, shuffle instruction is responded, obtains current context information.
In the embodiment of the present invention, intelligent sound box can respond shuffle instruction, be entered by internet and the webserver Row interaction, it is hereby achieved that the current context information of intelligent sound box;Or 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 can include current time, current weather information etc., Wherein, current weather information can 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.
203rd, target set history environment information is inquired about from the broadcasting record of storage, wherein, broadcasting record includes more sets and gone through The attribute information of the music played under history environmental information and every suit history environment information, target set history environment information with Above-mentioned current context information is most like.
Broadcasting record can be stored in the embodiment of the present invention, in the database of intelligent sound box, broadcasting record can include more The attribute information of the music played under set history environment information and every suit history environment information, in other words, is being played In record, the attribute information of music of every suit history environment information with being played under the set history environment information is man-to-man Matching relationship.
In the embodiment of the present invention, intelligent sound box can be most like from inquiry and above-mentioned current context information in record is played Target covers history environment information, and obtains the attribute information of the music played under target set history environment information.
For example, target set history environment information and above-mentioned current context information are most like, can include:
The history broadcasting initial time that target set history environment information includes includes current with above-mentioned current context information Time is closest;
And/or the weather history information that target set history environment information includes is worked as with what above-mentioned current context information included Preceding Weather information is closest.
Wherein, the history that target set history environment information includes plays what initial time and above-mentioned current context information included Current time is closest to be:The history that target set history environment information includes plays initial time and believed with above-mentioned current environment It is identical to cease the current time that includes, or, the history that target set history environment information includes play initial time with it is above-mentioned current The current time that environmental information includes is compared, hysteresis preset duration (Millisecond, such as 0.1 millisecond).
Wherein, the weather history information that target set history environment information includes includes current with above-mentioned current context information Weather information is closest to be:The weather history information and above-mentioned current context information bag that target set history environment information includes The value of the overwhelming majority (more than 95%) type identical weather parameters of the current weather information included is identical, or, target set Each type phase in the current weather information that the weather history information that history environment information includes includes with current context information Difference between same weather parameters is less than predetermined threshold value.
204th, from online music resource, the attribute information of the music with being played under target set history environment information is obtained The target music file to match.
In the embodiment of the present invention, intelligent sound box can send music to cloud server and obtain request, and the music obtains please Seek the attribute information for the music that can include being played under target set history environment information;Correspondingly, intelligent sound box can receive What cloud server was obtained and sended over from online music resource covers the sound played under history environment information with the target The target music file that happy attribute information matches.
In the embodiment of the present invention, cloud server can use the category of the music played under target set history environment information Property information, online music resource is filtered, it is hereby achieved that covering the sound that is played under history environment information with the target The target music file that happy attribute information matches, and it is sent to intelligent sound box.
205th, target music file is played.
In the embodiment of the present invention, intelligent sound box can play target music file.
In the embodiment of the present invention, in above-mentioned steps 204, the quantity for the target music file that intelligent sound box obtains can be extremely Few two, then in above-mentioned steps 205, playing target music file can include:
Intelligent sound box can be selected partial target music file and broadcast from all target music files of acquisition Put;Wherein, the attribute of the attribute information of the partial target music file of selection and default user music file interested is believed Manner of breathing matches.For example, the attribute information of the partial target music file of the selection music text interested with default user The attribute information of part, which matches, to be:The attribute information of the partial target music file of selection and default user are interested The attribute information completion of music file is identical, or, the attribute information of the partial target music file of selection includes default use The attribute information of family music file interested.
In the embodiment of the present invention, above-mentioned intelligent sound box selects partial target from all target music files of acquisition Music file plays out, including:
Intelligent sound box can select partial target music file from all target music files of acquisition, and will The partial target music file of selection is polled broadcasting according to the order of broadcasting frequency from high to low.
Or intelligent sound box can select partial target music file from all target music files of acquisition, and And the partial target music 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 exceedes setting value (such as 20 seconds), when this some music file is played Environmental information as a set of history environment information added to play record in, and play record in be this some music The attribute information for a set of history environment information configuration this some music file that environmental information when file plays is used as.Its In, environmental information when this some music file plays can include playing initial time, Weather information etc., wherein, weather Information can include all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, precipitation, and the embodiment of the present invention is not It is construed as limiting.
N set history environment information (such as N=10000) can be stored in the embodiment of the present invention, in database, when going through for storage When the tricks of history environmental information exceeds N, the history environment information of oldest stored covers the history environment information newly stored.
As the above analysis, the method described by Fig. 2 is implemented, intelligent sound box can respond the random of terminal device transmission Play instruction, the inquiry target set history environment information most like with current context information from the broadcasting record of storage, and It can obtain what is matched with the attribute information of music played under target set history environment information from online music resource Target music file plays out, and so as to realize, intelligently selection plays out with the music that current context information matches Effect.In addition, implementing the method either terminal device or intelligent sound box described by Fig. 2, music need not be prestored File, so as to reduce occupancy of the music file to terminal device and the memory space of intelligent sound box.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another music shuffle method.It please join Fig. 3 is read, Fig. 3 is the schematic flow sheet of another music shuffle method disclosed in the embodiment of the present invention.As shown in figure 3, should Another music shuffle method may comprise steps of.
301st, the shuffle instruction that intelligent sound box detection terminal equipment is sent.
For example, user can wirelessly be sent at random by rocking terminal device with triggering terminal equipment Play instruction is to intelligent sound box;Alternatively, 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 worn devices such as intelligent watch, Intelligent bracelet, further Intelligent worn 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 send 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, lift Consumer's Experience.
Again for example, user can be by operating the APP on terminal device, with triggering terminal equipment wirelessly Shuffle is sent to instruct to intelligent sound box.
Again for example, user can wirelessly send shuffle using voice mode triggering terminal equipment and refer to Make to intelligent sound box.
302nd, intelligent sound box response shuffle instruction, prompt message is sent to terminal device, the prompt message is used to carry Show input information to be verified.
303rd, intelligent sound box receives the information to be verified for responding prompt message input;
304th, intelligent sound box verifies whether the information to be verified is consistent with default checking information, if unanimously, performing step 305;If inconsistent, notice terminal device identity is illegal, music failure.
In the embodiment of the present invention, the information to be verified may include but be not limited to password to be verified, finger print information to be verified, treat 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, the default checking information may include but be not limited to default checking password, default checking fingerprint Information, default checking shape of face information, default checking iris information, default checking retinal information and default checking voiceprint In any one and several combination.
In this embodiment, above-mentioned default checking information can include fingerprint string information and each fingerprint is corresponding Input time;So correspondingly, verify whether the information to be verified is consistent with default checking information may comprise steps of:
Verify whether the fingerprint string that the information to be verified includes is identical with the fingerprint string that default checking information includes, and phase Whether the difference with the input time of fingerprint is respectively less than preset value, if verify fingerprint string that the information to be verified includes with it is default The fingerprint string that checking 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 checking information to demonstrate,prove the information to be verified;Conversely, verify that the information to be verified and default checking information are inconsistent.Its In, by implementing the embodiment, it can prevent disabled user from controlling intelligent sound box to carry out music wantonly.
305th, intelligent sound box obtains current context information.
In the embodiment of the present invention, intelligent sound box can be interacted by internet and the webserver, so as to obtain Obtain the current context information of intelligent sound box;Or 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 can include current time, current weather information etc., Wherein, current weather information can 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, intelligent sound box can realize that response is random Play instruction, obtain the purpose of current context information.
306th, intelligent sound box inquires about target set history environment information from the broadcasting record of storage, wherein, play record bag Include the attribute information of the music played under more set history environment information and every suit history environment information, target set history ring Environment information and above-mentioned current context information are most like.
Broadcasting record can be stored in the embodiment of the present invention, in the database of intelligent sound box, broadcasting record can include more The attribute information of the music played under set history environment information and every suit history environment information, in other words, is being played In record, the attribute information of music of every suit history environment information with being played under the set history environment information is man-to-man Matching relationship.
In the embodiment of the present invention, intelligent sound box can be most like from inquiry and above-mentioned current context information in record is played Target covers history environment information, and obtains the attribute information of the music played under target set history environment information.
For example, target set history environment information and above-mentioned current context information are most like, can include:
The history broadcasting initial time that target set history environment information includes includes current with above-mentioned current context information Time is closest;
And/or the weather history information that target set history environment information includes is worked as with what above-mentioned current context information included Preceding Weather information is closest.
Wherein, the history that target set history environment information includes plays what initial time and above-mentioned current context information included Current time is closest to be:The history that target set history environment information includes plays initial time and believed with above-mentioned current environment It is identical to cease the current time that includes, or, the history that target set history environment information includes play initial time with it is above-mentioned current The current time that environmental information includes is compared, hysteresis preset duration (Millisecond, such as 0.1 millisecond).
Wherein, the weather history information that target set history environment information includes includes current with above-mentioned current context information Weather information is closest to be:The weather history information and above-mentioned current context information bag that target set history environment information includes The value of the overwhelming majority (more than 95%) type identical weather parameters of the current weather information included is identical, or, target set Each type phase in the current weather information that the weather history information that history environment information includes includes with current context information Difference between same weather parameters is less than predetermined threshold value.
307th, intelligent sound box obtains from online music resource and covers the music played under history environment information with target The target music file that attribute information matches.
In the embodiment of the present invention, intelligent sound box can send music to cloud server and obtain request, and the music obtains please Seek the attribute information for the music that can include being played under target set history environment information;Correspondingly, intelligent sound box can receive What cloud server was obtained and sended over from online music resource covers the sound played under history environment information with the target The target music file that happy attribute information matches.
In the embodiment of the present invention, cloud server can use the category of the music played under target set history environment information Property information, online music resource is filtered, it is hereby achieved that covering the sound that is played under history environment information with the target The target music file that happy attribute information matches, and it is sent to intelligent sound box.
308th, intelligent sound box plays target music file.
In the embodiment of the present invention, in above-mentioned steps 307, the quantity for the target music file that intelligent sound box obtains can be extremely Few two, then in above-mentioned steps 308, playing target music file can include:
Intelligent sound box can be selected partial target music file and broadcast from all target music files of acquisition Put;Wherein, the attribute of the attribute information of the partial target music file of selection and default user music file interested is believed Manner of breathing matches.For example, the attribute information of the partial target music file of the selection music text interested with default user The attribute information of part, which matches, to be:The attribute information of the partial target music file of selection and default user are interested The attribute information completion of music file is identical, or, the attribute information of the partial target music file of selection includes default use The attribute information of family music file interested.
In the embodiment of the present invention, above-mentioned intelligent sound box selects partial target from all target music files of acquisition Music file plays out, including:
Intelligent sound box can select partial target music file from all target music files of acquisition, and will The partial target music file of selection is polled broadcasting according to the order of broadcasting frequency from high to low.
Or intelligent sound box can select partial target music file from all target music files of acquisition, and And the partial target music 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 exceedes setting value (such as 20 seconds), when this some music file is played Environmental information as a set of history environment information added to play record in, and play record in be this some music The attribute information for a set of history environment information configuration this some music file that environmental information when file plays is used as.Its In, environmental information when this some music file plays can include playing initial time, Weather information etc., wherein, weather Information can include all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, precipitation, and the embodiment of the present invention is not It is construed as limiting.
N set history environment information (such as N=10000) can be stored in the embodiment of the present invention, in database, when going through for storage When the tricks of history environmental information exceeds N, the history environment information of oldest stored covers the history environment information newly stored.
As the above analysis, the method described by implementing Fig. 3, intelligent sound box receive terminal device transmission with machine sowing After putting instruction, terminal device identity can be first verified, it is legal in authentication, inquired about from the broadcasting record of storage and current The most like target set history environment information of environmental information, and can be obtained and target set history from online music resource The target music file that the attribute information of the music played under environmental information matches plays out, so as to realize intelligence Ground selects the effect played out with the music that current context information matches.In addition, the method described by implementing Fig. 3 is either Terminal device or intelligent sound box, need not prestore music file, so as to reduce music file to terminal device with And the occupancy of the memory space of intelligent sound box.
Based on the 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 representation of intelligent sound box disclosed in the embodiment of the present invention.As shown in figure 4, the intelligent sound box can include:
Inspection unit 401, the shuffle instruction sent for detection terminal equipment;
First acquisition unit 402, for responding shuffle instruction, obtain current context information;
Query unit 403, for inquiring about target set history environment information from the broadcasting of storage record, wherein, the broadcasting Record includes the attribute information of the music played under more set history environment information and every suit history environment information, target set History environment information and current context information are most like;
Second acquisition unit 404, for from online music resource, obtain and cover that history environment information is lower to be played with target Music the target music file that matches of attribute information;
Broadcast unit 405, for playing target music file.
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;Or first acquisition unit 402 can respond Shuffle is instructed, 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 can include current time, current weather information etc., Wherein, current weather information can 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, the matching degree of target set history environment information and the current context information is most like to include:
The history that target set history environment information includes plays the current time that initial time and current context information include It is closest;
And/or the weather history information that target set history environment information includes works as the day before yesterday with what current context information included Gas information is closest.
Wherein, the history that target set history environment information includes plays what initial time and above-mentioned current context information included Current time is closest to be:The history that target set history environment information includes plays initial time and believed with above-mentioned current environment It is identical to cease the current time that includes, or, the history that target set history environment information includes play initial time with it is above-mentioned current The current time that environmental information includes is compared, hysteresis preset duration (Millisecond, such as 0.1 millisecond).
Wherein, the weather history information that target set history environment information includes includes current with above-mentioned current context information Weather information is closest to be:The weather history information and above-mentioned current context information bag that target set history environment information includes The value of the overwhelming majority (more than 95%) type identical weather parameters of the current weather information included is identical, or, target set Each type phase in the current weather information that the weather history information that history environment information includes includes with current context information Difference between same weather parameters is less than predetermined threshold value.
In the embodiment of the present invention, the attribute information of music can include appointing in singer's name, music name and music style The combination for one or more of anticipating.
In the embodiment of the present invention, second acquisition unit 404 can send music to cloud server and obtain request, the music The attribute information that target covers the music played under history environment information can be included by obtaining request;Correspondingly, second list is obtained What member 404 can receive that cloud server obtains and send over from online music resource covers history environment information with the target The target music file that the attribute information of lower played music matches.
In the embodiment of the present invention, cloud server can use the category of the music played under target set history environment information Property information, online music resource is filtered, it is hereby achieved that covering the sound that is played under history environment information with the target The target music file that happy attribute information matches, and it is sent to intelligent sound box.
In the embodiment of the present invention, the quantity for the target music file that second acquisition unit 404 obtains can be at least two, Then broadcast unit 405 can be selected partial target music file and play out from all target music files of acquisition;Its In, the attribute information phase of the attribute information of the partial target music file of the selection music file interested with default user Match somebody with somebody.For example, the category of the attribute information of the partial target music file of selection and default user music file interested Property information match can be:The attribute information of the partial target music file of the selection music text interested with default user The attribute information completion of part is identical, or, the attribute information of the partial target music file of selection includes default user and feels emerging The attribute information of the music file of interest.
In the embodiment of the present invention, broadcast unit 405 selects partial target sound from all target music files of acquisition Music file plays out, including:
Broadcast unit 405 can select partial target music file from all target music files of acquisition, and The partial target music file of selection is polled broadcasting according to the order of broadcasting frequency from high to low.
Or broadcast unit 405 can select partial target music text from all target music files of acquisition Part, and the partial target music file of selection is played out according to random fashion.
In the embodiment of the present invention, the intelligent sound box shown in Fig. 4 also includes:
Adding device 406 is stored, before the shuffle for being sent in the detection terminal equipment of inspection unit 401 instructs, When some music file playing duration exceedes setting value (such as 20 seconds), environment letter when this some music file is played Breath is used as a set of history environment information to be added to and played in record, and is that this some music file plays in record is played When the attribute information of a set of history environment information configuration this some music file that is used as of environmental information.Wherein, this is a certain Environmental information when individual music file plays can include playing initial time, Weather information etc., wherein, Weather information can wrap All kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, precipitation are included, the embodiment of the present invention is not construed as limiting.
N set history environment information (such as N=10000) can be stored in the embodiment of the present invention, in database, when going through for storage When the tricks of history environmental information exceeds N, the history environment information of oldest stored covers the history environment information newly stored.
As the above analysis, the intelligent sound box described by Fig. 4 is implemented, it is possible to achieve intelligently selection is believed with current environment The effect that the music of manner of breathing matching plays out.In addition, implement the intelligent sound box described by Fig. 4, either terminal device still Intelligent sound box, music file need not be prestored, so as to reduce music file to terminal device and intelligent sound box The occupancy of memory space.
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 To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (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 storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
A kind of music shuffle method and intelligent sound box disclosed in the embodiment of the present invention are described in detail above, Specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is simply used Understand the method and its core concept of the present invention in help;Meanwhile for those of ordinary skill in the art, according to the present invention's Thought, there will be changes in specific embodiments and applications, in summary, this specification content should not be construed as Limitation of the present invention.

Claims (8)

  1. A kind of 1. music shuffle method, it is characterised in that including:
    The shuffle instruction that playback equipment detection terminal equipment is sent, the shuffle instruction are received outer by terminal device Sent after the triggering in portion;
    Playback equipment responds the shuffle instruction, and sends prompt message, the prompt message to the terminal device For prompting to input information to be verified;
    Playback equipment receiving terminal apparatus responds the information to be verified of the prompt message input and verified described to be tested Whether consistent with default checking information demonstrate,prove information;
    When the information to be verified is consistent with the default checking information, playback equipment obtains current context information, is treated when described Checking information and default checking information are inconsistent, stop music;
    Target set history environment information is inquired about from the broadcasting record of storage, wherein, the record that plays includes more set history rings The attribute information of the music played under history environment information described in environment information and every suit, every suit history environment information with The attribute information of the music played under the set history environment information is man-to-man matching relationship, and the target covers history environment Information and the current context information are most like, and the history that the target set history environment information includes plays initial time and institute It is closest to state the current time that current context information includes, the time covers history environment packet closest to the target is included The history broadcasting initial time included is identical with the current time that the current context information includes, or, target set history environment The history that information includes plays initial time and preset duration is lagged compared with the current time that above-mentioned current context information includes; And/or the weather history information that the target set history environment information includes works as the day before yesterday with what the current context information included Gas information is closest, the current weather information closest to including the target weather history information that includes of set history environment information with The value of the most type identical weather parameters for the current weather information that above-mentioned current context information includes is identical, or Person, it is every in the current weather information that the weather history information that includes of target set history environment information includes with current context information Difference between one type identical weather parameters is less than predetermined threshold value;
    From online music resource, the attribute information phase that the music played under history environment information is covered with the target is obtained The target music file matched somebody with somebody;
    Partial target music file, and the partial target music file selected described in broadcasting are selected, wherein, the portion of selection The attribute information of partial objectives for music file is identical with the attribute information completion for the music file that default user is interested, or, The attribute information of the partial target music file of selection includes the attribute information of default user music file interested.
  2. 2. music shuffle method according to claim 1, it is characterised in that the attribute information of the music includes song Any one or a few combination in hand name, music name and music style.
  3. 3. music shuffle method according to claim 2, it is characterised in that in the resource from online music, obtain The target music file for taking the attribute information of the music with being played under target set history environment information to match, including:
    Music is sent to cloud server and obtains request, and the music, which obtains request, to be included under the target set history environment information The attribute information of the music played;
    Receive that the cloud server obtains and send over from online music resource with target set history environment letter The target music file that the attribute information of lower the played music of breath matches.
  4. 4. music shuffle method according to claim 3, it is characterised in that the detection terminal equipment send with Before machine play instruction, methods described also includes:
    When some music file playing duration exceedes setting value, environmental information when some described music file is played In being recorded as a set of history environment information added to broadcasting, and it is some described music file in the broadcasting record The attribute information of some music file described in a set of history environment information configuration that environmental information during broadcasting is used as.
  5. A kind of 5. intelligent sound box, it is characterised in that including:
    Inspection unit, the shuffle instruction sent for detection terminal equipment, the shuffle instruction are connect by terminal device Sent after receiving the triggering of outside;
    First acquisition unit, for responding the shuffle instruction, prompt message, the prompting are sent to the terminal device Information is used to prompt to input information to be verified;
    When the information to be verified is consistent with default checking information, obtain current context information, when the information to be verified with it is pre- If checking information is inconsistent, stop music;
    Query unit, for inquiring about target set history environment information from the broadcasting of storage record, wherein, it is described to play record bag The attribute information of the music played under history environment information described in more set history environment information and every suit is included, every suit is gone through The attribute information of the music played under history environmental information and the set history environment information is man-to-man matching relationship, the mesh Mark set history environment information and the current context information are most like, and the history that the target set history environment information includes plays Initial time and the current time that the current context information includes are closest, and the time including the target set closest to going through The history broadcasting initial time that history environmental information includes is identical with the current time that the current context information includes, or, mesh It is stagnant compared with the current time that above-mentioned current context information includes that the history that mark set history environment information includes plays initial time Preset duration afterwards;And/or the target covers weather history information and the current context information bag that history environment information includes The current weather information included is closest, the closest history included including target set history environment information of the current weather information The most type identical weather parameters for the current weather information that Weather information includes with above-mentioned current context information take Be worth it is identical, or, the current weather that the target weather history information that includes of set history environment information includes with current context information The difference between each type identical weather parameters in information is less than predetermined threshold value;
    Second acquisition unit, for from online music resource, obtaining and covering what is played under history environment information with the target The target music file that the attribute information of music matches;
    Broadcast unit, for selecting partial target music file, and the partial target music file selected described in broadcasting, Wherein, the attribute information of the attribute information of the partial target music file of the selection music file interested with default user is complete Into identical, or, the attribute information of the partial target music file of selection includes default user music file interested Attribute information.
  6. 6. intelligent sound box according to claim 5, it is characterised in that the attribute information of the music includes singer's name, sound Any one or a few combination in happy name and music style.
  7. 7. intelligent sound box according to claim 6, it is characterised in that the second acquisition unit is specifically used for taking to high in the clouds Device transmission music of being engaged in obtains request, and the music acquisition request includes the target and covers the music played under history environment information Attribute information;And to receive the cloud server obtaining and send over from online music resource with the target The target music file that the attribute information of the music played under set history environment information matches.
  8. 8. intelligent sound box according to claim 7, it is characterised in that also include:
    Adding device is stored, before the shuffle for being sent in the inspection unit detection terminal equipment instructs, when a certain When individual music file playing duration exceedes setting value, environmental information when some described music file is played is gone through as a set of During history environmental information records added to broadcasting, and the ring when being some music file broadcasting during the broadcasting records The attribute information of some music file described in a set of history environment information configuration that environment information is used as.
CN201510205307.XA 2015-04-27 2015-04-27 A kind of music shuffle method and intelligent sound box Active CN104851440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510205307.XA CN104851440B (en) 2015-04-27 2015-04-27 A kind of music shuffle method and intelligent sound box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510205307.XA CN104851440B (en) 2015-04-27 2015-04-27 A kind of music shuffle method and intelligent sound box

Publications (2)

Publication Number Publication Date
CN104851440A CN104851440A (en) 2015-08-19
CN104851440B true CN104851440B (en) 2017-11-14

Family

ID=53851042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510205307.XA Active CN104851440B (en) 2015-04-27 2015-04-27 A kind of music shuffle method and intelligent sound box

Country Status (1)

Country Link
CN (1) CN104851440B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278684B (en) * 2015-09-25 2018-03-09 广东欧珀移动通信有限公司 A kind of intelligent playing method and device
CN105578351B (en) * 2016-01-07 2018-11-09 北京乐动卓越科技有限公司 The method for playing music and intelligent sound box system of intelligent sound box system
WO2017124388A1 (en) * 2016-01-21 2017-07-27 阮元 Data acquisition method during matching between weather and resource recommendation, and recommendation system
WO2017124391A1 (en) * 2016-01-21 2017-07-27 阮元 Method for automatically recommending resources by vehicle-mounted computer according to weather, and recommendation system
WO2017124390A1 (en) * 2016-01-21 2017-07-27 阮元 Information pushing method during whether-based resource recommendation, and recommendation system
WO2017124380A1 (en) * 2016-01-21 2017-07-27 阮元 Method for collecting statistics about technology usage data during audio resource recommendation, and recommendation system
CN105843865B (en) * 2016-03-17 2020-07-10 北京小米移动软件有限公司 Media file playing method and device
CN105931658A (en) * 2016-04-22 2016-09-07 成都涂鸦科技有限公司 Music playing method for self-adaptive scene
CN106371795A (en) * 2016-08-29 2017-02-01 乐视控股(北京)有限公司 Music switching method and device
CN106898370B (en) * 2017-02-17 2019-10-18 盐城工学院 Audio file play method and device
CN110166819A (en) 2019-04-12 2019-08-23 华为技术有限公司 A kind of method, apparatus, terminal and system playing multimedia resource

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750963A (en) * 2012-06-29 2012-10-24 深圳市新太阳数码有限公司 Intelligent DVD (Digital Video Disk) memory player and method
CN103680545A (en) * 2013-12-27 2014-03-26 深圳市通力科技开发有限公司 Voice frequency playing system and playing control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102543119A (en) * 2011-12-31 2012-07-04 北京百纳威尔科技有限公司 Scene-based music playing processing method and music playing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750963A (en) * 2012-06-29 2012-10-24 深圳市新太阳数码有限公司 Intelligent DVD (Digital Video Disk) memory player and method
CN103680545A (en) * 2013-12-27 2014-03-26 深圳市通力科技开发有限公司 Voice frequency playing system and playing control method thereof

Also Published As

Publication number Publication date
CN104851440A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104851440B (en) A kind of music shuffle method and intelligent sound box
CN104869507B (en) A kind of method for playing music and intelligent sound box applied to intelligent sound box
US11671416B2 (en) Methods, systems, and media for presenting information related to an event based on metadata
US11516580B2 (en) Methods, systems, and media for ambient background noise modification based on mood and/or behavior information
CN105159639B (en) Audio cover display methods and device
JP6894813B2 (en) Information processing equipment, information processing methods and information processing programs
US20070261109A1 (en) Authentication system, such as an authentication system for children and teenagers
CN104732157B (en) A kind of application hides, deployment method and device
CN104503834B (en) A kind of information processing method and the first electronic equipment
CN106358072A (en) User equipment, device and method for play control of teaching videos
CN106203022B (en) The hiding method and apparatus of the application display of intelligent terminal
CN104851437A (en) Song playing method and terminal
CN105023591B (en) A kind of audio frequency playing method and system, user terminal
JP6186474B2 (en) Locker management system and method
EP4009682A1 (en) A target device operating in a primary mode, or in a guest mode
CN106789887A (en) A kind of control method and device, the user equipment of intelligence development class client
CN105049473B (en) The upgrade method and system of a kind of application
Streiff et al. Who's watching your child? exploring home security risks with smart toy bears
CN103501286A (en) Singing system based on Internet
CN105050090B (en) A kind of display control method and playback equipment for playing scene
US11593426B2 (en) Information processing apparatus and information processing method
CN107451027A (en) A kind of application program uses the control method and relevant device of duration
CN108495231A (en) The microphone change of voice method and system of data supporting are used based on mobile terminal
WO2023283859A1 (en) Fragrance release method and related device thereof
JP2017027400A (en) Connection device, game machine with connection device, program, integrated circuit and information processing system

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

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.

CP01 Change in the name or title of a patent holder