Voice control method, device and system based on intelligent equipment, equipment, medium and product
Through the client filtering and controlling smart home devices, the wireless signal strength is used to determine the device location and functions, which solves the problem of cumbersome operation, realizes seamless linkage and convenient control of smart home devices, and improves the user experience.
Patent Information
- Application Number
- CN202510673236.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2025-08-26
AI Technical Summary
In the prior art, the cumbersome operation of smart home devices leads to high learning costs for users and poor fluency in use, and the lack of a unified intelligent control platform leads to inconvenient operation.
The client obtains a collection of controllable devices, filters out the target smart devices, and converts voice control instructions into text information or control codes to send them to the target device for operations, and uses wireless signal strength to determine the device location and function to achieve seamless linkage.
It simplifies the operation process, improves user convenience and comfort, provides a more intelligent and user-friendly home experience, and avoids misoperation of voice.
Smart Images

Figure CN120547010A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of voice interaction technology, and in particular to a voice control method, device, system, equipment, medium and product based on intelligent devices. Background Art
[0002] With the rapid advancement of smart home technology, users' expectations for smarter and more convenient home environments are rising. In the bathroom, a private and important living space, integrated and intelligent management of smart toilets, bathtubs, shower systems, and bathroom cabinets has become an urgent need. Building a unified intelligent control platform that enables seamless linkage and automated operation of these devices will undoubtedly elevate the user experience to a new level, making every bathroom experience more enjoyable and efficient.
[0003] However, existing technical solutions mostly rely on isolated remote controls, scattered APP applications or a single touch interface. These methods are not only cumbersome to operate, but also increase the user's learning cost and affect the overall fluency of use. Summary of the Invention
[0004] The present invention provides a voice control method, apparatus, system, device, medium and product based on intelligent devices to solve the technical problems in the prior art of cumbersome operation leading to high user learning cost and poor user fluency.
[0005] According to one aspect of the present invention, a voice control method based on an intelligent device is provided, which is applied to a client; the method comprises:
[0006] In response to receiving the target voice control instruction, obtaining a set of controllable devices; wherein the set of controllable devices includes smart devices located in the target spatial area and establishing or supporting establishment of a wireless connection with the client;
[0007] Filtering a target smart device from the set of controllable devices according to an actual control function in the received target voice control instruction and a wireless signal strength of each smart device;
[0008] The text information or control code associated with the target voice control instruction is sent to the target smart device, so that the target smart device performs the operation associated with the target voice control instruction.
[0009] According to another aspect of the present invention, a voice control device based on an intelligent device is provided, which is applied to a client; the device comprises:
[0010] an acquisition module, configured to acquire a set of controllable devices in response to receiving a target voice control instruction; wherein the set of controllable devices includes smart devices located in a target spatial area and that establish or support establishing a wireless connection with the client;
[0011] a determination module, configured to determine a target smart device from the set of controllable devices based on an actual control function in the received target voice control instruction and a wireless signal strength of each of the smart devices;
[0012] The control module is configured to send text information or a control code associated with the target voice control instruction to the target smart device, so that the target smart device executes an operation associated with the target voice control instruction.
[0013] According to another aspect of the present invention, a voice control system based on smart devices is provided, comprising: a client, and smart devices; wherein the client establishes a wireless communication connection with each of the smart devices;
[0014] In response to receiving a target voice control instruction, a set of controllable devices is obtained through the client; wherein the set of controllable devices includes smart devices located in a target spatial area and that establish or support establishing a wireless connection with the client, and the target smart device is determined from the set of controllable devices based on the actual control function in the received target voice control instruction and the wireless signal strength of each of the smart devices, and the text information or control code associated with the target voice control instruction is sent to the target smart device, so that the target smart device performs the operation associated with the target voice control instruction.
[0015] According to another aspect of the present invention, an electronic device is provided, comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the voice control method based on an intelligent device as described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the voice control method based on an intelligent device according to any embodiment of the present invention when executed.
[0020] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements the voice control method based on an intelligent device according to any embodiment of the present invention.
[0021] The technical solution of the embodiment of the present invention, when receiving a target voice control command, forms a controllable device set by acquiring smart devices located in a target spatial area and having established or capable of establishing a wireless connection with a client, thereby allowing the user to perform voice control on the smart devices in the controllable device set through the client, avoiding the tedious operation of the user to control the device by touch interface or remote control, and perfectly solving the technical problems of high user learning cost and poor user fluency caused by cumbersome operation in the prior art, thereby achieving true "moving with the sound". In addition, by detecting and intelligently capturing and analyzing the non-specified target voice control command issued by the user, identifying and extracting the actual control function in the target voice control command, and analyzing the wireless signal strength of each smart device, the target smart device closest to the mobile terminal associated with the client and having the actual control function in the target voice control command is determined, and the target smart device is caused to perform the associated operation based on the target voice control command. This realizes the wireless positioning of the sound source, automatically triggering and adjusting the smart device closest to the user, avoiding the situation of voice misoperation, and effectively improving the convenience and comfort of use on the basis of greatly simplifying the operation process, and providing users with a more intelligent and humanized home experience space.
[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 This is a flow chart of a voice control method based on an intelligent device provided by an embodiment of the present invention;
[0025] Figure 2 is a flow chart of another voice control method based on an intelligent device provided by an embodiment of the present invention;
[0026] Figure 3This is a flow chart of another voice control method based on an intelligent device provided by an embodiment of the present invention;
[0027] Figure 4 This is a structural block diagram of a voice control system based on an intelligent device provided by an embodiment of the present invention;
[0028] Figure 5 This is a structural block diagram of another voice control system based on smart devices provided by an embodiment of the present invention;
[0029] Figure 6 This is a schematic diagram of the configuration of the actual relative distance between a bathroom device and a user provided by an embodiment of the present invention;
[0030] Figure 7 This is a schematic diagram of an implementation of voice control interaction provided by an embodiment of the present invention;
[0031] Figure 8 This is a schematic structural diagram of a voice control device based on an intelligent device provided by an embodiment of the present invention;
[0032] Figure 9 This is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] It should be noted that smart devices can be kitchen and bathroom appliances (e.g., kitchen appliances and bathroom appliances), media playback devices, etc.; different kitchen and bathroom appliances or different media playback devices can perform the same functions, for example, different kitchen and bathroom appliances can perform functions such as water dispensing, hot water dispensing, warm water dispensing, self-cleaning, water dispensing stop, and voice playback; different media playback devices can play music, videos, news, and online news, etc. The present invention uses kitchen and bathroom appliances as an example to illustrate the voice control method and system.
[0036] In one embodiment, Figure 1 This is a flow chart of a voice control method based on an intelligent device provided by an embodiment of the present invention. This embodiment is applicable to the case where a spatial area contains multiple intelligent devices and voice control is performed on one of the intelligent devices. The method can be executed by a voice control device based on an intelligent device. The voice control device based on an intelligent device can be implemented in the form of hardware and / or software. The voice control device based on an intelligent device can be configured in the client of a mobile terminal. Figure 1 As shown, the method includes:
[0037] S110. In response to receiving the target voice control instruction, obtain a set of controllable devices; wherein the set of controllable devices includes smart devices that are located in the target spatial area and have established or support establishing a wireless connection with the client.
[0038] In one example, the client refers to a software application (APP) that can interact with a smart device and control and manage the smart device. For example, the client may include but is not limited to one of the following: a mobile phone application, a tablet computer application, a smart watch application, etc.; correspondingly, the client-associated mobile terminal may include one of the following: a terminal with a voice acquisition function such as a smart phone, a tablet computer, and a smart watch. In one example, the location of the client-associated mobile terminal can be equivalent to the location of the sound source. For example, assuming that the client is a mobile phone application and the corresponding mobile terminal is a smart phone, the three locations of the user, the mobile phone application, and the sound source are the same.
[0039] In one embodiment, the process of forming a controllable device set includes: detecting the spatial relationship between the mobile terminal associated with the client and each smart device, as well as the wireless connection capability of each smart device; and forming a controllable device set from all smart devices located in the target spatial area and that establish or support establishing a wireless connection with the client.
[0040] In one example, a spatial area refers to a specific area divided by function. For example, the spatial area may include, but is not limited to, one of the following: bathroom space, kitchen space, etc. In another example, if the spatial area is a bathroom space, the corresponding smart device may be bathroom equipment. Bathroom equipment with wireless communication connection capabilities in the bathroom space may include, but is not limited to, at least one of the following: bathroom cabinet, smart toilet, shower, bathtub, etc.
[0041] In one example, the spatial relationship between the mobile terminal and each smart device is used to characterize the relative position relationship between the mobile terminal and each smart device. The spatial relationship may include at least one of the following: located in the same spatial area; not located in the same spatial area.
[0042] In one example, the target spatial area refers to a pre-configured designated spatial area. It should be noted that the size of the target spatial area may be related to the coverage of the wireless communication signal of the smart device and the coverage of the wireless communication signal of the mobile terminal associated with the client.
[0043] In one example, the target spatial area may be the coverage area of the wireless communication signal of the mobile terminal associated with the client, or may be the spatial area where the mobile terminal associated with the client is currently located. For example, assuming that the spatial area where the mobile terminal associated with the client is currently located is the bathroom space, the target spatial area may be the bathroom space. For another example, assuming that the coverage area of the wireless communication signal of the mobile terminal associated with the client includes both the bathroom space and a part of the area outside the bathroom space, and the spatial area where the mobile terminal is currently located is an area outside the bathroom space, the target spatial area may include the bathroom space and a part of the area outside the bathroom space, that is, the coverage area of the wireless communication signal of the mobile terminal associated with the client.
[0044] In one example, wireless connection capability is used to characterize the ability of a smart device to support wireless communication functions. For example, wireless connection capability includes: supporting wireless communication functions and not supporting wireless communication functions. In order to ensure that the smart device can establish a wireless communication connection with the client, a wireless communication module is configured in each smart device, that is, the smart device supports wireless communication functions. For example, the wireless communication module may include but is not limited to one of the following: Bluetooth module, WIFI module, etc. Of course,
[0045] During actual operation, the client can detect all smart devices within the coverage area of its own wireless communication signal in real time, and form a controllable device set with all smart devices that are in the target space area and have established a wireless connection with the client; it can also form a controllable device set with all smart devices that are in the target space area and can establish a wireless connection with the client.
[0046] In one example, the controllable device set may include smart devices that are located in the same spatial area as the client's associated mobile terminal and have successfully established a wireless communication connection with the client. In actual operation, the wireless communication function of each smart device in each spatial area can be kept in a constant state, that is, the smart device can broadcast a wireless signal in real time to ensure the timeliness of the wireless communication connection. Alternatively, when a user enters a spatial area, the wireless communication function of all smart devices in the area can be triggered to start and broadcast a wireless signal to reduce the power consumption of the smart devices.
[0047] After the user carries the mobile terminal into a certain spatial area, the mobile terminal can send a scanning signal through the wireless communication module and search for all smart devices with and enabled wireless communication functions within the spatial area, or within the coverage area of the wireless communication signal broadcast by the mobile terminal, to form a set of controllable devices.
[0048] Alternatively, after a user carries a mobile terminal into a certain spatial area, the mobile terminal can send a scanning signal through the wireless communication module and search for all smart devices with wireless communication functions within the spatial area, or within the coverage area of the wireless communication signal broadcast by the mobile terminal, to form a set of controllable devices.
[0049] S120: Filter the target smart device from the controllable device set according to the actual control function in the received target voice control instruction and the wireless signal strength of each smart device.
[0050] In one example, the target voice control instruction is an operation instruction with a clear control function issued by the user to the smart device through voice input; the actual control function refers to one of the functions contained in the target voice control instruction that the user requires the smart device to perform; the wireless signal strength refers to the strength of the signal during wireless communication between the smart device and the mobile terminal associated with the client. Generally speaking, the wireless signal strength can be measured using the Received Signal Strength Indicator (RSSI), and its unit is decibel milliwatt (dBm), so as to determine the location of the smart device by measuring the wireless signal strength.
[0051] In one example, the target smart device refers to the smart device that needs to execute the relevant operation associated with the target voice control command. It can also be understood as the smart device in the set of controllable devices that is the closest to the mobile terminal and has the actual control function specified in the target voice control command, or the smart device in the set of controllable devices that has the strongest wireless signal broadcast by itself and has the actual control function specified in the target voice control command. Generally speaking, the target smart device can only be one of the smart devices in the set of controllable devices.
[0052] In one example, the client can filter all smart devices with actual control functions from the controllable device set, then detect the wireless signal strength of the smart devices with actual control functions, and filter out the smart device with the largest wireless signal strength as the target smart device. For example, assuming that the controllable device set includes device 1, device 2, device 3, and device 4, the controllable device set is filtered based on the actual control function, and it is found that only device 1 and device 3 have the actual control function. Then, the wireless signal strength of device 1 and device 3 is detected, and it is found that the wireless signal strength of device 3 is greater than the wireless signal strength of device 1, that is, the actual relative distance between device 3 and the mobile terminal associated with the client is less than the actual relative distance between device 1 and the mobile terminal associated with the client, then device 3 is determined to be the target smart device.
[0053] In one example, the client can sort the wireless signal strength of each smart device in the controllable device set in descending order, and filter the target smart device from the sorted smart devices based on the actual control function in the target voice control command. For example, assuming that the controllable device set includes device 1, device 2, device 3, and device 4, the wireless signal strength of these four smart devices is sorted in descending order to obtain the combination of device 4, device 2, device 3, and device 1. That is, the wireless signal strength of device 4 is the largest, that is, the actual relative distance between device 4 and the mobile terminal associated with the client is the smallest; and the wireless signal strength of device 1 is the smallest, that is, the actual relative distance between device 1 and the mobile terminal associated with the client is the largest. Then, it is determined whether device 4 has the actual control function. If not, it is determined whether device 3 has the actual control function. If device 3 has the actual control function, then device 3 is determined to be the target smart device.
[0054] S130: Send the text information or control code associated with the target voice control instruction to the target smart device, so that the target smart device performs the operation associated with the target voice control instruction.
[0055] In one example, to enable communication between each smart device and a client, a wireless communication module is configured in each mobile terminal associated with the smart device and the client. This wireless communication module may include a Bluetooth module or a WiFi module, without limitation. It can be understood that wireless communication is supported between the smart device and the client's associated mobile terminal to ensure wireless data transmission between the smart device and the client. It should be noted that regardless of the wireless communication method used between the smart device and the client, the efficiency and stability of the transmission of the target voice control command must be guaranteed to avoid transmission delays or packet loss.
[0056] In an embodiment, the client may send the target voice control instruction to the target smart device via wireless communication. After receiving the target voice control instruction, the target smart device performs corresponding related operations according to the target voice control instruction.
[0057] In one example, text information refers to the text and numbers converted from the target voice control command. The text information may include text or numbers. A control code refers to a specific code corresponding to the text, numbers, etc. converted from the target voice control command. In one example, the control code may be byte data (e.g., 0-255) or multiple bits of data (e.g., 4 bits).
[0058] In an embodiment, the client can directly send the text information corresponding to the target voice control instruction to the target smart device, so that the target smart device can directly determine the operation to be performed based on the text information, without the target smart device having to parse the target voice control instruction, thereby improving the response speed of the target smart device. The client can also send the control code corresponding to the target voice control instruction to the target smart device, so that the target smart device can search the corresponding text information in a pre-stored mapping table based on the control code and determine the operation to be performed based on the text information, thereby reducing the transmission signaling overhead between the client and the target smart device and improving data transmission efficiency. The mapping table is used to store the mapping relationship between each control code and the corresponding text information.
[0059] For example, assuming the target smart device is a shower in a bathroom, and the text message associated with the target voice control command is "Turn on the shower and adjust the water temperature to 40°C", the client can directly send the text message to the shower. When the shower receives the text message associated with the target voice control command, it automatically turns on the shower and adjusts the water temperature to 40°C. Of course, operations associated with "turning on the shower" can also be included, such as "turning on the bathroom heater". In this case, the operations associated with the target voice control command include: "Turn on the shower and adjust the water temperature to 40°C" and "turning on the bathroom heater".
[0060] For example, assuming that the control code is 4 bits, the first two bits are used to characterize the target smart device, and the last two bits are used to characterize the water temperature level of the target smart device. The water temperature level includes 3 levels, namely 01, 10, and 11, corresponding to level 1, level 2, and level 3, and the corresponding water temperatures are 35°C, 40°C, and 45°C, respectively; at this time, the client can convert the target voice control instruction into a control code of 0110, where 01 is used to indicate that the target smart device is a shower, and 01 indicates that the water temperature level of the shower is level 2. The shower can then look up the corresponding text information from the mapping table based on the control code, which is "Turn on the shower and adjust the water temperature to 40°C", and automatically turn on the shower based on the text information, and adjust the water outlet temperature of the shower to 40°C.
[0061] In one example, the operation associated with the target voice control instruction includes at least an operation corresponding to the text information associated with the target voice control instruction, and may also include an operation associated with the text information associated with the target voice control instruction to improve the user experience. Of course, in order to accurately personalize the user's control, the signal characteristics of the target voice control signal associated with the target voice control instruction can be analyzed, and the user's usage preferences can be obtained based on pre-stored user usage records. The associated operation is then executed based on the usage preferences and the target voice control instruction.
[0062] For example, assuming the text information associated with the target voice control command is "I need to defecate," the operations associated with the target voice control command include at least the operation "open the toilet lid," and may also include operations such as "heat the toilet seat" and "turn on the exhaust fan." By analyzing the signal characteristics of the voice control signal associated with the target voice control command, it is determined that the user of the target voice control command is pre-stored user 3, and by analyzing user 3's historical usage records, it is determined that user 3's usage preference is "turn on the exhaust fan." Therefore, the operations associated with the target voice control command may include "open the toilet lid" and "turn on the exhaust fan."
[0063] For another example, assuming the text information associated with the target voice control instruction is: "wash", then the operations associated with the target voice control instruction include at least the operation of "turn on the faucet of the wash basin", and may also include related operations such as "adjust the outlet water temperature to 30°C" and "adjust the outlet water temperature to 15°C". By analyzing the signal characteristics of the voice control signal associated with the target voice control instruction, it is determined that the user of the target voice control instruction is User 2, and by analyzing the historical usage records of User 2, it is determined that User 2's usage preference is: "adjust the outlet water temperature to 15°C". Then, the operations associated with the target voice control instruction may include: "turn on the faucet of the wash basin" and "adjust the outlet water temperature to 15°C".
[0064] The technical solution of this embodiment, upon receiving a target voice control command, forms a controllable device set by acquiring smart devices located in a target spatial area and having established or capable of establishing a wireless connection with a client. This allows the user to perform voice control of the smart devices in the controllable device set through the client, avoiding the tedious operation of the user controlling the device through a touch interface or remote control. This perfectly solves the technical problems of high user learning cost and poor user fluency caused by cumbersome operation in the prior art, and realizes true "moving with the sound". In addition, by detecting and intelligently capturing and analyzing the non-specific target voice control command issued by the user, identifying and extracting the actual control function in the target voice control command, and analyzing the wireless signal strength of each smart device, the target smart device closest to the mobile terminal associated with the client and having the actual control function in the target voice control command is determined, and the target smart device is caused to perform the associated operation based on the target voice control command. This realizes the automatic triggering and adjustment of the smart device closest to the user by wirelessly locating the sound source, avoiding the situation of voice misoperation, and effectively improving the convenience and comfort of use on the basis of greatly simplifying the operation process, and providing users with a more intelligent and humanized home experience space.
[0065] In one embodiment, Figure 2 This is a flow chart of another method for voice control based on smart devices provided by an embodiment of the present invention. This embodiment further details the screening process of target smart devices based on the above embodiment. Figure 2 As shown, the method includes:
[0066] S210. In response to receiving the target voice control instruction, obtain a set of controllable devices; wherein the set of controllable devices includes smart devices located in the target spatial area and establishing or supporting establishment of a wireless connection with the client.
[0067] S220: Screen the controllable device set according to the actual control function in the received target voice control instruction to obtain all smart devices with the actual control function to form a candidate device set.
[0068] In one example, the candidate device set refers to all smart devices in the controllable device set that have the actual control function specified in the target voice control command. The candidate device set may be a subset of the controllable device set, meaning that the number of devices in the candidate device set is less than or equal to the number of devices in the controllable device set. For example, assuming the actual control function in the target voice control command is "adjust the water temperature to 38°C," the controllable device set includes a bathroom heater, a smart toilet, a bathroom cabinet, a shower, and a bathtub. Filtering the controllable device set based on the actual control function reveals that the devices with the water temperature command are a smart toilet, a shower, and a bathtub. These three smart devices then constitute the candidate device set.
[0069] S230 : Filter the smart device with the smallest actual relative distance to the mobile terminal from the candidate device set based on the wireless signal strength of the smart device, and select the smart device as the target smart device.
[0070] In one embodiment, S230 includes: S2301-S2303:
[0071] S2301: Determine the wireless signal strength between each smart device in the candidate device set and the mobile terminal associated with the client.
[0072] In one example, the wireless signal strength may include at least one of the following types: Bluetooth signal strength and Wi-Fi signal strength. Specifically, the type of wireless signal strength is related to the type of wireless communication module configured in the smart device. For example, if the wireless communication module configured in the smart device is a Bluetooth module, the wireless signal strength may be Bluetooth signal strength; for another example, if the wireless communication module configured in the smart device is a Wi-Fi module, the wireless signal strength may be Wi-Fi signal strength.
[0073] In actual operation, RSSI can be used to determine the location of smart devices, that is, to determine the actual location of smart devices by measuring the wireless signal strength. When using RSSI for positioning, its implementation methods include: regional positioning and triangulation positioning. Among them, regional positioning can be achieved by beacons and gateways; while triangulation positioning requires at least three data points with the strongest signals to calculate the actual location of the smart device.
[0074] When the transmission power of the smart device as the transmitter remains unchanged, the farther the distance between the mobile terminal as the receiver and the smart device as the transmitter is, the greater the Bluetooth signal attenuation is, and the corresponding received signal strength is lower.
[0075] S2302: Determine the actual relative distance between each smart device and the mobile terminal according to the wireless signal strength.
[0076] In an embodiment, the RSSI value can be measured, and based on the RSSI value, the actual relative distance between the smart device as the transmitting end and the mobile terminal as the receiving end can be determined.
[0077] S2303: The smart device with the smallest actual relative distance in the candidate device set is selected as the target smart device.
[0078] After determining the actual relative distance between each smart device in the candidate device set and the mobile terminal, all smart devices in the candidate device set can be sorted in descending order according to the actual relative distance, and the last smart device after the sorting is the device with the smallest actual relative distance, and the last smart device is used as the target smart device; or all smart devices in the candidate device set can be sorted in ascending order according to the actual relative distance, and the first smart device after the sorting is the device with the smallest actual relative distance, and the first smart device is used as the target smart device.
[0079] S240: Send the text information or control code associated with the target voice control instruction to the target smart device, so that the target smart device performs the operation associated with the target voice control instruction.
[0080] The technical solution of this embodiment, based on the above embodiment, first screens the controllable device set based on the actual control function in the target voice control instruction to obtain a candidate device set, thereby ensuring that each smart device in the candidate device set has the actual control function in the target voice control instruction; then determines the wireless signal strength of each smart device in the candidate device set, avoiding the situation where the wireless signal strength of each smart device in the controllable device set is calculated, which leads to an increase in the amount of calculation. In addition, the actual relative distance between each smart device and the mobile terminal is determined based on the wireless signal strength, and the smart device with the smallest actual relative distance in the candidate device set is used as the target smart device, thereby effectively ensuring the accuracy of determining the target smart device while ensuring a reduced amount of calculation.
[0081] In one embodiment, before obtaining a set of controllable devices in response to receiving a target voice control instruction, it also includes: in response to receiving an initial voice control signal, sending the initial voice control signal to a cloud server in the form of an audio file; and receiving the target voice control instruction identified and extracted by the cloud server from the audio file.
[0082] In one example, the initial voice control signal refers to an unprocessed voice command issued by a user, and the initial voice control signal includes the operation that the user expects the smart device to perform or the information to be provided. A voice acquisition module is configured in the mobile terminal associated with the client, and the voice control signal issued by the user is collected by the voice acquisition module as the initial voice control signal. For example, the voice acquisition module may include at least a microphone. Of course, the voice acquisition module may also include a preamplifier and an analog-to-digital converter, etc., so that the signal output by the microphone can be amplified by the preamplifier to increase the signal amplitude; at the same time, the initial voice control signal can also be preliminarily filtered and noise-reduced by the preamplifier to improve the signal quality; at the same time, the analog voice signal output by the preamplifier can also be converted into a digital signal by the analog-to-digital converter to improve the acquisition accuracy and quality of the voice signal.
[0083] An audio file refers to a file obtained by storing the collected initial voice control signal in a specific file format. For example, the file format of the audio file may include but is not limited to one of the following: WAV format, MP3 format, FLAC format, etc.
[0084] For example, assuming that the client is a smartphone APP, the user can issue voice commands through the smartphone APP, such as "turn on the lights", "adjust the water temperature to 35°C", etc. The built-in microphone of the smartphone can receive the user's voice control signal as the initial voice control signal, and collect it as an audio file for subsequent processing. The smartphone APP can send the collected audio file to the cloud server, and the cloud server can use speech recognition technology to parse the audio file and convert it into recognizable text commands. The cloud server can generate a responsive voice control instruction based on the text command as a target voice control instruction, and send the target voice control instruction to the user's smartphone APP. For example, speech recognition technology may include but is not limited to at least one of the following: recurrent neural network (RNN) and long short-term memory network (LSTM) in deep learning algorithms.
[0085] In this embodiment, by sending the initial voice control signal to the cloud server in the form of an audio file, the integrity and stability of the data are guaranteed during the data transmission process, and the voice control signal is stored in the cloud server in the form of an audio file, which is convenient for subsequent storage and query, as well as for compatibility with multiple platforms; and, the cloud server is used to identify and extract the target voice control instructions from the audio file, and the advanced voice recognition technology and computing power of the cloud server are used to effectively improve the accuracy of signal recognition.
[0086] In one embodiment, before obtaining a set of controllable devices in response to receiving a target voice control command, the process further includes: activating a wireless scanning function of a mobile terminal associated with the client in response to receiving the target voice control command; receiving wireless signals broadcast by all smart devices located in the same spatial area as the mobile terminal associated with the client; and establishing a wireless connection based on the communication address and protocol of the wireless signal. In one example, the wireless scanning function refers to the ability of the mobile terminal associated with the client to use wireless technology to search for and identify nearby smart devices with wireless communication capabilities that can be connected. For example, the wireless scanning function may include Bluetooth scanning and Wi-Fi scanning. In an embodiment, after the mobile terminal associated with the client receives the target voice control instruction sent by the cloud server, it simultaneously starts its own wireless scanning function; at the same time, all smart devices in the same spatial area as the mobile terminal associated with the client can be in a wireless discoverable mode, that is, the mobile terminal periodically sends a wireless scanning request signal, and continuously broadcasts it within a certain range at a specific frequency and in a specific manner, so that after the smart device receives the wireless scanning request signal, the smart device can feedback its own device information (for example, device name, device type, wireless communication address, etc.). After the mobile terminal receives the device information feedback from the smart device, it can obtain a list of devices with wireless communication function in the spatial area, identify connectable smart devices from the device list, and establish wireless connections with these connectable smart devices. For example, assuming that the wireless scanning function is a Bluetooth scanning function, and the client is a smartphone APP, and the user is in the bathroom space, after the smartphone APP receives the target voice control command sent by the cloud server, the Bluetooth scanning function is started; at the same time, the smart toilets, smart bathtubs, smart shower systems and other smart devices in the bathroom space are all in Bluetooth discoverable mode, that is, they continuously broadcast their Bluetooth signals; the smartphone APP determines that the smart toilets, smart bathtubs, smart shower systems and other smart devices all have wireless communication functions, then establishes a wireless connection with the smart toilets, smart bathtubs, smart shower systems and other smart devices to ensure wireless communication between the smartphone APP and these smart devices.
[0087] In this embodiment, the mobile terminal associated with the client starts its own wireless scanning function only after receiving the target voice control instruction, which effectively reduces the power consumption of the mobile terminal and greatly extends the standby time of the mobile terminal.
[0088] In one embodiment, after sending the text information or control code associated with the target voice control instruction to the target smart device so that the target smart device performs the operation associated with the target voice control instruction, it also includes: receiving the operation execution result feedback from the target smart device; and determining the device health status of the target smart device based on the operation execution result.
[0089] In one example, a voice playback module and a display screen are configured in a mobile terminal associated with a client, and the operation execution results fed back by the target smart device can be played through the voice playback module; the operation execution results fed back by the target smart device can also be displayed through the display screen. In one example, the operation execution result is used to represent the status information generated by the target smart device after executing the target voice control instruction. For example, the operation execution result may include: all operations are successfully executed; all operations are not successfully executed; only some operations are successfully executed; the device health status is used to represent the results of evaluating the various performance, operating conditions and functional integrity of the smart device. The device health status may include but is not limited to at least one of the following: the hardware status, software system status and functional performance status of the smart device; for example, the hardware status may include but is not limited to at least one of the following: the status of key components and the appearance damage; the software system status may include but is not limited to at least one of the following: system operation stability and network connection status; the functional performance status may include but is not limited to at least one of the following: functional integrity and performance indicators, etc. In an embodiment, after the smart device executes the relevant operations of the target voice control instruction, the smart device can feedback its own operation execution results to the client through wired communication or wireless communication, and can display the operation execution results on the display screen of the mobile terminal associated with the client, so that the user can more intuitively view the operation execution results of the target smart device; the operation execution results can also be broadcast in the form of voice through the voice playback module in the mobile terminal associated with the client, so that the user can directly hear the operation execution results, so that the user can more simply and quickly obtain the operation execution results of the target smart device. At the same time, the client can determine the evaluation results of the various performance, operating status and functional integrity of the target smart device based on whether the target smart device successfully executes all operations, as well as the related operations that are successfully executed and the related operations that are not successfully executed, so that the user can timely understand the health status of the device based on the operation execution results, and can perform maintenance in a timely manner, thereby extending the service life of the target smart device as much as possible and reducing the maintenance cost of the target smart device.
[0090] In one embodiment, Figure 3 This is a flowchart of another voice control method based on smart devices provided by an embodiment of the present invention. As a preferred embodiment, the smart device is a bathroom device, the client is a smart phone APP, the wireless scanning function is a Bluetooth scanning function, and the cloud server identifies and extracts the target voice control command as an example to illustrate the voice control interaction process between the user, bathroom equipment, smart phone APP and cloud server. This solution is applicable to a variety of scenarios and equipment, not just limited to bathroom spaces. It can meet the needs of different users, accelerate the development of whole-house intelligence, and make future life more intelligent and humane. Figure 3As shown, the voice control interaction process in this embodiment includes the following steps:
[0091] S310: Collect an initial voice control signal sent by the user.
[0092] After the user issues a voice control command, the voice control signal associated with the voice control command can be collected through the built-in microphone of the smartphone as an initial voice control signal.
[0093] S320: Store the initial voice control signal as an audio file.
[0094] S330: Send the audio file to the cloud server.
[0095] S340: Parse the audio file and identify and extract the target voice control instruction.
[0096] The cloud server uses advanced speech recognition technology to parse the audio files and convert them into recognizable text commands, and generates corresponding voice control instructions based on the text commands as target voice control instructions.
[0097] S350: Send the target voice control command to the smartphone APP.
[0098] S360, start the Bluetooth scanning function and detect the connectable smart devices in the bathroom space to form a set of controllable devices.
[0099] After the smartphone APP receives the target voice control command, it starts the Bluetooth scanning function; at the same time, smart devices such as smart toilets, smart bathtubs, smart shower systems in the bathroom space are all in Bluetooth discoverable mode, continuously broadcasting their Bluetooth signals, so that the smartphone APP can establish a communication connection with these connectable smart devices to form a set of controllable devices.
[0100] S370: Eliminate devices that do not have the actual control function in the target voice control command from the controllable device set to form a candidate device set.
[0101] According to the actual control function in the target voice control command, the smartphone APP removes smart devices that do not have the actual control function from the controllable device set, and forms a candidate device set with all smart devices that have the actual control function.
[0102] S380: Using Bluetooth sound source positioning technology, select a smart device closest to the smartphone from a set of candidate devices and use it as a target smart device.
[0103] The smartphone measures the Bluetooth signal strength of each smart device and uses Bluetooth positioning technology (such as signal strength indicator RSSI or direction-finding technology AoA / AoD in Bluetooth 5.1) to determine which smart device is closer to the sound source (i.e., the user's location or the smartphone's location) and selects the smart device closest to the sound source as the target smart device.
[0104] S390: Send the target voice control command to the target smart device.
[0105] S3100: Execute an operation corresponding to the target voice control instruction.
[0106] After the target smart device receives the target voice control instruction, the target smart device parses the target voice control instruction and performs corresponding operations, such as turning on the light, adjusting the light brightness, etc.
[0107] S3110. Send the operation execution result to the smartphone APP.
[0108] After the target smart device completes the operation, the operation execution result is obtained and fed back to the smartphone APP via Bluetooth.
[0109] S3120: Determine the device health status of the target smart device based on the operation execution result.
[0110] Users can check the device status or receive notification messages of successful execution through the smartphone app.
[0111] The technical solution of this embodiment allows users to control various smart devices in the bathroom space through simple, non-specific voice commands, eliminating the need to manually operate multiple devices. This greatly improves convenience and enhances the user experience. Furthermore, users do not need to memorize complex smart device names or numbers. With a simple, non-specific voice command, the system automatically recognizes the user's intent, determines the target smart device based on the current sound source location, and controls the target smart device to perform the corresponding operation, thus improving the flexibility and intelligence of control.
[0112] In one embodiment, Figure 4 This is a structural block diagram of a voice control system based on smart devices provided by an embodiment of the present invention. In this embodiment, the voice control system includes at least two smart devices. Figure 4 As shown, the voice control system based on smart devices includes: a client 410 and at least two smart devices 420; wherein the client 410 establishes a wireless communication connection with each smart device 420;
[0113] In response to receiving the target voice control instruction, a set of controllable devices is obtained through the client 410; wherein, the set of controllable devices includes smart devices located in the target spatial area and establishing or supporting establishment of a wireless connection with the client; and the target smart device is determined from the set of controllable devices based on the actual control function in the received target voice control instruction and the wireless signal strength of each smart device 420, and the text information or control code associated with the target voice control instruction is sent to the target smart device, so that the target smart device performs the operation associated with the target voice control instruction.
[0114] After a user carries a mobile terminal into a certain spatial area, the mobile terminal can send a scanning signal through the wireless communication module, and search and identify all smart devices 420 with and enabled wireless communication functions within the target spatial area through the client 410 to form a controllable device set. Then, all smart devices 420 with actual control functions can be screened from the controllable device set by the client 410, and the wireless signal strength of the smart devices 420 with actual control functions can be detected. The smart device with the largest wireless signal strength can be screened and selected as the target smart device; then, the client 410 can send the target voice control instruction to the target smart device through wireless communication. After receiving the target voice control instruction, the target smart device performs the corresponding related operation according to the target voice control instruction.
[0115] In the embodiment, for explanations of parameters such as the target smart device, actual control function, target voice control instructions, and wireless signal strength, please refer to the descriptions of the corresponding parameters in the embodiment of the voice control method for the smart device mentioned above, which will not be repeated here.
[0116] The technical solution of this embodiment, upon receiving a target voice control command, forms a controllable device set by acquiring smart devices located in a target spatial area and having established or capable of establishing a wireless connection with a client. This allows the user to perform voice control of the smart devices in the controllable device set through the client, avoiding the tedious operation of the user controlling the device through a touch interface or remote control. This perfectly solves the technical problems of high user learning cost and poor user fluency caused by cumbersome operation in the prior art, and realizes true "moving with the sound". In addition, by detecting and intelligently capturing and analyzing the non-specific target voice control command issued by the user, identifying and extracting the actual control function in the target voice control command, and analyzing the wireless signal strength of each smart device, the target smart device closest to the mobile terminal associated with the client and having the actual control function in the target voice control command is determined, and the target smart device is caused to perform the associated operation based on the target voice control command. This realizes the automatic triggering and adjustment of the smart device closest to the user by wirelessly locating the sound source, avoiding the situation of voice misoperation, and effectively improving the convenience and comfort of use on the basis of greatly simplifying the operation process, and providing users with a more intelligent and humanized home experience space.
[0117] In one embodiment, Figure 5 This is a structural block diagram of another voice control system based on intelligent devices provided by an embodiment of the present invention. This embodiment further explains the structure of the voice control system. Figure 5 As shown, the voice control system also includes: a cloud server 430, which establishes a communication connection with the client 410; in response to receiving the initial voice control signal, the initial voice control signal is sent to the cloud server 430 in the form of an audio file; the cloud server 430 identifies and extracts the target voice control instruction from the audio file, and sends the target voice control instruction to the client 410.
[0118] It should be noted that, for the explanation of the parameters such as the initial voice control signal and the audio file in this embodiment, please refer to the description of the corresponding parameters in the embodiment of the voice control method of the above-mentioned smart device, which will not be repeated here.
[0119] In one embodiment, Figure 6 This is a schematic diagram of the configuration of the actual relative distance between a bathroom device and a user provided by an embodiment of the present invention; Figure 7This is a schematic diagram illustrating an implementation of a voice control interaction provided by an embodiment of the present invention. This embodiment uses the example of "turning on a light" as the actual control function of the target voice control command input by the user to demonstrate how the voice control system responds and executes the control operation. Similarly, this interaction can be seamlessly applied to other voice commands for controlling device functions or adjusting parameters, such as "adjust water temperature," "turn on the heater," and "adjust air temperature."
[0120] In this embodiment, these devices are all equipped with built-in Bluetooth modules to achieve wireless communication and positioning. In this embodiment, the controllable device set includes a bathroom cabinet, a toilet, a shower and a bathtub.
[0121] like Figure 6 As shown, wireless positioning can be used to determine the actual relative distances between the user and each bathroom fixture: distance A, distance B, distance C, and distance D. Distance A is the actual relative distance between the user and the bathroom cabinet, distance B is the actual relative distance between the user and the smart toilet, distance C is the actual relative distance between the user and the shower, and distance D is the actual relative distance between the user and the bathtub. The actual relative distances between the user and each bathroom fixture are then sorted in ascending order to obtain distances A, B, C, and D.
[0122] According to the actual control function of "turn on the light", various bathroom equipment in the bathroom space are screened, and the bathroom equipment with light control instructions are: bathroom cabinet (ceiling light), toilet (night light), bathtub (atmosphere light); the bathroom equipment without light control instructions is: shower.
[0123] like Figure 7 As shown, the voice control interaction process includes the following steps:
[0124] Step 1: The user uses the built-in microphone of the smartphone to collect the user's voice control signal "turn on the light" in the bathroom space. The mobile phone APP sends the collected voice control signal "turn on the light" to the cloud server in the form of an audio file.
[0125] Step 2: The cloud server parses the audio file, obtains the target voice control command "turn on the light", and sends it to the smartphone APP.
[0126] Step 3: The smartphone APP eliminates devices (showers) that do not have the actual control function (lighting function) in the target voice control command based on the instruction set stored in the smartphone APP for each bathroom appliance.
[0127] like Figure 6As shown, the sorting of the actual relative distances between the sound source and each bathroom device is: A < B < C < D. According to the Bluetooth sound source positioning technology, the smaller the actual relative distance between the sound source and the bathroom device, the stronger its Bluetooth signal; the larger the actual relative distance between the sound source and the bathroom device, the weaker its Bluetooth signal. Therefore, the target smart device is determined to be the bathroom cabinet.
[0128] Step 4: The smartphone APP sends the target voice control instruction "turn on the light" to the bathroom cabinet, and the bathroom cabinet light turns on.
[0129] Step 5: The bathroom cabinet feeds back the light-on state to the smartphone APP via Bluetooth.
[0130] In one embodiment, Figure 8 is a schematic structural diagram of a voice control device based on a smart device provided by an embodiment of the present invention. In this embodiment, the voice control device based on the smart device can be integrated as a logic module in a mobile terminal associated with the client. For example, each logic module in the voice control device can be integrated in the processor of the mobile terminal associated with the client. As Figure 8 shown, the device includes: an acquisition module 810, a determination module 820, and a control module 830.
[0131] The acquisition module 810 is configured to obtain a set of controllable devices in response to receiving a target voice control instruction; wherein, the set of controllable devices includes smart devices located in the target space area and having established or supporting the establishment of a wireless connection with the client;
[0132] The determination module 820 is configured to determine a target smart device from the set of controllable devices according to the actual control function in the received target voice control instruction and the wireless signal strength of each smart device;
[0133] The control module 830 is configured to send text information or a control code associated with the target voice control instruction to the target smart device, so that the target smart device performs an operation associated with the target voice control instruction.
[0134] In one embodiment, the process of forming the set of controllable devices includes:
[0135] Detect the spatial relationship between the mobile terminal associated with the client and each smart device, as well as the wireless connection capabilities of each smart device;
[0136] All smart devices located in the target space area and having established or supporting the establishment of a wireless connection with the client are formed into a set of controllable devices.
[0137] In one embodiment, the determination module 820 includes:
[0138] A first screening unit is configured to screen the controllable device set according to the actual control function in the received target voice control command, and obtain all smart devices with the actual control function to form a candidate device set;
[0139] The second screening unit is configured to screen the smart device with the smallest actual relative distance to the mobile terminal from the candidate device set based on the wireless signal strength of the smart device, and obtain the smart device as the target smart device.
[0140] In one embodiment, the second screening unit includes:
[0141] A first determining subunit is configured to determine the wireless signal strength between each smart device in the candidate device set and the mobile terminal associated with the client;
[0142] A second determining subunit is configured to determine an actual relative distance between each smart device and the mobile terminal according to the wireless signal strength;
[0143] The third determining subunit is configured to select the smart device with the smallest actual relative distance in the candidate device set as the target smart device.
[0144] In one embodiment, before obtaining the set of controllable devices in response to receiving the target voice control instruction, the voice control apparatus based on the smart device further includes:
[0145] a sending module, configured to, in response to receiving the initial voice control signal, send the initial voice control signal as an audio file to a cloud server;
[0146] The receiving module is used to receive the target voice control instructions recognized and extracted from the audio file by the cloud server.
[0147] In one embodiment, before obtaining the set of controllable devices in response to receiving the target voice control instruction, the voice control apparatus based on the smart device further includes:
[0148] an activation module, configured to activate a wireless scanning function of a mobile terminal associated with the client in response to receiving a target voice control instruction;
[0149] The receiving module is further used to receive wireless signals broadcast by all smart devices located in the target space area;
[0150] A module is established for wireless connection based on the communication address and protocol of the wireless signal.
[0151] In one embodiment, after sending the text information or control code associated with the target voice control instruction to the target smart device so that the target smart device performs the operation associated with the target voice control instruction, the voice control apparatus based on the smart device further includes:
[0152] The receiving module is further used to receive the operation execution result fed back by the target smart device;
[0153] The determination module is further used to determine the device health status of the target smart device according to the operation execution result.
[0154] The voice control apparatus based on smart devices provided in the embodiment of the present invention can execute the voice control method based on smart devices provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0155] In one embodiment, Figure 9 This is a structural block diagram of an electronic device provided by an embodiment of the present invention. Figure 9 , a schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein. The electronic device in this embodiment can be the above-mentioned mobile terminal.
[0156] like Figure 9 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0157] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0158] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the voice control method based on the smart device.
[0159] In some embodiments, the voice control method based on the smart device can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the voice control method based on the smart device described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the voice control method based on the smart device by any other appropriate means (for example, by means of firmware).
[0160] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0161] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0162] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0163] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0164] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0165] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0166] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, can implement the voice control method based on an intelligent device as provided in any embodiment of the present application.
[0167] The computer program product, during implementation, may be written in one or more programming languages or a combination thereof, for performing the operations of the present application, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0168] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0169] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A voice control method based on an intelligent device, characterized in that: Applied to a client; the method includes: In response to receiving the target voice control instruction, obtaining a set of controllable devices; wherein the set of controllable devices includes smart devices located in the target spatial area and establishing or supporting establishment of a wireless connection with the client; Filtering a target smart device from the set of controllable devices according to an actual control function in the received target voice control instruction and a wireless signal strength of each smart device; The text information or control code associated with the target voice control instruction is sent to the target smart device, so that the target smart device performs the operation associated with the target voice control instruction.
2. The method according to claim 1, characterized in that The process of forming the controllable device set includes: Detecting the spatial relationship between the mobile terminal associated with the client and each smart device, as well as the wireless connection capabilities of each smart device; All smart devices located in the target space area and that have established or support establishing a wireless connection with the client constitute a controllable device set.
3. The method according to claim 1, characterized in that The step of selecting a target smart device from the set of controllable devices according to the actual control function in the received target voice control instruction and the wireless signal strength of each smart device includes: Screening the controllable device set according to the actual control function in the received target voice control command to obtain all smart devices with the actual control function to form a candidate device set; Based on the wireless signal strength of the smart device, a smart device with the smallest actual relative distance to the mobile terminal is screened from the candidate device set and used as the target smart device.
4. The method according to claim 3, characterized in that The step of selecting a smart device with the smallest actual relative distance to the mobile terminal from the candidate device set based on the wireless signal strength of the smart device as the target smart device includes: Determining the wireless signal strength between each smart device in the candidate device set and the mobile terminal associated with the client; Determine the actual relative distance between each smart device and the mobile terminal according to the wireless signal strength; The smart device with the smallest actual relative distance in the candidate device set is used as the target smart device.
5. The method according to claim 1, wherein Before acquiring the controllable device set in response to receiving the target voice control instruction, the method further includes: In response to receiving the initial voice control signal, sending the initial voice control signal as an audio file to a cloud server; Receive the target voice control instruction identified and extracted by the cloud server from the audio file.
6. The method according to any one of claims 1 to 5, characterized in that Before acquiring the controllable device set in response to receiving the target voice control instruction, the method further includes: In response to receiving the target voice control instruction, starting a wireless scanning function of the mobile terminal associated with the client; Receive wireless signals broadcast by all smart devices within the target spatial area; A wireless connection is established based on the communication address and protocol of the wireless signal.
7. The method according to any one of claims 1 to 5, characterized in that After sending the text information or control code associated with the target voice control instruction to the target smart device so that the target smart device performs the operation associated with the target voice control instruction, the method further includes: Receive the operation execution result fed back by the target smart device; Determine the device health status of the target smart device according to the operation execution result.
8. A voice control device based on an intelligent device, characterized in that: Applied to a client; the device comprises: an acquisition module, configured to acquire a set of controllable devices in response to receiving a target voice control instruction; wherein the set of controllable devices includes smart devices located in a target spatial area and that establish or support establishing a wireless connection with the client; a determination module, configured to determine a target smart device from the set of controllable devices based on an actual control function in the received target voice control instruction and a wireless signal strength of each of the smart devices; The control module is configured to send text information or a control code associated with the target voice control instruction to the target smart device, so that the target smart device executes an operation associated with the target voice control instruction.
9. A voice control system based on intelligent devices, characterized in that: include: A client and a smart device; wherein the client establishes a wireless communication connection with each of the smart devices; In response to receiving a target voice control instruction, a set of controllable devices is obtained through the client; wherein the set of controllable devices includes smart devices located in a target spatial area and establishing or supporting a wireless connection with the client; and the target smart device is determined from the set of controllable devices based on the actual control function in the received target voice control instruction and the wireless signal strength of each of the smart devices, and the text information or control code associated with the target voice control instruction is sent to the target smart device, so that the target smart device performs the operation associated with the target voice control instruction.
10. The system according to claim 9, characterized in that The voice control system further includes: a cloud server, wherein the cloud server establishes a communication connection with the client; In response to receiving the initial voice control signal, the initial voice control signal is sent to the cloud server in the form of an audio file; the cloud server identifies and extracts the target voice control instruction from the audio file, and sends the target voice control instruction to the client.
11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to execute the voice control method based on an intelligent device according to any one of claims 1 to 7.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the voice control method based on an intelligent device according to any one of claims 1 to 7 when executed.
13. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the voice control method based on an intelligent device according to any one of claims 1 to 7.
Citation Information
Cited By
Control method of intelligent closestool and storage medium
CN121331117A