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

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

Info

Publication number
CN114141247A
CN114141247A CN202111372319.3A CN202111372319A CN114141247A CN 114141247 A CN114141247 A CN 114141247A CN 202111372319 A CN202111372319 A CN 202111372319A CN 114141247 A CN114141247 A CN 114141247A
Authority
CN
China
Prior art keywords
target
determining
audio
control
control authority
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.)
Pending
Application number
CN202111372319.3A
Other languages
Chinese (zh)
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202111372319.3A priority Critical patent/CN114141247A/en
Publication of CN114141247A publication Critical patent/CN114141247A/en
Pending legal-status Critical Current

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/26Speech to text systems
    • 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
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/02Preprocessing operations, e.g. segment selection; Pattern representation or modelling, e.g. based on linear discriminant analysis [LDA] or principal components; Feature selection or extraction
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/06Decision making techniques; Pattern matching strategies
    • G10L17/14Use of phonemic categorisation or speech recognition prior to speaker recognition or verification

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computational Linguistics (AREA)
  • Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a device control method, a device, a storage medium and an electronic device, wherein the method comprises the following steps: determining a control instruction and audio characteristics of a target audio frequency, wherein the control instruction is used for controlling the target device to execute target operation; determining a target control authority of a target object emitting target audio based on the audio characteristics; determining a security level for executing the target operation in case the target control authority indicates that the target object is allowed to control the target device; in the case where the security level is high, the control target device performs the target operation. According to the invention, the problem of potential safety hazard of the voice control equipment in the related technology is solved, and the effect of improving the safety of the voice control equipment is achieved.

Description

