CN109408662A - Audio file playing method and device, storage medium and processor - Google Patents
Audio file playing method and device, storage medium and processor Download PDFInfo
- Publication number
- CN109408662A CN109408662A CN201811197447.7A CN201811197447A CN109408662A CN 109408662 A CN109408662 A CN 109408662A CN 201811197447 A CN201811197447 A CN 201811197447A CN 109408662 A CN109408662 A CN 109408662A
- Authority
- CN
- China
- Prior art keywords
- audio file
- play
- detected
- time
- sleep
- 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
Landscapes
- Circuits Of Receivers In General (AREA)
Abstract
The invention discloses a method and a device for playing an audio file, a storage medium and a processor. Wherein, the method comprises the following steps: the method comprises the steps of obtaining current activity state information of an object to be detected, wherein the current activity state information is used for indicating whether the object to be detected is in a sleep state or not; under the condition that the current activity state information indicates that the object to be detected is in the sleep state, acquiring the playing parameter of the audio file corresponding to the sleep state of the object to be detected; under the condition that the current time is earlier than the playing ending time of the audio file indicated by the playing parameter, the audio file is played according to the playing parameter, the purpose of playing the audio file according to the playing parameter of the audio file corresponding to the sleep state is achieved, and therefore the technical effect of playing the content and the playing time length of the sleep music according to the requirement of the object to be detected is achieved. The invention solves the technical problem that the requirements of different users on the playing of the sleep audio file cannot be met in the prior art.
Description
Technical field
The present invention relates to intelligent electric appliance fields, playback method and device in particular to a kind of audio file,
Storage medium, processor.
Background technique
Currently, all having the function of music, but the sleep music of some equipment in many intelligent electric appliances
The broadcasting content and playing duration of corresponding moment point sleep music cannot be arranged in function according to the hobby of user.Cannot effectively it meet
The demand of the customized sleep music curve of user.
Aiming at the problem that being unable to satisfy the demand that different user plays sleep audio file in the prior art, at present not yet
It puts forward effective solutions.
Summary of the invention
The embodiment of the invention provides a kind of playback method of audio file and device, storage medium, processors, at least
Solve the technical issues of being unable to satisfy the demand that different user plays sleep audio file in the prior art.
According to an aspect of an embodiment of the present invention, a kind of playback method of audio file is provided, comprising: obtain to be checked
Survey the current activity state information of object, wherein whether the current activity state information is used to indicate the object to be detected
In sleep state;The case where object to be detected is in the sleep state is indicated in the current activity state information
Under, obtain the play parameter of audio file corresponding with sleep state locating for the object to be detected;Current time earlier than
In the case where the broadcasting end time of the audio file indicated by the play parameter, institute is played according to the play parameter
State audio file.
Further, in broadcasting end time of the current time earlier than the audio file indicated by the play parameter
In the case where, playing the audio file according to the play parameter includes: in the current time earlier than the play parameter
In the case where the play start time of the indicated audio file, until the current time, which reaches the broadcasting, to be started
Between start to play the audio file again;Or it is later than the play start time in the current time and is broadcast earlier than described
In the case where putting the end time, the audio file is directly played.
Further, in the broadcasting for obtaining audio file corresponding with sleep state locating for the object to be detected
After parameter, comprising: in the case where the current time is later than or is equal to the broadcasting end time, cancels and play the sound
Frequency file.
Further, the above method includes: to indicate that the object to be detected is not located in the current activity state information
In the case where the sleep state, the audio file is not played.
Further, which comprises before the current activity state information for obtaining object to be detected, according to pre-
If condition setting audio played file corresponding with the moving state information of the object to be detected;Or it is set according to preset condition
Set the moving state information corresponding audio played file library with the object to be detected.
Further, the preset condition includes: that period for playing of the audio file, the audio file play
Content, wherein the broadcasting content is arranged according to the period of the broadcasting.
Further, when including: the broadcasting of the audio file according to the audio file that the play parameter plays
Between section, the broadcasting content of the audio file, the playing duration of the audio file, the play mode of the audio file,
In, playing the audio file according to the play parameter includes: to broadcast according to the play mode to the broadcasting content
It puts, wherein the play time of the broadcasting content is arranged to the playing duration;It is broadcast according to the play time section to described
It puts content to play out, wherein the play time of the broadcasting content is arranged to the playing duration.
According to another aspect of an embodiment of the present invention, a kind of audio file playing device is additionally provided, comprising: first obtains
Unit, for obtaining the current activity state information of object to be detected, wherein the current activity state information is used to indicate institute
State whether object to be detected is in sleep state;Second acquisition unit, for indicating institute in the current activity state information
It states in the case that object to be detected is in the sleep state, obtains corresponding with sleep state locating for the object to be detected
The play parameter of audio file;Broadcast unit, for literary earlier than the audio indicated by the play parameter in current time
In the case where the broadcasting end time of part, the audio file is played according to the play parameter.
Further, the broadcast unit includes: the first playing module, is used in current time earlier than the play parameter
It is signified earlier than the play parameter in the current time in the case where the broadcasting end time of the indicated audio file
In the case where the play start time of the audio file shown, until the current time reaches the play start time again
Start to play the audio file;Or second playing module, for the current time be later than the play start time,
And earlier than the broadcasting end time in the case where, directly play the audio file.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, the storage medium includes storage
Program, wherein described program executes the playback method of audio file described in any of the above embodiments when running.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, the processor is used to run program,
Wherein, the playback method of audio file described in any of the above embodiments is executed when described program is run.
In embodiments of the present invention, pass through the current activity state information of acquisition object to be detected, wherein current active shape
State information is used to indicate whether object to be detected is in sleep state;It is indicated at object to be detected in current activity state information
In the case where sleep state, the play parameter of audio file corresponding with sleep state locating for object to be detected is obtained;?
In the case where broadcasting end time of the current time earlier than audio file indicated by play parameter, sound is played according to play parameter
Frequency file, achieved the purpose that according to the play parameter of the locating corresponding audio file of sleep state play audio file,
To realize the technical effect of the content and playing duration that play sleep music according to the demand of object to be detected, and then solve
The technical issues of being unable to satisfy the demand that different user plays sleep audio file in the prior art, improves the body of user
It tests.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the playback method of audio file according to an embodiment of the present invention;
Fig. 2 is a kind of audio control method based on customized sleep music curve according to the preferred embodiment of the invention;
Fig. 3 is the schematic diagram that sleep period according to the preferred embodiment of the invention divides;
Fig. 4 is the schematic diagram that setting sleep period according to the preferred embodiment of the invention plays sleep music;And
Fig. 5 is the schematic diagram of the playing device of audio file according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Following embodiment can be applied in various electrical equipments, for electrical equipment type without limitation, including but
Be not limited to: air-conditioning, small-sized household service robot etc. in the application by taking air-conditioning as an example, explain to the present invention.
In following embodiments, it can be adapted for various air-conditioning equipments, wherein the type of air-conditioning is not limited in the present invention
It is fixed, can include but is not limited to: wall built-up air conditioner, vertical air conditioner, convertible frequency air-conditioner, floor standing air-conditioner, smallpox air conditioner, window machine,
Movable air conditioner, embedded type air conditioner.
According to embodiments of the present invention, a kind of embodiment of the playback method of audio file is provided, it should be noted that
The step of process of attached drawing illustrates can execute in a computer system such as a set of computer executable instructions, also,
It, in some cases, can be to be different from shown in sequence execution herein although logical order is shown in flow charts
The step of out or describing.
The playback method of the audio file to the embodiment of the present invention is described in detail below.
Fig. 1 is the flow chart of the playback method of audio file according to an embodiment of the present invention, as shown in Figure 1, the audio is literary
The playback method of part includes the following steps:
Step S102 obtains the current activity state information of object to be detected, wherein current activity state information is for referring to
Show whether object to be detected is in sleep state.
Wherein, above-mentioned steps S102, which can be air-conditioning and get people, is in dormant information.Wireless parties can be passed through
The current activity state information that formula obtains people passes through for example, can know the status information of people by the sensor of mobile device
The status information of people is sent to air-conditioning by mobile device.Wherein, mobile device is to be able to detect that the movement of the status information of people
Equipment.
Step S104 is obtained in the case where current activity state information indicates that object to be detected is in sleep state
The play parameter of audio file corresponding with sleep state locating for object to be detected.
Wherein, it in the case where current activity state information indicates that object to be detected is not at sleep state, does not play
Audio file.
Step S106, broadcasting end time of the current time earlier than audio file indicated by play parameter the case where
Under, audio file is played according to play parameter.
It should be noted that in current time earlier than the feelings of the broadcasting end time of audio file indicated by play parameter
Under condition, according to play parameter play audio file may include: in current time earlier than play parameter indicated by audio file
Play start time in the case where, until current time reach play start time again start play audio file;Or
Current time be later than play start time and earlier than play the end time in the case where, directly broadcasting audio file.
Wherein, after the play parameter for obtaining audio file corresponding with sleep state locating for object to be detected,
In the case that current time is later than or is equal to the broadcasting end time, broadcasting audio file can be cancelled.
It should also be noted that, according to play parameter play audio file may include: audio file play time
Section, the broadcasting content of audio file, the playing duration of audio file, the play mode of audio file, wherein according to play parameter
Playing audio file includes: to play out according to play mode to broadcasting content, wherein the play time of broadcasting content is set
For playing duration;Broadcasting content is played out according to play time section, wherein the play time of broadcasting content is arranged to broadcast
Put duration.
For example, air conditioner user can the customized setting audio text that entirely sleep duration is played in different sleep periods
The content difference of part and the broadcast mode of audio file.For example, the sleeping time of people enters since 22 points if normal
It sleeps, 7 points of morning wake up, then in the sleeping time of entire 8 hours.What user can be played using two hours as interval setting
Audio file, a first audio file can be set in 22. -24 points an audio file also can be set and play library, then can be with
Setting plays out the audio file of corresponding period with loop play, shuffle, the mode of single circulation.And in the morning 3
The sleep of -5 point of point is that deep sleep can be set another first audio file and another first audio file library, the audio file and
Audio file library identical as the audio file of other times section can also be different.Therefore, sleeping for user is got in air-conditioning
The parameter of dormancy state can carry out corresponding broadcasting according to pre-set audio file.And then it can be customized according to user
Mode plays the audio file of corresponding period.
Through the above steps, the current activity state information of object to be detected is obtained, wherein current activity state information is used
Whether sleep state is in instruction object to be detected;Indicate that object to be detected is in sleep shape in current activity state information
In the case where state, the play parameter of audio file corresponding with sleep state locating for object to be detected is obtained;In current time
In the case where the broadcasting end time earlier than audio file indicated by play parameter, audio file is played according to play parameter,
Achieve the purpose that playing audio file according to the play parameter of the locating corresponding audio file of sleep state, to realize
The content of sleep music and the technical effect of playing duration are played according to the demand of object to be detected, and then solve existing skill
The technical issues of demand that different user plays sleep audio file is unable to satisfy in art, improves the experience of user.
As a kind of optional embodiment, before the current activity state information for obtaining object to be detected, the above method can
To include: that audio played file corresponding with the moving state information of object to be detected is arranged according to preset condition;Or according to
Audio played file library corresponding with the moving state information of object to be detected is arranged in preset condition.
Wherein, above-mentioned preset condition includes: the content of the period of audio file broadcasting, audio file broadcasting, wherein root
According to the period of broadcasting, broadcasting content is set.
By above-mentioned optional embodiment, the corresponding audio text of sleep state locating for object to be detected can be preset
The play parameter of part, and then meet the needs of different user is to sleep audio file, i.e., audio played file can be according to be checked
The customized setting of needs for surveying object, improves the experience of user.
The present invention also provides a kind of preferred embodiment, the preferred embodiment provides a kind of based on customized sleep music
The audio control method of curve.
Fig. 2 is that preferred embodiment provides a kind of audio frequency control side based on customized sleep music curve according to the present invention
The flow chart of method, as shown in Fig. 2, this method comprises the following steps:
Step S202, user setting sleeping time point;
Step S204, the customized setting sleep music curve of user;
Step S206 obtains server time;
Step S208 judges whether there is the sleep music at corresponding time point, when the sleep music that there is corresponding time point,
Then follow the steps S212;When the sleep music that corresponding time point is not present, S210 is thened follow the steps;
Step S210 does not play sleep music;
Step S212 plays the corresponding song library of current point in time and plays;
Step S214 terminates.
The specific implementation technology of above preferred embodiment can be described as follows:
1, mobile device app application obtains or is arranged user's sleep period t0-t1;As Fig. 3 sleep period divides
Schematic diagram.
2, by mobile device app using user's customized setting sleep music time and corresponding music store,
Music playing mode.Time period t 2-t3, t4-t0, t5-t1, t1-t6 are the sleep music period of user setting,
In, t5-t1 had not only been sleep period but also had been the sleep music period;As Fig. 4 setting sleep period plays sleep music
Schematic diagram.
Such as: t2-t3, t4-t0, t5-t1, t1-t6 are created to corresponding sleep music store, and corresponding music is arranged
Play mode, for example, play mode may is that loop play, shuffle, single circulation etc..T3-t4, t0-t5, t6-t2 are not
Corresponding sleep music store is set, does not play music in the period.
3, it is applied by mobile device app or voice control function opening timing sleep music playback function.Then when from clothes
Business device starts to play the sleep music of the correspondence period of setting after getting the corresponding time point for playing music.It is obtained from server
Get the broadcasting for stopping sleep music after corresponding to the time point for stopping broadcasting music.
In above preferred embodiment: being arranged or obtain sleeping time point by mobile device app application, set by movement
Standby app, which is applied, to be started or is terminated at any time based on user's sleeping time point setting user to play sleep musical time, and
It can customized setting broadcasting content and song library.To create sleep music curve.
Through the foregoing embodiment, customized user's sleep music curve setting method, user can customize setting sleep sound
Happy play time section, broadcasting content.Can be achieved based on user's difference sleep duration, different sleep music mode setting more
Flexibly, actual user's sleep music demand can be more bonded.
According to embodiments of the present invention, a kind of Installation practice that audio file plays is additionally provided, it should be noted that should
Audio file playing device can be used for executing audio file play method namely the embodiment of the present invention in the embodiment of the present invention
In audio file play method can be executed in the audio file playing device.
Fig. 5 is the schematic diagram of audio file playing device according to an embodiment of the present invention, as shown in figure 5, the audio file
Playing device may include: first acquisition unit 51, second acquisition unit 53 and broadcast unit 55.It is described as follows.
First acquisition unit 51, for obtaining the current activity state information of object to be detected, wherein current activity state
Information is used to indicate whether object to be detected is in sleep state.
Second acquisition unit 53, for indicating that object to be detected is in dormant feelings in current activity state information
Under condition, the play parameter of audio file corresponding with sleep state locating for object to be detected is obtained.
Broadcast unit 55, in broadcasting end time of the current time earlier than audio file indicated by play parameter
In the case of, audio file is played according to play parameter.
Wherein, broadcast unit may include: the first playing module, in current time earlier than indicated by play parameter
In the case where the broadcasting end time of audio file, opened in broadcasting of the current time earlier than audio file indicated by play parameter
Begin to start to play audio file again until current time reaches play start time in the case where the time;Or second play mould
Block, in the case where for being later than play start time in current time and earlier than the end time is played, directly broadcasting audio is literary
Part.
It should also be noted that, according to play parameter play audio file may include: audio file play time
Section, the broadcasting content of audio file, the playing duration of audio file, the play mode of audio file, then above-mentioned broadcast unit is also
It may include: third playing module, for being played out according to play mode to broadcasting content, wherein the broadcasting of broadcasting content
Time is arranged to playing duration;4th playing module, for being played out according to play time section to broadcasting content, wherein
The play time of broadcasting content is arranged to playing duration.
By above-mentioned apparatus, first acquisition unit 51 obtains the current activity state information of object to be detected, wherein current
Moving state information is used to indicate whether object to be detected is in sleep state;Second acquisition unit 53 is believed in current activity state
In the case that breath indicates that object to be detected is in sleep state, sound corresponding with sleep state locating for object to be detected is obtained
The play parameter of frequency file;Broadcast unit 55 is at the end of broadcasting of the current time earlier than audio file indicated by play parameter
Between in the case where, according to play parameter play audio file.Reach according to the locating corresponding audio file of sleep state
Play parameter play audio file purpose, thus realize according to the demand of object to be detected play sleep music content
With the technical effect of playing duration, and then solve be unable to satisfy in the prior art different user to sleep audio file play
The technical issues of demand, improves the experience of user.
It should be noted that the first acquisition unit 51 in the embodiment can be used for executing the step in the embodiment of the present invention
Rapid S102, the second acquisition unit 53 in the embodiment can be used for executing the step S104 in the embodiment of the present invention, the implementation
Broadcast unit 55 in example can be used for executing the step S106 in the embodiment of the present invention.Above-mentioned module and corresponding step institute are real
Existing example is identical with application scenarios, but is not limited to the above embodiments disclosure of that.
Optionally, above-mentioned apparatus may include: first processing units, for obtaining and sleep locating for object to be detected
After the play parameter of the corresponding audio file of state, in the case where current time is later than or is equal to the broadcasting end time, take
Disappear and plays audio file.
Optionally, above-mentioned apparatus may include: the second processing unit, to be checked for indicating in current activity state information
In the case that survey object is not at sleep state, audio file is not played.
Optionally, above-mentioned apparatus may include: setting unit, for obtaining the current activity state information of object to be detected
Before, audio played file corresponding with the moving state information of object to be detected is arranged according to preset condition;Or according to pre-
If condition setting audio played file library corresponding with the moving state information of object to be detected.
Wherein, preset condition includes: the content that period for playing of audio file, audio file play, wherein according to broadcasting
The period setting broadcasting content put.
Another aspect according to an embodiment of the present invention, additionally provides a kind of storage medium, and storage medium includes storage
Program, wherein equipment where control storage medium executes following operation when program is run: obtaining the current work of object to be detected
Dynamic status information, wherein current activity state information is used to indicate whether object to be detected is in sleep state;In current active
In the case that status information indicates that object to be detected is in sleep state, obtain and sleep state pair locating for object to be detected
The play parameter for the audio file answered;In broadcasting end time of the current time earlier than audio file indicated by play parameter
In the case of, audio file is played according to play parameter.
Another aspect according to an embodiment of the present invention additionally provides a kind of processor, and processor is used to run program,
Wherein, following operation is executed when program is run: obtaining the current activity state information of object to be detected, wherein current active shape
State information is used to indicate whether object to be detected is in sleep state;It is indicated at object to be detected in current activity state information
In the case where sleep state, the play parameter of audio file corresponding with sleep state locating for object to be detected is obtained;?
In the case where broadcasting end time of the current time earlier than audio file indicated by play parameter, sound is played according to play parameter
Frequency file.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (11)
1. a kind of playback method of audio file characterized by comprising
Obtain the current activity state information of object to be detected, wherein the current activity state information be used to indicate it is described to
Whether test object is in sleep state;
In the case where the current activity state information indicates that the object to be detected is in the sleep state, obtain with
The play parameter of the corresponding audio file of sleep state locating for the object to be detected;
In the case where broadcasting end time of the current time earlier than the audio file indicated by the play parameter, according to
The play parameter plays the audio file.
2. the method according to claim 1, wherein in current time earlier than institute indicated by the play parameter
In the case where the broadcasting end time for stating audio file, playing the audio file according to the play parameter includes:
In the case where the current time is earlier than the play start time of the audio file indicated by the play parameter,
Start to play the audio file again until the current time reaches the play start time;Or
It is later than the play start time in the current time and in the case where earlier than the broadcasting end time, directly broadcasts
Put the audio file.
3. the method according to claim 1, wherein in the acquisition and sleep locating for the object to be detected
After the play parameter of the corresponding audio file of state, comprising:
In the case where the current time is later than or is equal to the broadcasting end time, cancels and play the audio file.
4. the method according to claim 1, wherein including:
In the case where the current activity state information indicates that the object to be detected is not at the sleep state, do not broadcast
Put the audio file.
5. the method according to claim 1, wherein the current activity state information for obtaining object to be detected
Before, which comprises
According to preset condition, audio played file corresponding with the moving state information of the object to be detected is set;Or
According to preset condition setting and the moving state information corresponding audio played file library of the object to be detected.
6. according to the method described in claim 5, it is characterized in that, the preset condition includes: what the audio file played
The content that period, the audio file play, wherein the broadcasting content is arranged according to the period of the broadcasting.
7. the method according to claim 1, wherein the audio file packet played according to the play parameter
It includes: play time section, the broadcasting content of the audio file, the playing duration of the audio file, institute of the audio file
State the play mode of audio file, wherein playing the audio file according to the play parameter includes:
The broadcasting content is played out according to the play mode, wherein the play time of the broadcasting content is set
For the playing duration;
The broadcasting content is played out according to the play time section, wherein the play time of the broadcasting content is set
It is set to the playing duration.
8. a kind of audio file playing device characterized by comprising
First acquisition unit, for obtaining the current activity state information of object to be detected, wherein the current activity state letter
Breath is used to indicate whether the object to be detected is in sleep state;
Second acquisition unit, for indicating that the object to be detected is in the sleep shape in the current activity state information
In the case where state, the play parameter of audio file corresponding with sleep state locating for the object to be detected is obtained;
Broadcast unit, in broadcasting end time of the current time earlier than the audio file indicated by the play parameter
In the case where, the audio file is played according to the play parameter.
9. device according to claim 8, which is characterized in that the broadcast unit includes:
First playing module, for terminating in broadcasting of the current time earlier than the audio file indicated by the play parameter
In the case where time, in play start time of the current time earlier than the audio file indicated by the play parameter
In the case where, start to play the audio file again until the current time reaches the play start time;Or
Second playing module, for being later than the play start time in the current time and at the end of earlier than the broadcasting
Between in the case where, directly play the audio file.
10. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 7 described in method.
11. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 7 described in method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811197447.7A CN109408662A (en) | 2018-10-15 | 2018-10-15 | Audio file playing method and device, storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811197447.7A CN109408662A (en) | 2018-10-15 | 2018-10-15 | Audio file playing method and device, storage medium and processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109408662A true CN109408662A (en) | 2019-03-01 |
Family
ID=65467958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811197447.7A Pending CN109408662A (en) | 2018-10-15 | 2018-10-15 | Audio file playing method and device, storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408662A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115068771A (en) * | 2021-03-15 | 2022-09-20 | 青岛国创智能家电研究院有限公司 | Method, device and equipment for playing audio |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006135990A1 (en) * | 2005-03-31 | 2006-12-28 | Philippe Haumann | Wellness system |
CN106333673A (en) * | 2016-09-21 | 2017-01-18 | 广州视源电子科技股份有限公司 | Hypnosis depth detector |
CN106535044A (en) * | 2016-11-24 | 2017-03-22 | 深圳市傲洲科技有限公司 | Intelligent sound equipment playing control method and music playing control system |
CN106648524A (en) * | 2016-09-30 | 2017-05-10 | 四川九洲电器集团有限责任公司 | Audio paying method and audio playing equipment |
CN206303537U (en) * | 2016-08-29 | 2017-07-07 | 郑存普 | A kind of Multifunctional music bed |
WO2017128327A1 (en) * | 2016-01-29 | 2017-08-03 | 吕璇 | Method for stopping music, and mobile terminal |
CN108153418A (en) * | 2017-12-25 | 2018-06-12 | 广州市尊浪电器有限公司 | A kind of sleeping speaker |
CN108304018A (en) * | 2018-04-13 | 2018-07-20 | 周霖 | A kind of sleep environment control device |
-
2018
- 2018-10-15 CN CN201811197447.7A patent/CN109408662A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006135990A1 (en) * | 2005-03-31 | 2006-12-28 | Philippe Haumann | Wellness system |
WO2017128327A1 (en) * | 2016-01-29 | 2017-08-03 | 吕璇 | Method for stopping music, and mobile terminal |
CN206303537U (en) * | 2016-08-29 | 2017-07-07 | 郑存普 | A kind of Multifunctional music bed |
CN106333673A (en) * | 2016-09-21 | 2017-01-18 | 广州视源电子科技股份有限公司 | Hypnosis depth detector |
CN106648524A (en) * | 2016-09-30 | 2017-05-10 | 四川九洲电器集团有限责任公司 | Audio paying method and audio playing equipment |
CN106535044A (en) * | 2016-11-24 | 2017-03-22 | 深圳市傲洲科技有限公司 | Intelligent sound equipment playing control method and music playing control system |
CN108153418A (en) * | 2017-12-25 | 2018-06-12 | 广州市尊浪电器有限公司 | A kind of sleeping speaker |
CN108304018A (en) * | 2018-04-13 | 2018-07-20 | 周霖 | A kind of sleep environment control device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115068771A (en) * | 2021-03-15 | 2022-09-20 | 青岛国创智能家电研究院有限公司 | Method, device and equipment for playing audio |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107144819B (en) | A kind of sound localization method, device and electronic equipment | |
CN109391528A (en) | Awakening method, device, equipment and the storage medium of speech-sound intelligent equipment | |
CN109493849A (en) | Voice awakening method, device and electronic equipment | |
CN107135443A (en) | A kind of signal processing method and electronic equipment | |
CN109271128A (en) | Audio setting method, device, electronic equipment and storage medium | |
CN108917113A (en) | Auxiliary voice control method and device and air conditioner | |
CN109450747B (en) | Method and device for awakening smart home equipment and computer storage medium | |
CN109003609A (en) | Voice equipment, intelligent voice system, equipment control method and device | |
CN105844106A (en) | Health prompting method and device | |
CN106027806A (en) | Smart home device control method and mobile terminal | |
CN108320751A (en) | A kind of voice interactive method, device, equipment and server | |
KR20150106299A (en) | System, method and recordable medium for providing related contents at low power | |
CN109364477A (en) | Play Mah-Jong the method and device of game based on voice control | |
CN102984386A (en) | Information prompting method and mobile terminal | |
CN109448710A (en) | Voice processing method and device, household appliance and storage medium electronic device | |
CN108847216A (en) | Method of speech processing and electronic equipment, storage medium | |
CN109408662A (en) | Audio file playing method and device, storage medium and processor | |
CN105903191B (en) | Cross-terminal data processing method and system | |
CN109561134A (en) | Electronic device, distributed type assemblies service distribution method and storage medium | |
CN110555981B (en) | Response method and device, search method and device, remote controller, terminal and medium | |
CN109686372B (en) | Resource playing control method and device | |
CN114283773A (en) | Method and device and storage medium for reducing environmental noise for speech equipment | |
CN105898480A (en) | Multimedia preview method and device and mobile terminal device | |
CN113765757A (en) | Equipment end voice reminding method and system and household appliance | |
CN113359503A (en) | Equipment control method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |
|
RJ01 | Rejection of invention patent application after publication |