CN111583925B - Equipment control method, intelligent equipment and storage medium - Google Patents

Equipment control method, intelligent equipment and storage medium Download PDF

Info

Publication number
CN111583925B
CN111583925B CN202010360069.0A CN202010360069A CN111583925B CN 111583925 B CN111583925 B CN 111583925B CN 202010360069 A CN202010360069 A CN 202010360069A CN 111583925 B CN111583925 B CN 111583925B
Authority
CN
China
Prior art keywords
voice
equipment
received
voice command
loudness
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
CN202010360069.0A
Other languages
Chinese (zh)
Other versions
CN111583925A (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202010360069.0A priority Critical patent/CN111583925B/en
Publication of CN111583925A publication Critical patent/CN111583925A/en
Application granted granted Critical
Publication of CN111583925B publication Critical patent/CN111583925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a device control method, which comprises the following steps: acquiring voice instructions received by each device; determining loudness information of each voice command; and determining equipment to be controlled according to the loudness information, and controlling the equipment to be controlled to execute corresponding operations in response to the voice command. The invention also discloses intelligent equipment and a computer readable storage medium. The target equipment to be controlled is determined through the loudness information of the voice command, misoperation caused by simultaneous response of a plurality of equipment is avoided, the response accuracy of the equipment is improved, and the user experience is improved.

Description

Equipment control method, intelligent equipment and storage medium
Technical Field
The present invention relates to the field of device control technologies, and in particular, to a device control method, an intelligent device, and a computer readable storage medium.
Background
With the continuous development and popularization of intelligent technology, multiple intelligent devices, such as televisions, air conditioners, sound boxes and the like, may exist in the same user's home, and even multiple intelligent devices of the same type, such as a television in a room and a television in a living room, exist at the same time. To facilitate voice control, these devices are typically provided with boot instructions, such as the boot instructions of a hundred intelligent device or a hundred application: the guiding instruction of the small-scale and wizard television is as follows: small dimension.
At present, the same guiding command is usually set for the intelligent devices or application programs of the same manufacturer, so if a plurality of intelligent devices of the same brand exist in a certain range at the same time, a plurality of intelligent devices can be awakened at the same time through the same guiding command, and the command cannot be accurately issued to the target device which the user wants to control. If the intelligent device allows the user to customize the guiding command in order to make different devices accurately correspond to the voice command, the cost and the operation efficiency of the server will be increased.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a device control method, intelligent device and computer readable storage medium, and aims to solve the problem that in the prior art, when the same voice command can wake up and control a plurality of devices at the same time, a target device to be controlled cannot be accurately determined.
To achieve the above object, the present invention provides an apparatus control method comprising the steps of:
acquiring voice instructions received by each device;
determining loudness information of each voice command;
and determining equipment to be controlled according to the loudness information, and controlling the equipment to be controlled to execute corresponding operations in response to the voice command.
Optionally, the step of determining the device to be controlled according to the loudness information includes:
and determining the equipment with the maximum loudness of the received voice command as equipment to be controlled according to the loudness information.
Optionally, the step of determining the device with the largest loudness of the received voice command as the device to be controlled according to the loudness information includes:
if a plurality of devices receive the same voice command at the same time, judging whether the voice command is received from the same user or not;
if the device is received from the same user, determining the device with the largest loudness of the received voice command from the plurality of devices according to the loudness information as the device to be controlled corresponding to the user;
if the device is received from different users, determining the device corresponding to the voice command with the largest loudness in the voice commands of the different users as the device to be controlled corresponding to the corresponding user according to the loudness information.
Optionally, the step of determining, according to the loudness information, the device corresponding to the voice command with the largest loudness among the voice commands of different users as the device to be controlled corresponding to the corresponding user includes:
determining voice instructions corresponding to different users from voice instructions received by the plurality of devices according to voice characteristics of the users;
determining equipment with the maximum loudness of voice instructions corresponding to different users from voice instructions corresponding to different users according to the loudness information;
and determining the equipment with the maximum loudness of the voice command corresponding to the different users as equipment to be controlled corresponding to the corresponding users.
Optionally, before the step of determining the device to be controlled according to the loudness information and controlling the device to be controlled to perform the corresponding operation in response to the voice command, the method includes:
judging whether the acquired voice command has a voice command matched with a preset guiding command;
if the voice command is matched with the preset guiding command, determining the equipment to be controlled according to the loudness information of the voice command matched with the preset guiding command, and controlling the equipment to be controlled to execute corresponding operation in response to the voice command.
Optionally, the step of determining the device to be controlled according to the loudness information includes:
judging whether the loudness of the voice received by different equipment is in a preset loudness range or not according to the loudness information;
and if at least one device receives the voice loudness exceeding the preset loudness range, determining the device with the largest received voice instruction loudness from the devices as the device to be controlled.
Optionally, the step of determining the device to be controlled according to the loudness information includes:
determining distance information between the device and the user according to the loudness information;
and determining the equipment to be controlled according to the distance information between the equipment and the user.
Optionally, the step of determining the device to be controlled according to the distance information between the device and the user includes:
determining the equipment closest to the user according to the distance information between the equipment and the user;
and determining the equipment closest to the user as equipment to be controlled corresponding to the user.
In addition, in order to achieve the above object, the present invention also provides an intelligent device, where the intelligent device includes a memory, a processor, and a device control program stored on the processor and capable of running on the processor, and the processor implements the steps of the device control method described above when executing the device control program.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a device control program which, when executed by a processor, implements the steps of the device control method as described above.
According to the embodiment of the invention, the voice instructions received by each device are acquired, the loudness information of each voice instruction is determined, then the device to be controlled is determined according to the loudness information, and the device to be controlled is controlled to execute corresponding operations in response to the voice instructions, so that when a plurality of devices can be awakened by the same voice instruction at the same time, the device to be controlled can be accurately controlled to execute the corresponding operations, misoperation caused by the fact that the plurality of devices are simultaneously controlled to execute the same operations under the control of the same voice instruction is avoided, the accuracy of device control is improved, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of an intelligent device architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the device control method of the present invention;
FIG. 3 is a flow chart of a second embodiment of the device control method of the present invention;
FIG. 4 is a schematic flow chart of a third embodiment of the apparatus control method of the present invention; .
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solution of the invention is as follows: acquiring voice instructions received by each device; determining loudness information of each voice command; and determining equipment to be controlled according to the loudness information, and controlling the equipment to be controlled to execute corresponding operations in response to the voice command.
In the current device control scheme, the wake-up instructions of a plurality of devices are the same, so that one voice instruction can wake up the plurality of devices at the same time, and in this case, based on the voice instruction sent by the user, the plurality of devices are not necessarily target devices that the user wants to control, and the plurality of devices respond simultaneously, which not only causes misoperation, but also easily causes resource waste. Therefore, the invention provides a device control method, intelligent device and computer readable storage medium, which are used for obtaining voice commands received by each device, determining the loudness information of each voice command, determining the device to be controlled according to the loudness information, and controlling the device to be controlled to execute corresponding operation in response to the voice commands, so as to avoid misoperation caused by simultaneously controlling a plurality of devices to execute the same operation under the control of the same voice command, thereby enabling the device to accurately respond to the actual demands of users, improving the response accuracy of the device and improving the experience of users.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent device of a hardware running environment according to an embodiment of the present invention.
The intelligent equipment can comprise equipment capable of performing voice control through voice instructions, such as an intelligent sound box, an intelligent television, a smart phone and an intelligent air conditioner.
As shown in fig. 1, the smart device may include: a communication bus 1002, a processor 1001, such as a CPU, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the smart device may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a temperature sensor, and the like, which are not described herein.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not limiting of the smart device and may include more or fewer components than shown, or may combine certain components, or may be arranged in a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a device control program may be included in the memory 1005, which is a type of computer storage medium.
In the smart device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server, and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a device control program stored in the memory 1005 and perform the following operations:
acquiring voice instructions received by each device;
determining loudness information of each voice command;
and determining equipment to be controlled according to the loudness information, and controlling the equipment to be controlled to execute corresponding operations in response to the voice command.
Alternatively, the processor 1001 may call a device control program stored in the memory 1005, and also perform the following operations:
and determining the equipment with the maximum loudness of the received voice command as equipment to be controlled according to the loudness information.
Alternatively, the processor 1001 may call a device control program stored in the memory 1005, and also perform the following operations:
if a plurality of devices receive the same voice command at the same time, judging whether the voice command is received from the same user or not;
if the device is received from the same user, determining the device with the largest loudness of the received voice command from the plurality of devices according to the loudness information as the device to be controlled corresponding to the user;
if the device is received from different users, determining the device corresponding to the voice command with the largest loudness in the voice commands of the different users as the device to be controlled corresponding to the corresponding user according to the loudness information.
Optionally, the processor 1001 calls a device control program stored in the memory 1005, and performs the following operations:
determining voice instructions corresponding to different users from voice instructions received by the plurality of devices according to voice characteristics of the users;
determining equipment with the maximum loudness of voice instructions corresponding to different users from voice instructions corresponding to different users according to the loudness information;
and determining the equipment with the maximum loudness of the voice command corresponding to the different users as equipment to be controlled corresponding to the corresponding users.
Optionally, before the step of determining the device to be controlled according to the loudness information and controlling the device to be controlled to perform the corresponding operation in response to the voice command, the processor 1001 may call a device control program stored in the memory 1005, and further perform the following operations:
judging whether the acquired voice command has a voice command matched with a preset guiding command;
if the voice command is matched with the preset guiding command, determining the equipment to be controlled according to the loudness information of the voice command matched with the preset guiding command, and controlling the equipment to be controlled to execute corresponding operation in response to the voice command.
Alternatively, the processor 1001 may call a device control program stored in the memory 1005, and also perform the following operations:
judging whether the loudness of the voice received by different equipment is in a preset loudness range or not according to the loudness information;
and if at least one device receives the voice loudness exceeding the preset loudness range, determining the device with the largest received voice instruction loudness from the devices as the device to be controlled.
Alternatively, the processor 1001 may call a device control program stored in the memory 1005, and also perform the following operations:
determining distance information between the device and the user according to the loudness information;
and determining the equipment to be controlled according to the distance information between the equipment and the user.
Alternatively, the processor 1001 may call a device control program stored in the memory 1005, and also perform the following operations:
determining the equipment closest to the user according to the distance information between the equipment and the user;
and determining the equipment closest to the user as equipment to be controlled corresponding to the user.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of the device control method according to the present invention, in this embodiment, the device control method includes the following steps:
step S10: acquiring voice instructions received by each device;
the device can be intelligent equipment such as an intelligent sound box, an intelligent television, an intelligent mobile phone and an intelligent air conditioner, and the like, which can be controlled by voice through voice instructions, and the object of voice control of the intelligent equipment can be an application program capable of supporting voice control on the intelligent equipment or a functional module supporting voice control in the intelligent equipment so as to enable the intelligent equipment to respond to the received voice instructions through the corresponding functional module.
In a specific application scenario, different devices of the same manufacturer generally use the same voice instruction to wake up, and along with increasing intelligent devices, the same user may have multiple intelligent devices of the same manufacturer at home at the same time, for example, multiple devices of the same type of the same manufacturer (such as living room and bedroom are all provided with the wound-dimension television), or multiple devices of different types of the same manufacturer, such as the wound-dimension television, the wound-dimension refrigerator, the wound-dimension washing machine, the wound-dimension air conditioner, and the like, and of course, the situation that the voice instruction of the devices produced by different manufacturers is the same may also exist. At this time, if the user sends a voice command, a plurality of devices can be simultaneously awakened and controlled, that is, if a plurality of intelligent devices of the same manufacturer exist within a preset distance range from the user, when the user sends a voice command (for example, a small-dimension, to wake up and control a creating-dimension television), all intelligent devices of the same manufacturer corresponding to the voice command within the preset distance range respond no matter whether other devices are needed to serve or not. The preset distance range particularly refers to a preset maximum distance that the device can receive a voice command of a user, and is dependent on the volume of the user, the sensitivity of a sound collecting device/module of the device, the installation position of the device and the like, and of course, the preset distance range can also be a preset user-defined range; the voice instruction is used for waking up and controlling the equipment to execute corresponding operation.
Although the control of the equipment to be controlled can be realized under the condition that the equipment to be controlled is not needed to provide service, the equipment to be controlled is awakened and controlled to execute the operation, for example, the main lying user A sends a voice command for regulating the temperature of the air conditioner to 16 degrees, and the air conditioner of the baby room in the next door is controlled to regulate the temperature to 16 degrees at the same time, so that the requirements of the user A are met, but the requirements of other users cannot be met. Therefore, on one hand, the resource waste is caused, and on the other hand, the received voice command cannot be judged and screened so as to control the accurate response of the equipment to the user command and meet the user demand. Thus, the present embodiment proposes a solution to determine the device to be controlled based on loudness information of different speech commands received by the device. Before determining the device to be controlled, each device in the preset range needs to have a microphone or other voice acquisition device/module to acquire voice instructions, so that after each device acquires the voice instructions, the voice instructions are sent to the server, and the server acquires the voice instructions received by each device in the preset range.
Step S20: determining loudness information of each voice command;
after the voice instructions received by each device are obtained, the server analyzes and processes the obtained voice instructions to determine loudness information of each voice instruction. The loudness information at least comprises time for obtaining each voice command, voice loudness of each voice command and user information of users corresponding to each voice command, and when equipment to be controlled is determined according to the loudness information, the time for obtaining the voice command and/or the users corresponding to the voice commands have influence on the finally determined equipment to be controlled when different time are different, for example, if each equipment receives the voice guiding command at different time, the corresponding equipment is directly controlled to execute operation at different time, if each equipment receives the voice command at the same time, at this time, if the users corresponding to the voice commands have difference, the determined equipment to be controlled is different, different user voice commands are received at the same time at each equipment, the equipment to be controlled corresponding to different users needs to be determined according to the loudness information, the same user voice command is received at the same time at each equipment, and the user voice command is judged to be the same voice command. Thus, the time of acquiring the voice command and the voice loudness of different users corresponding to the voice command should be correlated with each other.
Step S30: and determining equipment to be controlled according to the loudness information, and controlling the equipment to be controlled to execute corresponding operations in response to the voice command.
After the loudness information of each voice command is determined, the server cannot accurately judge based on the received weak signals transmitted by the device when the voice commands acquired by the device are weak, so that the device to be controlled is determined according to the loudness information, and whether the loudness of the voice received by different devices is in a preset loudness range or not is firstly judged according to the loudness information, wherein the preset loudness range corresponds to the minimum loudness voice command which can be received by the device. Thus, when there is at least one device receiving speech at a loudness that exceeds a preset loudness range (i.e., greater than the minimum loudness), the specification server is able to determine loudness information for the respective device to determine the device to be controlled based on the loudness information.
However, when there is at least one device receiving speech at a loudness exceeding a preset loudness range, it is not possible to determine whether there is a device that the corresponding speech command can control. Therefore, it is further required to determine whether a voice command matching a preset guidance command exists in the voice commands received by different devices. Because different devices can preset corresponding preset voice guidance instructions, a specific determination mode can be as follows: analyzing the acquired voice command in a voice-to-text mode and the like to judge whether the acquired voice command has a guiding command identical to a preset voice guiding command of corresponding equipment, wherein the preset guiding command is a guiding command which is preset for the corresponding equipment and used for waking up the equipment, if 'small dimension' is preset as a guiding command of the creating dimension television, a user can control the creating dimension television to be automatically switched from a current page to the Hunan television through 'small dimension and switching to the Hunan television'. Therefore, if the voice command is "small dimension, switch to the central one", the guiding command is "small dimension", at this time, if the preset voice guiding command of the existing device is "small dimension", it is indicated that the voice command existing in the voice command with the loudness exceeding the preset loudness range can wake up and control the corresponding device. At this time, the equipment to be controlled is determined according to the loudness information of the target instruction. Specifically, the device with the loudness of the corresponding voice command within a certain loudness range may be determined as the device to be controlled, or the device corresponding to the voice command with the largest loudness in the corresponding voice command may be determined as the device to be controlled. Of course, the step of judging whether the acquired voice command has the voice command matched with the preset guiding command and the step of judging whether the voice loudness received by different devices is within the preset loudness range according to the loudness information can be performed simultaneously, and besides the step of determining the device to be controlled corresponding to the voice command based on the loudness of the voice command received by the device, a predefined functional module can be provided for the different devices so as to enable the user to define the voice guiding command of the device by himself, but in comparison, if the user is allowed to define the voice guiding command of each device, the server cost is increased and the operation efficiency is affected.
According to the embodiment, the voice instructions received by each device are acquired, the loudness information of each voice instruction is determined, then the device to be controlled is determined according to the loudness information, the device to be controlled is controlled to execute corresponding operation in response to the voice instructions, the problem that when other devices receive the same voice instruction, the other devices do not respond to the voice instructions and cannot accurately send the instruction to the target device which the user wants to control is avoided, the accuracy of device control is improved, and the user experience is improved.
Referring to fig. 3, fig. 3 is a flowchart of a second embodiment of the device control method according to the present invention, in this embodiment, the device control method includes the following steps:
step S11: acquiring voice instructions received by each device;
step S12: determining loudness information of each voice command;
step S13: and determining the equipment with the largest loudness of the received voice command as equipment to be controlled according to the loudness information, and controlling the equipment to be controlled to execute corresponding operation in response to the voice command.
In this embodiment, after the voice command received by each device is obtained and the loudness information of each voice command is determined, the device with the largest loudness of the received voice command is determined as the device to be controlled according to the loudness information, and the device to be controlled is controlled to execute the corresponding operation in response to the voice command. However, since the time when each device receives the voice command and the object of the received voice command are different, when the receiving time and the receiving source are different, the device with the largest loudness of the voice command determined according to the loudness information of each voice command is also different. If only one device receives a voice command, the device can be directly determined to be the device to be controlled, and the device to be controlled is controlled to execute corresponding operation in response to the voice command; when a plurality of devices receive voice instructions, if the plurality of devices receive the voice instructions at different times, the devices to be controlled are directly controlled to execute corresponding operations at different times in response to the corresponding voice instructions; if multiple devices receive voice instructions at the same time, the voice instructions may be received from the same user or may be received from different users.
Thus, after each device sends the received voice command to the server, the server first determines whether the voice command received by each device is a voice command received simultaneously based on the time of acquiring the voice command. If the time of the server for acquiring the voice command is within the preset time range, if the time is about 10 points and the difference from the 10 points is not more than 5 minutes, the voice command received within the preset time range is considered to be the voice command received by the corresponding equipment at the same time. The preset time can be set based on the installation position of different equipment, network conditions and other factors, and can also be set by user definition.
If a plurality of voice instructions received at the same time exist, after the voice instructions received at the same time and the equipment corresponding to the determined voice instructions are determined, whether the acquired voice instructions are the same instruction is further judged by converting the voice instructions into characters and the like. If the converted characters are the same (for example, the characters are small dimensions, and the television is turned on), the acquired voice instructions are the same, so that the same voice instruction received at the same time is further determined on the basis of receiving the voice instruction at the same time. In this embodiment, the sequence of the step of determining the voice command with the same receiving time and the step of determining the step of receiving the same voice command by the server is not limited. In addition, if each device receives a voice command which is not received at the same time or is not the same voice command, the corresponding device is directly controlled to execute the corresponding operation in response to the corresponding voice command.
In addition, if there are two identical voice commands received at the same time, after the identical voice commands received at the same time are determined, since the voice guidance commands preset by different devices are different, it is determined whether the identical voice commands received at the same time can be simultaneously awakened and controlled by multiple devices based on the identical voice commands received at the same time, and a specific determination process may be: judging whether the same voice command received at the same time is matched with preset guide commands of a plurality of devices, if the same voice command received at the same time is matched with the preset guide commands of the plurality of devices, the same voice command received at the same time can wake up and control the plurality of devices at the same time, and at the moment, a target device is required to be screened from the plurality of devices to serve as a device to be controlled; if the same voice command received at the same time is only matched with the preset guiding command of one device, the same voice command received at the same time is only controlled by the device, so that the device is directly controlled to respond to the same voice command received at the same time; if the same voice command received at the same time is not matched with the preset guiding command of any equipment, if the voice command sent by the user is wrong, a prompting message is sent to the user to prompt the user that the voice command is input wrong, and/or corresponding guiding information is provided for the user to guide the user to input the correct voice command.
In a specific embodiment, if there are multiple devices that receive the same voice command at the same time, because the voice command may be received from the same user or may be received from different users, when the voice command can control the multiple devices at the same time, it is first determined whether the voice command is received from the same user, if the voice command is received from the same user, the voice command with the largest loudness is determined directly from the received voice commands according to the loudness information of each voice command, and the device corresponding to the voice command with the largest loudness is determined as the device to be controlled. If the voice command is received from different users, the loudness of the voice command corresponding to the different users in the acquired voice commands is determined according to the loudness information, then the device with the largest loudness of the voice command corresponding to the different users is found, and the device with the largest loudness of the voice commands in the voice commands of the different users is determined as the device to be controlled corresponding to the corresponding user. The step of determining the loudness of the voice command corresponding to the different users in the acquired voice command according to the loudness information may specifically be: firstly, determining voice instructions corresponding to different users from voice instructions received by the devices according to voice features (such as voiceprint information) of the users, and then determining the device with the largest loudness of the voice instructions corresponding to the different users according to the determined loudness of the voice instructions corresponding to the different users.
According to the embodiment, voice instructions received by all the devices are obtained, loudness information of the voice instructions is determined, then the device with the largest loudness of the received voice instructions is determined as the device to be controlled according to the loudness information, and the device to be controlled is controlled to execute corresponding operations in response to the voice instructions. The equipment with the largest voice instruction loudness is determined to be the equipment to be controlled, so that the problem that corresponding operation cannot be performed on the basis of equipment with the accurate control of the user demands is avoided, the accuracy of equipment control is improved, and the user experience is improved.
Referring to fig. 4, fig. 4 is a flowchart of a third embodiment of the device control method according to the present invention, in this embodiment, the device control method includes the following steps:
step S21: acquiring voice instructions received by each device;
step S22: determining loudness information of each voice command;
step S23: determining distance information between the device and the user according to the loudness information;
step S24: and determining equipment to be controlled according to the distance information between the equipment and the user, and controlling the equipment to be controlled to execute corresponding operation in response to the voice instruction.
After the voice commands received by each device are obtained and the loudness information of each voice command is determined, the loudness information of the voice commands received by different devices is associated with the distance between each device and the sounding body (i.e. the user who sends the voice command, i.e. the voice command sender). Therefore, in this embodiment, after the loudness information of each voice command is determined, when the voice command has a corresponding control device, the distance information between the device and the user is determined according to the loudness information, then the device to be controlled is determined according to the distance information between the device and the user, and the device to be controlled is controlled to execute a corresponding operation in response to the voice command. Wherein, the step of determining the distance information between the device and the user according to the loudness information may be: determining the corresponding relation between the voice loudness of the voice command and the distance between the equipment and the user through multiple data acquisition and analysis, and then determining the distance information corresponding to different voice loudness according to the determined corresponding relation; the step of determining the device to be controlled according to the distance information between the device and the user may specifically include: determining the equipment closest to the user according to the distance information between the equipment and the user; and determining the equipment closest to the user as equipment to be controlled corresponding to the user.
Because the conditions based on the voice instructions received by the equipment are different, the equipment to be controlled determined according to the distance information between the equipment and the user correspondingly has different conditions: (1) If a plurality of devices receive the voice command matched with the device at different times, each device is directly controlled to execute corresponding operation at different times in response to the voice command; (2) If a plurality of devices receive the matched voice command at the same time, further determining whether the voice command is received from the same user, and if the voice command is received from the same user, determining the device closest to the user as the device to be controlled; if the equipment is received from different users, equipment closest to the different users needs to be determined respectively, the equipment closest to the different users is determined to be equipment to be controlled corresponding to the corresponding user, and if the equipment closest to the user A is determined to be equipment to be controlled which the user A wants to control; b equipment closest to the B user is determined to be equipment to be controlled, which the B user wants to control; (3) Only one device receives a voice command matched with the voice command, and the device is directly controlled to execute corresponding operation in response to the voice command; (4) If no equipment receives the voice command matched with the equipment, the distance between the equipment and the user is too far, or the voice loudness of the voice command of the user is too small, and the like, and the operation is not performed at the moment.
According to the embodiment, the voice instructions received by each device are acquired, the loudness information of each voice instruction is determined, then the distance information between the device and the user is determined according to the loudness information, then the device to be controlled is determined according to the distance information between the device and the user, the device to be controlled is controlled to execute corresponding operation in response to the voice instructions, the device to be controlled is determined based on the distance information between the device and the user, the devices are prevented from executing operation under the control of the same voice instruction, only the device to be controlled which the user wants to control cannot be accurately controlled, the response accuracy of the device is improved, and the user experience is improved.
In addition, the embodiment of the invention also provides an intelligent device, which comprises a memory, a processor and a device control program stored on the processor and capable of running on the processor, wherein the processor realizes the steps of the device control method when executing the device control program.
In addition, the embodiment of the present invention also provides a computer-readable storage medium, on which a device control program is stored, which when executed by a processor, implements the steps of the device control method as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a television, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (4)

1. A device control method, characterized by comprising the steps of:
acquiring voice instructions received by each device;
determining loudness information of each voice command, wherein the loudness information comprises time for acquiring each voice command, voice loudness of each voice command and user information of a user corresponding to each voice command;
judging whether the time of the voice instruction received by each device is within a preset time range;
if the voice command received by each device is received at the same time within the preset time range, converting the voice command received by each device into characters, and judging whether the voice command received by each device at the same time is the same command;
if the same instruction is the same voice instruction, judging that each device receives the same voice instruction at the same time, and judging whether the same voice instruction received at the same time is matched with preset guide instructions of a plurality of devices or not;
if the same voice command received at the same time is matched with the preset guiding commands of the plurality of devices, judging whether the voice command matched with the preset guiding commands of the plurality of devices is received from the same user or not;
if the voice command is received from different users, determining voice commands corresponding to the different users from voice commands which are received by the plurality of devices and matched with the preset guiding commands according to the voice characteristics of the users;
determining the equipment with the maximum voice loudness of voice instructions corresponding to different users from voice instructions corresponding to different users according to the loudness information;
and determining the equipment with the maximum voice loudness of the voice commands corresponding to different users as equipment to be controlled corresponding to the corresponding users, and controlling the equipment to be controlled to execute corresponding operations in response to the voice commands.
2. The device control method according to claim 1, wherein the step of determining whether the voice command matching the preset guidance command of the plurality of devices is received from the same user if the same voice command received at the same time matches the preset guidance command of the plurality of devices comprises:
and if the voice command is received from the same user, determining the equipment with the largest voice loudness of the received voice command from the plurality of equipment according to the loudness information as equipment to be controlled corresponding to the user.
3. A smart device comprising a memory, a processor and a device control program stored on the memory and executable on the processor, the processor implementing the steps of the device control method of any one of claims 1-2 when the device control program is executed.
4. A computer-readable storage medium, on which a device control program is stored, which when executed by a processor, implements the steps of the device control method according to any one of claims 1-2.
CN202010360069.0A 2020-04-29 2020-04-29 Equipment control method, intelligent equipment and storage medium Active CN111583925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010360069.0A CN111583925B (en) 2020-04-29 2020-04-29 Equipment control method, intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010360069.0A CN111583925B (en) 2020-04-29 2020-04-29 Equipment control method, intelligent equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111583925A CN111583925A (en) 2020-08-25
CN111583925B true CN111583925B (en) 2024-02-06

Family

ID=72126307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010360069.0A Active CN111583925B (en) 2020-04-29 2020-04-29 Equipment control method, intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111583925B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105137937A (en) * 2015-08-28 2015-12-09 青岛海尔科技有限公司 Control method and device of intelligent IoT electrical appliances, and intelligent IoT electrical appliances
CN107195305A (en) * 2017-07-21 2017-09-22 合肥联宝信息技术有限公司 A kind of information processing method and electronic equipment
CN107748500A (en) * 2017-10-10 2018-03-02 三星电子(中国)研发中心 Method and apparatus for controlling smart machine
CN108682419A (en) * 2018-03-30 2018-10-19 京东方科技集团股份有限公司 Sound control method and equipment, computer readable storage medium and equipment
CN109539468A (en) * 2018-11-30 2019-03-29 美的集团武汉制冷设备有限公司 Control method, server, household appliance and the storage medium of household appliance
CN110085233A (en) * 2019-04-08 2019-08-02 广东美的制冷设备有限公司 Sound control method and its device, electronic equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8870087B2 (en) * 2011-09-12 2014-10-28 Siemens Industry, Inc. Thermostat control device with integrated feedback and notification capability

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105137937A (en) * 2015-08-28 2015-12-09 青岛海尔科技有限公司 Control method and device of intelligent IoT electrical appliances, and intelligent IoT electrical appliances
CN107195305A (en) * 2017-07-21 2017-09-22 合肥联宝信息技术有限公司 A kind of information processing method and electronic equipment
CN107748500A (en) * 2017-10-10 2018-03-02 三星电子(中国)研发中心 Method and apparatus for controlling smart machine
CN108682419A (en) * 2018-03-30 2018-10-19 京东方科技集团股份有限公司 Sound control method and equipment, computer readable storage medium and equipment
CN109539468A (en) * 2018-11-30 2019-03-29 美的集团武汉制冷设备有限公司 Control method, server, household appliance and the storage medium of household appliance
CN110085233A (en) * 2019-04-08 2019-08-02 广东美的制冷设备有限公司 Sound control method and its device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111583925A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US11443744B2 (en) Electronic device and voice recognition control method of electronic device
CN110892476B (en) Device with voice command input capability
EP3660662A2 (en) Method, apparatus, system, device for controlling intelligent device and storage medium
US20160005404A1 (en) Device control method and electric device
CN107544272B (en) Terminal control method, device and storage medium
US20170126420A1 (en) Method for controlling electronic device
US11804224B2 (en) Electronic device and method for operation thereof
KR20200109954A (en) Method for location inference of IoT device, server and electronic device supporting the same
CN107421068B (en) Air conditioner control method, electronic device, and computer-readable storage medium
KR20200015267A (en) Electronic device for determining an electronic device to perform speech recognition and method for the same
CN109284144B (en) Fast application processing method and mobile terminal
US11050828B2 (en) Electronic device, server and method of controlling the same
US20190080691A1 (en) System and method for language selection
CN109743618B (en) Music playing method, terminal and computer readable storage medium
KR102629796B1 (en) An electronic device supporting improved speech recognition
KR20210116897A (en) Method for contolling external device based on voice and electronic device thereof
CN107390598B (en) Device control method, electronic device, and computer-readable storage medium
CN110944056A (en) Interaction method, mobile terminal and readable storage medium
CN111669681B (en) Control method and device of intelligent sound equipment and storage medium
CN107505923B (en) Device control method, electronic device, and computer-readable storage medium
US20220122600A1 (en) Information processing device and information processing method
CN111583925B (en) Equipment control method, intelligent equipment and storage medium
CN109246305B (en) Navigation processing method of navigation equipment, navigation equipment and mobile terminal
CN109684006B (en) Terminal control method and device
CN110831114A (en) Connection method with wireless device, terminal and readable storage medium

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