CN108986807B - Device control method and apparatus, storage medium, and electronic apparatus - Google Patents

Device control method and apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN108986807B
CN108986807B CN201810918053.XA CN201810918053A CN108986807B CN 108986807 B CN108986807 B CN 108986807B CN 201810918053 A CN201810918053 A CN 201810918053A CN 108986807 B CN108986807 B CN 108986807B
Authority
CN
China
Prior art keywords
instruction
voice
voice instruction
key information
target
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
CN201810918053.XA
Other languages
Chinese (zh)
Other versions
CN108986807A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810918053.XA priority Critical patent/CN108986807B/en
Publication of CN108986807A publication Critical patent/CN108986807A/en
Application granted granted Critical
Publication of CN108986807B publication Critical patent/CN108986807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • 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
    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a device control method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a first voice instruction, wherein the first voice instruction is used for indicating the household appliance to execute target operation; under the condition that the first voice command is a command of a target type, authenticating the first voice command, and under the condition that the first voice command passes the authentication, instructing the household appliance to execute a target operation indicated by the first voice command; and in the case that the first voice instruction is not the target type instruction, instructing the household appliance to execute the target operation indicated by the first voice instruction. The invention solves the problem of lower safety of voice control on the household electrical appliance in the related technology.

Description

Device control method and apparatus, storage medium, and electronic apparatus
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for controlling a device, a storage medium, and an electronic apparatus.
Background
With the continuous development and progress of computer technology and big data processing technology, the voice recognition technology is rapidly developed and widely applied to the field of voice control of intelligent household appliances. For the intelligent household electrical appliances with the voice control function, the user can control the intelligent household electrical appliances by sending voice instructions, for example, the user can control the refrigerator to open the door and adjust the refrigeration temperature of the refrigerator through the voice instructions.
At present, the voice control function of an intelligent household appliance is mainly realized based on an offline voice recognition technology, that is, a voice recognition program and a control command word are locally stored in the intelligent household appliance, after a voice instruction sent by a user is recognized by the voice recognition program, the control command word matched with the recognized voice instruction is determined, and then the control operation corresponding to the determined control command word is performed on the intelligent household appliance.
Aiming at the existing method for realizing the voice control of the intelligent household appliance, as long as the intelligent household appliance recognizes that the voice command has the corresponding control command word, the intelligent household appliance can be executed, so that certain potential safety hazards exist in equipment, for example, a child in a family can control a refrigerator randomly (the refrigerator is frequently changed among various states), the user account is controlled maliciously by people after being stolen, and the use experience of the user is poor.
Disclosure of Invention
The embodiment of the invention provides a device control method and device, a storage medium and an electronic device, which are used for at least solving the problem of low safety of voice control on household appliances in the related art.
According to an embodiment of the present invention, there is provided a method for controlling a device, which is applicable to a home appliance, the method including: acquiring a first voice instruction, wherein the first voice instruction is used for indicating the household appliance to execute target operation; under the condition that the first voice instruction is an instruction of a target type, authenticating the first voice instruction, and under the condition that the first voice instruction passes the authentication, executing target operation indicated by the first voice instruction; and in the case that the first voice instruction is not an instruction of the target type, executing the target operation indicated by the first voice instruction.
According to an embodiment of the present invention, there is provided a method for controlling a device, which is applicable to a server of a home appliance, the method including: acquiring a first voice instruction, wherein the first voice instruction is used for indicating the household appliance to execute target operation; under the condition that the first voice command is a command of a target type, authenticating the first voice command, and under the condition that the first voice command passes the authentication, instructing the household appliance to execute a target operation indicated by the first voice command; and in the case that the first voice instruction is not the target type instruction, instructing the household appliance to execute the target operation indicated by the first voice instruction.
According to another embodiment of the present invention, there is provided a control apparatus of a device including: the household appliance control device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a first voice instruction, and the first voice instruction is used for indicating the household appliance to execute target operation; the first execution unit is used for authenticating the first voice instruction under the condition that the first voice instruction is an instruction of a target type, and executing target operation indicated by the first voice instruction under the condition that the first voice instruction passes the authentication; and the second execution unit is used for executing the target operation indicated by the first voice instruction under the condition that the first voice instruction is not an instruction of the target type.
According to another embodiment of the present invention, there is provided a control apparatus of a device including: the second acquisition unit is used for acquiring a first voice instruction, wherein the first voice instruction is used for indicating the household appliance to execute target operation; the first indicating unit is used for authenticating the first voice command under the condition that the first voice command is a command of a target type, and indicating the household appliance to execute a target operation indicated by the first voice command under the condition that the first voice command passes the authentication; and the second indicating unit is used for indicating the household appliance to execute the target operation indicated by the first voice instruction under the condition that the first voice instruction is not an instruction of the target type.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, when the first voice command is obtained, the type of the first voice command is obtained, the first voice command is authenticated under the condition that the first voice command is a command of a target type, and the target operation indicated by the first voice command is executed under the condition that the first voice command passes the authentication; in the technical scheme of the application, the target operation indicated by the first voice instruction is executed under the condition that the first voice instruction is not a target type instruction, namely, in the case that part of voice instructions requiring permission are executed only after authentication is passed, the problem of low safety of voice control on household appliances in the related art is solved, and the safety of voice control on the household appliances is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal of a control method of an apparatus according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a network architecture for implementing a control method of a device according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative method of controlling the apparatus in accordance with an embodiment of the present invention;
FIG. 4 is a flow chart of an alternative method of controlling the apparatus in accordance with an embodiment of the present invention;
fig. 5 is a block diagram of a control device of the apparatus according to the embodiment of the present invention;
fig. 6 is a block diagram of a control device of an apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of a computer terminal (the computer terminal may exist in an intelligent household electrical appliance in the form of a control module), fig. 1 is a hardware structure block diagram of a computer terminal of a device control method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the control method of the device in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The embodiment of the present application may operate on the network architecture shown in fig. 2, as shown in fig. 2, the network architecture includes: the home appliance system comprises home appliances 201 (such as a refrigerator, a smart television, an electric cooker, an air conditioner and the like), a server 205 and a routing device 203, wherein the home appliances and the server can be connected through the routing device, and the home appliances are connected to the internet through the routing device, so that the server can control the home appliances through the internet.
With the development of voice recognition technology and artificial intelligence, many intelligent component devices have the function of voice interaction with users. The user can send out multiple voice commands to require the intelligent components to execute corresponding operations, and some commands may have certain particularity, such as privacy or certain harmfulness. In order to overcome the hidden danger, the present embodiment provides a method for controlling a device operating in a network architecture, and fig. 3 is a flowchart of an optional device control method according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
step S302, the home device acquires a first voice instruction, where the first voice instruction is used to instruct the home device to execute a target operation.
The household appliances are household intelligent appliances, such as an intelligent television, an intelligent fan, an intelligent air conditioner, an intelligent refrigerator and the like; the voice instruction (including the first voice instruction and the second voice instruction described below) is an instruction transmitted in a form of voice, and the voice instruction may be a specific instruction or a code, a logo, or the like of the instruction.
Step S304, under the condition that the first voice command is a command of a target type, the household appliance authenticates the first voice command, and under the condition that the first voice command passes the authentication, the household appliance executes the target operation indicated by the first voice command.
In order to selectively execute the instruction, it is necessary to set a right for the instruction issued by the user and perform a certain degree of screening operation. All voice commands can be divided into two types, namely a type which needs authentication (namely the target type) and a type which does not need authentication, and the type which needs authentication, namely the voice commands can be executed only after the authentication is passed, and the voice commands can not be executed if the authentication is not passed; for voice commands which do not need to be authenticated, the voice commands are directly executed without authentication when the voice commands are received.
Optionally, the instructions that can be recognized by the home appliance device may be divided into the two types, and stored in the home appliance device side or the server side in the form of a database, so that the home appliance device performs authentication using the database, where the authentication performed by the home appliance device on the first voice instruction includes, but is not limited to, the following two forms: one is that under the condition that the database is stored at the household appliance side, the household appliance directly compares the first voice commands with the voice commands in the database one by one, and the type of the matched voice command is used as the type of the first voice command; and secondly, matching is carried out through the server, the first voice command is sent to the server, the server compares the first voice command with the voice commands in the database one by one, the type of the matched voice command is used as the type of the first voice command, and the type of the first voice command is returned to the household appliance.
In step S306, if the first voice command is not a command of the target type, the home appliance performs a target operation indicated by the first voice command.
Through the steps, when the first voice command is obtained, the type of the first voice command is obtained, the first voice command is authenticated under the condition that the first voice command is a command of a target type, and the target operation indicated by the first voice command is executed under the condition that the first voice command passes the authentication; in the technical scheme of the application, the target operation indicated by the first voice instruction is executed under the condition that the first voice instruction is not a target type instruction, namely, in the case that part of voice instructions requiring permission are executed only after authentication is passed, the problem of low safety of voice control on household appliances in the related art is solved, and the safety of voice control on the household appliances is improved.
By adopting the technical scheme, the voice instruction permission is set, the response permission is directly responded to the common instruction, and the response permission is acquired by inputting the voice key to some special instructions, so that the voice key link between the host server and the component accessory of the intelligent household appliance can be realized, and further the privatization transmission of corresponding operation instructions and data between the host server and the component accessory is realized, so that the aim of controlling the component accessory to carry out corresponding privatization response is fulfilled.
The technical solution of the present application is further detailed below with reference to the steps shown in fig. 3:
in the technical solution provided in step S302, the home device acquires a first voice instruction, where the first voice instruction is used to instruct the home device to execute a target operation.
In the technical scheme of the application, two sets of voice instruction classification methods are provided, wherein one is default classification when the household appliance leaves a factory, and all voice instructions capable of being recognized are already classified into target types and other types; the other is user-independent classification, and the user can add or delete the default target type and the voice instructions in other types, change the type of individual voice instructions, and redistribute all the voice instructions so as to improve the user experience.
Optionally, on the user terminal, the user may install a client for controlling all the home appliances, and send the first voice instruction to the home appliances in a remote manner through the client; when the user is at home, the first voice instruction can be directly sent to the household appliance within the identification range of the household appliance.
Optionally, after the home appliance device acquires the first voice instruction, it may be confirmed whether the first voice instruction is an instruction of a target type as follows: carrying the first voice instruction in the second request and sending the second request to the server; and acquiring second feedback information returned by the server in response to the second request, wherein the second feedback information is used for indicating that the first voice instruction is the target type instruction when the server searches the first voice instruction from an instruction set (namely the instruction set where the target type voice instruction is located in the database), and the second feedback information is used for indicating that the first voice instruction is not the target type instruction when the server does not search the first voice instruction from the instruction set, and the type of the voice instruction stored in the instruction set is the target type.
Optionally, after the home appliance device acquires the first voice instruction, it may also be determined whether the first voice instruction is an instruction of a target type as follows: and under the condition that the first voice instruction is found from the locally stored instruction set, determining that the first voice instruction is the instruction of the target type, and under the condition that the first voice instruction is not found from the instruction set, determining that the first voice instruction is not the instruction of the target type.
In the technical solution provided in step S304, when the first voice command is a command of a target type, the home appliance authenticates the first voice command, and when the first voice command passes the authentication, executes a target operation indicated by the first voice command.
Optionally, authenticating the first voice command includes steps 1 to 3 as follows:
step 1, first key information is obtained, wherein the first key information and a first voice command are sent by a target object.
In an alternative embodiment, obtaining the first key information comprises: sending voice prompt information to a target object (such as a user or a terminal used by the user) through a server, and if the server sends the voice prompt information to a user client, broadcasting the voice prompt information on the client to prompt the target object to input a second voice instruction, wherein the second voice instruction carries first key information; and after the user inputs the second voice command, acquiring the second voice command input by the target object returned by the server, and identifying the first key information from the second voice command.
In yet another alternative embodiment, obtaining the first key information includes: the household appliance plays the voice prompt information locally to prompt the target object to input a second voice instruction; and locally collecting second voice input by the user, and identifying the first key information from the second voice instruction.
Step 2, under the condition that the first key information is matched with the second key information, determining that the first voice command passes the authentication, wherein the second key information is a key set for the first voice command;
in an alternative embodiment, whether the first key information matches the second key information may be determined as follows: carrying the first key in the first request and sending the first key to the server; according to the scheme, whether a first voice command input by a user is matched with a second voice command of system equipment or not (if the first voice command is matched with the second voice command, the first feedback information returned by the server in response to the first request is acquired, and the first feedback information is used for indicating whether the first key information is matched with the second key information or not.
In yet another alternative embodiment, whether the first key information matches the second key information may be determined as follows: and the household appliance judges whether the first key information is matched with the second key information stored locally (if yes, the first key information is the same as the second key information).
By adopting the first scheme, the consumption of hardware resources local to the household appliance can be reduced, in other words, a processor with lower power consumption and low performance can be adopted locally to the household appliance, so that the cost of the household appliance is reduced; and adopt the second technical scheme, can avoid the potential safety hazard that the server data was revealed and is caused, strengthen the security of equipment.
And 3, determining that the first voice command fails to pass the authentication under the condition that the first key information is not matched with the second key information.
In the technical solution provided in step S306, in a case that the first voice instruction is not an instruction of a target type, the home appliance device executes a target operation indicated by the first voice instruction.
Optionally, in order to provide services for the user more intelligently, the server may analyze the user data, and customize a working scheme of the home appliance that meets the preference of the user for the user, for example, the home appliance locally stores a scheme set by the user each time and collects corresponding environment information (for example, when the user adjusts the temperature of an air conditioner, a problem after the user adjusts, an indoor and outdoor temperature, and the like), periodically remind the user whether to upload locally stored historical data, and upload historical data to the server in a case where first key information input by the user is matched with second key information, the server analyzes the preference of the user by using an artificial intelligence algorithm, and then configures the home appliance according to the calculated preference of the user.
In the above embodiment, the control method of the device according to the embodiment of the present invention is described as an example that is executed by a home appliance device, and the control method of the device according to the embodiment of the present invention may also be executed by a server, as shown in fig. 4:
in step S402, the server obtains a first voice instruction from the home device, where the first voice instruction is used to instruct the home device to perform a target operation.
And S404, under the condition that the first voice command is a command of a target type, the server authenticates the first voice command acquired from the household appliance, and under the condition that the first voice command passes the authentication, the server instructs the household appliance to execute the target operation indicated by the first voice command.
In step S406, in case that the first voice command is not a command of the target type, the server instructs the home appliance to perform the target operation indicated by the first voice command.
It should be noted that the explanations of terms in the steps of fig. 3 in the present application also apply to the same terms in the steps of fig. 4.
Through the steps, when the first voice command is obtained, the type of the first voice command is obtained, the first voice command is authenticated under the condition that the first voice command is a command of a target type, and the target operation indicated by the first voice command is executed under the condition that the first voice command passes the authentication; in the technical scheme of the application, the target operation indicated by the first voice instruction is executed under the condition that the first voice instruction is not a target type instruction, namely, in the case that part of voice instructions requiring permission are executed only after authentication is passed, the problem of low safety of voice control on household appliances in the related art is solved, and the safety of voice control on the household appliances is improved.
The technical solution of the present application is further detailed below with reference to the steps shown in fig. 4:
in the technical solution provided in step S402, the server acquires a first voice instruction from the home device, where the first voice instruction is used to instruct the home device to perform a target operation.
Optionally, after acquiring the first voice instruction, it may be confirmed whether the first voice instruction is an instruction of a target type as follows: acquiring a second request which is sent by the household appliance and carries the first voice instruction; responding to the second request, and searching whether a first voice instruction exists in the instruction set, wherein the type of the voice instruction stored in the instruction set is a target type; returning second feedback information for indicating that the first voice instruction is an instruction of a target type in the case that the first voice instruction exists in the instruction set; in the absence of the first voice instruction in the instruction set, second feedback information is returned indicating that the first voice instruction is not an instruction of the target type.
In the technical solution provided in step S404, when the first voice instruction is an instruction of a target type, the server authenticates the first voice instruction acquired from the home appliance, and when the first voice instruction passes the authentication, instructs the home appliance to execute a target operation indicated by the first voice instruction.
Optionally, authenticating the first voice instruction comprises: acquiring first key information, wherein the first key information and a first voice instruction are sent by a target object; determining that the first voice command passes the authentication under the condition that the first key information is matched with the second key information, wherein the second key information is a key set for the first voice command; and under the condition that the first key information does not match with the second key information, determining that the first voice instruction is not authenticated.
Alternatively, whether the first key information matches the second key information may be determined as follows: acquiring a first request carrying a first secret key sent by household electrical appliance equipment; and returning first feedback information responding to the first request, wherein the first feedback information is used for indicating whether the first key information is matched with the second key information.
In the technical solution provided in step S406, in a case that the first voice instruction is not an instruction of a target type, the server instructs the home appliance to perform a target operation indicated by the first voice instruction.
The following takes the application of the technical scheme of the present application to a household appliance, i.e., a refrigerator, as an example, and further details the technical scheme of the present application:
step 1, a voice recognition module is additionally arranged on the refrigerator, the voice of a user is collected and recognized, semantic instructions (namely first voice instructions) in the voice of the user are analyzed, and if the 'freezing chamber is reduced by 5 degrees', the semantic instructions are analyzed.
And 2, the refrigerator transmits the semantic instruction to the host server.
And 3, judging whether the instruction is provided with the authority or not by the host service inquiry instruction set, if the authority is required for responding to the instruction, sending feedback information of a request key to the refrigerator by the host server, and prompting a user to input a voice password key, namely a second voice instruction, in a voice playing mode after the meta-device accessory acquires the feedback information.
And 4, after the user inputs the voice key, the voice recognition module of the refrigerator analyzes the key information and transmits the key information to the host server, then the host server judges the correctness of the key (namely whether the key is the same as the locally stored key or not), if the key information is correct, the host server responds to the semantic instruction acquired before to generate feedback data information and transmits the feedback data information to the refrigerator, and the refrigerator informs the parallel user that the input key is correct.
And 5, the refrigerator analyzes the feedback data information to generate corresponding feedback response, for example, the refrigeration chamber is controlled to be reduced by 5 degrees and is fed back to the user, and the instruction sent by the user is received and executed.
By adopting the technical scheme, the host server is linked with the equipment and the intelligent household appliance by adopting the voice key; the host server and the household appliance can transmit privatized operation instructions and data; the host server can control the household appliance to perform corresponding privatized response, so that the safety of voice control can be improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a control device of an apparatus is further provided, where the control device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a control apparatus of a device according to an embodiment of the present invention, as shown in fig. 5, the apparatus including: a first obtaining unit 501, a first executing unit 503 and a second executing unit 505.
A first obtaining unit 501, configured to obtain a first voice instruction, where the first voice instruction is used to instruct an electrical home appliance to perform a target operation.
A first executing unit 503, configured to authenticate the first voice instruction if the first voice instruction is an instruction of a target type, and execute the target operation indicated by the first voice instruction if the first voice instruction passes the authentication.
A second execution unit 505, configured to execute the target operation indicated by the first voice instruction if the first voice instruction is not an instruction of the target type.
Through the module, when the first voice instruction is obtained, the type of the first voice instruction is obtained, the first voice instruction is authenticated under the condition that the first voice instruction is an instruction of a target type, and target operation indicated by the first voice instruction is executed under the condition that the first voice instruction passes the authentication; in the technical scheme of the application, the target operation indicated by the first voice instruction is executed under the condition that the first voice instruction is not a target type instruction, namely, in the case that part of voice instructions requiring permission are executed only after authentication is passed, the problem of low safety of voice control on household appliances in the related art is solved, and the safety of voice control on the household appliances is improved.
Optionally, the first execution unit includes: the first obtaining module is used for obtaining first key information, wherein the first key information and the first voice instruction are sent by a target object; a first determining module, configured to determine that the first voice command passes authentication when the first key information matches second key information, where the second key information is a key set for the first voice command; and the second determining module is used for determining that the first voice command is not authenticated under the condition that the first key information is not matched with the second key information.
The first obtaining module may further be configured to: sending voice prompt information to the target object, wherein the voice prompt information is used for prompting the target object to input a second voice instruction, and the second voice instruction carries the first key information; and acquiring the second voice instruction input by the target object returned by the server, and identifying the first key information from the second voice instruction.
Optionally, the first execution unit may further include: the first sending module is used for carrying the first key in a first request and sending the first key to a server; a second obtaining module, configured to obtain first feedback information returned by the server in response to the first request, where the first feedback information is used to indicate whether the first key information matches the second key information.
Optionally, the apparatus of the present application may further comprise: the first instruction recognition unit is configured to determine whether the first voice instruction is an instruction of the target type, and the first instruction recognition unit may include: the second sending module is used for carrying the first voice instruction in a second request and sending the second request to a server; a third obtaining module, configured to obtain second feedback information returned by the server in response to the second request, where the second feedback information is used to indicate that the first voice instruction is the instruction of the target type when the server finds the first voice instruction from an instruction set, and the second feedback information is used to indicate that the first voice instruction is not the instruction of the target type when the server does not find the first voice instruction from the instruction set, and the type of the voice instruction stored in the instruction set is the target type.
In this embodiment, a control device of an apparatus is further provided, where the control device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described.
Fig. 6 is a block diagram of a control apparatus of a device according to an embodiment of the present invention, as shown in fig. 6, the apparatus including: a second acquisition unit 601, a first instruction unit 603, and a second instruction unit 605.
A second obtaining unit 601, configured to obtain a first voice instruction, where the first voice instruction is used to instruct a home appliance to perform a target operation;
a first indicating unit 603, configured to authenticate the first voice instruction if the first voice instruction is an instruction of a target type, and instruct the home appliance device to perform the target operation indicated by the first voice instruction if the first voice instruction passes the authentication;
a second indicating unit 605, configured to instruct the home device to perform the target operation indicated by the first voice instruction if the first voice instruction is not the instruction of the target type.
Alternatively, the first indicating unit may include: the fourth obtaining module is used for obtaining first key information, wherein the first key information and the first voice instruction are sent by a target object; a third determining module, configured to determine that the first voice command passes authentication when the first key information matches with second key information, where the second key information is a key set for the first voice command; a fourth determining module, configured to determine that the first voice command fails to be authenticated when the first key information does not match the second key information.
Optionally, the first indicating unit may further include: a fifth obtaining module, configured to obtain a first request carrying the first key sent by the home appliance device; a first returning module, configured to return first feedback information responding to the first request, where the first feedback information is used to indicate whether the first key information matches the second key information.
Optionally, the apparatus of the present application may further comprise: a second instruction recognition unit, configured to determine whether the first voice instruction is an instruction of the target type, where the second instruction recognition unit may include: a sixth obtaining module, configured to obtain a second request carrying the first voice instruction and sent by the home appliance device; the searching module is used for responding to the second request and searching whether the first voice instruction exists in an instruction set, wherein the type of the voice instruction stored in the instruction set is the target type; a second returning module, configured to return, in a case where the first voice instruction exists in the instruction set, the second feedback information indicating that the first voice instruction is an instruction of the target type; a third returning module, configured to return the second feedback information indicating that the first voice instruction is not an instruction of the target type if the first voice instruction is not present in the instruction set.
By adopting the technical scheme, the voice instruction permission is set, the response permission is directly responded to the common instruction, and the response permission is acquired by inputting the voice key to some special instructions, so that the voice key link between the host server and the component accessory of the intelligent household appliance can be realized, and further the privatization transmission of corresponding operation instructions and data between the host server and the component accessory is realized, so that the aim of controlling the component accessory to carry out corresponding privatization response is fulfilled.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a first voice instruction, wherein the first voice instruction is used for instructing the household appliance to execute target operation;
s2, authenticating the first voice command under the condition that the first voice command is a command of a target type, and executing the target operation indicated by the first voice command under the condition that the first voice command passes the authentication;
s3, if the first voice instruction is not the instruction of the target type, executing the target operation indicated by the first voice instruction.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
s1, acquiring first key information, wherein the first key information and the first voice command are sent by a target object;
s2, determining that the first voice command passes the authentication if the first key information matches second key information, where the second key information is a key set for the first voice command;
s3, determining that the first voice command is not authenticated when the first key information does not match the second key information.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a first voice instruction, wherein the first voice instruction is used for instructing the household appliance to execute target operation;
s2, authenticating the first voice command under the condition that the first voice command is a command of a target type, and executing the target operation indicated by the first voice command under the condition that the first voice command passes the authentication;
s3, if the first voice instruction is not the instruction of the target type, executing the target operation indicated by the first voice instruction.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method of controlling a device, comprising:
acquiring a first voice instruction, wherein the first voice instruction is used for instructing the household appliance to execute a target operation;
authenticating the first voice instruction under the condition that the first voice instruction is an instruction of a target type, and executing the target operation indicated by the first voice instruction under the condition that the first voice instruction passes the authentication;
if the first voice instruction is not an instruction of the target type, executing the target operation indicated by the first voice instruction;
authenticating the first voice instruction comprises:
acquiring first key information, wherein the first key information and the first voice instruction are sent by a target object;
determining that the first voice command passes authentication under the condition that the first key information is matched with second key information, wherein the second key information is a key set for the first voice command;
and determining that the first voice command is not authenticated under the condition that the first key information is not matched with the second key information.
2. The method of claim 1, wherein obtaining first key information comprises:
sending voice prompt information to the target object, wherein the voice prompt information is used for prompting the target object to input a second voice instruction, and the second voice instruction carries the first key information;
and acquiring the second voice instruction input by the target object returned by the server, and identifying the first key information from the second voice instruction.
3. The method of claim 1, further comprising determining whether the first key information matches the second key information as follows:
carrying the first key in a first request and sending the first request to a server;
and acquiring first feedback information returned by the server in response to the first request, wherein the first feedback information is used for indicating whether the first key information is matched with the second key information.
4. The method of claim 1, further comprising confirming whether the first voice instruction is an instruction of the target type as follows:
carrying the first voice instruction in a second request and sending the second request to a server;
and obtaining second feedback information returned by the server in response to the second request, wherein the second feedback information is used for indicating that the first voice instruction is the instruction of the target type when the server finds the first voice instruction from an instruction set, and the second feedback information is used for indicating that the first voice instruction is not the instruction of the target type when the server does not find the first voice instruction from the instruction set, and the type of the voice instruction stored in the instruction set is the target type.
5. A method of controlling a device, comprising:
acquiring a first voice instruction, wherein the first voice instruction is used for instructing the household appliance to execute a target operation;
authenticating the first voice instruction under the condition that the first voice instruction is an instruction of a target type, and indicating the household appliance to execute the target operation indicated by the first voice instruction under the condition that the first voice instruction passes the authentication;
if the first voice instruction is not the target type instruction, instructing the household appliance to execute the target operation indicated by the first voice instruction;
authenticating the first voice instruction comprises:
acquiring first key information, wherein the first key information and the first voice instruction are sent by a target object;
determining that the first voice command passes authentication under the condition that the first key information is matched with second key information, wherein the second key information is a key set for the first voice command;
and determining that the first voice command is not authenticated under the condition that the first key information is not matched with the second key information.
6. The method of claim 5, further comprising determining whether the first key information matches the second key information as follows:
acquiring a first request carrying the first key sent by the household appliance equipment;
and returning first feedback information responding to the first request, wherein the first feedback information is used for indicating whether the first key information is matched with the second key information.
7. The method of claim 5, further comprising confirming whether the first voice instruction is an instruction of the target type by:
acquiring a second request which is sent by the household appliance and carries the first voice instruction;
responding to the second request, and searching whether the first voice instruction exists in an instruction set, wherein the type of the voice instruction stored in the instruction set is the target type;
returning, in the event that the first voice instruction is present in the instruction set, second feedback information indicating that the first voice instruction is an instruction of the target type;
returning the second feedback information indicating that the first voice instruction is not an instruction of the target type if the first voice instruction is not present in the instruction set.
8. A control apparatus of a device, characterized by comprising:
the household appliance control device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a first voice instruction, and the first voice instruction is used for indicating the household appliance to execute target operation;
the first execution unit is used for authenticating the first voice instruction under the condition that the first voice instruction is an instruction of a target type, and executing the target operation indicated by the first voice instruction under the condition that the first voice instruction passes the authentication;
a second execution unit, configured to execute the target operation indicated by the first voice instruction if the first voice instruction is not an instruction of the target type;
the first execution unit includes:
the first obtaining module is used for obtaining first key information, wherein the first key information and the first voice instruction are sent by a target object;
a first determining module, configured to determine that the first voice command passes authentication when the first key information matches second key information, where the second key information is a key set for the first voice command;
and the second determining module is used for determining that the first voice command is not authenticated under the condition that the first key information is not matched with the second key information.
9. A control apparatus of a device, characterized by comprising:
the second acquisition unit is used for acquiring a first voice instruction, wherein the first voice instruction is used for indicating the household appliance to execute target operation;
the first indicating unit is used for authenticating the first voice instruction under the condition that the first voice instruction is an instruction of a target type, and indicating the household appliance to execute the target operation indicated by the first voice instruction under the condition that the first voice instruction passes the authentication;
a second indicating unit, configured to instruct the home device to perform the target operation indicated by the first voice instruction if the first voice instruction is not an instruction of the target type;
the first indicating unit includes:
the fourth obtaining module is used for obtaining first key information, wherein the first key information and the first voice instruction are sent by a target object;
a third determining module, configured to determine that the first voice command passes authentication when the first key information matches with second key information, where the second key information is a key set for the first voice command;
a fourth determining module, configured to determine that the first voice command fails to be authenticated when the first key information does not match the second key information.
10. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when executed.
11. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN201810918053.XA 2018-08-13 2018-08-13 Device control method and apparatus, storage medium, and electronic apparatus Active CN108986807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810918053.XA CN108986807B (en) 2018-08-13 2018-08-13 Device control method and apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810918053.XA CN108986807B (en) 2018-08-13 2018-08-13 Device control method and apparatus, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN108986807A CN108986807A (en) 2018-12-11
CN108986807B true CN108986807B (en) 2020-11-10

Family

ID=64552903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810918053.XA Active CN108986807B (en) 2018-08-13 2018-08-13 Device control method and apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN108986807B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648664A (en) * 2019-10-11 2020-01-03 广东美的白色家电技术创新中心有限公司 Household appliance control method and device with storage function
CN111522264B (en) * 2020-04-02 2024-01-23 青岛海尔科技有限公司 Control method and device of equipment, storage medium and electronic device
CN112039738B (en) * 2020-08-31 2022-04-08 深圳创维-Rgb电子有限公司 Intelligent device control method, terminal device and readable storage medium
CN114499964B (en) * 2021-12-24 2023-12-19 青岛海尔科技有限公司 Equipment control method and device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515946A (en) * 2009-04-13 2009-08-26 周志刚 Information transmission method and system
CN102624594A (en) * 2012-03-09 2012-08-01 伍威 Remote control system for household appliance equipment
CN103024505A (en) * 2013-01-22 2013-04-03 周万荣 Method, terminal and system for remotely controlling media playing on basis of application
CN105493440A (en) * 2013-07-30 2016-04-13 三星电子株式会社 Home appliance and control method thereof
CN105976817A (en) * 2016-07-04 2016-09-28 佛山市顺德区美的电热电器制造有限公司 Voice control method and voice control device for cooking utensil as well as cooking utensil
CN205980235U (en) * 2016-07-06 2017-02-22 殷晓冬 Air conditioner air purification system with remote control function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227595A1 (en) * 2012-02-24 2013-08-29 Christen V. Nielsen Methods and apparatus to identify audience members
CN106328143A (en) * 2015-06-23 2017-01-11 中兴通讯股份有限公司 Voice control method and device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515946A (en) * 2009-04-13 2009-08-26 周志刚 Information transmission method and system
CN102624594A (en) * 2012-03-09 2012-08-01 伍威 Remote control system for household appliance equipment
CN103024505A (en) * 2013-01-22 2013-04-03 周万荣 Method, terminal and system for remotely controlling media playing on basis of application
CN105493440A (en) * 2013-07-30 2016-04-13 三星电子株式会社 Home appliance and control method thereof
CN105976817A (en) * 2016-07-04 2016-09-28 佛山市顺德区美的电热电器制造有限公司 Voice control method and voice control device for cooking utensil as well as cooking utensil
CN205980235U (en) * 2016-07-06 2017-02-22 殷晓冬 Air conditioner air purification system with remote control function

Also Published As

Publication number Publication date
CN108986807A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108986807B (en) Device control method and apparatus, storage medium, and electronic apparatus
CN108769009B (en) Data communication method, intelligent device and intelligent gateway
US11202202B2 (en) Fingerprint identification authority control-based internet of things control switch and method
CN111277610B (en) Gateway control system, method, intelligent device and intelligent device server
EP3595247A1 (en) Identity authentication method and system, server and terminal
CN105101206A (en) Automatic WIFI accessing method and system of device
KR101878708B1 (en) Energy management system of smart electric home appliances using security-enhanced residential gateway device
CN105636162A (en) Network access method and device for intelligent household electrical appliance
CN108616882A (en) Household appliance matches network method, method of network entry, device, storage medium and equipment
CN103777604A (en) Intelligent equipment cloud platform control method based on SDMP protocol
CN103067340A (en) Authentication method for remote control network information domestic appliance, and system and internet domestic gateway
CN104079543A (en) Method, device and system for obtaining intelligent home system monitoring permissions
CN103824099A (en) Method and system for connecting and controlling equipment automatically by intelligent terminal via identification tags
GB2532305A (en) Method for Configuring and controlling smart home products
KR101878710B1 (en) Smart home maintenance system using security-enhanced residential gateway device
CN105159121A (en) Household electrical appliance and on-off control method and system and intelligent apparatus
CN113433831A (en) Control method and module of intelligent household equipment and storage medium
CN105636159A (en) Configuration method and apparatus for connection between electrical appliance and wireless router and mobile communication terminal
CN112637931A (en) Method and device for establishing network connection
US20160029214A1 (en) Home control gateway and home control network connection method thereof
CN103716161A (en) Server certification method of smart-device being remote-controlled by internet and server certification apparatus using the method
CN110149622B (en) Intelligent household appliance control method and device
CN106161164B (en) Method and system for controlling household appliances by mobile terminal
US20200228527A1 (en) Home device control system and method thereof
CN106060033A (en) Intelligent home appliance control method, intelligent home appliance control system, mobile terminal and server

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