Device control method, device, storage medium, and electronic apparatus
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a device control method, a device, a storage medium and an electronic device.
Background
With the continuous maturity of intelligent voice application technology, more and more household devices apply the intelligent voice technology, and people want to listen to songs, look up weather, control household appliances and the like, only need to speak instructions to the household appliances, and do not need to contact the devices or mobile phones for control.
In the related art, the equipment can be controlled through voice commands, and if the voice control is not limited, the problem of potential safety hazard exists.
Therefore, the problem that potential safety hazards exist in voice control equipment in the related art is known.
Disclosure of Invention
The embodiment of the invention provides a device control method, a device, a storage medium and an electronic device, which are used for at least solving the problem of potential safety hazard of voice control equipment in the related technology.
According to an embodiment of the present invention, there is provided a control method of a device including: determining a control instruction included in target audio collected by sound collection equipment and audio characteristics of the target audio, wherein the control instruction is used for controlling the target equipment to execute target operation; determining target control authority of a target object emitting the target audio based on the audio features; determining a security level for executing the target operation in case the target control permission indicates that the target object is allowed to control the target device; and controlling the target device to execute the target operation when the security level is advanced.
According to another embodiment of the present invention, there is provided a control apparatus of a device including: the device comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a control instruction and an audio feature of a target audio, the control instruction is included in the target audio collected by a sound collection device, and the control instruction is used for controlling the target device to execute a target operation; the second determination module is used for determining the target control authority of a target object which emits the target audio based on the audio characteristics; a third determining module, configured to determine a security level for executing the target operation if the target control permission indicates that the target object is allowed to control the target device; and the control module is used for controlling the target equipment to execute the target operation under the condition that the security level is high.
According to yet another embodiment of the invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by a processor, implements the steps of the method as set forth in any of the above.
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, the control instruction included in the target audio collected by the sound collection device and the audio characteristic of the target audio are determined, the target control authority of the target object sending the target audio is determined according to the audio characteristic, and the security level of executing the target operation is determined under the condition that the target control authority indicates that the target object is allowed to control the target device. In the case where the security level is high, the control target device performs the target operation. When the voice control equipment is used, whether the target object has the control authority is determined firstly, then the safety level of executing the target operation is determined, and under the condition that the safety level is high, the target equipment is controlled to execute the target operation, so that the problem of potential safety hazard of the voice control equipment in the related technology can be solved, and the effect of improving the safety of the voice control equipment is achieved.
Drawings
Fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a device control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of an apparatus according to an embodiment of the present invention;
FIG. 3 is a security level flow diagram for determining execution of a targeted operation in accordance with an exemplary embodiment of the present invention;
FIG. 4 is a flowchart for determining a target control authority for a target object emitting target audio based on audio characteristics, according to an exemplary embodiment of the present invention;
FIG. 5 is a flow chart of a method of controlling a device according to a specific 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
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
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 objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a device control method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 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, wherein the mobile terminal may further include 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 does not limit the structure of the mobile terminal. For example, the mobile terminal 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 examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over 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 to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In the present embodiment, a control method of a device is provided, and fig. 2 is a flowchart of the control method of the device according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, determining a control instruction and audio characteristics of a target audio frequency, wherein the control instruction is used for controlling the target device to execute target operation, and the target audio frequency is acquired by a sound acquisition device;
step S204, determining the target control authority of the target object sending the target audio based on the audio characteristics;
step S206, under the condition that the target control authority indicates that the target object is allowed to control the target equipment, determining the security level for executing the target operation;
and step S208, controlling the target device to execute the target operation under the condition that the security level is high.
In the above embodiments, the sound collection device may be a microphone, or may also be a device integrated with a microphone, such as an intelligent sound box, a smart phone, an intelligent home device, and the like. The target audio is collected through the sound collection equipment, the sound characteristics of the target audio are identified, and the control instruction is sent. The sound feature may be a sound feature determined by machine learning or the like, and the sound feature may include voiceprint information. The control instructs the user to control the target device to perform the target operation. The target operation may include turning on the target device, adjusting parameters of the target device, and the like. For example, the air conditioner is turned on, the curtain is opened, the washing machine is opened, etc., the temperature of the air conditioner is adjusted to 26 ℃, and the mode of the washing machine is adjusted to a quick washing mode, etc.
In the above-described embodiments, controlling the target device to perform the target operation by the control instruction may include directly controlling the target device by the control instruction, directly and indirectly controlling the target device by the control, and the like. When the target device is directly controlled through the control instruction, the target device is a device capable of voice interaction, and when the target device is indirectly controlled through the control instruction, the target device is a device capable of being controlled through the device capable of voice interaction. That is, the target device may be an intelligent sound, an intelligent home device, such as an intelligent air conditioner, an intelligent washing machine, an intelligent water heater, an intelligent range hood, or the like.
In the above embodiment, after the audio characteristics are determined, the target control authority of the target object emitting the target audio may be determined according to the audio characteristics, that is, whether the target object has the capability of controlling the target device is determined. When the target object has the capability of controlling the target device, i.e. in case the target control right indicates that the target object is allowed to control the target device, the security level for performing the target operation is determined. Among them, the security level may be classified into high level, low level, and the like. The security level may be a rule determined according to a predetermined ranking rule, and the security level for performing the target operation is different under different environments. In the case where the security level is high, the control target device performs the target operation.
In the above-described embodiment, after the control target apparatus executes the target operation, the execution result may be fed back according to the execution situation of the target apparatus. That is, after the target device has successfully performed the target operation, for example, the control command is to adjust the air conditioner to 28 ℃, after the temperature adjustment is completed, the voice "the air conditioner has been adjusted to 28 ℃ may be broadcast. When the target device fails to perform the target operation, "execution failure" may be reported. And can check the reason of the execution failure and broadcast. For example, if the control command is to adjust the air conditioner to 28 ℃, and the air conditioner is in the network disconnection state at this time, the execution target operation fails, and "the execution failure please check the network state of the air conditioner" may be reported.
In the above-described embodiment, the voice used for feeding back the execution result may be determined based on the audio characteristics of the target object. For example, when the audio feature indicates that the target object is a child, the execution result may be announced with a child sound. When the audio feature indicates that the target object is young, the execution result may be broadcasted with the sound of young. When the audio feature execution target object is an old person, the execution result can be broadcasted at a clear and slow speed of speech. Of course, the user can also self-define the sound of the execution result.
Optionally, the main body of the above steps may be a background processor, or other devices with similar processing capabilities, and may also be a machine integrated with at least a sound acquisition device and a data processing device, where the sound acquisition device may include a sound acquisition module such as a microphone, and the data processing device may include a terminal such as a computer and a mobile phone, but is not limited thereto.
According to the invention, the control instruction included in the target audio collected by the sound collection device and the audio characteristic of the target audio are determined, the target control authority of the target object sending the target audio is determined according to the audio characteristic, and the security level of executing the target operation is determined under the condition that the target control authority indicates that the target object is allowed to control the target device. In the case where the security level is high, the control target device performs the target operation. When the voice control equipment is used, whether the target object has the control authority is determined firstly, then the safety level of executing the target operation is determined, and under the condition that the safety level is high, the target equipment is controlled to execute the target operation, so that the problem of potential safety hazard of the voice control equipment in the related technology can be solved, and the effect of improving the safety of the voice control equipment is achieved.
In an exemplary embodiment, a flowchart for determining a security level for performing the target operation may be seen in fig. 3, where the flowchart includes:
step S302, determining the operation type of the target operation;
step S304, determining the environmental parameters of the area where the target equipment is located;
step S306, determining the safety level for executing the target operation based on the operation type and the environment parameter.
In this embodiment, when determining the security level, the operation type of the target operation and the environment parameter of the area where the target device is located may be determined, and the security level for executing the target operation is determined according to the operation type and the environment parameter. The environmental parameters may include temperature parameters of the area in which the target device is located, concentration of the target gas, and the like. The operation type may include a regulation temperature type, a regulation mode type, a presence generation probability type, and the like. Whether the target operation is allowed to be executed by the control target equipment is comprehensively judged through the operation type and the environmental parameters, so that the safety of executing the target operation can be improved, and potential safety hazards are eliminated.
In an exemplary embodiment, determining the security level for performing the target operation based on the operation type and the environmental parameter comprises at least one of the following steps a-D:
A. determining the safety level as the high level if the environmental parameter indicates that a target gas concentration in the area is less than a first threshold and the operation type is a type in which there is a probability of an electric spark being generated; B. determining that the safety level is low in a case where the environmental parameter indicates that the target gas concentration in the area is greater than or equal to the first threshold value and the operation type is a type in which there is a probability of occurrence of an electric spark; C. determining that the security level is low if the environmental parameter indicates that the temperature of the area is greater than a second threshold and the operation type is a warm-up type; D. determining that the security level is low if the environmental parameter indicates that the temperature of the area is less than a third threshold and the operation type is a cooling type. In the present embodiment, in the case where the target gas concentration in the environmental parameter indication region is less than the first threshold value, and the operation type is a type in which there is a probability of occurrence of an electric spark, the safety level is determined to be high.
The target gas may be gas generated by gas leakage, and when the concentration of the target gas is smaller than a first threshold, it can be determined that the gas is not leaked, and at this time, when an operation of a type in which an electric spark probability occurs is performed, an explosion is not generated, and there is no potential safety hazard, so that the safety level corresponding to such a case can be considered to be high. Among them, the operation of the type in which there is a probability of occurrence of an electric spark may include turning on a range hood, an exhaust fan, and the like.
In the above-described embodiment, in the case where the concentration of the target gas in the environmental parameter execution region is greater than or equal to the first threshold value, and the operation type is a type in which there is a probability of occurrence of an electric spark, it is determined that the safety level is low. When the target gas is a gas generated due to gas leakage, the concentration of the target gas is greater than or equal to the first threshold value, indicating that there is a gas leakage at this time, at which an explosion is very likely to occur if a type of operation in which there is a probability of occurrence of an electric spark is performed. Therefore, the security level corresponding to such a case is determined to be low, and even if the target object issues an instruction to control the target device to execute the target operation, the target device cannot be controlled to execute the target operation. The safety of users and the environment is ensured. When the safety level is determined to be low, potential safety hazards exist in target operation of current indication of a user can be prompted through voice broadcasting, and after the potential safety hazards are eliminated, execution is issued again. And the potential safety hazards exist in the target operation through voice broadcasting, and the potential safety hazards should be eliminated if the target operation is carried out. The method and the device can prevent the situation that the user executes wrong operation after knowing that potential safety hazards exist, so that danger occurs.
In the above-described embodiment, in the case where the environmental parameter indicates that the temperature of the area is greater than the second threshold value, and the operation type is the temperature increase type, the security level is determined to be low. When the environmental parameter indicates that the temperature of the region is greater than the second threshold, it is indicated that the temperature in the region has risen. If the received command is to continuously increase the temperature, the body of the personnel in the area can be affected, so that the situation that the command is wrong in the control command can be determined, and the safety level corresponding to the situation can be determined to be low.
In the above-described embodiment, in the case where the environmental parameter indicates that the temperature of the area is less than the third threshold value, and the operation type is the cooling type, the security level is determined to be low. When the environmental parameter indicates that the temperature of the region is less than the third threshold, it is indicated that the temperature in the region has fallen low. If the received command is to continuously adjust the temperature to be low, the body of the personnel in the area can be affected, so that the situation that the command is wrong in the control command can be determined, and the safety level corresponding to the situation can be determined to be low.
In the above-described embodiment, in the case where the environmental parameter indicates that the temperature of the area is greater than the second threshold value, and the operation type is the cooling type, the security level is determined to be high. In a case where the environmental parameter indicates that the temperature of the area is less than the third threshold value, and the operation type is the warm-up type, the security level is determined to be high.
In one exemplary embodiment, after determining the security level to perform the target operation, the method further comprises at least one of: under the condition that the security level is low, determining a security processing operation, and controlling equipment indicated in the security processing operation to execute the security processing operation; and under the condition that the security level is low, broadcasting the processing scheme. In this embodiment, after determining the security level of the execution target operation, in the case where the security level is a low level, the secure processing operation may be determined, and the device instructed in the secure processing operation may be controlled to execute the secure processing operation. For example, in the case where the environmental parameter indicates that the temperature of the area is greater than the second threshold value and the operation type is the temperature increase type, it is determined that the safety process operation is the temperature decrease operation, and thus, the air conditioner may be controlled to perform the cooling operation or the current temperature of the air conditioner may be adjusted down to decrease the temperature in the area. Wherein the security processing operation may be an operation preset according to different security levels.
In the above embodiment, in the case where the security level is low, the processing scheme may also be broadcasted. For example, when the target gas concentration in the environmental parameter indication area is greater than or equal to the first threshold value and the operation type is a type in which there is a probability of occurrence of an electric spark, the processing scheme may be broadcasted to prompt the user to operate according to the broadcasted processing scheme. The broadcast processing scheme may be an operation preset according to different security levels. For example, the treatment plan may be window ventilation, making an alarm call, evacuating personnel, etc.
In an exemplary embodiment, a flowchart for determining a target control authority of a target object emitting the target audio based on the audio characteristics may refer to fig. 4, as shown in fig. 4, where the flowchart includes:
step S402, determining the attribute of the audio feature;
step S404, under the condition that the attribute indicates that the audio characteristic is the characteristic of the sub audio included in the registered audio, determining a preset control authority associated with the sub audio as the target control authority;
step S406, determining the target control authority based on the audio feature and a predetermined corresponding relationship when the attribute indicates that the audio feature is a feature of unregistered audio.
In this embodiment, the audio may be registered in advance, and the preset control authority of the registered audio is customized at the time of registration. After determining the attribute of the audio feature, it may be determined whether the attribute indicates that the audio feature is a feature of a sub audio included in the registered audio, and in this case, a preset control authority associated with the sub audio is determined as the target control authority.
In the above embodiment, when the target audio is the unregistered audio, the target control authority may be determined according to the audio feature and the predetermined correspondence. Wherein, the corresponding relation is the relation between the identity information and the control authority determined according to the audio characteristics.
In an exemplary embodiment, determining the target control authority based on the audio features and the predetermined correspondence includes: determining target identity information of the target object based on the audio features; and determining the target control authority corresponding to the target identity information based on the corresponding relation, wherein the corresponding relation indicates the relation between the identity information of the object and the control authority. In this embodiment, the target identity information of the target object may be determined according to the audio features. And determining the target control authority corresponding to the target identity information from the corresponding relation. Wherein the identity information may be age information. For example, controllable devices and uncontrollable devices at different ages can be determined, and the corresponding relation between the identity information and the control authority of the devices can be determined. For example, when the identity information is a child, the target control authority may include allowing control of a television, disallowing control of a washing machine, a water heater, a range hood, and the like. Where the identity information is young and middle aged, the target control authority may include permission to control all devices. When the identity information is old, the target control authority can comprise that a television, a washing machine and a water heater, a range hood and the like are allowed to be controlled.
It should be noted that the control authority corresponding to the identity information may be set by a user, and the modification through the terminal APP is supported.
In an exemplary embodiment, before determining the target control authority of the target object emitting the target audio based on the audio feature, the method further comprises at least one of: under the condition of receiving an audio registration instruction, acquiring a registration audio sent by an object, identifying the registration audio, determining the registration characteristics of the registration audio, determining the distribution control authority distributed to the object, and determining the distribution control authority as a preset control authority associated with the registration characteristics; receiving a control authority setting instruction, wherein the setting instruction comprises identity information of an object and control authority corresponding to the identity information, and determining a corresponding relation between the identity information and the control authority based on the setting instruction. In this embodiment, a user may send an audio registration instruction through a terminal APP, and when receiving the audio registration instruction sent by the terminal APP, the user may collect a registration audio sent by an object, identify the registration audio, determine a registration feature of the registration audio, determine an allocation control permission allocated to the object, and determine the allocation control permission as a preset control permission associated with the registration feature.
In the above embodiment, the user may further set an instruction through a control authority sent by the terminal APP, where the set instruction includes the identity information of the object and the corresponding control authority, and the corresponding relationship between the identity information and the control authority may be determined according to the set instruction.
In the above embodiment, the user may issue an audio registration instruction through the terminal APP during registration, and may issue a registration audio after the device responds. The registered audio can be audio sent by the user independently, or characters displayed in the APP, and after the user sends the registered audio, the equipment can collect the registered audio sent by the object. And identifying the registration audio to determine the registration characteristic and determining the distribution control authority input through the APP. And associating the registration characteristics with the distribution control authority, distributing names for the registration characteristics and the distribution control authority, and storing the names, the registration characteristics and the distribution control authority. After the registered audio and the distribution control authority corresponding to the registered audio are saved, the distribution control authority can be modified through the APP.
In the above embodiment, the object relationship between the identity information and the control authority may also be set and modified through the APP, and the corresponding relationship is stored.
The following describes a control method of the apparatus with reference to a specific embodiment:
fig. 5 is a flowchart of a control method of a device according to an embodiment of the present invention, as shown in fig. 5, the flowchart includes:
step S502, sound pickup.
And step S504, ASR/extracting the voiceprint information.
In step S506, it is determined whether or not a voiceprint is registered, and if the determination result is yes, step S508 is executed, and if the determination result is no, step S510 is executed.
And step S508, setting authorization according to user self-definition.
Step S510, authorizing according to default settings.
Step S512 is to determine whether or not there is a control authority, and if yes, step S514 is executed, and if no, step S516 is executed.
And step S514, judging whether potential safety hazards exist or not according to sensor signals such as a gas alarm and the like, executing step S518 if the judgment result is yes, and executing step S520 if the judgment result is no.
And step S516, reminding the user that the control authority is not available.
Step S518 prompts the user how the user should do so because the user cannot boot at this time.
And step S520, controlling the equipment.
Step S522, the control is prompted to see if the control is successful.
In the foregoing embodiment, the control commands of the respective devices are classified into security levels, and the control authority of each age group is preset. After the user speaks the instruction, the age or the identity (the voiceprint is registered) of the user can be identified while the content is identified, whether the user has the control right or not is determined according to the user-defined right or the default right, if yes, whether the equipment has the hidden operation danger or not is judged, and if not, the equipment is controlled; if so, the user is prompted as to what should be done. If the control authority is not available, the words that the user does not have the control authority are also broadcasted. Whether the mobile phone can be started up or not is decided and a voice user is prompted through multi-dimensional synthesis, for example, the age of the user can be judged through voiceprints, and even the identity of each person can be determined through voiceprints registration and the control authority of each person can be set. And comprehensively judging the states of a plurality of household appliances to give an optimal decision. This allows easy knowledge of what people can control what devices and when.
In the embodiment, the age and the authority of the user are directly determined by the voiceprint, so that the safety mode equipment for children or old people can be met, and the convenience of control is not lost. Even more convenient than the safe unblock operation on the household electrical appliances, can also be nimble for the dynamic adjustment authority of family member through the design of registering the voiceprint. Is safe and convenient. The method does not increase hardware cost, has mature voiceprint recognition technology, and has the advantages of low cost, high speed of implementation, reliable performance and the like. The problem of weak safety consciousness of children and old people is well remedied, and potential safety hazards are timely avoided through household appliance linkage.
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.
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. 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 first determining module 62, configured to determine a control instruction included in a target audio acquired by a sound acquisition device and an audio feature of the target audio, where the control instruction is used to control the target device to perform a target operation;
a second determining module 64, configured to determine a target control authority of a target object emitting the target audio based on the audio feature;
a third determining module 66, configured to determine a security level for performing the target operation if the target control authority indicates that the target object is allowed to control the target device;
a control module 68, configured to control the target device to perform the target operation if the security level is high.
In an exemplary embodiment, the third determination module 66 may determine the security level for performing the target operation by: determining an operation type of the target operation; determining environmental parameters of an area where the target equipment is located; determining the security level to perform the target operation based on the operation type and the environmental parameter.
In an exemplary embodiment, the third determination module 66 may determine the security level for performing the target operation based on the operation type and the environmental parameter by at least one of: determining the safety level as the high level if the environmental parameter indicates that a target gas concentration in the area is less than a first threshold and the operation type is a type in which there is a probability of an electric spark being generated; determining that the safety level is low in a case where the environmental parameter indicates that the target gas concentration in the area is greater than or equal to the first threshold value and the operation type is a type in which there is a probability of occurrence of an electric spark; determining that the security level is low if the environmental parameter indicates that the temperature of the area is greater than a second threshold and the operation type is a warm-up type; determining that the security level is low if the environmental parameter indicates that the temperature of the area is less than a third threshold and the operation type is a cooling type.
In one exemplary embodiment, the apparatus may be configured to perform at least one of the following after determining the security level to perform the target operation: under the condition that the security level is low, determining a security processing operation, and controlling equipment indicated in the security processing operation to execute the security processing operation; and under the condition that the security level is low, broadcasting the processing scheme.
In an exemplary embodiment, the second determining module 64 may determine the target control authority of the target object emitting the target audio based on the audio characteristics by: determining attributes of the audio features; determining a preset control authority associated with the sub-audio as the target control authority under the condition that the attribute indicates that the audio feature is a feature of a sub-audio included in the registered audio; and determining the target control authority based on the audio features and a predetermined corresponding relation under the condition that the attributes indicate that the audio features are features of unregistered audio.
In an exemplary embodiment, the second determining module 64 may determine the target control authority based on the audio features and the predetermined correspondence by: determining target identity information of the target object based on the audio features; and determining the target control authority corresponding to the target identity information based on the corresponding relation, wherein the corresponding relation indicates the relation between the identity information of the object and the control authority.
In an exemplary embodiment, the apparatus may be further configured to, prior to determining the target control authority for the target object emitting the target audio based on the audio feature, perform at least one of: under the condition of receiving an audio registration instruction, acquiring a registration audio sent by an object, identifying the registration audio, determining the registration characteristics of the registration audio, determining the distribution control authority distributed to the object, and determining the distribution control authority as a preset control authority associated with the registration characteristics; receiving a control authority setting instruction, wherein the setting instruction comprises identity information of an object and control authority corresponding to the identity information, and determining a corresponding relation between the identity information and the control authority based on the setting instruction.
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.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method as set forth in any of the above.
In an exemplary embodiment, the computer-readable 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.
In an exemplary embodiment, 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.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the 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 various 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 (10)

