CN109407843A - Method and device for controlling multimedia playing, storage medium and electronic device - Google Patents
Method and device for controlling multimedia playing, storage medium and electronic device Download PDFInfo
- Publication number
- CN109407843A CN109407843A CN201811230704.2A CN201811230704A CN109407843A CN 109407843 A CN109407843 A CN 109407843A CN 201811230704 A CN201811230704 A CN 201811230704A CN 109407843 A CN109407843 A CN 109407843A
- Authority
- CN
- China
- Prior art keywords
- music
- information
- current environment
- current
- action message
- 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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and a device for controlling multimedia playing, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring activity information of a first object in a current environment; determining a current activity of the first object based on the activity information; acquiring music corresponding to the current activity; and playing music. Therefore, the problem that the user experience is influenced because the multimedia playing type cannot be controlled based on the voice information in the related technology can be solved, the music style and the song which are more consistent with the current situation can be selected, the activity atmosphere of the user is improved, and the effect of the user experience is improved.
Description
Technical field
The present invention relates to field of household appliances, are situated between in particular to a kind of method and device for controlling multimedia, storage
Matter, electronic device.
Background technique
Speech recognition interactive product slowly enters into the family of people, and people inquire information by voice control smart home
Etc. functions etc. demand it is increasing.The service provided simultaneously by speech production supplier is also more and more.
Voice control not can be carried out the selection of music track and style in the prior art.Lead to simple music function
Can meet the needs of user's play list and style.
In view of the above technical problems, it not yet puts forward effective solutions in the related technology.
Summary of the invention
The method and device of multimedia, storage medium, electronic device are controlled the embodiment of the invention provides a kind of, with
It at least solves the problem of that user experience cannot be influenced based on voice messaging control multimedia type in the related technology.
According to one embodiment of present invention, a kind of method for controlling multimedia is provided, comprising: front ring is worked as in acquisition
The action message of first object under border;The current active of the first object is determined based on action message;It obtains corresponding with current active
Music;Play music.
According to another embodiment of the invention, a kind of household appliance is also provided, comprising: voice capture device, for adopting
Collect the audio-frequency information of the first object under current environment;Camera, user obtain the video information of the first object;Processor is used for
The current active of the first object is determined based on audio-frequency information and video information;Obtain music corresponding with current active;Player,
For playing music.
According to another embodiment of the invention, a kind of device for controlling multimedia is also provided, comprising: first obtains
Module, for obtaining the action message of the first object under current environment;Determining module, for determining first pair based on action message
The current active of elephant;Second obtains module, for obtaining music corresponding with current active;Playing module, for playing music.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, is stored with computer in storage medium
Program, wherein computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described
Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described
Step in embodiment of the method.
Through the invention, due to the action message of the first object under the available current environment of household appliance;Based on activity
Information determines the current active of the first object;Obtain music corresponding with current active;Play music.It may be implemented based on user
Action message obtain corresponding style music purpose.Therefore, can solve cannot be based on voice messaging control in the related technology
Multimedia type processed, reaches and can choose the music style and song that more meet the situation of presence the problem of influencing user experience
Mesh promotes User Activity atmosphere, improves the effect of user experience.
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 a kind of hardware block diagram of the mobile terminal of the method for control multimedia of the embodiment of the present invention;
Fig. 2 is the flow chart of the method for control multimedia according to an embodiment of the present invention;
Fig. 3 is the flow chart that music is controlled in the present embodiment;
Fig. 4 is the structural block diagram of control multimedia playing apparatus according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
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.
Embodiment of the method provided by the embodiment of the present application can be in mobile terminal, terminal or similar operation
It is executed in device.For running on mobile terminals, Fig. 1 is a kind of method of control multimedia of the embodiment of the present invention
Mobile terminal hardware block diagram.As shown in Figure 1, mobile terminal 10 may include that one or more (only shows one in Fig. 1
It is a) (processor 102 can include but is not limited to the processing of Micro-processor MCV or programmable logic device FPGA etc. to processor 102
Device) and memory 104 for storing data, optionally, above-mentioned mobile terminal can also include the biography for communication function
Transfer device 106 and input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to show
Meaning, does not cause to limit to the structure of above-mentioned mobile terminal.For example, mobile terminal 10 may also include it is more than shown in Fig. 1
Perhaps less component or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair
The corresponding computer program of method of control multimedia in bright embodiment, processor 102 are stored in storage by operation
Computer program in device 104 realizes above-mentioned method thereby executing various function application and data processing.Memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor
102 remotely located memories, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network
Including but not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation
Device (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments to
It can be communicated with internet.In an example, transmitting device 106 can for radio frequency (Radio Frequency, referred to as
RF) module is used to wirelessly be communicated with internet.
A kind of method for controlling multimedia is provided in the present embodiment, and Fig. 2 is control according to an embodiment of the present invention
The flow chart of the method for multimedia processed, as shown in Fig. 2, the process includes the following steps:
Step S202 obtains the action message of the first object under current environment;
Step S204 determines the current active of the first object based on action message;
Step S206 obtains music corresponding with current active;
Step S208 plays music.
Through the above steps, due to the action message of the first object under the available current environment of household appliance;Based on work
Dynamic information determines the current active of the first object;Obtain music corresponding with current active;Play music.It may be implemented based on use
The action message at family obtains the purpose of the music of corresponding style.Therefore, can solve cannot be based on voice messaging in the related technology
Control multimedia type, the problem of influencing user experience, reach can choose the music style for more meeting the situation of presence and
Song promotes User Activity atmosphere, improves the effect of user experience.
Optionally, the executing subject of above-mentioned steps can be household appliance, such as air-conditioning, but not limited to this.
In the present embodiment, multimedia is illustrated for playing music:
It should be noted that the action message of the first object can be user and work, learns, entertain under current environment
Information;If user is entertaining, current active is then in more excited scene, then available more cheerful and more light-hearted sound
Pleasure plays out.First object can be a user, and can also be is multiple users.
In an alternative embodiment, in the case where obtaining current environment before the action message of the first object, it is also necessary to obtain
It takes and plays the first voice messaging of music in request, include the control instruction for playing music in the first voice messaging, for example,
" playing music ".And it responds the first voice messaging and plays music.
In an alternative embodiment, the action message of the first object under current environment is obtained in the following manner: being obtained
Take the audio-frequency information of the first object activity under current environment;Audio-frequency information, which can be, to be obtained by microphone, for example, user exists
Party, that is, what is obtained is the sound that user's party issues, and current environment volume, voiceprint are determined from audio-frequency information.It obtains
The video information of first object activity under current environment, video information can be by camera obtain, and from be video letter
Active user's number, the expression information of active user, the limb activity information of active user are obtained in breath.It is as shown in table 1:
Table 1:
The music type played can be determined based on User Activity by listing in table 1.
In an alternative embodiment, it is also based on the volume that current environment volume adjustment plays music.More stick on
Share the habit at family.
The present embodiment also provides a kind of household appliance, comprising: voice capture device, for acquiring lower first pair of current environment
The audio-frequency information of elephant;Camera, user obtain the video information of the first object;Processor, for being based on audio-frequency information and video
Information determines the current active of the first object;Obtain music corresponding with current active;Player, for playing music.
In the present embodiment, corresponding music style is obtained based on crawler behavior classification, with reference to classification such as 1 institute of table
Show.
The specific implementation process of household appliance is as shown in Figure 3 in the present embodiment, comprising the following steps:
S301: voice acquisition device gets the phonetic control command for opening music.
S302: by camera obtain the face of active user, quantity, limb activity, apart from relevant information.
S303: the relevant informations such as current environment volume, vocal print are obtained by voice acquisition device.
S304: current user activities behavior is judged based on collected information.
S305: obtaining corresponding music style based on crawler behavior classification,
Fig. 4 is the structural block diagram of control multimedia playing apparatus according to an embodiment of the present invention, as shown in figure 4, the device
Include:
First obtains module 42, for obtaining the action message of the first object under current environment;
Determining module 44, for determining the current active of first object based on the action message;
Second obtains module 46, for obtaining music corresponding with the current active;
Playing module 48, for playing the music.
Through the above steps, due to the action message of the first object under the available current environment of household appliance;Based on work
Dynamic information determines the current active of the first object;Obtain music corresponding with current active;Play music.It may be implemented based on use
The action message at family obtains the purpose of the music of corresponding style.Therefore, can solve cannot be based on voice messaging in the related technology
Control multimedia type, the problem of influencing user experience, reach can choose the music style for more meeting the situation of presence and
Song promotes User Activity atmosphere, improves the effect of user experience.
Optionally, the executing subject of above-mentioned steps can be household appliance, such as air-conditioning, but not limited to this.
In the present embodiment, multimedia is illustrated for playing music:
It should be noted that the action message of the first object can be user and work, learns, entertain under current environment
Information;If user is entertaining, current active is then in more excited scene, then available more cheerful and more light-hearted sound
Pleasure plays out.First object can be a user, and can also be is multiple users.
In an alternative embodiment, in the case where obtaining current environment before the action message of the first object, it is also necessary to obtain
It takes and plays the first voice messaging of music in request, include the control instruction for playing music in the first voice messaging, for example,
" playing music ".And it responds the first voice messaging and plays music.
In an alternative embodiment, the action message of the first object under current environment is obtained in the following manner: being obtained
Take the audio-frequency information of the first object activity under current environment;Audio-frequency information, which can be, to be obtained by microphone, for example, user exists
Party, that is, what is obtained is the sound that user's party issues, and current environment volume, voiceprint are determined from audio-frequency information.It obtains
The video information of first object activity under current environment, video information can be by camera obtain, and from be video letter
Active user's number, the expression information of active user, the limb activity information of active user are obtained in breath.As shown in table 1, table 1
In list can based on User Activity determine play music type.
In an alternative embodiment, it is also based on the volume that current environment volume adjustment plays music.More stick on
Share the habit at family.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store for executing above each step
Computer program.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory
There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method
Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device
It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.
With replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of method for controlling multimedia characterized by comprising
Obtain the action message of the first object under current environment;
The current active of first object is determined based on the action message;
Obtain music corresponding with the current active;
Play the music.
2. the method according to claim 1, wherein obtaining the activity of first object under the current environment
Before information, the method also includes:
Obtain the first voice messaging for requesting broadcasting music;
It responds first voice messaging and plays the music.
3. the method according to claim 1, wherein obtaining the action message packet of the first object under current environment
It includes:
Obtain the audio-frequency information of first object activity under the current environment;
Obtain the video information of first object activity under the current environment.
4. according to the method described in claim 3, it is characterized in that, determining working as first object based on the action message
Preceding activity includes:
At least one of the following information of first object: active user's number is obtained from the video information, currently
The expression information of user, the limb activity information of active user;
Believe from at least one of information determined in the audio-frequency information in the current environment: current environment volume, vocal print
Breath;
The current active of first object is determined from the information for including in the video information and the audio-frequency information.
5. the method according to claim 1, wherein obtaining sound corresponding with the crawler behavior of first object
Pleasure includes:
Determine music type corresponding with the crawler behavior of first object;
Search music corresponding with the music type.
6. according to the method described in claim 4, it is characterized in that, after playing the music, the method also includes:
The volume of the music is played based on the current environment volume adjustment.
7. a kind of household appliance characterized by comprising
Voice capture device, for acquiring the audio-frequency information of the first object under current environment;
Camera, user obtain the video information of first object;
Processor, for determining the current active of first object based on the audio-frequency information and the video information;It obtains
Music corresponding with the current active;
Player, for playing the music.
8. a kind of device for controlling multimedia characterized by comprising
First obtains module, for obtaining the action message of the first object under current environment;
Determining module, for determining the current active of first object based on the action message;
Second obtains module, for obtaining music corresponding with the current active;
Playing module, for playing the music.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer
Program is arranged to perform claim when operation and requires method described in 1 to 6 any one.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory
Sequence, the processor are arranged to run the computer program in method described in perform claim 1 to 6 any one of requirement.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811230704.2A CN109407843A (en) | 2018-10-22 | 2018-10-22 | Method and device for controlling multimedia playing, storage medium and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811230704.2A CN109407843A (en) | 2018-10-22 | 2018-10-22 | Method and device for controlling multimedia playing, storage medium and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109407843A true CN109407843A (en) | 2019-03-01 |
Family
ID=65468203
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811230704.2A Pending CN109407843A (en) | 2018-10-22 | 2018-10-22 | Method and device for controlling multimedia playing, storage medium and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109407843A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110657546A (en) * | 2019-05-08 | 2020-01-07 | 青岛海尔空调器有限总公司 | Method and device for controlling air outlet volume and sound outlet volume and indoor unit of air conditioner |
| CN113595869A (en) * | 2021-06-28 | 2021-11-02 | 青岛海尔科技有限公司 | Voice playing method and device, storage medium and electronic device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106648524A (en) * | 2016-09-30 | 2017-05-10 | 四川九洲电器集团有限责任公司 | Audio paying method and audio playing equipment |
| CN107078706A (en) * | 2014-11-20 | 2017-08-18 | 英特尔公司 | Automatic Audio Adjustment |
| CN108536418A (en) * | 2018-03-26 | 2018-09-14 | 深圳市冠旭电子股份有限公司 | A kind of method, apparatus and wireless sound box of the switching of wireless sound box play mode |
-
2018
- 2018-10-22 CN CN201811230704.2A patent/CN109407843A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107078706A (en) * | 2014-11-20 | 2017-08-18 | 英特尔公司 | Automatic Audio Adjustment |
| CN106648524A (en) * | 2016-09-30 | 2017-05-10 | 四川九洲电器集团有限责任公司 | Audio paying method and audio playing equipment |
| CN108536418A (en) * | 2018-03-26 | 2018-09-14 | 深圳市冠旭电子股份有限公司 | A kind of method, apparatus and wireless sound box of the switching of wireless sound box play mode |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110657546A (en) * | 2019-05-08 | 2020-01-07 | 青岛海尔空调器有限总公司 | Method and device for controlling air outlet volume and sound outlet volume and indoor unit of air conditioner |
| CN113595869A (en) * | 2021-06-28 | 2021-11-02 | 青岛海尔科技有限公司 | Voice playing method and device, storage medium and electronic device |
| CN113595869B (en) * | 2021-06-28 | 2023-10-24 | 青岛海尔科技有限公司 | Voice playback method and device, storage medium and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106095235B (en) | control method and device based on virtual reality | |
| CN108231072A (en) | Device control device, method and device for embodying the device | |
| CN110265004B (en) | Control method and device for target terminal in smart home operating system | |
| CN109271128A (en) | Audio setting method, device, electronic equipment and storage medium | |
| CN109407923A (en) | A kind of live streaming connects the method, apparatus and readable storage medium storing program for executing of wheat interaction | |
| CN106027363A (en) | Message processing method and device | |
| CN113487038B (en) | Scene determination method and device, storage medium and electronic device | |
| CN105007053A (en) | Audio play method and device | |
| CN109147802A (en) | Playing speed adjusting method and device | |
| JP2011511346A (en) | Method, mobile electronic device, system and computer program for automatically creating a social networking service (SNS) | |
| CN105682011A (en) | Bluetooth module control method and device of playback device, and audio and video playback system | |
| CN107451242A (en) | Data playback control method, system and computer-readable recording medium | |
| CN110336892B (en) | Multi-device cooperation method and device | |
| CN109151565A (en) | Play method, apparatus, electronic equipment and the storage medium of voice | |
| CN108986810A (en) | A kind of method and device for realizing interactive voice by earphone | |
| CN113836325A (en) | Multimedia content playback method and device, storage medium and electronic device | |
| CN109582275A (en) | Voice adjusting method and device, storage medium and electronic device | |
| CN109671429A (en) | Voice interaction method and device | |
| CN113827953B (en) | Game control system | |
| US12249328B2 (en) | Techniques for communication between hub device and multiple endpoints | |
| CN109448710A (en) | Voice processing method and device, household appliance and storage medium electronic device | |
| CN106101845A (en) | The creation method of a kind of net cast and device | |
| CN109243453A (en) | Voice information processing method and device, storage medium and electronic device | |
| CN109407843A (en) | Method and device for controlling multimedia playing, storage medium and electronic device | |
| CN108932947B (en) | Voice control method and household appliance |
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 |