CN109492125A - A kind of music control method, device, household appliance, terminal and medium - Google Patents
A kind of music control method, device, household appliance, terminal and medium Download PDFInfo
- Publication number
- CN109492125A CN109492125A CN201811194813.3A CN201811194813A CN109492125A CN 109492125 A CN109492125 A CN 109492125A CN 201811194813 A CN201811194813 A CN 201811194813A CN 109492125 A CN109492125 A CN 109492125A
- Authority
- CN
- China
- Prior art keywords
- music file
- identification information
- sleep stage
- intelligent appliance
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/635—Filtering based on additional data, e.g. user or group profiles
Abstract
The invention discloses a kind of music control method, device, household appliance, terminal and media, to provide comfortable sleep environment for user, improve user experience, this method comprises: intelligent appliance equipment is according to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature, determine the corresponding first object sleep stage of Current Temperatures;According to the second corresponding relationship of the identification information of the first music file of preservation and sleep stage, the identification information of the corresponding first object music file of the first object sleep stage is determined, obtain the first object music file of the identification information and play.User experience is improved since the embodiment of the present invention can play the corresponding first object music file of first object sleep stage broadcasting so as to preferably provide comfortable sleep environment for user.
Description
Technical field
The present invention relates to intelligent appliance equipment technical field more particularly to a kind of music control methods, device, household electrical appliances
Equipment, terminal and medium.
Background technique
In smart home field, there is the intelligent appliance equipment for being able to carry out music playback function, by playing music energy
Enough reach certain sleeping effect.But the sleep state of people be as the time changes, such as be just initially shallowly sleep the stage, after
Being deep sleep stages etc..After the sleep state of people changes, there is the intelligent appliance for being able to carry out music playback function to set
Music before standby still broadcasting, will affect the sleep of people instead, the effect of sleeping is not achieved.
Therefore how comfortable sleep environment preferably is provided for user, improves user experience, is one and urgently solves
Certainly the problem of.
Summary of the invention
The embodiment of the invention provides a kind of music control method, device, household appliance, terminal and medium, to
Comfortable sleep environment is provided for user, improves user experience.
The embodiment of the invention provides a kind of music control methods, which comprises
Intelligent appliance equipment is according to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature,
Determine the corresponding first object sleep stage of Current Temperatures;
According to the second corresponding relationship of the identification information of the first music file of preservation and sleep stage, described first is determined
The identification information of the corresponding first object music file of target sleep stage obtains the first object music text of the identification information
Part simultaneously plays.
Further, the method also includes:
Judge whether the current time reaches the time of preset target alarm clock;
If so, according to the third corresponding relationship of the identification information of the second music file of preservation and alarm clock, described in determination
The identification information of the corresponding second target music file of target alarm clock obtains the second target music file of the identification information simultaneously
It plays.
Further, before the target music file for obtaining the identification information, the method also includes:
Judge whether the intelligent appliance equipment opens music playback function;
If so, executing subsequent step.
Further, the identification information of the corresponding first object music file of the determination target sleep stage it
Before, the method also includes:
According to the mark of the sleep stage for being provided with corresponding music file of preservation, the first object sleep is judged
Whether the stage is provided with corresponding music file;
If so, carrying out subsequent step.
Further, before the identification information of the determining target music file, the method also includes:
The identification information for the first music file that mobile terminal is sent and the second corresponding relationship of sleep stage are received,
In, second corresponding relationship is what user was arranged by the mobile terminal;With,
Receive the identification information for the second music file that mobile terminal is sent and the third corresponding relationship of alarm clock, wherein institute
Stating third corresponding relationship is what user was arranged by the mobile terminal.
Further, the identification information of the music file is the link or title of music file, the method also includes:
The intelligent appliance equipment downloads the music of corresponding link or title according to the link or title of the music file
File simultaneously saves.
The embodiment of the invention provides a kind of music control methods, which comprises
It receives user and is directed to the request that intelligent appliance equipment is configured the music file of sleep stage;
It shows music file set interface, and receives user for the mark of the first music file of each sleep stage input
Know information;
Second corresponding relationship of the identification information of first music file and sleep stage is sent to the intelligent appliance to set
It is standby, so that the intelligent appliance equipment is played corresponding first music file in each sleep stage.
Further, the method also includes:
It receives user and is directed to the request that intelligent appliance equipment is configured alarm clock music file;
It shows music file set interface, and obtains user for the mark letter of the second music file of each alarm clock setting
Breath;
The third corresponding relationship of the identification information of second music file and alarm clock is sent to the intelligent appliance equipment, is made
The intelligent appliance equipment plays corresponding second music file in each alarm clock.
Further, described to receive user for the identification information packet of the first music file of each sleep stage input
It includes:
The operational order that user selects the second target sleep stage is received, shows that the second target sleep stage is corresponding
Music file library;
The identification information for receiving the second target music file shown in the music file library of user's selection, establishes the mark
Know the second target music file of information and the corresponding relationship of the second target sleep stage.
Further, if the identification information is the title of music file, the method also includes:
The mobile terminal obtains the link of the music file of the title according to the title of music file;
Second corresponding relationship by the identification information of music file and sleep stage is sent to the intelligent appliance and sets
It is standby to include:
Second corresponding relationship of the link of music file and sleep stage is sent to the intelligent appliance equipment.
The embodiment of the invention provides a kind of music play control apparatus, described device includes:
Main control module is used for according to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature,
Determine the corresponding first object sleep stage of Current Temperatures;
Playing module, for corresponding being closed according to the second of the identification information of the first music file of preservation and sleep stage
System, determines the identification information of the corresponding first object music file of the first object sleep stage, obtains the identification information
First object music file and play.
The playing module, is also used to judge whether the current time reaches the time of preset target alarm clock;If so,
According to the third corresponding relationship of the identification information of the second music file of preservation and alarm clock, the target alarm clock corresponding is determined
The identification information of two target music files obtains the second target music file of the identification information and plays.
Described device further include: first judgment module, for judging whether the intelligent appliance equipment opens music
Function;If so, triggering the playing module.
Described device further include: the second judgment module, for the sleep for being provided with corresponding music file according to preservation
The mark in stage, judges whether the first object sleep stage is provided with corresponding music file;If so, described in triggering
Playing module.
Described device further include: the first receiving module, the mark of the first music file for receiving mobile terminal transmission
Second corresponding relationship of information and sleep stage, wherein second corresponding relationship is that user is arranged by the mobile terminal
's;With the identification information for the second music file that reception mobile terminal is sent and the third corresponding relationship of alarm clock, wherein described
Third corresponding relationship is what user was arranged by the mobile terminal.
Download storage module, if the identification information for the music file is the link or title of music file, root
According to the link or title of the music file, corresponding link or music file and the preservation of title are downloaded.
The embodiment of the invention provides a kind of music play control apparatus, described device includes:
Second receiving module is configured music file of the intelligent appliance equipment to sleep stage for receiving user
Request;
Display module for showing music file set interface, and receives user for the of the input of each sleep stage
The identification information of one music file;
Sending module, for the second corresponding relationship of the identification information of first music file and sleep stage to be sent to institute
Intelligent appliance equipment is stated, the intelligent appliance equipment is made to play corresponding first music file in each sleep stage.
Further, second receiving module is also used to receive user for intelligent appliance equipment to alarm clock music text
The request that part is configured;The display module is also used to show music file set interface, and obtains user for each noisy
The identification information of second music file of clock setting;
The sending module is also used to for the third corresponding relationship of the identification information of the second music file and alarm clock being sent to
The intelligent appliance equipment makes the intelligent appliance equipment play corresponding second music file in each alarm clock.
Further, second receiving module selects the operation of the second target sleep stage specifically for receiving user
Instruction shows the corresponding music file library of the second target sleep stage;It receives and is shown in the music file library of user's selection
The second target music file identification information, establish the identification information the second target music file and second target
The corresponding relationship of sleep stage.
Further, described device further include:
It obtains module and obtains the music file of the title for the mobile terminal according to the title of music file
Link;
The sending module, specifically for the second corresponding relationship of the link of music file and sleep stage is sent to institute
State intelligent appliance equipment.
The embodiment of the invention provides a kind of intelligent appliance equipment, comprising: processor, communication interface, memory and communication
Bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place
Manage the step of device executes any of the above-described the method.
The embodiment of the invention provides a kind of computer readable storage medium, being stored with can be executed by intelligent appliance equipment
Computer program, when described program is run in the intelligent appliance equipment so that the intelligent appliance equipment execute on
The step of stating any one the method.
The embodiment of the invention provides a kind of mobile terminals, comprising: processor, communication interface, memory and communication bus,
Wherein, processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place
Manage the step of device executes any of the above-described the method.
The embodiment of the invention provides a kind of computer readable storage medium, being stored with can be executed by intelligent appliance equipment
Computer program, when described program is run in the intelligent appliance equipment so that the intelligent appliance equipment execute on
The step of stating any one the method.
Since intelligent appliance equipment provided in an embodiment of the present invention can be according to Current Temperatures, and the sleep pre-saved
First corresponding relationship in stage and temperature determines the corresponding first object sleep stage of Current Temperatures;To play first mesh
It marks sleep stage and plays corresponding first object music file, comfortable sleep environment can be preferably provided for user, improve
User experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of schematic diagram for music control process that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of schematic diagram for music control process that the embodiment of the present invention 6 provides;
Fig. 3 is a kind of schematic diagram for music control process that the embodiment of the present invention 7 provides;
Fig. 4 is a kind of structural schematic diagram for music play control apparatus that the embodiment of the present invention 9 provides;
Fig. 5 is a kind of structural schematic diagram for music play control apparatus that the embodiment of the present invention 10 provides;
Fig. 6 is a kind of structural schematic diagram for intelligent appliance equipment that the embodiment of the present invention 11 provides;
Fig. 7 is that the embodiment of the present invention 13 provides a kind of structural schematic diagram of mobile terminal.
Specific embodiment
The present invention will be describe below in further detail with reference to the accompanying drawings, it is clear that described embodiment is only this
Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
All other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 is a kind of schematic diagram of music control process provided in an embodiment of the present invention, which includes following step
It is rapid:
S101: intelligent appliance equipment is according to Current Temperatures, and the first correspondence of the sleep stage pre-saved and temperature
Relationship determines the corresponding first object sleep stage of Current Temperatures.
The applicable intelligent appliance equipment of music control process provided in an embodiment of the present invention includes: air-conditioning, TV, ice
Case etc., preferably, intelligent appliance equipment is air-conditioning.
In order to provide the user with more cosily sleep environment, different sleep ranks can be set for intelligent appliance equipment
Section, wherein being based on sleep curve, the intelligent appliance equipment correspondence of different type and model when carrying out sleep stage setting
Sleep curve may be different, and sleep stage may include: under normal circumstances the sleep stage, the shallow stage of sleeping, the stage of sleeping soundly,
Deep sleep stages.And the sleep curve is that sleep stage related with temperature, different corresponds to different temperature ranges, and every
The corresponding temperature of a sleep stage is not overlapped.
Intelligent appliance equipment can periodically determine Current Temperatures, the period can be it is preset, can also according to
The demand at family is adjusted, such as can be half an hour, hour etc., and Current Temperatures are intelligent appliance equipment local environment
Current Temperatures.
Because each sleep stage is corresponding with different temperature ranges, intelligent appliance equipment can be according to current temperature
Degree, and the first corresponding relationship of the sleep stage pre-saved and temperature determine the corresponding first object sleep of Current Temperatures
Stage.
Such as: intelligent appliance equipment determines that the periodicity of itself Current Temperatures is half an hour, and intelligent appliance equipment carries out
It determines, determines that Current Temperatures can be 22 degree, it is determined that the corresponding target sleep stage of Current Temperatures is the sleep stage;Half an hour
Later, intelligent appliance equipment determines that Current Temperatures are 20 degree again, it is determined that the corresponding sleep stage of temperature is shallowly to sleep rank at this time
Section.
S102: according to the second corresponding relationship of the identification information of the first music file of preservation and sleep stage, institute is determined
The identification information for stating the corresponding first object music file of first object sleep stage, obtains the first object of the identification information
Music file simultaneously plays.
In order to play different music files in different sleep stages, intelligent appliance equipment in the embodiment of the present invention
In preserve the identification information of first music file and the second corresponding relationship of sleep stage, which can be intelligence
It can be configured in intelligent appliance equipment before household appliance factory, be also possible to other received smart machines of intelligent appliance equipment
It sends, such as can be server for the second corresponding pass of the identification information of the first music file of preservation and sleep stage
System, is sent to the intelligent appliance equipment, or second corresponding relationship is arranged by mobile terminal and is sent to intelligent appliance
Equipment, intelligent appliance equipment receive the first music file of other smart machines transmission identification information and sleep stage the
Two corresponding relationships simultaneously save.
The corresponding music file of different sleep stages can be different, can also be identical, preferably, different sleep stages are corresponding
Music file it is different, specifically, can be different sleep stage correspond to different genres of music file, such as sleep stage
It plays light music to conduce to sleep, therefore stage corresponding music file of falling asleep can be light music, it is corresponding in the stage of sleeping soundly
Music file can be white noise, and white noise can be the patter of rain, sound of the wind etc., keep the sleep environment of user more comfortable.
In the identification information of first music file and the second corresponding relationship of sleep stage that intelligent appliance equipment saves, sound
The identification information of music file can be the unique identifications such as the title of music file or the link of the music file music files
Information.And in order to realize that intelligent appliance equipment plays the first object sound of the corresponding identification information of target sleep stage in time
Music file also preserves the sound of the identification information in the local identification information in addition to saving the music file of intelligent appliance equipment
Music file, therefore after intelligent appliance equipment has determined the identification information of first object music file, it can be according to local preservation
Music file, search obtain the identification information first object music file simultaneously play.
Since intelligent appliance equipment provided in an embodiment of the present invention can be according to Current Temperatures, and the sleep pre-saved
First corresponding relationship in stage and temperature determines the corresponding target sleep stage of Current Temperatures;To play target sleep rank
Section plays corresponding target music file, and comfortable sleep environment can be preferably provided for user, improves user experience.
Embodiment 2:
In order to better meet the broadcasting demand of user, on the basis of the above embodiments, in the embodiment of the present invention,
The method also includes:
Judge whether the current time reaches the time of preset target alarm clock;
If so, according to the third corresponding relationship of the identification information of the second music file of preservation and alarm clock, described in determination
The identification information of the corresponding second target music file of target alarm clock obtains the second target music file of the identification information simultaneously
It plays.
Intelligent appliance equipment is in order in the corresponding music file of the time of different alarm clocks broadcasting, the embodiment of the present invention
The identification information of the second music file and the third corresponding relationship of alarm clock are saved, which can be certain time points, such as
20:20,21:00 etc..
In order to meet the broadcasting demand of user, which can be configuration before the factory of intelligent appliance equipment
Into the intelligent appliance equipment, or it is arranged and is sent to intelligent appliance equipment, intelligent appliance equipment by mobile terminal
It receives the identification information of the second music file and the third corresponding relationship of alarm clock that other smart machines are sent and saves.
In order to play corresponding target music file in the time of preset target alarm clock, it can be determined that when current
Between whether reach time of preset target alarm clock, if the current time reaches the time of preset target alarm clock, intelligence
In the identification information of the second music file and the third corresponding relationship of alarm clock that household appliance saves, the identification information of music file
It can be the information of the unique identifications such as the title of music file or the link of the music file music file.And for reality
Existing intelligent appliance equipment plays the second target music file of the corresponding identification information of target alarm clock in time, sets in intelligent appliance
The standby local identification information in addition to saving the music file, also preserves the music file of the identification information, therefore when intelligent family
After electric equipment has determined the identification information of the second target music file, it can search and obtain according to the music file locally saved
Second target music file of the identification information simultaneously plays.
The corresponding music file of different alarm clocks can be different, can also be identical, preferably, the corresponding sound of different alarm clocks
Music file is different, wakes alarm clock for example, being previously provided with, which is 7 points, and it is corresponding to preserve the alarm clock
Music file, the music file for example can be the music file of more cheerful and more light-hearted music, if the current time is 7 points,
The time of preset target alarm clock is reached, therefore plays the corresponding music file of target alarm clock.
In addition, if according to Current Temperatures, it is determined that the corresponding first object sleep stage of Current Temperatures gets first
The corresponding first object music file of target sleep stage, and according to current time, it is determined that it is noisy to reach preset target
After the time of clock, the corresponding second target music file of target alarm clock is got;Because the major function of alarm clock is to remind, at this
The corresponding second target music file of target alarm clock can be preferentially played in inventive embodiments, or only plays the target alarm clock pair
The the second target music file answered can also play the first object music file and the second music file destination simultaneously.
Due to the identification information of the second music file provided in an embodiment of the present invention according to preservation and the third pair of alarm clock
It should be related to, so that the corresponding second target music file of target alarm time is played, to meet user in different alarm clocks
Time plays the broadcasting demand of corresponding music file.
Embodiment 3:
In order to preferably meet the broadcasting demand of user, on the basis of the above embodiments, in the embodiment of the present invention,
Before the target music file for obtaining the identification information, the method also includes:
Judge whether the intelligent appliance equipment opens music playback function;
If so, executing subsequent step.
The control method of the embodiment of the present invention is based on the intelligent appliance equipment for having music playback function, as long as intelligent appliance is set
Music playback function is had, when the intelligent appliance equipment has determined target sleep stage or target alarm clock, and obtains this
Target sleep stage or the corresponding target music file of target alarm clock can play the target music file.
But user may be not desired to carry out music in some cases, therefore in order to further increase user experience,
The button of music playback function opening and closing can be set in intelligent appliance equipment, intelligent appliance equipment can be pressed according to this
Whether the state recognition of the button intelligent appliance equipment opens music playback function.Intelligent appliance equipment is playing the music file
Before, judge whether the intelligent appliance equipment opens music playback function, if it is, the music file is played, if it is not, then
The music file is not played.
Specifically, intelligent appliance equipment can judge the intelligence after obtaining the music file, before playing the music file
Whether energy household appliance opens music playback function, but in order to further save the resource of intelligent appliance equipment, then intelligence
Household appliance can determine target sleep stage, or target alarm clock has been determined, that is, whether judge the intelligent appliance equipment
Music playback function is opened, if so, according to second pair of the identification information of the first music file of preservation and sleep stage
It should be related to, the identification information of the corresponding first object music file of the target sleep stage be determined, according to the music locally saved
The information of file searches the first object music file of the identification information of the first music file, plays the first object music
File;Or according to the identification information of the second music file of preservation and the third corresponding relationship of alarm clock, determine the target alarm clock pair
The identification information for the second target music file answered;Search the second target music text of the identification information of second music file
Part plays the second target music file, if intelligent appliance equipment does not open music playback function, without subsequent place
Reason, the process terminates in other words.
Since the opening and closing of music playback function can flexibly be arranged in the embodiment of the present invention, further mention
High user experience.
Embodiment 4:
For the demand of further satisfaction user, corresponding music file can be set for sleep stage, it can also not
Setting, on the basis of the various embodiments described above, the determination first object sleep stage is corresponding in embodiments of the present invention
First object music file identification information before, the method also includes:
According to the mark of the sleep stage for being provided with corresponding music file of preservation, the first object sleep rank is judged
Whether section is provided with corresponding music file;
If so, carrying out subsequent step.
Because different sleep stages shows the different sleep states of user, for showing that sleep state enters sound sleep rank
The user of section, user has not needed to appreciate music at this time, that is, after entering deep sleep stages, all music are closed,
Therefore the corresponding music file of the sleep stage can be sky, that is, be not provided with the corresponding music file of the sleep stage.
Because some sleep stages are provided with corresponding music file, some sleep stages are not provided with, in order to facilitate after
Continuous intelligent appliance equipment is operated, and can be identified to the sleep stage for being provided with corresponding music file, be worked as determination
After the corresponding first object sleep stage of Current Temperatures, according to the mark determine whether first object sleep stage is provided with
Corresponding music file, if nothing, without subsequent operation, if so, then according to the mark of the first music file of preservation
Second corresponding relationship of information and sleep stage determines the mark of the corresponding first object music file of first object sleep stage
Information obtains the first object music file of the identification information and plays.
The mark of the sleep stage of corresponding music file is provided with due to saving in embodiments of the present invention, it can
According to the mark, it is determined whether be provided with corresponding music file, be only provided with corresponding music file, just carry out
Subsequent operation reduces the workload that intelligent appliance equipment carries out music file lookup, improves the work of intelligent appliance equipment
Efficiency.
Embodiment 5:
Intelligent appliance equipment is in order to play different music files for different sleep stages, in above-mentioned each implementation
On the basis of example, in the embodiment of the present invention, the identification information of the corresponding target music file of the determining target sleep stage it
Before, the method also includes:
The identification information for the first music file that mobile terminal is sent and the second corresponding relationship of sleep stage are received,
In, second corresponding relationship is what user was arranged by the mobile terminal.
If being provided with the third corresponding relationship of the identification information of alarm clock and the second music file, in the embodiment of the present invention,
Before the identification information of the determining target music file, the method also includes:
Receive the identification information for the second music file that mobile terminal is sent and the third corresponding relationship of alarm clock, wherein institute
Stating third corresponding relationship is what user was arranged by the mobile terminal.
In order to further increase user experience, user can carry out second corresponding relationship and the third by mobile terminal
The setting of corresponding relationship, specifically when being configured, user can be configured by the corresponding app of intelligent appliance equipment,
The identification information of corresponding music file is inputted for different sleep stages in corresponding set interface, to make mobile terminal
Save the corresponding relationship.
Furthermore it is also possible to be directed to different alarm clocks, the identification information that the second music file is arranged is corresponding with the third of alarm clock
Relationship, alarm clock include waking alarm clock, naturally it is also possible to which, including other alarm clocks, the corresponding music file of different alarm clocks is different.
If the identification information for the music file of sleep stage input is the title of music file, mobile terminal can be with
The title of music file is transmitted directly to intelligent appliance equipment, or according to the title of music file, searches music file pair
The link is sent to intelligent appliance equipment by the link answered.
With the development of technology, the function of intelligent appliance equipment is more and more complete, for being provided with the intelligence of wireless module
The identification information of sleep stage and music file directly can also be sent to intelligent appliance equipment by household appliance, mobile terminal,
If the identification information of music file is the link or title of music file, the method also includes:
The intelligent appliance equipment downloads the music of corresponding link or title according to the link or title of the music file
File simultaneously saves.
If it is the link for the music file that mobile terminal is sent that intelligent appliance equipment is received, according to the link it is direct under
Carry the music file of corresponding link;If it is the title for the music file that mobile terminal is sent, root that intelligent appliance equipment is received
According to the title of music file, the link of the music file is searched, so as to download the music file.
When the identification information of music file is the link of music file, such as: " www.sq.tonghua.mp3 ", intelligence
Household appliance downloads the music file of corresponding link and preservation according to the link;When the identification information of music file is music text
When the title of part, such as: " children's stories ", intelligent appliance equipment find that the title is corresponding to be linked as
" www.sq.tonghua.mp3 " downloads the music file of corresponding title and preservation according to the link.
Since intelligent appliance equipment provided in an embodiment of the present invention receives the second corresponding relationship that mobile terminal is sent and the
Corresponding music file is downloaded according to the identification information and saved to the identification information of three corresponding relationships and music file, thus
Improve user experience.
Embodiment 6:
Fig. 2 is a kind of schematic diagram of music control process provided in an embodiment of the present invention, which includes following step
It is rapid:
S201: it receives user and is directed to the request that intelligent appliance equipment is configured the music file of sleep stage.
In order to increase user experience, the request that the music file of different sleep stages is configured can be and pass through
Mobile terminal is arranged and is sent to intelligent appliance equipment, and user can be carried out by music file of the mobile terminal to sleep stage
Setting can be specifically, receiving user is directed to the request that intelligent appliance equipment is configured the music file of sleep stage
There are corresponding setting button, or the sound on the corresponding app of intelligent appliance equipment on the corresponding app of intelligent appliance equipment
Corresponding operation is carried out in the set interface of music file.
S202: showing music file set interface, and receives user for the first music text of each sleep stage input
The identification information of part.
In the embodiment of the present invention, receives user and the music file of sleep stage is configured for intelligent appliance equipment
Request after, mobile terminal can show music file set interface, and user can be in the music file set interface to music
File is configured.The music file set interface includes each sleep stage, after user has selected a certain sleep stage,
Corresponding music file can be set for the sleep stage, specifically, the mode of setting music file, which can be user, inputs sound
The identification information of music file, or the mark of different genres of music file shown according to music file set interface are believed
Breath, selects the music file of a certain identification information directly for the sleep stage.
Such as: user can be the title of music file for the identification information of the music file of " deep sleep stages " input:
" 10 years ";It is also possible to after user has selected " deep sleep stages ", the set interface of the music file shows different types of sound
The corresponding identification information of music file, such as: there are " sentimental type ", " cheerful and light-hearted type ", each type corresponds to the mark of multiple music files
Information, user can choose identification information " some " of a certain music file in " sentimental type " etc..
S203: the second corresponding relationship of the identification information of first music file and sleep stage is sent to the intelligent family
Electric equipment makes the intelligent appliance equipment play corresponding first music file in each sleep stage.
In order to enable intelligent appliance equipment to play corresponding music file in different sleep stages, user passes through movement
The identification information of first music file and the second corresponding relationship of sleep stage is arranged and by second corresponding relationship to this in terminal
Intelligent appliance equipment makes the intelligent appliance equipment play corresponding music file in each sleep stage.Specific intelligent appliance
It is provided with communication module in equipment, such as can be wifi module, can receive pair of mobile terminal transmission by communication module
It should be related to.
Music file is configured for intelligent appliance since mobile terminal provided in an embodiment of the present invention receives user
Request, show music file set interface, and receive user for each sleep stage input music file mark letter
Breath, is sent to the intelligent appliance equipment for the second corresponding relationship of the identification information of music file and sleep stage, thus the intelligence
Energy household appliance can play corresponding music file in each sleep stage.
Embodiment 7:
Fig. 3 is a kind of schematic diagram of music control process provided in an embodiment of the present invention, which includes following step
It is rapid:
S301: it receives user and is directed to the request that intelligent appliance equipment is configured alarm clock music file.
In order to improve user experience, user be configured alarm clock and music file by mobile terminal, tool
Body, it receives user and is directed to the request that intelligent appliance equipment is configured alarm clock music file, can be and set in intelligent appliance
There are corresponding setting button, or the setting of the music file on the corresponding app of intelligent appliance equipment on standby corresponding app
Corresponding operation is carried out on interface.
S302: showing music file set interface, and obtains user for second music file of each alarm clock setting
Identification information.
In order to improve user experience, receives user and be directed to the request that intelligent appliance equipment is configured alarm clock music file
When, mobile terminal can show music file set interface, user can the music file set interface to music file into
Row setting.The music file set interface includes the interface of alarm clock setting, specifically, user can directly select the music file
The a certain alarm clock saved in set interface inputs the identification information of music file for the target alarm clock as target alarm clock, from
And make mobile terminal save the target alarm clock and music file identification information corresponding relationship, or can also be in music file
The identification information of corresponding music file is selected in library.Such as: user can be in music file set interface by the alarm clock of preservation
" 21:00 " is selected as target alarm clock, and the identification information for the music file of target alarm clock setting is the title " B " of music file
Deng.
Specifically, when its corresponding music file is arranged for different alarm clocks, the corresponding music text of different alarm clocks
Part may be the same or different, and the effect of alarm clock is to remind under normal circumstances, and the corresponding music file of different alarm clocks can be with
It is identical.
S303: the third corresponding relationship of the identification information of the second music file and alarm clock is sent to the intelligent appliance and is set
It is standby, so that the intelligent appliance equipment is played corresponding second music file in each alarm clock.
In the embodiment of the present invention, in order to make intelligent appliance equipment play corresponding second in the time of different alarm clocks
Music file, the identification information of the second music file and the third corresponding relationship of alarm clock are arranged by mobile terminal by user, mobile
Terminal can give the third corresponding relationship to intelligent appliance equipment, play the intelligent appliance in the time of each alarm clock corresponding
Second music file.
Specifically, being provided with communication module in intelligent appliance equipment, such as it can be wifi module, it can by communication module
To receive the third corresponding relationship of mobile terminal transmission.
Such as: music file is arranged for target alarm clock in user, and the time of the target alarm clock is 20:00, and mobile terminal obtains
The identification information of the corresponding music file of target alarm clock of user setting is taken, the identification information of the music file is a, therefore is protected
The target alarm clock and the third corresponding relationship of a are deposited, which is sent to intelligent appliance equipment, to make intelligent family
Electric equipment plays the music file that identification information is a in the time of the target alarm clock.
Since alarm clock and music text can be arranged to intelligent appliance equipment by mobile terminal in user in the embodiment of the present invention
The third corresponding relationship of part, and third corresponding relationship is sent to intelligent appliance equipment, so that intelligent appliance equipment be allow to exist
The time of different alarm clocks plays corresponding music file.
Embodiment 8:
In order to preferably meet the broadcasting demand of user, on the basis of the various embodiments described above, the embodiment of the present invention
In, the identification information for receiving the music file that user is directed to the input of each sleep stage includes:
The operational order that user selects the second target sleep stage is received, shows that the second target sleep stage is corresponding
Music file library;
The identification information for receiving the second target music file shown in the music file library of user's selection, establishes the mark
Know the second target music file of information and the corresponding relationship of the second target sleep stage.
In order to make intelligent appliance equipment play different types of sound in different sleep stages according to the setting of user
In the embodiment of the present invention, it is corresponding with different genres of music library to preserve it for different sleep stages for music file
Relationship, therefore after mobile terminal receives the operational order of user's the second target sleep stage of selection, it is aobvious according to the operational order
Show the corresponding music file library of the second target sleep stage, such as: when mobile terminal receives user's selection " falling asleep the stage "
Operational order when, " falling asleep the stage " corresponding music file library is shown according to the operational order, wherein different sleep stages pair
The music file library answered is different, the music file of same type can be saved in each music file library, naturally it is also possible to be institute
There is sleep stage to correspond to same music file library, preserves different genres of music file in the music file library, and protect
There is the identification information of each music file.
When mobile terminal receives the second target sound that user shows for the music file library of the second target sleep stage
Music file, and after the identification information of the music file selected, establish the second target music file and the second mesh of the identification information
The corresponding relationship of mark sleep stage makes intelligent appliance equipment can so as to which the corresponding relationship is sent to intelligent appliance equipment
To play corresponding second target music file in the second target sleep stage.
In order to make intelligent appliance equipment play corresponding music file in different sleep stages, in above-mentioned each implementation
On the basis of example, in the embodiment of the present invention, if the identification information is the title of music file, the method also includes:
The mobile terminal obtains the link of the music file of the title according to the title of music file;
Second corresponding relationship by the identification information of music file and sleep stage is sent to the intelligent appliance and sets
It is standby to include:
Second corresponding relationship of the link of music file and sleep stage is sent to the intelligent appliance equipment.
In order to facilitate the use of user, in the embodiment of the present invention, the identification information of music file is the title of music file,
When the title that mobile terminal receives the music file of user's input obtains the sound of the title according to the title of the music file
Second corresponding relationship of the link and sleep stage is sent to intelligent appliance equipment by the link of music file.
Due to provided in an embodiment of the present invention when the identification information of music file is the title of music file, mobile terminal
According to the title of music file, the link of the music file of the title is obtained, by pair of the link of music file and sleep stage
It should be related to and be sent to intelligent appliance equipment, so that intelligent appliance equipment be made to play corresponding music text in different sleep stages
Part.
Embodiment 9:
On the basis of the various embodiments described above, Fig. 4 is a kind of music play control apparatus provided in an embodiment of the present invention
Structural schematic diagram, described device include:
Main control module 401 is used for according to Current Temperatures, and the first corresponding pass of the sleep stage pre-saved and temperature
System, determines the corresponding first object sleep stage of Current Temperatures;
Playing module 402, for corresponding according to the second of the identification information of the first music file of preservation and sleep stage
Relationship determines the identification information of the corresponding first object music file of the first object sleep stage, obtains the mark letter
The first object music file of breath simultaneously plays.
Further, the playing module 402, for judge the current time whether reach preset target alarm clock when
Between;If so, determining that the target is noisy according to the third corresponding relationship of the identification information of the second music file of preservation and alarm clock
The identification information of the corresponding second target music file of clock obtains the second target music file of the identification information and plays.
Further, described device further include: first judgment module 403, for whether judging the intelligent appliance equipment
Open music playback function;If so, triggering playing module.
Further, described device further include: the second judgment module 404, for corresponding according to being provided with for preservation
The mark of the sleep stage of music file, judges whether the first object sleep stage is provided with corresponding music file;
If so, triggering the playing module.
Further, described device further include: the first receiving module 405, for receiving the music text of mobile terminal transmission
The identification information of part and the second corresponding relationship of sleep stage, wherein second corresponding relationship is that user passes through the movement
Terminal setting;With, the identification information for the second music file that mobile terminal is sent and the third corresponding relationship of alarm clock are received,
In, the third corresponding relationship is what user was arranged by the mobile terminal.
Further, described device further include: download storage module 406, for according to the link of the music file or
Title downloads corresponding link or music file and the preservation of title.
Since intelligent appliance equipment provided in an embodiment of the present invention can be according to Current Temperatures, and the sleep pre-saved
First corresponding relationship in stage and temperature determines the corresponding first object sleep stage of Current Temperatures;To play first mesh
It marks sleep stage and plays corresponding first object music file, comfortable sleep environment can be preferably provided for user, improve
User experience.
Embodiment 10:
On the basis of the various embodiments described above, Fig. 5 is a kind of music play control apparatus provided in an embodiment of the present invention
Structural schematic diagram, described device include:
Second receiving module 501 is directed to the request that intelligent appliance equipment is configured music file for receiving user;
Display module 502 for showing music file set interface, and receives user for the input of each sleep stage
The identification information of music file;
Sending module 503, for sending the second corresponding relationship of the identification information of first music file and sleep stage
To the intelligent appliance equipment, the intelligent appliance equipment is made to play corresponding first music file in each sleep stage.
Further, second receiving module 501 is also used to receive user for intelligent appliance equipment to alarm clock music
The request that file is configured;The display module 502, is also used to show music file set interface, and obtains user and be directed to
The identification information of second music file of each alarm clock setting;The sending module 503 is also used to the mark of the second music file
The third corresponding relationship for knowing information and alarm clock is sent to the intelligent appliance equipment, makes the intelligent appliance equipment in each alarm clock
Play corresponding second music file.
Further, second receiving module 501 selects the behaviour of the second target sleep stage specifically for receiving user
It instructs, shows the corresponding music file library of the second target sleep stage;It receives and is opened up in the music file library of user's selection
The identification information of the second target music file shown establishes the second target music file and second mesh of the identification information
Mark the corresponding relationship of sleep stage.
Further, described device further include: module 504 is obtained, for the mobile terminal according to the name of music file
Claim, obtains the link of the music file of the title;The sending module 503, specifically for by the link of music file with sleep
Second corresponding relationship in dormancy stage is sent to the intelligent appliance equipment.
Due to the device that inventive embodiments provide, receive what user was configured music file for intelligent appliance equipment
Request shows music file set interface, and receives the identification information for the music file that user inputs for each sleep stage,
Second corresponding relationship of the identification information of music file and sleep stage is sent to intelligent appliance equipment, makes intelligent appliance equipment
Corresponding music file is played in each sleep stage, to meet the broadcasting demand of user.
Embodiment 11:
On the basis of above-mentioned each embodiment, the embodiment of the invention provides a kind of intelligent appliance equipment, such as Fig. 6 institute
Show, including processor 601, communication interface 602, memory 603 and communication bus 604, wherein processor 601, communication interface
602, memory 603 completes mutual communication by communication bus 604;
It is stored with computer program in the memory 603, when described program is executed by the processor 601, so that
The processor 601 executes following process:
According to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature, determine Current Temperatures
Corresponding first object sleep stage;
According to the second corresponding relationship of the identification information of the first music file of preservation and sleep stage, described first is determined
The identification information of the corresponding first object music file of target sleep stage obtains the first object music text of the identification information
Part simultaneously plays.
Further, judge whether the current time reaches the time of preset target alarm clock;
If so, according to the third corresponding relationship of the identification information of the second music file of preservation and alarm clock, described in determination
The identification information of the corresponding second target music file of target alarm clock obtains the second target music file of the identification information simultaneously
It plays.
Further, before the target music file for obtaining the identification information, judge the intelligent appliance equipment
Whether music playback function is opened;
If so, executing subsequent step.
Further, the identification information of the corresponding first object music file of the determination target sleep stage it
Before, according to the mark of the sleep stage for being provided with corresponding music file of preservation, judge the first object sleep stage
Whether corresponding music file is provided with;
If so, carrying out subsequent step.
Further, it before the identification information of the corresponding target music file of the determining first object sleep stage, connects
Receive the identification information for the music file that mobile terminal is sent and the second corresponding relationship of sleep stage, wherein described second is corresponding
Relationship is what user was arranged by the mobile terminal;With,
Receive the identification information for the second music file that mobile terminal is sent and the third corresponding relationship of alarm clock, wherein institute
Stating third corresponding relationship is what user was arranged by the mobile terminal.
Further, the identification information of the music file is the link or title of music file, and the intelligent appliance is set
Corresponding link or music file and the preservation of title are downloaded in standby link or title according to the music file.
Based on the same inventive concept, a kind of intelligent appliance equipment is provided in the embodiment of the present invention, due to above-mentioned intelligent family
The principle that electric equipment solves the problems, such as is similar to music control method, therefore the implementation of above-mentioned intelligent appliance equipment may refer to
The implementation of method, overlaps will not be repeated.
The communication bus that above-mentioned household appliance is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned household appliance and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit, network processing unit (Network
Processor, NP) etc.;It can also be digital command processor (Digital Signal Processing, DSP), dedicated collection
At circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hard
Part component etc..
Embodiment 12:
The embodiment of the invention discloses a kind of computer readable storage medium, it is stored with the meter that can be executed by household appliance
Calculation machine program, when described program is run in the household appliance, so that the intelligent appliance equipment executes following steps:
According to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature, determine Current Temperatures
Corresponding first object sleep stage;
According to the second corresponding relationship of the identification information of the first music file of preservation and sleep stage, described first is determined
The identification information of the corresponding first object music file of target sleep stage obtains the first object music text of the identification information
Part simultaneously plays.
Further, judge whether the current time reaches the time of preset target alarm clock;
If so, according to the third corresponding relationship of the identification information of the second music file of preservation and alarm clock, described in determination
The identification information of the corresponding second target music file of target alarm clock obtains the second target music file of the identification information simultaneously
It plays.
Further, before the target music file for obtaining the identification information, judge the intelligent appliance equipment
Whether music playback function is opened;
If so, executing subsequent step.
Further, the identification information of the corresponding first object music file of the determination first object sleep stage
Before, according to the mark of the sleep stage for being provided with corresponding music file of preservation, judge the first object sleep rank
Whether section is provided with corresponding music file;
If so, carrying out subsequent step.
Further, the identification information of the corresponding target music file of the determination first object sleep stage it
Before, receive the identification information for the music file that mobile terminal is sent and the second corresponding relationship of sleep stage, wherein described second
Corresponding relationship is what user was arranged by the mobile terminal;With,
Receive the identification information for the second music file that mobile terminal is sent and the third corresponding relationship of alarm clock, wherein institute
Stating third corresponding relationship is what user was arranged by the mobile terminal.
Further, the identification information of the music file is the link or title of music file, and the intelligent appliance is set
Corresponding link or music file and the preservation of title are downloaded in standby link or title according to the music file.
Computer readable storage medium in above-described embodiment can be times that the processor in household appliance can access
What usable medium or data storage device, including but not limited to magnetic storage such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.,
Optical memory such as CD, DVD, BD, HVD etc. and semiconductor memory such as ROM, EPROM, EEPROM, nonvolatile memory
(NAND FLASH), solid state hard disk (SSD) etc..
Embodiment 13:
On the basis of above-mentioned each embodiment, the embodiment of the invention provides a kind of mobile terminals, as shown in fig. 7, packet
Include processor 701, communication interface 702, memory 703 and communication bus 704, wherein processor 701, communication interface 702 are deposited
Reservoir 703 completes mutual communication by communication bus 704;
It is stored with computer program in the memory 703, when described program is executed by the processor 701, so that
The processor 701 executes following process:
It receives user and is directed to the request that intelligent appliance equipment is configured music file;
It shows music file set interface, and receives user for the mark letter of the music file of each sleep stage input
Breath;
Second corresponding relationship of the identification information of first music file and sleep stage is sent to the intelligent appliance to set
It is standby, so that the intelligent appliance equipment is played corresponding first music file in each sleep stage.
Further, it receives user and is directed to the request that intelligent appliance equipment is configured alarm clock music file;
It shows music file set interface, and obtains user for the mark letter of the second music file of each alarm clock setting
Breath;
The third corresponding relationship of the identification information of second music file and alarm clock is sent to the intelligent appliance equipment, is made
The intelligent appliance equipment plays corresponding second music file in each alarm clock.
Further, the operational order that user selects the second target sleep stage is received, shows the second target sleep
Stage corresponding music file library;
The identification information for receiving the second target music file shown in the music file library of user's selection, establishes the mark
Know the second target music file of information and the corresponding relationship of the second target sleep stage.
Further, if the identification information is the title of music file, the mobile terminal is according to music file
Title obtains the link of the music file of the title;
Second corresponding relationship of the link of music file and sleep stage is sent to the intelligent appliance equipment.
Based on the same inventive concept, a kind of mobile terminal is provided in the embodiment of the present invention, due to above-mentioned mobile terminal solution
Certainly the principle of problem is similar to music control method, therefore the implementation of above-mentioned mobile terminal may refer to the implementation of method,
Overlaps will not be repeated.
The communication bus that above-mentioned mobile terminal is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned mobile terminal and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit, network processing unit (Network
Processor, NP) etc.;It can also be digital command processor (Digital Signal Processing, DSP), dedicated collection
At circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hard
Part component etc..
Embodiment 14:
The embodiment of the invention discloses a kind of computer readable storage medium, it is stored with the calculating that can be executed by server
Machine program, when described program is run on the server, so that the server executes following steps:
It receives user and is directed to the request that intelligent appliance equipment is configured music file;
It shows music file set interface, and receives user for the mark letter of the music file of each sleep stage input
Breath;
Second corresponding relationship of the identification information of first music file and sleep stage is sent to the intelligent appliance to set
It is standby, so that the intelligent appliance equipment is played corresponding first music file in each sleep stage.
Further, it receives user and is directed to the request that intelligent appliance equipment is configured alarm clock music file;
It shows music file set interface, and obtains user for the mark letter of the second music file of each alarm clock setting
Breath;
The third corresponding relationship of the identification information of second music file and alarm clock is sent to the intelligent appliance equipment, is made
The intelligent appliance equipment plays corresponding second music file in each alarm clock.
Further, the operational order that user selects the second target sleep stage is received, shows the second target sleep
Stage corresponding music file library;
The identification information for receiving the second target music file shown in the music file library of user's selection, establishes the mark
Know the second target music file of information and the corresponding relationship of the second target sleep stage.
Further, if the identification information is the title of music file, the mobile terminal is according to music file
Title obtains the link of the music file of the title;
Second corresponding relationship of the link of music file and sleep stage is sent to the intelligent appliance equipment.
Computer readable storage medium in above-described embodiment can be times that the processor in mobile terminal can access
What usable medium or data storage device, including but not limited to magnetic storage such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.,
Optical memory such as CD, DVD, BD, HVD etc. and semiconductor memory such as ROM, EPROM, EEPROM, nonvolatile memory
(NAND FLASH), solid state hard disk (SSD) etc..
The embodiment of the invention provides a kind of music control method, device, household appliance, terminal and medium, the party
Method includes: intelligent appliance equipment according to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature, really
Determine the corresponding first object sleep stage of Current Temperatures;According to the identification information of the first music file of preservation and sleep stage
Second corresponding relationship determines the identification information of the corresponding first object music file of the first object sleep stage, obtains institute
It states the first object music file of identification information and plays.
Since intelligent appliance equipment provided in an embodiment of the present invention can be according to Current Temperatures, and the sleep pre-saved
First corresponding relationship in stage and temperature determines the corresponding first object sleep stage of Current Temperatures;To play first mesh
It marks sleep stage and plays corresponding first object music file, comfortable sleep environment can be preferably provided for user, improve
User experience.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.It should be noted that, in this document, such as first and second
Or the like relational terms be used merely to by an entity or one operation with another entity or another operation distinguish
It comes, without necessarily requiring or implying there are any actual relationship or orders between these entities or operation.
It should be understood by those skilled in the art that, embodiments herein can provide as method, apparatus or computer program
Product.Therefore, the reality of complete hardware embodiment, complete Application Example or connected applications and hardware aspect can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (24)
1. a kind of music control method, which is characterized in that the described method includes:
Intelligent appliance equipment is according to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature, determines
The corresponding first object sleep stage of Current Temperatures;
According to the second corresponding relationship of the identification information of the first music file of preservation and sleep stage, the first object is determined
The identification information of the corresponding first object music file of sleep stage, obtains the first object music file of the identification information simultaneously
It plays.
2. the method as described in claim 1, which is characterized in that the method also includes:
Judge whether the current time reaches the time of preset target alarm clock;
If so, determining the target according to the third corresponding relationship of the identification information of the second music file of preservation and alarm clock
The identification information of the corresponding second target music file of alarm clock obtains the second target music file of the identification information and broadcasts
It puts.
3. method according to claim 1 or 2, which is characterized in that the target music file for obtaining the identification information
Before, the method also includes:
Judge whether the intelligent appliance equipment opens music playback function;
If so, executing subsequent step.
4. the method as described in claim 1, which is characterized in that the determination first object sleep stage corresponding first
Before the identification information of target music file, the method also includes:
According to the mark of the sleep stage for being provided with corresponding music file of preservation, the first object sleep stage is judged
Whether corresponding music file is provided with;
If so, carrying out subsequent step.
5. method according to claim 2, which is characterized in that before the identification information of the determining target music file, institute
State method further include:
Receive the identification information for the first music file that mobile terminal is sent and the second corresponding relationship of sleep stage, wherein institute
Stating the second corresponding relationship is what user was arranged by the mobile terminal;With,
Receive the identification information for the second music file that mobile terminal is sent and the third corresponding relationship of alarm clock, wherein described the
Three corresponding relationships are what user was arranged by the mobile terminal.
6. method as claimed in claim 5, which is characterized in that the identification information of the music file is the link of music file
Or title, the method also includes:
The intelligent appliance equipment downloads the music file of corresponding link or title according to the link or title of the music file
And it saves.
7. a kind of music control method, which is characterized in that the described method includes:
It receives user and is directed to the request that intelligent appliance equipment is configured the music file of sleep stage;
It shows music file set interface, and receives user for the mark letter of the first music file of each sleep stage input
Breath;
Second corresponding relationship of the identification information of first music file and sleep stage is sent to the intelligent appliance equipment, is made
The intelligent appliance equipment plays corresponding first music file in each sleep stage.
8. the method for claim 7, which is characterized in that the method also includes:
It receives user and is directed to the request that intelligent appliance equipment is configured alarm clock music file;
It shows music file set interface, and obtains user for the identification information of the second music file of each alarm clock setting;
The third corresponding relationship of the identification information of second music file and alarm clock is sent to the intelligent appliance equipment, is made described
Intelligent appliance equipment plays corresponding second music file in each alarm clock.
9. the method for claim 7, which is characterized in that first for receiving user and being directed to the input of each sleep stage
The identification information of music file includes:
The operational order that user selects the second target sleep stage is received, shows the corresponding music of the second target sleep stage
Library;
The identification information for receiving the second target music file shown in the music file library of user's selection establishes the mark letter
Second target music file of breath and the corresponding relationship of the second target sleep stage.
10. the method as described in claim 7 or 9, which is characterized in that if the identification information is the title of music file,
The method also includes:
The mobile terminal obtains the link of the music file of the title according to the title of music file;
Second corresponding relationship by the identification information of music file and sleep stage is sent to the intelligent appliance equipment packet
It includes:
Second corresponding relationship of the link of music file and sleep stage is sent to the intelligent appliance equipment.
11. a kind of music play control apparatus, which is characterized in that described device includes:
Main control module is used for according to Current Temperatures, and the first corresponding relationship of the sleep stage pre-saved and temperature, is determined
The corresponding first object sleep stage of Current Temperatures;
Playing module, for according to the identification information of the first music file of preservation and the second corresponding relationship of sleep stage, really
The identification information for determining the corresponding first object music file of the first object sleep stage, obtains the first of the identification information
Target music file simultaneously plays.
12. device as claimed in claim 11, which is characterized in that the playing module is also used to judge that the current time is
The no time for reaching preset target alarm clock;If so, according to the of the identification information of the second music file of preservation and alarm clock
Three corresponding relationships determine the identification information of the corresponding second target music file of the target alarm clock, obtain the identification information
The second target music file and play.
13. the device as described in claim 11 or 12, which is characterized in that described device further include:
First judgment module, for judging whether the intelligent appliance equipment opens music playback function;If so, described in triggering
Playing module.
14. device as claimed in claim 11, which is characterized in that described device further include:
Second judgment module judges institute for the mark according to the sleep stage for being provided with corresponding music file of preservation
State whether first object sleep stage is provided with corresponding music file;If so, triggering the playing module.
15. device as claimed in claim 12, which is characterized in that described device further include:
First receiving module, for receive mobile terminal transmission first music file identification information and sleep stage second
Corresponding relationship, wherein second corresponding relationship is what user was arranged by the mobile terminal;With reception mobile terminal hair
The identification information of the second music file sent and the third corresponding relationship of alarm clock, wherein the third corresponding relationship is logical for user
Cross the mobile terminal setting.
16. device as claimed in claim 15, which is characterized in that described device further include:
Download storage module, if the identification information of the music file for getting is the link or title of music file, root
According to the link or title of the music file, corresponding link or music file and the preservation of title are downloaded.
17. a kind of music play control apparatus, which is characterized in that described device includes:
Second receiving module is asked for receiving user to what music file of the intelligent appliance equipment to sleep stage was configured
It asks;
Display module for showing music file set interface, and receives the first sound that user is directed to the input of each sleep stage
The identification information of music file;
Sending module, for the second corresponding relationship of the identification information of first music file and sleep stage to be sent to the intelligence
Energy household appliance, makes the intelligent appliance equipment play corresponding first music file in each sleep stage.
18. device as claimed in claim 17, which is characterized in that second receiving module is also used to receive user and is directed to
The request that intelligent appliance equipment is configured alarm clock music file;
The display module is also used to show music file set interface, and obtains user is directed to the setting of each alarm clock second
The identification information of music file;
The sending module is also used to for the third corresponding relationship of the identification information of the second music file and alarm clock being sent to described
Intelligent appliance equipment makes the intelligent appliance equipment play corresponding second music file in each alarm clock.
19. device as claimed in claim 17, which is characterized in that second receiving module is specifically used for receiving user's choosing
The operational order of the second target sleep stage is selected, shows the corresponding music file library of the second target sleep stage;It receives and uses
The identification information of second target music file shown in the music file library of family selection, establishes the second mesh of the identification information
The corresponding relationship of mark with phonetic symbols music file and the second target sleep stage.
20. the device as described in claim 17 or 19, which is characterized in that described device further include:
It obtains module and obtains the link of the music file of the title for the mobile terminal according to the title of music file;
The sending module, specifically for the second corresponding relationship of the link of music file and sleep stage is sent to the intelligence
It can household appliance.
21. a kind of intelligent appliance equipment characterized by comprising processor, communication interface, memory and communication bus,
In, processor, communication interface, memory completes mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the processor
Perform claim requires the step of any one of 1~6 the method.
22. a kind of computer readable storage medium, which is characterized in that it is stored with the computer that can be executed by intelligent appliance equipment
Program, when described program is run in the intelligent appliance equipment, so that intelligent appliance equipment perform claim requirement 1~
The step of any one of 6 the method.
23. a kind of mobile terminal characterized by comprising processor, communication interface, memory and communication bus, wherein place
Device, communication interface are managed, memory completes mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the processor
Perform claim requires the step of any one of 7~10 the method.
24. a kind of computer readable storage medium, which is characterized in that it is stored with can be by the computer journey of mobile terminal execution
Sequence, when described program is run on the mobile terminal, so that any one of described mobile terminal execution claim 7~10 institute
The step of stating method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811194813.3A CN109492125A (en) | 2018-10-15 | 2018-10-15 | A kind of music control method, device, household appliance, terminal and medium |
PCT/CN2019/100413 WO2020078087A1 (en) | 2018-10-15 | 2019-08-13 | Method and device for controlling music play, household appliance, terminal and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811194813.3A CN109492125A (en) | 2018-10-15 | 2018-10-15 | A kind of music control method, device, household appliance, terminal and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109492125A true CN109492125A (en) | 2019-03-19 |
Family
ID=65690271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811194813.3A Pending CN109492125A (en) | 2018-10-15 | 2018-10-15 | A kind of music control method, device, household appliance, terminal and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109492125A (en) |
WO (1) | WO2020078087A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020078087A1 (en) * | 2018-10-15 | 2020-04-23 | 珠海格力电器股份有限公司 | Method and device for controlling music play, household appliance, terminal and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778170A (en) * | 2010-02-01 | 2010-07-14 | 深圳市五巨科技有限公司 | Method and device for music playing of mobile terminal |
CN105261378A (en) * | 2015-11-09 | 2016-01-20 | 广东欧珀移动通信有限公司 | An audio file playing method and apparatus based on sleep states |
CN107835229A (en) * | 2017-10-13 | 2018-03-23 | 北京猎户星空科技有限公司 | A kind of content delivery method, device, electronic equipment and storage medium |
EP3301893A1 (en) * | 2016-09-28 | 2018-04-04 | Beijing Xiaomi Mobile Software Co., Ltd. | Information prompting method and device |
CN108490802A (en) * | 2018-05-22 | 2018-09-04 | 珠海格力电器股份有限公司 | A kind of control method and device of household appliance |
CN108571804A (en) * | 2018-04-23 | 2018-09-25 | 广东美的制冷设备有限公司 | Air conditioner and its parameter regulation means, device and readable storage medium storing program for executing |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009216818A (en) * | 2008-03-07 | 2009-09-24 | Panasonic Electric Works Co Ltd | Speech and sound output device |
CN102261718A (en) * | 2010-05-31 | 2011-11-30 | 珠海格力电器股份有限公司 | Air conditioning system and control method thereof |
CN103673196A (en) * | 2012-08-31 | 2014-03-26 | 珠海格力电器股份有限公司 | Air conditioner and control method thereof |
CN107957118A (en) * | 2017-11-24 | 2018-04-24 | 北海华源电子有限公司 | Intelligent air condition |
CN107965890A (en) * | 2017-11-24 | 2018-04-27 | 北海华源电子有限公司 | Air-conditioning with hypnosis function |
CN109492125A (en) * | 2018-10-15 | 2019-03-19 | 珠海格力电器股份有限公司 | A kind of music control method, device, household appliance, terminal and medium |
-
2018
- 2018-10-15 CN CN201811194813.3A patent/CN109492125A/en active Pending
-
2019
- 2019-08-13 WO PCT/CN2019/100413 patent/WO2020078087A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778170A (en) * | 2010-02-01 | 2010-07-14 | 深圳市五巨科技有限公司 | Method and device for music playing of mobile terminal |
CN105261378A (en) * | 2015-11-09 | 2016-01-20 | 广东欧珀移动通信有限公司 | An audio file playing method and apparatus based on sleep states |
EP3301893A1 (en) * | 2016-09-28 | 2018-04-04 | Beijing Xiaomi Mobile Software Co., Ltd. | Information prompting method and device |
CN107835229A (en) * | 2017-10-13 | 2018-03-23 | 北京猎户星空科技有限公司 | A kind of content delivery method, device, electronic equipment and storage medium |
CN108571804A (en) * | 2018-04-23 | 2018-09-25 | 广东美的制冷设备有限公司 | Air conditioner and its parameter regulation means, device and readable storage medium storing program for executing |
CN108490802A (en) * | 2018-05-22 | 2018-09-04 | 珠海格力电器股份有限公司 | A kind of control method and device of household appliance |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020078087A1 (en) * | 2018-10-15 | 2020-04-23 | 珠海格力电器股份有限公司 | Method and device for controlling music play, household appliance, terminal and medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020078087A1 (en) | 2020-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI665584B (en) | A voice controlling system and method | |
CN104679536A (en) | Method and device for starting application program and electronic device | |
CN103970553B (en) | A kind of control method of household appliances function upgrading | |
CN108062031A (en) | Intelligent home furnishing control method, device, system and electronic equipment | |
CN109188927A (en) | Appliance control method, device, gateway and storage medium | |
CN107302592B (en) | Method and system for synchronizing information of user terminal and vehicle machine | |
CN104951077A (en) | Man-machine interaction method and device based on artificial intelligence and terminal equipment | |
WO2015129372A1 (en) | Audio system | |
CN106454391A (en) | Method, apparatus and terminal of converting live to on-demand | |
US20180217654A1 (en) | Power-saving processing method, device, mobile terminal and cloud server | |
CN107241771A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107835229A (en) | A kind of content delivery method, device, electronic equipment and storage medium | |
CN102043395A (en) | Control device and method for controlling silencing of electrical appliances in integrated home appliance system | |
CN105204633A (en) | Control method of mobile terminal music play and mobile terminal | |
CN107402808B (en) | Process management method, device, storage medium and electronic equipment | |
CN112781250B (en) | Control method of water heater and server | |
CN110277092A (en) | A kind of voice broadcast method, device, electronic equipment and readable storage medium storing program for executing | |
CN112581959B (en) | Intelligent equipment control method, system and voice server | |
CN112702633A (en) | Multimedia intelligent playing method and device, playing equipment and storage medium | |
US10627789B2 (en) | User device, driving method of user device, apparatus for providing service and driving method of apparatus for providing service | |
CN104583924A (en) | Method and terminal for processing media file | |
CN105323643A (en) | Control device for realizing fast switching of television channels and television applications | |
CN109492125A (en) | A kind of music control method, device, household appliance, terminal and medium | |
CN107942836A (en) | The control method and control device of hotel guest room, computer installation and storage medium | |
CN104427641A (en) | Cloud sound box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |
|
RJ01 | Rejection of invention patent application after publication |