The content of the invention
The present invention provides a kind of apparatus control method and device, when receiving voice, to be obtained according to voice to be tested
Demonstrate,prove identity information, and then identity information to be verified matched with multiple default identity informations, when identity information to be verified and
When any default identity information matches in multiple default identity informations, it is allowed to which active user is according to any default identity information pair
Controlled device is controlled, so as to all carry out authentication when receiving voice every time, and according to the identity information verified
The timely judgement that can be achieved to identity is controlled to controlled device and specific control is carried out to controlled device using user identity,
To avoid the occurrence of control mistake, the problems such as controlling of exceeding one's powers.
The present invention provides a kind of apparatus control method, including:
When receiving voice, identity information to be verified is obtained according to the voice;
The identity information to be verified is matched with multiple default identity informations;
When any default identity information matches in the identity information to be verified and the multiple default identity information,
Active user is allowed to be controlled according to any default identity information to controlled device.
In one embodiment, methods described also includes:
Obtain the acoustic feature of each user;
The acoustic feature of each user is defined as to the default identity information of each user.
In one embodiment, it is described when receiving voice, identity information to be verified, bag are obtained according to the voice
Include:
When receiving the voice, the acoustic feature of the active user is extracted according to the voice;
It is described to be matched the identity information to be verified with multiple default identity informations, including:
The acoustic feature of the active user is matched with default multiple acoustic features;
When the acoustic feature of the active user and the similarity of any acoustic feature in the multiple acoustic feature are high
When default similarity, the acoustic feature and any acoustic feature that determine the active user match.
In one embodiment, it is described when the identity information to be verified with it is any pre- in the multiple default identity information
If identity information matches, it is allowed to which active user is controlled according to any default identity information to controlled device, bag
Include:
When the identity information to be verified and any default identity information match, recover or re-establish institute
State the control connection between active user and the controlled device;
Allow the active user according to any default identity information and the control connection to the controlled device
It is controlled.
In one embodiment, it is described when the identity information to be verified with it is any pre- in the multiple default identity information
If identity information matches, it is allowed to which active user is controlled according to any default identity information to controlled device, bag
Include:
When the identity information to be verified and any default identity information match, any default body is obtained
History control information corresponding to part information, wherein, the history control information includes at least one of following:The active user's
Personal information, the control authority of the active user, the history of active user control custom;
The active user is allowed to be controlled according to the history control information to the controlled device.
In one embodiment, it is described when the identity information to be verified with it is any pre- in the multiple default identity information
If identity information matches, it is allowed to which active user is controlled according to any default identity information to controlled device, bag
Include:
When the identity information to be verified and any default identity information match, the control in the voice is obtained
System instruction;
Allow the active user according to the control instruction and any default identity information to the controlled device
It is controlled.
The present invention also provides a kind of plant control unit, including:
First acquisition module, for when receiving voice, identity information to be verified to be obtained according to the voice;
Matching module, for the identity information to be verified to be matched with multiple default identity informations;
Control module, for when any default identity in the identity information to be verified and the multiple default identity information
During information match, it is allowed to which active user is controlled according to any default identity information to controlled device.
In one embodiment, described device also includes:
Second acquisition module, for obtaining the acoustic feature of each user;
Determining module, for the acoustic feature of each user to be defined as to the default identity information of each user.
In one embodiment, first acquisition module includes:
First acquisition submodule, for when receiving the voice, extracting the active user's according to the voice
Acoustic feature;
The matching module includes:
Matched sub-block, for the acoustic feature of the active user to be matched with default multiple acoustic features;
Determination sub-module, for when any acoustics in the acoustic feature of the active user and the multiple acoustic feature
When the similarity of feature is higher than default similarity, the acoustic feature of the active user and any acoustic feature phase are determined
Match somebody with somebody.
In one embodiment, the control module includes:
Submodule is handled, it is extensive for when the identity information to be verified and any default identity information match
Control that is multiple or re-establishing between the active user and the controlled device connects;
First control submodule, for allowing the active user according to any default identity information and the control
Connection is controlled to the controlled device.
In one embodiment, the control module includes:
Second acquisition submodule, for matching when the identity information to be verified and any default identity information
When, history control information corresponding to any default identity information is obtained, wherein, the history control information is included below extremely
One item missing:The personal information of the active user, the control authority of the active user, the control of the history of the active user are practised
It is used;
Second control submodule, for allowing the active user according to the history control information to the controlled device
It is controlled.
In one embodiment, the control module includes:
3rd acquisition submodule, for matching when the identity information to be verified and any default identity information
When, obtain the control instruction in the voice;
3rd control submodule, for allowing the active user according to the control instruction and any default identity
Information is controlled to the controlled device.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When receiving voice, identity information to be verified is obtained according to voice, so by identity information to be verified with it is multiple
Default identity information is matched, when identity information to be verified and any default identity information phase in multiple default identity informations
Timing, it is allowed to which active user is controlled according to any default identity information to controlled device, so as to receive voice every time
When all carry out authentication, and controlled device is controlled according to the identity information verified sentencing in time to identity can be achieved
Break and specific control is carried out to controlled device using user identity, to avoid the occurrence of control mistake, the problems such as controlling of exceeding one's powers.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real
Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of apparatus control method, and this method is applied to
In facility control program, system or device, as shown in figure 1, step S101 is to step S103, wherein,
In step S101, when receiving voice, identity information to be verified is obtained according to voice;
In step s 102, identity information to be verified is matched with multiple default identity informations;
In step s 103, when identity information to be verified and any default identity information phase in multiple default identity informations
Timing, it is allowed to which active user is controlled according to any default identity information to controlled device.
When receiving voice, identity information to be verified is obtained according to voice, so by identity information to be verified with it is multiple
Default identity information is matched, when identity information to be verified and any default identity information phase in multiple default identity informations
Timing, it is allowed to which active user is controlled according to any default identity information to controlled device, so as to receive voice every time
When all carry out authentication, and controlled device is controlled according to the identity information verified, can be achieved to the timely of identity
Judge and specific control is carried out to controlled device using user identity, to avoid the occurrence of control mistake, control etc. of exceeding one's powers is asked
Topic.
Wherein, controlled device is that can be able to be one or more, can be same type by the smart machine of Voice command
Or different types of smart machine, and different identity information is the controllable controlled device of different user it is also possible to differing
Sample.
In one embodiment, method also includes:
The acoustic feature of each user is obtained, wherein, acoustic feature can be vocal print, tone color etc.;
The acoustic feature of each user is defined as to the default identity information of each user.
In order to determine the default identity information of each user, the acoustic feature of each user can be obtained in advance, and due to everyone
Acoustic feature be all default identity information unique, thus that the acoustic feature of each user can be defined as to each user.
In one embodiment, when receiving voice, identity information to be verified is obtained according to voice, including:
When receiving voice, the acoustic feature of active user is extracted according to voice;
Identity information to be verified is matched with multiple default identity informations, including:
The acoustic feature of active user is matched with default multiple acoustic features;
When the acoustic feature of the active user and the similarity of any acoustic feature in multiple acoustic features are higher than default
During similarity, the acoustic feature and any acoustic feature that determine active user match.
When receiving voice, the acoustic feature of active user can be extracted according to voice, and then by the acoustics of active user
Feature is matched with default multiple acoustic features, when acoustic feature and any sound in multiple acoustic features of active user
When learning the similarity of feature higher than default similarity, illustrate that two acoustic feature similarities are high, thus, it may be determined that active user
Acoustic feature match with any acoustic feature, i.e. the active user of the voice is to be used corresponding to any acoustic feature
Family.
As shown in Fig. 2 in one embodiment, the step S103 shown in above-mentioned Fig. 1, i.e., when identity information to be verified with it is more
When any default identity information matches in individual default identity information, it is allowed to which active user is according to any default identity information to quilt
Control equipment is controlled, and can be performed as:
In step s 201, when identity information to be verified and any default identity information match, recover or again
The control connection established between active user and controlled device;
Wherein, if the duration for controlling connection to be not used by between active user and controlled device is not up to default most long
Duration, when identity information to be verified and any default identity information match, above-mentioned control connection can be recovered automatically;And if
The duration that above-mentioned control connection is not used by reaches this and presets most long duration, then in identity information to be verified and any default identity
During information match, above-mentioned control connection can be re-established automatically.
In step S202, it is allowed to which active user is carried out according to any default identity information and control connection to controlled device
Control.
When identity information to be verified and any default identity information match, it can recover or re-establish active user
Control between controlled device is connected, and then the active user can be connected by the control according to its identity information and be set to controlled
It is standby to be automatically controlled, so as to all carry out authentication when receiving voice every time, and according to the identity information pair verified
Controlled device is controlled, and the timely judgement to identity can be achieved and carry out specific control to controlled device using user identity,
To avoid the occurrence of control mistake, the problems such as controlling of exceeding one's powers.
As shown in figure 3, in one embodiment, the step S103 shown in above-mentioned Fig. 1, i.e., when identity information to be verified with it is more
When any default identity information matches in individual default identity information, it is allowed to which active user is according to any default identity information to quilt
Control equipment is controlled, and can be performed as:
In step S301, when identity information to be verified matches with any default identity information, obtain any default
History control information corresponding to identity information, wherein, history control information includes at least one of following:The personal letter of active user
Breath, the control authority of active user, the history of active user control custom;
Wherein, each user may be different to the control authority and control custom of controlled device, and any obtaining this
After history control information corresponding to default identity information, the user can be made to be carried out according to its distinctive control information to controlled device
Specific control.
In step s 302, it is allowed to which active user is controlled according to history control information to controlled device.
When identity information to be verified and any default identity information match, it is corresponding that any default identity information can be obtained
History control information, allow for active user to be controlled according to history control information to controlled device, so that user
Controlled device can be automatically controlled according to their own distinctive history control information, make each use per family can be to specified quilt
Control equipment and carry out specific control, to avoid control mistake, the problems such as controlling of exceeding one's powers.
In one embodiment, when identity information to be verified and any default identity information phase in multiple default identity informations
During matching, it is allowed to active user is controlled according to any default identity information to controlled device, including:
When identity information to be verified and any default identity information match, the control instruction in voice is obtained;
Active user is allowed to be controlled according to control instruction and any default identity information to controlled device.
When identity information to be verified and any default identity information match, the control instruction in voice can be obtained, is entered
And allow active user to be automatically controlled according to the control instruction and any default identity information to controlled device, so that user
Specific control can be carried out to controlled device according to the instruction of its identity information and input, to avoid control mistake, control of exceeding one's powers
The problems such as processed.
As shown in figure 4, the present invention also provides a kind of plant control unit, including:
First acquisition module 401, it is configured as when receiving voice, identity information to be verified is obtained according to voice;
Matching module 402, it is configured as being matched identity information to be verified with multiple default identity informations;
Control module 403, it is configured as identity information to be verified and any default identity in multiple default identity informations
During information match, it is allowed to which active user is controlled according to any default identity information to controlled device.
In one embodiment, device also includes:
Second acquisition module, it is configured as obtaining the acoustic feature of each user;
Determining module, it is configured as the acoustic feature of each user being defined as the default identity information of each user.
In one embodiment, the first acquisition module includes:
First acquisition submodule, it is configured as when receiving voice, the acoustic feature of active user is extracted according to voice;
Matching module includes:
Matched sub-block, it is configured as being matched the acoustic feature of active user with default multiple acoustic features;
Determination sub-module, it is configured as the acoustic feature of active user and any acoustic feature in multiple acoustic features
Similarity when being higher than default similarity, the acoustic feature and any acoustic feature that determine active user match.
As shown in figure 5, in one embodiment, the control module 403 shown in above-mentioned Fig. 4 can include:
Submodule 4031 is handled, it is extensive when being configured as identity information to be verified and any default identity information and matching
Control that is multiple or re-establishing between active user and controlled device connects;
First control submodule 4032, it is configured as allowing active user to be connected according to any default identity information and control
Controlled device is controlled.
As shown in fig. 6, in one embodiment, the control module 403 shown in above-mentioned Fig. 4 can include:
Second acquisition submodule 4033, it is configured as identity information to be verified and matches with any default identity information
When, history control information corresponding to any default identity information is obtained, wherein, history control information includes at least one of following:
The personal information of active user, the control authority of active user, the history of active user control custom;
Second control submodule 4034, it is configured as allowing active user to carry out controlled device according to history control information
Control.
In one embodiment, control module includes:
3rd acquisition submodule, when being configured as identity information to be verified and any default identity information and matching, obtain
Take the control instruction in voice;
3rd control submodule, it is configured as allowing active user according to control instruction and any default identity information to quilt
Control equipment is controlled.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Finally, the plant control unit in the present invention is applied to terminal device.For example, it may be mobile phone, computer,
Digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant
Deng.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.