Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, member
Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
In the present invention, the fingers such as " module ", " device ", " system " are applied to the related entities of computer, such as hardware, hardware
Combination, software or software in execution with software etc..In detail, for example, element can with but be not limited to run on processing
Process, processor, object, executable element, execution thread, program and/or the computer of device.In addition, running on server
Application program or shell script, server can be element.One or more elements can be in the process and/or thread of execution
In, and element can be localized and/or be distributed between two or multiple stage computers on one computer, and can be by each
Kind computer-readable medium operation.Element can also according to the signal with one or more data packets, for example, from one with
Another element interacts in local system, distributed system, and/or the network in internet passes through signal and other system interactions
The signals of data communicated by locally and/or remotely process.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise", not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including described want
There is also other identical elements in the process, method, article or equipment of element.
The method and device application that LED display effect is controlled based on speech recognition emotional change in the embodiment of the present invention
In on any terminal device for having phonetic function, LED lamp is configured on the intelligent terminal, for example, intelligent sound box, intelligence event
Any Intelligent hardware such as affairs that should be kept secret, smart television, smart phone, tablet computer, PC, smart home, projector, mobile unit, this
Invention is not construed as limiting this, allows to change by voice the display effect of LED light, and then improve the emotional state of people.
Fig. 1 schematically show according to an embodiment of the present invention LED is controlled based on speech recognition emotional change
The method flow diagram of display effect, as shown in Figure 1, the present embodiment includes the following steps:
Step S101: configuration voice mood map information storage.Wherein, voice mood map information includes volume, tone
And its corresponding mood mark.The high low reaction of volume and tone human feelings threads it is surging and low, according to different volume and
Tone corresponds to different mood marks, and illustratively, user's tone increases, volume increases that indicate that user is in high spirits
The moods such as happy, exciting, then happy mood mark is matched for it.It can will be deposited according to the mood of this rule match mark
In Chu Weiyi voice mood map information tables, table is as follows:
Volume |
Tone |
Mood mark |
It is high |
It is high |
Happily |
It is low |
It is low |
It is sad |
Step S102: the phonetic order of user is received.It, can be by calling eventually when this method is applied on the terminal device
The audio collecting device with pickup function of end equipment is obtained, and when this method application platform beyond the clouds, can be passed through
Audio collecting device with pickup function is obtained by terminal device and is sent to cloud platform, by the phase of cloud platform
Answer interface.
Step S103: the output of LED light control instruction is generated according to the phonetic order of user and voice mood map information.Its
In, the particular content of LED light control instruction can be set accordingly according to the LED display function on the terminal device controlled
Set, illustratively, can for for control LED display color instruction or for for controlling LED flicker frequency instruction or
For the instruction for controlling LED switch.
In specifically realizing, the phonetic order of user can be analyzed first, obtain user's current volume and tone.
Mood mark, that is, the volume and sound that will acquire are matched from voice mood map information according to the volume and tone currently obtained
Tune is matched with the content of volume and tone item in table, to obtain mood mark.Wherein, to the phonetic order of user
It is analyzed, obtaining volume and tone can be realized by related art.
Later, difference can be set according to psychological knowledges such as the relationships of the relationship of mood and color, mood and atmosphere
Corresponding display effect feature under mood, so that different LED light control instructions is exported according to determining different mood marks,
Illustratively, the mood of mood happiness identifies corresponding LED lamp control instruction and is arranged to include that control LED shows bright-coloured face
Color, such as the instruction such as red, orange.The instruction is exported to the LED control module of terminal device, it can to the display face of LED light
Color is controlled, to reach desired display effect.Wherein, according to the concrete function feature of the LED light of terminal device, setting
Control instruction corresponding with mood can also include to control the instruction of LED fast blink, which can call the flashing of LED
Frequency;Or include the instruction for controlling LED display number, the instruction is so that some LED bright lights, and other extinguish, thus shape
At specific display shape, such as heart-shaped, flower-shape.
Preferably, the corresponding relationship between mood mark and LED light control instruction, can also pass through above-mentioned voice mood
The mode of map information carries out configuration storage.
The emotional change by audio monitoring user, intelligentized adjustment may be implemented in disclosed method according to the present invention
The flashing and brightness of LED has interest, can increase the experience of user so as to have the function that comfort customer anger
Sense.
Fig. 2 schematically shows the principle of device for being used to control LED display effect according to an embodiment of the present invention
Block diagram, as shown in Fig. 2,
The device includes configuration module 3, instruction acquisition module 2, analysis and processing module 4.
Configuration module 3 is for configuring the storage of voice mood map information, wherein the specific implementation of voice mood map information
Mode is referred to the description of above method part.
Instruction acquisition module 2 is used to receive the phonetic order of user, can be implemented with the microphone etc. of pickup function
The communication interface of audio collecting device or the audio instructions for receiving terminal apparatus input.
Analysis and processing module 4 is used to generate LED light control according to the phonetic order of user and the voice mood map information
System instruction output.
Exemplary, voice mood map information includes volume, tone and its corresponding mood mark.At this point, analysis is handled
Module is embodied as including sound characteristic extraction unit 401, mood determination unit 402 and control unit 403.
Sound characteristic extraction unit 401 obtains user's current volume and sound for analyzing the phonetic order of user
It adjusts.Mood determination unit 402 is used to match mood mark from voice mood map information according to current volume and tone.Control
Unit 403 processed is used to generate corresponding LED light control instruction according to mood mark and export, and LED light control instruction is for controlling
The instruction of LED display color or for the instruction for controlling LED flicker frequency or be control LED switch instruction.According to not
Same LED control instruction calls different LED function interfaces, realizes the control to LED light display effect.
The emotional change by audio monitoring user, intelligentized adjustment may be implemented in the device provided according to the present invention
The flashing and brightness of LED has interest, can increase the experience of user so as to have the function that comfort customer anger
Sense.
Fig. 3 schematically show according to an embodiment of the present invention based on speech recognition emotional change carry out LED effect
The system principle diagram that fruit shows, as shown in figure 3,
The system includes interactive voice equipment 5 and cloud identifying platform 6, and interactive voice equipment 5 and cloud identifying platform 6 are logical
The internetwork connection modes such as WIFI connection are crossed to be communicated, wherein
Interactive voice equipment 5 can be implemented as Intelligent story device or intelligent sound box, obtain module configured with audio thereon
501, LED control module 502 and LED light 503.According to the difference of the LED light display function of interactive voice equipment itself, can be
Changeable colour LED light, sparkling LED light etc..
Wherein, audio obtains module 501 for obtaining user speech instruction output to cloud identifying platform 6, cloud identification
Platform 6, which is used to generate LED light control instruction according to the phonetic order of user, exports LED control module 502.LED control module
502 are shown according to the LED light control instruction control LED light 503 received.
Voice mood map information is configured on cloud identifying platform 6, according to the phonetic order and voice mood of user
Map information generates the output of LED light control instruction.
LED light control instruction is the instruction for controlling LED display color or is the finger for controlling LED flicker frequency
It enables or to control the instruction of LED switch.
Preferably, cloud identifying platform 6 is embodied as thereon configured with above-mentioned for controlling the device of LED display effect
The corresponding function module.
The system provided according to the present invention, may be implemented the volume for including in the phonetic order by discriminance analysis user and
Tone can obtain the mood of user, and the display effect of LED light is controlled according to emotional information, increase the experience of user
Sense, improves the interest of interactive voice equipment.
In some embodiments, the embodiment of the present invention provides a kind of non-volatile computer readable storage medium storing program for executing, described to deposit
Being stored in storage media one or more includes the programs executed instruction, it is described execute instruction can by electronic equipment (including but
It is not limited to computer, server or the network equipment etc.) it reads and executes, to be based on for executing any of the above-described of the present invention
Speech recognition emotional change is come the method that controls LED display effect.
In some embodiments, the embodiment of the present invention also provides a kind of computer program product, computer program product packet
The computer program being stored on non-volatile computer readable storage medium storing program for executing is included, the computer program includes program instruction,
When program instruction is computer-executed, so that the computer is executed any of the above-described and controlled based on speech recognition emotional change
The method of LED display effect.
In some embodiments, the embodiment of the present invention also provides a kind of electronic equipment comprising: at least one processor,
And the memory being connect at least one described processor communication, wherein the memory is stored with can be by described at least one
The instruction that a processor executes, described instruction is executed by least one described processor, so that at least one described processor energy
Enough execute the method that LED display effect is controlled based on speech recognition emotional change.
In some embodiments, the embodiment of the present invention also provides a kind of storage medium, is stored thereon with computer program,
It is characterized in that, controls the method for LED display effect when which is executed by processor based on speech recognition emotional change.
The device for controlling LED display effect of the embodiments of the present invention can be used for executing the base of the embodiment of the present invention
In speech recognition emotional change come the method that controls LED display effect, and reach the realization of the embodiments of the present invention accordingly
The method technical effect achieved of LED display effect is controlled based on speech recognition emotional change, which is not described herein again.This hair
Hardware processor (hardware processor) Lai Shixian related function module can be passed through in bright embodiment.
Fig. 4 is that the execution that one embodiment of the invention provides controls LED display effect based on speech recognition emotional change
The hardware structural diagram of the electronic equipment of method, as shown in figure 4, the equipment includes:
One or more processors 510 and memory 520, in Fig. 4 by taking a processor 510 as an example.
The equipment for executing the method that LED display effect is controlled based on speech recognition emotional change can also include: input
Device 530 and output device 540.
Processor 510, memory 520, input unit 530 and output device 540 can pass through bus or other modes
It connects, in Fig. 4 for being connected by bus.
Memory 520 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, as in the embodiment of the present application based on speech recognition emotional change come
Control the corresponding program instruction/module of method of LED display effect.Processor 510 is stored in memory 520 by operation
Non-volatile software program, instruction and module are realized thereby executing the various function application and data processing of server
The method that above method embodiment controls LED display effect based on speech recognition emotional change.
Memory 520 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area can be stored according to the device for controlling LED display effect
Use created data etc..In addition, memory 520 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.One
In a little embodiments, optional memory 520 includes the memory remotely located relative to processor 510, these remote memories can
To pass through network connection to the device for being used to control LED display effect.The example of above-mentioned network includes but is not limited to internet, enterprise
Industry intranet, local area network, mobile radio communication and combinations thereof.
Input unit 530 can receive the number or character information of input, and generates and be used to control LED display effect
Device user setting and the related signal of function control.Output device 540 may include that display screen etc. shows equipment.
One or more of modules are stored in the memory 520, when by one or more of processors
When 510 execution, the side that LED display effect is controlled based on speech recognition emotional change in above-mentioned any means embodiment is executed
Method.
Method provided by the embodiment of the present application can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present application.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function
Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function, such as intelligent sound box, Intelligent story device etc..
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology
Scheme substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, the computer
Software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions to
So that computer equipment (can be personal computer, server or the network equipment etc.) execute each embodiment or
Method described in certain parts of embodiment.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and
Range.