1. A method of controlling a device, comprising:
determining a control instruction included in target audio collected by sound collection equipment and audio characteristics of the target audio, wherein the control instruction is used for controlling the target equipment to execute target operation;
determining target control authority of a target object emitting the target audio based on the audio features;
determining a security level for executing the target operation in case the target control permission indicates that the target object is allowed to control the target device;
and controlling the target device to execute the target operation when the security level is advanced.
2. The method of claim 1, wherein determining a security level for performing the target operation comprises:
determining an operation type of the target operation;
determining environmental parameters of an area where the target equipment is located;
determining the security level to perform the target operation based on the operation type and the environmental parameter.
3. The method of claim 2, wherein determining the security level for performing the target operation based on the operation type and the environmental parameter comprises at least one of:
determining the safety level as the high level if the environmental parameter indicates that a target gas concentration in the area is less than a first threshold and the operation type is a type in which there is a probability of an electric spark being generated;
determining that the safety level is low in a case where the environmental parameter indicates that the target gas concentration in the area is greater than or equal to the first threshold value and the operation type is a type in which there is a probability of occurrence of an electric spark;
determining that the security level is low if the environmental parameter indicates that the temperature of the area is greater than a second threshold and the operation type is a warm-up type;
determining that the security level is low if the environmental parameter indicates that the temperature of the area is less than a third threshold and the operation type is a cooling type.
4. The method of claim 1, wherein after determining the security level to perform the target operation, the method further comprises at least one of:
under the condition that the security level is low, determining a security processing operation, and controlling equipment indicated in the security processing operation to execute the security processing operation;
and under the condition that the security level is low, broadcasting the processing scheme.
5. The method of claim 1, wherein determining the target control authority for the target object emitting the target audio based on the audio features comprises:
determining attributes of the audio features;
determining a preset control authority associated with the sub-audio as the target control authority under the condition that the attribute indicates that the audio feature is a feature of a sub-audio included in the registered audio;
and determining the target control authority based on the audio features and a predetermined corresponding relation under the condition that the attributes indicate that the audio features are features of unregistered audio.
6. The method of claim 5, wherein determining the target control authority based on the audio features and a predetermined correspondence comprises:
determining target identity information of the target object based on the audio features;
and determining the target control authority corresponding to the target identity information based on the corresponding relation, wherein the corresponding relation indicates the relation between the identity information of the object and the control authority.
7. The method of claim 1, wherein prior to determining the target control authority for the target object emitting the target audio based on the audio characteristics, the method further comprises at least one of:
under the condition of receiving an audio registration instruction, acquiring a registration audio sent by an object, identifying the registration audio, determining the registration characteristics of the registration audio, determining the distribution control authority distributed to the object, and determining the distribution control authority as a preset control authority associated with the registration characteristics;
receiving a control authority setting instruction, wherein the setting instruction comprises identity information of an object and control authority corresponding to the identity information, and determining a corresponding relation between the identity information and the control authority based on the setting instruction.
8. A control apparatus of a device, characterized by comprising:
the device comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a control instruction and an audio feature of a target audio, the control instruction is included in the target audio collected by a sound collection device, and the control instruction is used for controlling the target device to execute a target operation;
the second determination module is used for determining the target control authority of a target object which emits the target audio based on the audio characteristics;
a third determining module, configured to determine a security level for executing the target operation if the target control permission indicates that the target object is allowed to control the target device;
and the control module is used for controlling the target equipment to execute the target operation under the condition that the security level is high.
9. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. 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.
CN202111372319.3A 2021-11-18 2021-11-18 Device control method, device, storage medium, and electronic apparatus Pending CN114141247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111372319.3A CN114141247A (en) 2021-11-18 2021-11-18 Device control method, device, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111372319.3A CN114141247A (en) 2021-11-18 2021-11-18 Device control method, device, storage medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN114141247A true CN114141247A (en) 2022-03-04

