Invention content
Embodiment of the present invention is designed to provide a kind of projecting apparatus control method and intelligent sound box so that user can
Voice control smart machine changes connection status, and voice control terminal actively connects smart machine, and operation is relatively simple convenient.
In order to solve the above technical problems, embodiments of the present invention provide a kind of smart machine connection method, it is applied to
Smart machine, method include:
Acquire voice messaging;
Judge in voice messaging with the presence or absence of wake-up word;
If existing in voice messaging and waking up word, current connection state is revised as to wait for connection status;
When receiving the connection request of a certain terminal, establishes and communicate to connect with terminal.
Embodiments of the present invention additionally provide a kind of smart machine connection method, are applied to terminal, and method includes:
Acquire voice messaging;
Judge in voice messaging with the presence or absence of default critical sentence;
If there is default critical sentence in voice messaging, obtain in the smart machine for waiting for connection status;
To in the smart machine transmission connection request for waiting for connection status.
Embodiments of the present invention additionally provide a kind of smart machine, including:
Voice acquisition module, for acquiring voice messaging;
Processor, for judging in voice messaging with the presence or absence of wake-up word;It, will if existing in voice messaging and waking up word
Current connection state is revised as waiting for connection status;
Communication module, for when receiving the connection request of a certain terminal, establishing and communicating to connect with terminal.
Embodiments of the present invention additionally provide a kind of terminal, including:
Voice acquisition module, for acquiring voice messaging;
Processor, for judging in voice messaging with the presence or absence of default critical sentence;If there is default close in voice messaging
Key sentence is then obtained in the smart machine for waiting for connection status;
Communication module, for in the smart machine transmission connection request for waiting for connection status.
In terms of existing technologies, smart machine is preset with wake-up word to embodiment of the present invention, and user can pass through language
Sound utterance enables in the collected voice messaging of smart machine and there is wake-up word, to realize that smart machine will be connected currently
Status modifier is to wait for connection status, waits for terminal connection.Also, terminal can carry out voice collecting, believe in collected voice
When there is default critical sentence in breath, terminal can be obtained initiatively in the smart machine for waiting for connection status, and in the company of waiting for
The smart machine for connecing state sends connection request, is connected in order to be established with smart machine.In this way, smart machine energy
It is enough to be spoken according to the voice of user, make certain response, enable user can voice control smart machine modification connection status, and
Voice control terminal actively connects smart machine, and operation is relatively simple convenient.
In addition, after acquisition voice messaging, further include:Judge to whether there is device name in voice messaging;If voice is believed
There are device names in breath, then equipment corresponding with device name establishes communication connection.In this way, smart machine can
It initiatively establishes and connects with other equipment, only terminal can not be provided the foundation by smart machine control other equipment, and
And simplify the operation for establishing intelligent domestic system.
In addition, judging before whether there is wake-up word in voice messaging, further include:Judge that the vocal print of voice messaging is default sound
Line, so as to other people voice interference of shielding.
Specific implementation mode
To keep the purpose, technical scheme and advantage of embodiment of the present invention clearer, below in conjunction with attached drawing to this hair
Bright each embodiment is explained in detail.However, it will be understood by those skilled in the art that in each implementation of the invention
In mode, in order to make the reader understand this application better, many technical details are proposed.But it is even if thin without these technologies
Section and various changes and modifications based on the following respective embodiments, can also realize the application technical solution claimed.
The first embodiment of the present invention is related to a kind of smart machine connection methods, are applied to smart machine, detailed process
As shown in Figure 1.Smart machine in present embodiment can be intelligent sound box, smart television etc., below in present embodiment
Smart machine connection method be specifically described, steps are as follows:
Step 101, voice messaging is acquired.
Specifically, smart machine is equipped with voice acquisition module, smart machine acquires voice by the voice acquisition module
Information.Such as, voice acquisition module can be microphone.More specifically, smart machine can detect extraneous voice letter
When breath, current point in time is recorded.Then, the time point that smart machine pair is recorded in one day carries out discrete analysis, and setting is default
Period, in order to acquire voice messaging within a preset period of time.Wherein, preset time period is the time point distribution density of record
The highest period can be realized and obtain more effective information in a relatively short period of time, more energy saving.
Step 102, judge in voice messaging with the presence or absence of wake-up word.If so, 103 are thened follow the steps, it is no to then follow the steps
101。
Specifically, waking up word can be pre-set by technical staff and be stored in smart machine, e.g., waking up word can be with
For smart machine title.
Step 103, current connection state is revised as waiting for connection status.
Specifically, smart machine opens wireless communication module, using itself as a hotspot.Such as, smart machine
Open bluetooth, Wireless Fidelity WIFI module etc..
Step 104, it when receiving the connection request of a certain terminal, establishes and communicates to connect with terminal.
Compared with prior art, in present embodiment, smart machine is preset with wake-up word, and smart machine is used for the first time
When, user can enable in the collected voice messaging of smart machine by voice utterance and there is wake-up word, to realize intelligence
Current connection state is revised as waiting for connection status by energy equipment, waits for terminal connection.In this way, smart machine being capable of root
It speaks according to the voice of user and makes certain response, can realize that networking provides the foundation by voice for user.
Second embodiment of the present invention is related to a kind of smart machine connection method.Second embodiment is in the first embodiment party
It is improved on the basis of formula, is mainly theed improvement is that:In second embodiment of the invention, smart machine can also be actively
Ground is connect with other smart machines, simplifies the operation for establishing intelligent domestic system.
In present embodiment, there are one smart machine bindings in advance or other multiple smart machines, and interior in smart machine
Prestore the device name of bound smart machine.In this way, smart machine can also judge voice after acquiring voice messaging
It whether there is device name in information.If there are device name in voice messaging, smart machine is corresponding with device name
Equipment establishes communication connection.Such as, smart machine is bound with a projecting apparatus in advance, when the collected voice messaging of smart machine is
When " Hi, Speaker, I needs to use projecting apparatus ", smart machine is automatically established with projecting apparatus and is communicated to connect.
Specifically, the mode that smart machine is bound with other smart machines can be:Smart machine is swept equipped with Quick Response Code
Module is retouched, smart machine obtains by way of scanning the Quick Response Code corresponding to other smart machines and preserves other intelligence and set
Standby facility information.In practical operation, smart machine can also obtain by way of voice collecting and preserve user's oral account
Other smart machines facility information.However, the example above is only to illustrate, not to smart machine and its in present embodiment
He does any restriction at the mode of smart machine binding.
Be worth mentioning when, after smart machine and other smart machines, which are established, to be communicated to connect, smart machine still carries out
Voice collecting, also, smart machine also in collected voice messaging there are when the control instruction of a certain smart machine, will control
System instruction is sent to the smart machine.It is illustrated below:
Specifically, being preset with more sets corresponding with other each smart machines in smart machine, " voice messaging refers to control
The correspondence of order ".Smart machine carries out speech recognition to collected voice messaging, according in collected voice messaging
Device name inquires the correspondence of the voice messaging and control instruction of corresponding set, then by inquiring the set correspondence
Mode, obtain corresponding with voice messaging control instruction.More specifically, control instruction can be other smart machines
Operation code.Such as, technical staff obtains all operationss code of other smart machines in advance, and is matched for each operation code
Voice messaging then corresponds operation code and voice messaging, forms a set of voice control list, and by the polite formula sound control
List processed is inputted as the correspondence of voice messaging and control instruction and is stored in smart machine.
Third embodiment of the present invention is related to a kind of smart machine connection method, and detailed process is as shown in Figure 2.Third is real
It applies mode to be improved on the basis of first embodiment, mainly the improvement is that:In third embodiment of the invention,
Smart machine also carries out Application on Voiceprint Recognition, can shield other people voice interference.
In present embodiment, step 201 is roughly the same with the step 101 in first embodiment, step 203 to step
205 is roughly the same with first embodiment, and to avoid repeating, details are not described herein, is only illustrated below to different piece:
Step 202, judge whether the vocal print of voice messaging is default vocal print.
Specifically, default vocal print is pre-set by user and is stored in smart machine.Such as, user is inputting oneself
When vocal print, default sound bite can be read, and the voice acquisition module for controlling smart machine carries out voice collecting.Then, intelligence
Can equipment voiceprint analysis is carried out to the collected voice messaging of voice acquisition module, obtain the vocal print of user, and by the sound of user
Line is preserved as vocal print is preset.More specifically, user can also obtain the vocal print of itself by other equipment, and pass through
Other equipment is established with smart machine and is connected, and the vocal print of acquisition is transferred to smart machine and is stored.Such as, smart machine can be with
Equipped with solid data coffret, other equipment establishes wired company in such a way that data line connects solid data coffret
It connects, to realize information exchange.
Four embodiment of the invention is related to a kind of smart machine connection method, application terminal, detailed process such as Fig. 3 institutes
Show.Terminal can be the portable electronic devices such as mobile phone, computer, tablet computer in present embodiment, below to present embodiment
In smart machine connection method be specifically described, steps are as follows:
Step 301, voice messaging is acquired.
Specifically, terminal is equipped with voice acquisition module, terminal acquires voice messaging by the voice acquisition module.Such as,
Voice acquisition module can be microphone.More specifically, terminal can be equipped with speech trigger button, when terminal detects the language
When sound trigger button is pressed, terminal acquires voice messaging, more energy saving.
Step 302, judge in voice messaging with the presence or absence of default critical sentence.If so, thening follow the steps 303, otherwise execute
Step 301.
Specifically, default critical sentence can be pre-set by technical staff and is stored in smart machine, e.g., presets and close
Key sentence thinks the title including terminal.
Step 303, it obtains in the smart machine for waiting for connection status.
Specifically, terminal opens wireless communication module, neighbouring hotspot is searched for, connection status is waited for obtain to be in
Smart machine.Such as, wireless communication module can be with bluetooth module or Wireless Fidelity WIFI module.
Step 304, in the smart machine transmission connection request for waiting for connection status.
Compared with prior art, in present embodiment, user can voice control terminal actively connect smart machine, operate
It is relatively simple convenient.It is noted that present embodiment synchronous with first embodiment can be implemented, e.g., user is hand-held just
When taking formula terminal in the room equipped with smart machine (e.g., intelligent sound box), user can be with voice " Hi, Speaker AND
Phone ", then it is to wait for connection status that intelligent sound box changes connection status automatically, and terminal is obtained automatically in the intelligence for waiting for connection status
It can equipment:Intelligent sound box, terminal send connection request to intelligent sound box, and intelligent sound box is established with terminal and communicated to connect, to enable
User in short realizes that networking, operation are very convenient.Also, present embodiment synchronous with second embodiment can also be implemented,
Such as, user's hand-portable terminal be in equipped with smart machine (e.g., intelligent sound box) room in when, user can with voice " Hi,
Speaker AND Phone, I needs to use projecting apparatus ", then intelligent sound box is automatically established with projecting apparatus and is communicated to connect;Terminal
It is automatic to obtain in the smart machine for waiting for connection status:Intelligent sound box, terminal send connection request, intelligent sound box to intelligent sound box
Establish and communicate to connect with terminal, to enable user in short realize intelligent sound box and projecting apparatus networking and intelligent sound box with
The networking of terminal can provide technical foundation for user by terminal control projecting apparatus.Such as, user can be sent by terminal
Control instruction is carried out the forwarding of control instruction by intelligent sound box;Alternatively, user can ask for projection by terminal to intelligent sound box
The facility information of instrument enables terminal be established with projecting apparatus according to the facility information of projecting apparatus and communicates to connect, in order to straight by terminal
Receive and send control instruction.
Fifth embodiment of the invention is related to a kind of smart machine connection method.5th embodiment is in the 4th embodiment
On the basis of improved, mainly the improvement is that:In fifth embodiment of the invention, terminal also carries out Application on Voiceprint Recognition,
Other people voice interference can be shielded.
Specifically, default vocal print is pre-set by user and is preserved in the terminal.Such as, user is inputting the vocal print of oneself
When, default sound bite can be read, and the voice acquisition module of control terminal carries out voice collecting.Then, terminal-pair voice
The collected voice messaging of acquisition module carries out voiceprint analysis, obtains the vocal print of user, and using the vocal print of user as default sound
Line is preserved.
The sixth embodiment of the present invention is related to a kind of smart machine, as shown in figure 4, including:Voice acquisition module 401,
Processor 402 and communication module 403.Voice acquisition module 401 is for acquiring voice messaging.Processor 402 is for judging language
With the presence or absence of wake-up word in message breath;If existing in voice messaging and waking up word, current connection state is revised as waiting connecting
State.Communication module 403 is used for when receiving the connection request of a certain terminal, is established and is communicated to connect with terminal.
Specifically, voice acquisition module 401 can be microphone, waking up word can be pre-set and be protected by technical staff
There are in smart machine, e.g., it can be smart machine title to wake up word.
In present embodiment, smart machine can be when voice acquisition module 401 detects extraneous voice messaging, record
Current point in time.Then, the time point that smart machine pair is recorded in one day carries out discrete analysis, and preset time period is arranged, with
Convenient for acquiring voice messaging within a preset period of time.Wherein, preset time period be record time point distribution density it is highest when
Between section, can realize and obtain more effective information in a relatively short period of time, it is more energy saving.
Compared with prior art, in present embodiment, smart machine is preset with wake-up word, and smart machine is used for the first time
When, user can enable in the collected voice messaging of smart machine by voice utterance and there is wake-up word, to realize intelligence
Current connection state is revised as waiting for connection status by energy equipment, waits for terminal connection.In this way, smart machine being capable of root
It speaks according to the voice of user and makes certain response, can realize that networking provides the foundation by voice for user.
It is not difficult to find that present embodiment is device embodiments corresponding with first embodiment, present embodiment can
It works in coordination implementation with first embodiment.The relevant technical details mentioned in first embodiment are in the present embodiment still
Effectively, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment can also be applied
In the first embodiment.
It is noted that each module involved in present embodiment is logic module, and in practical applications, one
A logic unit can be a physical unit, can also be a part for a physical unit, can also be with multiple physics lists
The combination of member is realized.In addition, in order to protrude the innovative part of the present invention, it will not be with solution institute of the present invention in present embodiment
The technical issues of proposition, the less close unit of relationship introduced, but this does not indicate that there is no other single in present embodiment
Member.
Seventh embodiment of the invention is related to a kind of smart machine.7th embodiment is on the basis of sixth embodiment
It is improved, is mainly theed improvement is that:In seventh embodiment of the invention, processor 402 is additionally operable to judge voice messaging
In whether there is device name.If there are device names in voice messaging, it is corresponding with device name to control communication module
Equipment establishes communication connection.
In present embodiment, there are one smart machine bindings in advance or other multiple smart machines, and interior in smart machine
Prestore the device name of bound smart machine.In this way, smart machine acquires voice messaging in voice acquisition module 401
Afterwards, can also judge to whether there is device name in voice messaging by processor 402.If there are implementor names in voice messaging
Claim, then smart machine equipment corresponding with device name establishes communication connection.Such as, smart machine is bound with a projecting apparatus in advance,
When the collected voice messaging of smart machine be " Hi, Speaker, I need use projecting apparatus " when, smart machine automatically with
Projecting apparatus establishes communication connection.
Since second embodiment is corresponded with present embodiment, present embodiment can be mutual with second embodiment
Match implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, implement second
The attainable technique effect of institute similarly may be implemented in the present embodiment in mode, no longer superfluous here in order to reduce repetition
It states.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in second embodiment.
Eighth embodiment of the invention is related to a kind of smart machine.8th embodiment is on the basis of sixth embodiment
It is improved, is mainly theed improvement is that:In eighth embodiment of the invention, sound of the processor 402 in judgement voice messaging
When line is default vocal print, just judge in voice messaging with the presence or absence of wake-up word.
Specifically, default vocal print is pre-set by user and is stored in smart machine.Such as, user is inputting oneself
When vocal print, default sound bite can be read, and the voice acquisition module for controlling smart machine carries out voice collecting.Then, intelligence
Can equipment voiceprint analysis is carried out to the collected voice messaging of voice acquisition module, obtain the vocal print of user, and by the sound of user
Line is preserved as vocal print is preset.More specifically, user can also obtain the vocal print of itself by other equipment, and pass through
Other equipment is established with smart machine and is connected, and the vocal print of acquisition is transferred to smart machine and is stored.Such as, smart machine can be with
Equipped with solid data coffret, other equipment establishes wired company in such a way that data line connects solid data coffret
It connects, to realize information exchange.
Since third embodiment is corresponded with present embodiment, present embodiment can be mutual with third embodiment
Match implementation.The relevant technical details mentioned in third embodiment are still effective in the present embodiment, implement in third
The attainable technique effect of institute similarly may be implemented in the present embodiment in mode, no longer superfluous here in order to reduce repetition
It states.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in third embodiment.
Ninth embodiment of the invention is related to a kind of terminal, as shown in Figure 5.Including:Terminal speech acquisition module 501 is used
In acquisition voice messaging.Terminal handler 502, for judging with the presence or absence of default critical sentence in voice messaging, if voice is believed
There is default critical sentence in breath, then obtains in the smart machine for waiting for connection status.Terminal communication module 503, for in
Wait for that the smart machine of connection status sends connection request.
Specifically, default critical sentence can be pre-set by technical staff and is stored in smart machine, e.g., presets and close
Key sentence thinks the title including terminal.
Tenth embodiment of the invention is related to a kind of terminal.Tenth embodiment is subject on the basis of nine embodiments
It improves, mainly thes improvement is that, in ninth embodiment of the invention, sound of the terminal handler 502 in judgement voice messaging
When line is default vocal print, just judge in voice messaging with the presence or absence of default critical sentence.
Specifically, default vocal print is pre-set by user and is preserved in the terminal.Such as, user is inputting the vocal print of oneself
When, default sound bite can be read, and the terminal speech acquisition module 501 of control terminal carries out voice collecting.Then, terminal
Voiceprint analysis is carried out to 501 collected voice messaging of terminal speech acquisition module, obtains the vocal print of user, and by the sound of user
Line is preserved as vocal print is preset.
That is, it will be understood by those skilled in the art that all or part of step in realization the above embodiment method is can
Completed with instructing relevant hardware by program, which is stored in a storage medium, including some instructions to
So that an equipment (can be microcontroller, chip etc.) or processor (processor) execute each embodiment institute of the application
State all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with
Store the medium of program code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment party of the present invention
Formula, and in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and model of the present invention
It encloses.