CN107393528B - Voice control method and device - Google Patents

Voice control method and device Download PDF

Info

Publication number
CN107393528B
CN107393528B CN201710526054.5A CN201710526054A CN107393528B CN 107393528 B CN107393528 B CN 107393528B CN 201710526054 A CN201710526054 A CN 201710526054A CN 107393528 B CN107393528 B CN 107393528B
Authority
CN
China
Prior art keywords
electronic equipment
voice control
target
identity
area network
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.)
Active
Application number
CN201710526054.5A
Other languages
Chinese (zh)
Other versions
CN107393528A (en
Inventor
钱庄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710526054.5A priority Critical patent/CN107393528B/en
Publication of CN107393528A publication Critical patent/CN107393528A/en
Application granted granted Critical
Publication of CN107393528B publication Critical patent/CN107393528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The present disclosure provides a voice control method and device, the voice control method comprising: acquiring an identity of an electronic device in a target local area network; generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network; acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment; and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction. Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.

Description

Voice control method and device
Technical Field
The present disclosure relates to the field of electronic communications technologies, and in particular, to a voice control method and apparatus.
Background
With the development of technology, more and more electronic devices can be remotely controlled through a network. Since many electronic devices are commonly used, for example, printers, computers, projectors in offices, televisions, set-top boxes in homes, etc., if they are controlled by only one user, they are inconvenient to use. Thus, many electronic devices are capable of open control, for example, by voice control. When open control is carried out on the electronic equipment, identity authentication is not needed, and the electronic equipment can be controlled by anyone, and one voice control device is bound with one account number and can control a plurality of electronic equipment corresponding to the account number. During use, one account may bind electronic devices in multiple locations, such as a company, a home, and the like. If all electronic devices bound to the account are controlled by the voice control device, many misoperation occurs, and the potential safety hazard is also caused, for example, the electronic devices at home are controlled by a company, or the electronic devices at home of a user can be controlled by colleagues.
Disclosure of Invention
The embodiment of the disclosure provides a voice control method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a voice control method applied to a voice control apparatus, the method including:
acquiring an identity of an electronic device in a target local area network;
generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network;
acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment;
and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction.
Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.
In one embodiment, obtaining voice control instructions comprises:
collecting the sound emitted by a user through a microphone;
performing voice recognition on a sound made by a user;
and generating a voice control instruction according to the voice recognition result.
The microphone collects the sound emitted by the user and carries out voice recognition to generate a control instruction, so that the user can use the microphone more conveniently.
In one embodiment, obtaining the identity of the electronic device in the target lan includes:
and receiving identification information sent by the electronic equipment in the target local area network, wherein the identification information comprises the identity of the electronic equipment in the target local area network.
The electronic equipment sends the identification information to the voice control device through the target local area network, so that the voice control device can more accurately determine which electronic equipment is the electronic equipment in the target local area network, and the effect of reducing potential safety hazards is better.
In one embodiment, the voice control device accesses the target local area network, and the method further comprises:
and sending broadcast information to the electronic equipment in the target local area network, wherein the broadcast information comprises the identity of the voice control device.
The voice control device actively sends the broadcast information to count the electronic equipment in the target local area network through the target local area network, the voice control device determines when to count, and the counting is carried out when the user needs, so that the working efficiency of the voice control device is improved.
In one embodiment, generating a white list according to the identity of the electronic device in the target lan includes:
determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network;
and recording the identification of the candidate electronic equipment in a list to generate a white list.
The electronic equipment in the target local area network may not completely support voice control, the electronic equipment supporting voice control is screened out to serve as candidate electronic equipment, and when the white list is searched, the workload of the voice control device is reduced, and the working efficiency is improved.
In one embodiment, the method further comprises:
and modifying the white list according to a setting instruction input by a user, wherein the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
The user can also modify the white list according to the self requirement, so that the user can select which electronic equipment is more flexibly controlled, and different requirements of the user are met.
According to a second aspect of the embodiments of the present disclosure, there is provided a voice control apparatus including: the system comprises an identity identification module, a white list module, an instruction module and a control module;
the identity identification module is used for acquiring the identity identification of the electronic equipment in the target local area network;
the white list module is used for generating a white list according to the identity of the electronic equipment in the target local area network, the white list is used for indicating the electronic equipment allowing voice control, and the white list comprises at least one identity of the electronic equipment in the target local area network;
the instruction module is used for acquiring a voice control instruction, and the voice control instruction is used for indicating the control of the target electronic equipment;
and the control module is used for controlling the target electronic equipment according to the voice control instruction when the white list contains the identity of the target electronic equipment.
In one embodiment, the identity module includes a receiving sub-module;
and the receiving submodule is used for receiving the identification information sent by the electronic equipment in the target local area network, and the identification information comprises the identity of the electronic equipment in the target local area network.
In one embodiment, the voice control device accesses a target local area network, and the voice control device further comprises a sending module;
and the sending module is used for sending broadcast information to the electronic equipment in the target local area network, wherein the broadcast information comprises the identity of the voice control device.
In one embodiment, the whitelist module includes a candidate sub-module and a list sub-module;
the candidate submodule is used for determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network;
and the list submodule is used for recording the identification of the candidate electronic equipment in the list to generate a white list.
In one embodiment, the instruction module comprises a voice acquisition sub-module, a voice recognition sub-module and a generation sub-module;
the voice acquisition submodule is used for acquiring the voice sent by the user through the microphone;
the voice recognition submodule is used for carrying out voice recognition on the voice sent by the user;
and the generating submodule is used for generating a voice control instruction according to the voice recognition result.
In one embodiment, the voice control apparatus further comprises a modification module;
and the modification module is used for modifying the white list according to a setting instruction input by a user, and the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
According to a third aspect of the embodiments of the present disclosure, there is provided a voice control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an identity of an electronic device in a target local area network;
generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network;
acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment;
and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction.
In one embodiment, the processor may be further configured to:
collecting the sound emitted by a user through a microphone;
performing voice recognition on a sound made by a user;
and generating a voice control instruction according to the voice recognition result.
In one embodiment, the processor may be further configured to:
and receiving identification information sent by the electronic equipment in the target local area network, wherein the identification information comprises the identity of the electronic equipment in the target local area network.
In one embodiment, the voice-controlled device accesses the target lan, and the processor may be further configured to:
and sending broadcast information to the electronic equipment in the target local area network, wherein the broadcast information comprises the identity of the voice control device.
In one embodiment, the processor may be further configured to:
determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network;
and recording the identification of the candidate electronic equipment in a list to generate a white list.
In one embodiment, the processor may be further configured to:
and modifying the white list according to a setting instruction input by a user, wherein the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the voice control method described in the first aspect or any one of the first aspect embodiments.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of voice control according to an exemplary embodiment;
FIG. 2 is an interaction diagram illustrating a method of voice control in accordance with an exemplary embodiment;
FIG. 3 is a block diagram illustrating a voice-controlled apparatus in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating a voice-controlled apparatus in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a voice-controlled apparatus in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a voice-controlled apparatus in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating a voice-controlled apparatus in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a voice-controlled apparatus in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating a voice-controlled apparatus in accordance with an exemplary embodiment;
fig. 10 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In voice control, electronic equipment in multiple positions may be bound to one account, so that misoperation is easy to occur when a user controls the electronic equipment through a voice control device, and potential safety hazards are caused. The voice control method provided by the embodiment of the disclosure is applied to a voice control device, and comprises the following steps: acquiring an identity of an electronic device in a target local area network; generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network; acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment; and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction. Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.
Fig. 1 is a flowchart illustrating a voice control method applied to a voice control device, which may be a smart phone, a tablet computer, a smart watch, or the like, according to an exemplary embodiment. As shown in fig. 1, the voice control method includes steps 101-104:
in step 101, an identity of an electronic device in a target lan is obtained.
It should be noted that the target lan may be a lan to which the voice control apparatus belongs, that is, the voice control apparatus has access to the target lan, or the voice control apparatus has not access to the target lan, and the voice control apparatus may control the electronic device in the target lan through the internet. The Identity (ID) of the electronic device may include at least one of an Internet Protocol (IP) address of the electronic device, a Media Access Control (MAC) address of the electronic device, and the like.
In one embodiment, obtaining the identity of the electronic device in the target lan includes: and receiving identification information sent by the electronic equipment in the target local area network, wherein the identification information comprises the identity of the electronic equipment in the target local area network.
The electronic equipment sends the identification information to the voice control device through the target local area network, so that the voice control device can more accurately determine which electronic equipment is the electronic equipment in the target local area network, and the effect of reducing potential safety hazards is better.
Further, in an embodiment, the voice control apparatus may access the target lan, and the method further includes: and sending broadcast information to the electronic equipment in the target local area network, wherein the broadcast information comprises the identity of the voice control device.
The voice control device actively sends the broadcast information to count the electronic equipment in the target local area network through the target local area network, the voice control device determines when to count, and the counting is carried out when the user needs, so that the working efficiency of the voice control device is improved.
In step 102, a white list is generated according to the identity of the electronic device in the target local area network.
The white list is used for indicating the electronic equipment allowing the voice control, and comprises the identity of the electronic equipment in at least one target local area network.
In one embodiment, generating a white list according to the identity of the electronic device in the target lan includes: determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network; and recording the identification of the candidate electronic equipment in a list to generate a white list.
Electronic equipment in the target local area network may not be completely voice-controlled, the electronic equipment supporting voice control is screened out to be used as candidate electronic equipment, and when the target electronic equipment is to be controlled by receiving a voice control instruction, whether the target electronic equipment is included in the white list is searched, and the electronic equipment supporting voice control is screened out from the white list, so that the searching amount is reduced, and the searching efficiency is improved.
It should be noted that the user may also modify the white list according to the needs of the user, for example, in an embodiment, the method further includes: and modifying the white list according to a setting instruction input by a user, wherein the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
The user can delete the electronic equipment which does not need to be controlled in the white list, and can also add the electronic equipment outside the target local area network in the white list.
In step 103, a voice control instruction is obtained.
The voice control instruction is used for indicating to control the target electronic equipment.
The specific way of acquiring the voice control command can be various, and two specific implementations are listed here for explanation:
in a first implementation manner, acquiring a voice control instruction includes: collecting the sound emitted by a user through a microphone; performing voice recognition on a sound made by a user; and generating a voice control instruction according to the voice recognition result. The microphone collects the sound emitted by the user and carries out voice recognition to generate a control instruction, so that the user can use the microphone more conveniently.
It should be noted that, when the user controls through the sound, the voice control device includes a sound pickup, so that the user can collect the sound, and the collected sound can be sent by a person or sent by a person using other equipment, for example, the user records the sound in advance and then plays the sound through an audio playing device. The voice control device can also comprise a loudspeaker, the loudspeaker can play collected sound, the sound played by the loudspeaker is obtained by converting the sound collected by the pickup into an electric signal and then converting the electric signal into sound waves through the loudspeaker for releasing, and therefore, a user can judge whether the sound is correct or not according to the sound played by the loudspeaker.
In step 104, when the white list includes the identification of the target electronic device, the target electronic device is controlled according to the voice control instruction.
It should be noted that, controlling the target electronic device according to the voice control instruction can be applied to different application scenarios, and two specific application scenarios are listed here for description:
in the first application scenario, both the voice control device and the target electronic device are connected to the target local area network, the voice control device sends a voice control instruction to the target electronic device through the target local area network, and the electronic device receives the voice control instruction and then responds to the voice control instruction and executes corresponding operations.
In a second application scenario, the voice control device is connected to the internet, the target electronic device is connected to the internet through a target lan, and the voice control device may also be connected to the target lan, which is not limited herein. The voice control device sends a voice control instruction to a server in the Internet, the server sends the voice control instruction to the target electronic equipment, and the target electronic equipment responds to the voice control instruction and executes corresponding operation after receiving the voice control instruction.
Of course, this is by way of example only and does not represent a limitation of the present disclosure.
The voice control method provided by the embodiment of the disclosure acquires the identity of the electronic equipment in the target local area network; generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network; acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment; and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction. Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.
Based on the voice control method provided by the embodiment corresponding to fig. 1, fig. 2 is an interaction diagram of a voice control method shown according to an exemplary embodiment, and is applied to a voice control apparatus, a target electronic device and a server, in this embodiment, both the voice control apparatus and the target electronic device are accessed to a target lan, and referring to fig. 2, the voice control method provided by this embodiment includes steps 201 and 208:
in step 201, the voice control apparatus transmits broadcast information to the electronic device within the target lan.
The broadcast information includes an identification of the voice control device. Since the target electronic device also belongs to the target local area network, the target electronic device can also receive the broadcast information.
In step 202, the target electronic device sends its own identification information to the voice control apparatus.
The identification information of the target electronic device includes an identification of the target electronic device.
In step 203, the voice control apparatus generates a white list according to the identity of the electronic device in the target lan.
The voice control device may determine a candidate electronic device supporting voice control among the electronic devices within the target lan; and recording the identification of the candidate electronic equipment in a list to generate a white list.
In step 204, the voice control device modifies the white list according to the setting instruction input by the user.
The setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list. The user may add an electronic device outside the target lan to the white list, or delete an electronic device in the target lan from the white list, which is not limited by the present disclosure.
In step 205, the voice control device collects the voice uttered by the user, performs voice recognition on the voice uttered by the user, and generates a voice control command according to the result of the voice recognition.
It should be noted that, before the user controls the electronic device through the voice control device, the user needs to log in a target account on the voice control device, and when the user logs in the target account, information interaction is performed between the voice control device and the server, and the user identity is verified and logged in.
In step 206, the voice control apparatus transmits a voice control command to the server.
The voice control instruction may include an identification of the target account, an identification of the target electronic device, an identification of the voice control apparatus, and the like.
In step 207, the server sends a voice control instruction to the target electronic device.
After receiving the voice control instruction, the server may determine, in a preset mapping, electronic equipment that can be controlled by the target account according to the identity of the target account included in the voice control instruction, then determine, in the electronic equipment that can be controlled by the target account, the target electronic equipment according to the identity of the target electronic equipment, and then send the voice control instruction to the target electronic equipment.
It should be noted that, the information sent in step 206 and step 207 is the same voice control command, which only represents that the indicated function is the same, and the two voice control commands may have different structures and may also contain different contents, which is not limited in this disclosure.
In step 208, after receiving the voice control command, the target electronic device responds to the voice control command and performs a corresponding operation.
The voice control method provided by the embodiment of the disclosure acquires the identity of the electronic equipment in the target local area network; generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network; acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment; and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction. Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 3 is a block diagram illustrating a voice control apparatus according to an exemplary embodiment, which may be implemented by software, hardware or a combination of the two as part or all of the voice control apparatus, which is used to perform the voice control method described in the above embodiment corresponding to fig. 1 and 2. As shown in fig. 4, the voice control device 30 includes: an identity module 301, a white list module 302, an instruction module 303 and a control module 304;
the identity identification module 301 is configured to obtain an identity of an electronic device in a target local area network;
a white list module 302, configured to generate a white list according to the identity of the electronic device in the target lan, where the white list is used to indicate an electronic device that allows voice control, and the white list includes at least one identity of the electronic device in the target lan;
the instruction module 303 is configured to obtain a voice control instruction, where the voice control instruction is used to instruct a target electronic device to be controlled;
and the control module 304 is configured to control the target electronic device according to the voice control instruction when the white list includes the identity of the target electronic device.
In one embodiment, as shown in fig. 4, fig. 4 is a block diagram of a voice control apparatus according to an exemplary embodiment, and the instruction module 303 includes a voice acquisition sub-module 3031, a voice recognition sub-module 3032 and a generation sub-module 3033;
a voice collecting submodule 3031, configured to collect, by using a microphone, a sound emitted by a user;
a voice recognition sub-module 3032, configured to perform voice recognition on a sound emitted by a user;
and a generating submodule 3033, configured to generate a voice control instruction according to a result of the voice recognition.
In one embodiment, as shown in fig. 5, fig. 5 is a block diagram of a voice-controlled apparatus according to an exemplary embodiment, and the identity module 301 includes a receiving sub-module 3011;
the receiving submodule 3011 is configured to receive identification information sent by an electronic device in a target lan, where the identification information includes an identity of the electronic device in the target lan.
In one embodiment, the voice control apparatus accesses the target lan, as shown in fig. 6, fig. 6 is a block diagram of a voice control apparatus according to an exemplary embodiment, and the voice control apparatus 30 further includes a sending module 305;
a sending module 305, configured to send broadcast information to the electronic device in the target lan, where the broadcast information includes an identity of the voice control apparatus.
In one embodiment, as shown in fig. 7, fig. 7 is a block diagram of a voice control apparatus according to an exemplary embodiment, the whitelist module 302 includes a candidate sub-module 3021 and a list sub-module 3022;
a candidate sub-module 3021 configured to determine a candidate electronic device supporting voice control among the electronic devices in the target local area network;
a list submodule 3022, configured to record the identifiers of the candidate electronic devices in a list to generate a white list.
In one embodiment, as shown in FIG. 8, FIG. 8 is a block diagram of a voice control apparatus shown according to an exemplary embodiment, the voice control apparatus 30 further includes a modification module 306;
and the modifying module 306 is configured to modify the white list according to a setting instruction input by the user, where the setting instruction is used to instruct to add or delete the identity of the electronic device on the white list.
The voice control device provided by the embodiment of the disclosure acquires the identity of the electronic equipment in the target local area network; generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network; acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment; and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction. Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.
Fig. 9 is a block diagram illustrating a voice control apparatus according to an exemplary embodiment, which may be implemented by software, hardware or a combination of the two as part or all of the voice control apparatus for performing the voice control method described in the above embodiment corresponding to fig. 1 and 2. As shown in fig. 9, the voice control device 90 includes:
a processor 901;
a memory 902 for storing instructions executable by the processor 901;
wherein the processor 901 is configured to:
acquiring an identity of an electronic device in a target local area network;
generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network;
acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment;
and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction.
In one embodiment, the processor 901 may be further configured to:
collecting the sound emitted by a user through a microphone;
performing voice recognition on a sound made by a user;
and generating a voice control instruction according to the voice recognition result.
In one embodiment, the processor 901 may be further configured to:
and receiving identification information sent by the electronic equipment in the target local area network, wherein the identification information comprises the identity of the electronic equipment in the target local area network.
In one embodiment, the voice controlling apparatus accesses the target lan, and the processor 901 may be further configured to:
and sending broadcast information to the electronic equipment in the target local area network, wherein the broadcast information comprises the identity of the voice control device.
In one embodiment, the processor 901 may be further configured to:
determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network;
and recording the identification of the candidate electronic equipment in a list to generate a white list.
In one embodiment, the processor 901 may be further configured to:
and modifying the white list according to a setting instruction input by a user, wherein the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
The voice control device provided by the embodiment of the disclosure acquires the identity of the electronic equipment in the target local area network; generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network; acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment; and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction. Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.
The voice control apparatus provided in the embodiment of the present disclosure may be a terminal device as shown in fig. 10, where fig. 10 is a block diagram of a terminal device shown according to an exemplary embodiment, the terminal device 100 may be a smart phone, a tablet computer, and the like, and the terminal device 100 is configured to execute the voice control method described in the embodiment corresponding to fig. 1 and fig. 2.
Terminal device 100 may include one or more of the following components: processing component 1001, memory 1002, power component 1003, multimedia component 1004, audio component 1005, interface to input/output (I/O) 1006, sensor component 1007, and communication component 1008.
The processing component 1001 generally controls the overall operation of the terminal device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1001 may include one or more processors 10011 to execute instructions to perform all or a portion of the steps of the method described above. Further, the processing component 1001 may include one or more modules that facilitate interaction between the processing component 1001 and other components. For example, the processing component 1001 may include a multimedia module to facilitate interaction between the multimedia component 1004 and the processing component 1001.
The memory 1002 is configured to store various types of data to support the operation at the terminal device 100. Examples of such data include instructions for any application or method operating on the terminal device 100, contact data, phonebook data, information, pictures, videos, and the like. The Memory 1002 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
The power supply component 1003 provides power to the various components of the terminal device 100. The power components 1003 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal device 100.
The multimedia component 1004 includes a screen providing an output interface between the terminal device 100 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1004 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal device 100 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1005 is configured to output and/or input audio signals. For example, the audio component 1005 includes a Microphone (MIC) configured to receive an external audio signal when the terminal device 100 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1002 or transmitted via the communication component 1008. In some embodiments, audio component 1005 also includes a speaker for outputting audio signals.
The I/O interface 1006 provides an interface between the processing component 1001 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1007 includes one or more sensors for providing various aspects of status assessment for terminal device 100. For example, the sensor assembly 1007 may detect an open/closed state of the terminal device 100, relative positioning of components such as a display and a keypad of the terminal device 100, a change in position of the terminal device 100 or a component of the terminal device 100, presence or absence of user contact with the terminal device 100, orientation or acceleration/deceleration of the terminal device 100, and a change in temperature of the terminal device 100. The sensor assembly 1007 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1007 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1007 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1008 is configured to facilitate communication between the terminal device 100 and other devices in a wired or wireless manner. The terminal device 100 may access a Wireless network based on a communication standard, such as Wireless-Fidelity (WiFi), 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1008 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 1008 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal Device 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is configured to perform the voice control method described in the embodiment corresponding to fig. 1 and 2.
The disclosed embodiments also provide a computer-readable storage medium, such as the memory 1002 comprising instructions executable by the processing component 1001 of the terminal device 100 to perform the voice control method described in the corresponding embodiments of fig. 1 and 2. The computer-readable storage medium may be, for example, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like. The instructions in the computer-readable storage medium, when executed by the processing component 1001 of the terminal device 100, enable the terminal device 100 to perform the voice control method described in the corresponding embodiments of fig. 1 and 2 above, the method comprising:
acquiring an identity of an electronic device in a target local area network;
generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network;
acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment;
and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction.
In one embodiment, obtaining voice control instructions comprises:
collecting the sound emitted by a user through a microphone;
performing voice recognition on a sound made by a user;
and generating a voice control instruction according to the voice recognition result.
In one embodiment, obtaining the identity of the electronic device in the target lan includes:
and receiving identification information sent by the electronic equipment in the target local area network, wherein the identification information comprises the identity of the electronic equipment in the target local area network.
In one embodiment, the voice control device accesses the target local area network, and the method further comprises:
and sending broadcast information to the electronic equipment in the target local area network, wherein the broadcast information comprises the identity of the voice control device.
In one embodiment, generating a white list according to the identity of the electronic device in the target lan includes:
determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network;
and recording the identification of the candidate electronic equipment in a list to generate a white list.
In one embodiment, the method further comprises:
and modifying the white list according to a setting instruction input by a user, wherein the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
The terminal device provided by the embodiment of the disclosure acquires the identity of the electronic device in the target local area network; generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control and comprises at least one identity of the electronic equipment in the target local area network; acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control the target electronic equipment; and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction. Because the electronic equipment allowing voice control is the electronic equipment in the target local area network, the electronic equipment outside the target local area network cannot be controlled by voice, so that a user can only control the electronic equipment in the target local area network, the potential safety hazard is reduced, meanwhile, misoperation is reduced, and the user experience is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A voice control method is applied to a voice control device, and the method comprises the following steps:
acquiring an identity of an electronic device in a target local area network;
generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control, and comprises at least one identity of the electronic equipment in the target local area network;
acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control a target electronic device;
and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction.
2. The method of claim 1, wherein the obtaining the voice control instruction comprises:
collecting the sound emitted by a user through a microphone;
performing voice recognition on the voice made by the user;
and generating the voice control instruction according to the voice recognition result.
3. The method of claim 1, wherein obtaining the identity of the electronic device in the target lan comprises:
and receiving identification information sent by the electronic equipment in the target local area network, wherein the identification information comprises the identity of the electronic equipment in the target local area network.
4. The method of claim 3, wherein the voice-controlled device accesses the target local area network, the method further comprising:
and sending broadcast information to the electronic equipment in the target local area network, wherein the broadcast information comprises the identity of the voice control device.
5. The method of claim 1, wherein generating a white list according to the identity of the electronic device in the target lan comprises:
determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network;
recording the identification of the candidate electronic device in a list to generate the white list.
6. The method according to any one of claims 1-5, further comprising:
and modifying the white list according to a setting instruction input by a user, wherein the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
7. A voice control apparatus, comprising: the system comprises an identity identification module, a white list module, an instruction module and a control module;
the identity identification module is used for acquiring the identity identification of the electronic equipment in the target local area network;
the white list module is used for generating a white list according to the identity of the electronic equipment in the target local area network, the white list is used for indicating the electronic equipment allowing voice control, and the white list comprises at least one identity of the electronic equipment in the target local area network;
the instruction module is used for acquiring a voice control instruction, and the voice control instruction is used for instructing to control the target electronic equipment;
and the control module is used for controlling the target electronic equipment according to the voice control instruction when the white list contains the identity of the target electronic equipment.
8. The apparatus of claim 7, wherein the instruction module comprises a voice acquisition sub-module and a voice recognition sub-module and a generation sub-module;
the voice acquisition submodule is used for acquiring the voice sent by the user through a microphone;
the voice recognition submodule is used for carrying out voice recognition on the voice sent by the user;
and the generating submodule is used for generating the voice control instruction according to the voice recognition result.
9. The apparatus of claim 7, wherein the identity module comprises a receiving sub-module;
the receiving submodule is configured to receive identification information sent by the electronic device in the target local area network, where the identification information includes an identity of the electronic device in the target local area network.
10. The apparatus of claim 9, wherein the voice control apparatus accesses the target lan, the voice control apparatus further comprising a sending module;
the sending module is configured to send broadcast information to the electronic device in the target lan, where the broadcast information includes an identity of the voice control apparatus.
11. The apparatus of claim 7, wherein the whitelist module comprises a candidate sub-module and a list sub-module;
the candidate submodule is used for determining candidate electronic equipment supporting voice control in the electronic equipment in the target local area network;
the list sub-module is configured to record the identifier of the candidate electronic device in a list to generate the white list.
12. The apparatus of any of claims 7-11, wherein the voice control apparatus further comprises a modification module;
the modification module is used for modifying the white list according to a setting instruction input by a user, wherein the setting instruction is used for indicating that the identity of the electronic equipment is added or deleted on the white list.
13. A voice control apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an identity of an electronic device in a target local area network;
generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control, and comprises at least one identity of the electronic equipment in the target local area network;
acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control a target electronic device;
and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction.
14. A computer readable storage medium having computer instructions stored thereon which, when executed by a processor, perform the steps of:
acquiring an identity of an electronic device in a target local area network;
generating a white list according to the identity of the electronic equipment in the target local area network, wherein the white list is used for indicating the electronic equipment allowing voice control, and comprises at least one identity of the electronic equipment in the target local area network;
acquiring a voice control instruction, wherein the voice control instruction is used for indicating to control a target electronic device;
and when the white list contains the identity of the target electronic equipment, controlling the target electronic equipment according to the voice control instruction.
CN201710526054.5A 2017-06-30 2017-06-30 Voice control method and device Active CN107393528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710526054.5A CN107393528B (en) 2017-06-30 2017-06-30 Voice control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710526054.5A CN107393528B (en) 2017-06-30 2017-06-30 Voice control method and device

Publications (2)

Publication Number Publication Date
CN107393528A CN107393528A (en) 2017-11-24
CN107393528B true CN107393528B (en) 2021-01-15

Family

ID=60334864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710526054.5A Active CN107393528B (en) 2017-06-30 2017-06-30 Voice control method and device

Country Status (1)

Country Link
CN (1) CN107393528B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109065065A (en) * 2018-09-27 2018-12-21 南昌努比亚技术有限公司 Call method, mobile terminal and computer readable storage medium
CN109243448A (en) * 2018-10-16 2019-01-18 珠海格力电器股份有限公司 A kind of sound control method and device
CN111477227A (en) * 2020-04-07 2020-07-31 四川虹美智能科技有限公司 Voice interaction method and system for voice intelligent household appliance and voice intelligent household appliance
CN115021966A (en) * 2022-05-06 2022-09-06 深圳比特微电子科技有限公司 Voice access method, user access equipment and remote system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255780A (en) * 2010-05-20 2011-11-23 株式会社曙飞电子 Home network system and control method
CN102752748A (en) * 2012-06-26 2012-10-24 中国联合网络通信集团有限公司 Data transmission method and system based on mobile terminal and mobile terminal
CN102760433A (en) * 2012-07-06 2012-10-31 广东美的制冷设备有限公司 Sound control remote controller and control method of networked household appliances
CN103472990A (en) * 2013-08-27 2013-12-25 小米科技有限责任公司 Appliance, and method and device for controlling same
CN104486123A (en) * 2014-12-18 2015-04-01 北京奇虎科技有限公司 Method, device and system for managing black lists and white lists
CN104885406A (en) * 2012-12-18 2015-09-02 三星电子株式会社 Method and device for controlling home device remotely in home network system
CN105024997A (en) * 2015-05-29 2015-11-04 广东美的制冷设备有限公司 Method and device for associating control terminal with controlled terminal
CN105810189A (en) * 2016-03-22 2016-07-27 北京京东尚科信息技术有限公司 Equipment voice control method, device and system
CN106448658A (en) * 2016-11-17 2017-02-22 海信集团有限公司 Voice control method of intelligent home equipment, as well as intelligent home gateway
CN106601248A (en) * 2017-01-20 2017-04-26 浙江小尤鱼智能技术有限公司 Smart home system based on distributed voice control

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007065347A (en) * 2005-08-31 2007-03-15 Denso Corp Speech recognition system
US9305553B2 (en) * 2010-04-28 2016-04-05 William S. Meisel Speech recognition accuracy improvement through speaker categories
CN104427109B (en) * 2013-08-30 2017-04-19 联想(北京)有限公司 Method for establishing contact item by voices and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255780A (en) * 2010-05-20 2011-11-23 株式会社曙飞电子 Home network system and control method
CN102752748A (en) * 2012-06-26 2012-10-24 中国联合网络通信集团有限公司 Data transmission method and system based on mobile terminal and mobile terminal
CN102760433A (en) * 2012-07-06 2012-10-31 广东美的制冷设备有限公司 Sound control remote controller and control method of networked household appliances
CN104885406A (en) * 2012-12-18 2015-09-02 三星电子株式会社 Method and device for controlling home device remotely in home network system
CN103472990A (en) * 2013-08-27 2013-12-25 小米科技有限责任公司 Appliance, and method and device for controlling same
CN104486123A (en) * 2014-12-18 2015-04-01 北京奇虎科技有限公司 Method, device and system for managing black lists and white lists
CN105024997A (en) * 2015-05-29 2015-11-04 广东美的制冷设备有限公司 Method and device for associating control terminal with controlled terminal
CN105810189A (en) * 2016-03-22 2016-07-27 北京京东尚科信息技术有限公司 Equipment voice control method, device and system
CN106448658A (en) * 2016-11-17 2017-02-22 海信集团有限公司 Voice control method of intelligent home equipment, as well as intelligent home gateway
CN106601248A (en) * 2017-01-20 2017-04-26 浙江小尤鱼智能技术有限公司 Smart home system based on distributed voice control

Also Published As

Publication number Publication date
CN107393528A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
KR101767203B1 (en) Method, apparatus, control device, smart device, program and computer-readable recording medium for controlling voice of smart device
CN107391273B (en) Message display method, message pushing method and device
US9769667B2 (en) Methods for controlling smart device
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
KR101799894B1 (en) Method, client terminal, program and recording medium for remote assistance
EP3065428A1 (en) Method and device for displaying wifi list
CN105487389A (en) Method and device for controlling intelligent equipment
KR101727249B1 (en) Method, device, program and recording medium for testing terminal
CN107393528B (en) Voice control method and device
CN104460365A (en) Equipment control method and device
CN105243318A (en) User equipment control right determining method and apparatus and terminal device
EP3276910A1 (en) Bluetooth-based identity recognition method and device
JP6149163B2 (en) WI-FI network connection method, apparatus, program, and recording medium
CN105120099A (en) Shooting control method and device
EP2985980B1 (en) Method and device for playing stream media data
EP3226432A1 (en) Method and device for sharing media data between terminals
CN104618511A (en) Intelligent device detection method and device
CN104038536A (en) Plug-in communication method and device
CN105159523A (en) Target function enabling method, apparatus and system
CN105100074A (en) Data operation processing method, device and terminal equipment
JP2017514428A (en) Network connection method, apparatus, program, and recording medium
US20170339545A1 (en) Method and apparatus for accessing wireless network
CN104837154A (en) Wireless access point control method and device
CN104618267A (en) Access control method and device
CN105430715A (en) Method and apparatus for controlling WIFI scanning

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
GR01 Patent grant
GR01 Patent grant