Family

ID=80390444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111372319.3A Pending CN114141247A (en) 2021-11-18 2021-11-18 Device control method, device, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN114141247A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185004A1 (en) * 2022-03-29 2023-10-05 青岛海尔空调器有限总公司 Tone switching method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185004A1 (en) * 2022-03-29 2023-10-05 青岛海尔空调器有限总公司 Tone switching method and apparatus

Similar Documents

Publication Publication Date Title
CN107886952B (en) Method, device and system for controlling intelligent household electrical appliance through voice and electronic equipment
CN110134022B (en) Sound control method and device of intelligent household equipment and electronic device
CN108335695B (en) Voice control method, device, computer equipment and storage medium
CN106911650B (en) Intelligent household control method, device and system
CN107544272B (en) Terminal control method, device and storage medium
CN107733762B (en) Voice control method, device and system for smart home
CN110556115A (en) IOT equipment control method based on multiple control terminals, control terminal and storage medium
CN105791596A (en) Method for preventing uninstalling of APP
CN110579977B (en) Control method and device of electrical equipment and computer readable storage medium
CN108986807B (en) Device control method and apparatus, storage medium, and electronic apparatus
US20160277505A1 (en) Method and Device for Controlling Intelligent Terminal
CN114141247A (en) Device control method, device, storage medium, and electronic apparatus
CN105825848A (en) Method, device and terminal for voice recognition
CN111222044A (en) Information recommendation method and device based on emotion perception and storage medium
CN114141242A (en) Control method, system, device, storage medium and electronic device of household appliance
CN112804697A (en) Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium
CN105323156A (en) Home control gateway and home control network connection method thereof
CN115442171A (en) Household appliance ad hoc network method, device, equipment and storage medium
CN112654957B (en) Suspended window control method and related products
CN108550366B (en) Household appliance control method and device, readable storage medium and equipment
CN110647734A (en) Equipment unlocking method and device based on Internet of things operating system
CN109559740B (en) Equipment control method and device
CN113836508A (en) Method and device for determining starting mode, storage medium and electronic device
US9626967B2 (en) Information processing method and electronic device
CN110648664A (en) Household appliance control method and device with storage function

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