Three-in-one control method and system for switch supporting offline voice operation

Through offline voice chip and multi-pair-to-one-entry fuzzy processing technology, the unavailability and delay problems of the voice control system in no network environment are solved, achieving a natural and coherent voice control experience in smart homes, and improving user satisfaction. degree and system security.

CN118550205AInactive Publication Date: 2024-08-27LEXUS INTELLIGENT TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410581631.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing voice control systems rely on the network, making them unavailable in non-network environments. There are risks of delays and privacy leaks, and they cannot provide a natural and coherent smart device control experience.

Method used

An offline voice chip is used to store operation command entry information, combined with multi-pair entry fuzzy processing technology, Mel frequency cepstrum coefficient characteristics and deep learning network, to collect voice information in real time for comparison and recognition, realizing operation in a network-free environment. Three-in-one control of smart devices.

Benefits of technology

Achieve fast and accurate voice control in a network-free environment, reduce the risk of data leakage, provide a natural and coherent user interaction experience, and improve the satisfaction and practicality of smart home systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550205A
    Figure CN118550205A
Patent Text Reader

Abstract

The invention discloses a three-in-one control method and system for a switch supporting off-line voice operation, and the method comprises the steps: collecting the voice information of an environment where intelligent equipment is located in real time, transmitting the voice information to an off-line voice chip which stores the operation command entry information used for controlling the intelligent equipment in an off-line manner, the intelligent equipment comprises an air conditioner, a floor heater and fresh air equipment; comparing the voice information with the operation command entry information by using a many-for-one entry fuzzy processing technology, and determining an operation command in the voice information; and sending an operation command in the voice information to a three-in-one control panel of the intelligent equipment to execute the operation command so as to realize three-in-one control of the intelligent equipment. According to the embodiment of the invention, independent operation can be realized in a network-free environment, and more natural and coherent intelligent equipment three-in-one voice control experience can be provided, so that the satisfaction degree and practicability of a user to an intelligent home system are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent Internet of Things, and in particular to a three-in-one control method and system for a switch supporting offline voice operation. Background Art

[0002] In the current technological development context, the popularization and integration of smart devices has become a major trend in home and commercial environments. These devices include smart speakers, smart lamps, security systems, etc., which are usually controlled through a central control system or through the Internet. With the development of the Internet of Things (IoT), users have put forward higher requirements for the convenience and efficiency of smart device operation, especially seeking more natural and intuitive interaction methods in terms of operation.

[0003] With the advancement of technology, voice control has become an emerging interactive method, which allows users to control one or more smart devices through simple voice commands. Voice interaction can not only improve the convenience and efficiency of operation, but also provide a more feasible operation method for users with limited vision.

[0004] Although voice control systems that rely on cloud computing have become popular due to their powerful processing power and real-time update capabilities, they also have significant disadvantages, including dependence on the network, latency issues, privacy leakage risks, and unavailability in the absence of a network. Therefore, the development of offline voice control systems is particularly important, which can process commands locally without an Internet connection, improve command response speed, and protect user data privacy. Summary of the invention

[0005] The purpose of the present invention is to provide a three-in-one control method and system for a switch that supports offline voice operation, so as to address the deficiencies in the prior art, be able to operate independently in a network-free environment, and provide a more natural and coherent three-in-one voice control experience for smart devices, thereby greatly improving user satisfaction and practicality of the smart home system.

[0006] An embodiment of the present application provides a three-in-one control method for a switch supporting offline voice operation, the method comprising: Collect voice information of the environment where the smart device is located in real time, and send the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the multiple smart devices, wherein the smart devices include: air conditioners, floor heating and fresh air equipment; Using multiple-to-one fuzzy processing technology, the voice information is compared with the operation command word information to determine the operation command in the voice information; The operation command in the voice information is sent to the three-in-one control panel of the switch of the smart device to execute the operation command and realize the three-in-one control of the smart device.

[0007] Optionally, the method further includes: After the operation command in the voice information is sent to the three-in-one control panel of the smart device to execute the operation command, the three-in-one control panel is set to a wake-up state and maintained for a preset time to achieve continuous voice operation.

[0008] Optionally, the offline voice chip pre-stores entry vectors of operation command entry information for offline control of the multiple intelligent devices; The method of using the multiple-to-one fuzzy processing technology to compare the voice information with the operation command word information to determine the operation command in the voice information includes: Extracting Mel-frequency cepstral coefficient features from speech information, and converting the Mel-frequency cepstral coefficient features into semantic vectors, wherein the semantic vectors represent the expression of the meaning level of a speech; Calculate the similarity between the real-time semantic vector and each stored term vector; If there is a word vector whose similarity exceeds a preset similarity threshold, the operation command of the word vector is used as the operation command in the voice information; If there is no entry vector whose similarity exceeds the preset similarity threshold, the semantic vector is input into a pre-trained Transformer-based self-attention mechanism model to identify and output the operation command in the voice information.

[0009] Optionally, the using of multiple-to-one fuzzy processing technology to compare the voice information with the operation command term information to determine the operation command in the voice information includes: Extracting specific key features of the voice information, analyzing the extracted features using a deep learning network, and outputting a probability distribution of operation commands, wherein the deep learning network can learn a mapping relationship from voice features to operation commands through training of voice-command pairs, and the probability distribution represents a confidence level corresponding to each possible operation command; Using a fuzzy logic system to process the probability distribution according to a preset "if-then" rule, wherein if the confidence of the operation command exceeds a preset threshold, then the command is determined to be valid; The membership function value of the effective command calculated using the membership function is:

[0010] Wherein, mu(x_i) is the membership function value of the i-th valid command, x_i is the confidence of the i-th valid command, and alpha is the preset threshold; The valid command with the highest membership function value is determined as the final operation command.

[0011] Another embodiment of the present application provides a three-in-one control system for a switch supporting offline voice operation, the system comprising: A collection module, used for collecting voice information of the environment where the smart device is located in real time, and sending the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the multiple smart devices, wherein the smart devices include: air conditioners, floor heating and fresh air equipment; A comparison module, used to compare the voice information with the operation command term information by using a multiple-to-term fuzzy processing technology to determine the operation command in the voice information; The control module is used to send the operation command in the voice information to the three-in-one control panel of the switch of the smart device to execute the operation command and realize the three-in-one control of the smart device.

[0012] Yet another embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, wherein the computer program is configured to execute any of the above methods when running.

[0013] Yet another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any of the methods described above.

[0014] Compared with the prior art, the present invention provides a three-in-one control method for a switch supporting offline voice operation, which collects voice information of the environment in which the smart device is located in real time, and sends the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the smart device, and the smart device includes: air conditioning, floor heating and fresh air equipment; using a multi-to-one entry fuzzy processing technology, the voice information is compared with the operation command entry information to determine the operation command in the voice information; the operation command in the voice information is sent to the three-in-one control panel of the smart device to execute the operation command, thereby realizing the three-in-one control of the smart device, so that it can operate independently in a network-free environment, and can also provide a more natural and coherent three-in-one voice control experience of the smart device, thereby greatly improving the user's satisfaction and practicality with the smart home system. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1A hardware structure block diagram of a computer terminal for a three-in-one control method of a switch supporting offline voice operation provided by an embodiment of the present invention; Figure 2 A schematic flow chart of a three-in-one control method for a switch supporting offline voice operation provided by an embodiment of the present invention; Figure 3 A schematic structural diagram of a three-in-one control system of a switch supporting offline voice operation provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0016] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.

[0017] Traditional voice control systems that rely on cloud computing need to transmit data to the server via the Internet for processing and then return the recognition results. This approach may cause long delays and pose the risk of user data privacy leakage. In contrast, the design of the offline voice chip achieves fast and private voice recognition through local command matching technology, thereby ensuring that users can control smart devices instantly and reduce operation delays. At the same time, the command term information pre-stored in the offline chip can accurately recognize a variety of voice commands through fuzzy logic systems, semantic vectors, and deep learning technologies, improving the user experience.

[0018] The embodiment of the present invention firstly provides a three-in-one control method of a switch supporting offline voice operation, which can be applied to electronic devices such as computer terminals, specifically ordinary computers, etc.

[0019] The following describes it in detail by taking running on a computer terminal as an example. Figure 1 The hardware structure block diagram of a computer terminal of a three-in-one control method of a switch supporting offline voice operation provided by an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the computer terminal may also include a transmission device 106 for communication functions and an input and output device 108. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0020] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / modules corresponding to the three-in-one control method of the switch supporting offline voice operation in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0021] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0022] See also Figure 2 , an embodiment of the present invention provides a three-in-one control method for a switch supporting offline voice operation, which may include the following steps: S201, collecting voice information of the environment in which the smart devices are located in real time, and sending the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the multiple smart devices, wherein the smart devices include: air conditioners, floor heating and fresh air equipment; In an environment without network connection, smart devices still need to respond to users' immediate commands. Traditional voice control systems that rely on the network will completely fail without the network. However, by pre-storing the operation command entries in the offline voice chip, it can not only work completely offline, but also provide a fast response. In addition, the localization of processing all data reduces the dependence on external servers, thereby greatly reducing the risk of data leakage or interception. This approach provides a solution that is both secure and independent, allowing smart devices to remain efficient and reliable in any situation.

[0023] Specifically, the offline voice chip may pre-store the entry vectors of the operation command entry information for offline control of the multiple intelligent devices. One implementation may include: 1. Real-time collection of voice information: - Highly sensitive microphone arrays are deployed in the environment where smart devices are located. These microphones are designed to capture voice commands from all directions. This layout ensures that commands issued by users in different locations can be effectively received, and the clarity of voice information can be maintained even in environments with high background noise. - The voice signals collected by these microphones are converted into digital signals through analog-to-digital converters (ADCs) to facilitate subsequent data processing and transmission.

[0024] 2. Voice information is sent to the offline voice chip: - The voice data converted into digital signals is quickly sent to the offline voice chip through the built-in data transmission interface (such as I2C, SPI). The offline voice chip is designed with sufficient buffer area to receive and temporarily store this data.

[0025] - The offline voice chip not only stores the command terms required for smart device operation, but also has a processor and algorithm for parsing and matching voice commands. These terms are pre-stored in the form of feature vectors to facilitate fast feature matching.

[0026] Through these two key steps, the system can achieve efficient and private voice control without external network support. This design effectively solves the operation limitations of traditional systems in offline environments, ensuring the reliability of smart devices and the convenience of users' operations.

[0027] S202, using a multiple-to-one fuzzy processing technology, comparing the voice information with the operation command word information to determine the operation command in the voice information; In offline voice control systems, using multiple-to-one fuzzy processing technology to compare voice information with operation command word information and determine the operation command is a key technology. This technology is particularly suitable for offline environments and can process and recognize diverse voice commands from users, ensuring high responsiveness and operation accuracy of smart devices even without network connection. The unexpected thing about this technology is that it combines fuzzy logic processing and deep learning analysis, which not only improves the accuracy of command recognition, but also adapts to the diversity of user pronunciation and the interference of environmental noise, providing a more humane and customized user experience.

[0028] Specifically, in one implementation, a Mel-frequency cepstral coefficient feature can be extracted from the speech information, and the Mel-frequency cepstral coefficient feature can be converted into a semantic vector, wherein the semantic vector represents the expression of the meaning level of a speech; When the user issues a voice command to the device, the built-in microphone array captures the voice and converts it into a digital signal. Then, the system uses the Mel Frequency Cepstral Coefficient (MFCC) technology to extract the main features of the voice signal. MFCC is a feature extraction technology widely used in speech recognition. It simulates the processing method of the human cochlea and effectively extracts the basic attributes of speech such as pitch and rhythm to form a set of feature vectors.

[0029] The extracted MFCC feature vectors are then converted into semantic vectors. This step is done by a pre-trained deep neural network that learns the relationship between mapping specific sound features to their semantic content. The semantic vector represents the meaning level of speech and maintains high consistency even in the case of different speech features.

[0030] Calculate the similarity between the real-time semantic vector and each stored term vector; The system calculates the similarity between the semantic vector generated in real time and each word vector pre-stored in the offline voice chip. Here, methods such as cosine similarity or Euclidean distance are usually used to determine which pre-stored words are closest to the current semantic vector.

[0031] If there is a word vector whose similarity exceeds a preset similarity threshold, the operation command of the word vector is used as the operation command in the voice information; If there is no entry vector whose similarity exceeds the preset similarity threshold, the semantic vector is input into a pre-trained Transformer-based self-attention mechanism model to identify and output the operation command in the voice information.

[0032] If the similarity found exceeds the preset similarity threshold, the system will identify the operation command corresponding to the term vector as a valid command. If the similarity of any term vector does not exceed the threshold, it means that the corresponding term vector may not be pre-stored in the offline voice chip, and the semantic vector will be input into a pre-trained Transformer-based self-attention mechanism model. The model further analyzes the semantic vector, identifies and outputs the final operation command. Among them, the Transformer-based self-attention mechanism model can better learn long-distance dependencies from sequence data.

[0033] Through the above steps, the offline voice control system can achieve efficient and accurate control of smart devices without network support, while greatly improving the system's response speed and data security.

[0034] Specifically, in another implementation, specific key features of the voice information can be extracted, and the extracted features can be analyzed using a deep learning network to output a probability distribution of the operation command, wherein the deep learning network can learn a mapping relationship from voice features to operation commands through training of voice-command pairs, and the probability distribution represents the confidence level corresponding to each possible operation command; The real-time collected voice information is first preprocessed to eliminate background noise and echo, and then the key features of the voice are extracted, such as Mel-frequency cepstral coefficients (MFCC), pitch, rhythm, etc. These features provide basic data for deep learning network analysis.

[0035] The extracted speech features are analyzed using deep learning networks, especially convolutional neural networks (CNN) or recurrent neural networks (RNN). These networks are trained in advance with a large number of speech-command pairs and learn to recognize the pattern of operation commands from complex speech features. The output of the network is a probability distribution of operation commands, with each possible command having a corresponding confidence level.

[0036] Using a fuzzy logic system to process the probability distribution according to a preset "if-then" rule, wherein if the confidence of the operation command exceeds a preset threshold, then the command is determined to be valid; For each command obtained by the deep learning network, the confidence level is evaluated by a fuzzy logic system according to a preset "if-then" rule. For example, if the confidence level of a command exceeds a preset threshold, then the command can be considered a valid command.

[0037] The membership function value of the effective command calculated using the membership function is: Among them, mu(x_i) is the membership function value of the i-th valid command, which is used to measure the possibility or suitability of the command to be selected as the final operation command.

[0038] x_i is the confidence of the ith valid command, which represents the value of the deep learning network's judgment on the degree of consistency between the command and the user's intention. A high confidence level means that the command is more likely to be the user's actual intention.

[0039] Alpha is a preset threshold used to adjust the sensitivity of the membership function, thereby affecting the selection of the final operation command. Adjusting alpha can control under what circumstances the command is considered valid.

[0040] For each command that is considered valid, the membership function is used to calculate its membership function value. The higher the membership function value, the more likely it is that the command is the operation that the user actually wants to perform.

[0041] The formula uses the sigmoid function as the membership function, so that the membership function value changes rapidly when the confidence is close to the threshold alpha, and changes slowly when the confidence is far from the threshold. This design has good flexibility and robustness in processing confidence, and can effectively select the command that is most likely to reflect the user's true intention from multiple valid commands.

[0042] The valid command with the highest membership function value is determined as the final operation command.

[0043] Among all valid commands, the command with the highest membership function value is selected as the final operation command. This command is then sent to the three-in-one control panel of the smart device to perform the corresponding operation and realize the control of a series of smart devices.

[0044] Through the above steps, the method can accurately recognize and execute the user's continuous voice commands in an offline environment, thereby improving the usability of the smart device and the user's satisfaction.

[0045] S203, sending the operation command in the voice information to the three-in-one control panel of the switch of the smart device to execute the operation command to achieve three-in-one control of the smart device.

[0046] The key to the process of sending the operation command in the voice message to the three-in-one control panel of the smart device to execute the operation command is to ensure that the command can be processed and executed quickly and accurately in a network-free environment. This step is to use offline voice processing technology, which can break through the traditional network dependence limitations and realize instant processing and delivery of commands. In addition, this technology also ensures a continuous user interaction experience and improves user satisfaction, because users do not need to wait for network response, thereby avoiding the operational inconvenience caused by network delays. One implementation method may include: 1. Efficient command processing of offline voice chip: Through the built-in offline voice chip, the system first quickly processes the collected voice information and recognizes commands. This chip is specially designed to process voice data efficiently without relying on external network connection.

[0047] 2. Command recognition and confirmation: The voice chip uses advanced voice recognition algorithms and fuzzy logic to recognize and confirm the specific operation commands in the voice instructions. This includes parsing the content of the voice, matching the preset command terms, and determining the final operation command.

[0048] 3. Commands are transmitted to the 3-in-1 control panel: Once the command is confirmed, it is sent to the central control panel through the internal communication system (such as Wi-Fi, Bluetooth, etc., which are set to work within the local area network to maintain offline functions). The control panel is the hub connecting various smart devices and is responsible for interpreting and forwarding these commands to the corresponding devices.

[0049] 4. Execute the operation command: After the control panel receives the command, it controls the corresponding smart device according to the content of the command. This may include adjusting the brightness of lights, setting the temperature of air conditioners, activating security systems, etc., to achieve unified management and control of multiple smart devices in the home.

[0050] In this way, the sending and execution of operation commands can be completed quickly and accurately even in a completely offline environment, ensuring the efficient operation of the smart home system and the continuity of user operations. The implementation of this technology reflects the importance of innovative application of technology in modern smart home systems, especially in improving system reliability and user experience.

[0051] Furthermore, after sending the operation command in the voice information to the three-in-one control panel of the smart device to execute the operation command, the three-in-one control panel can be set to an awake state and maintained for a preset time to achieve continuous voice operation.

[0052] By keeping the control panel awake, the waiting time for the system to respond each time a new command is issued is reduced, achieving a continuous and fast voice operation experience. This method breaks the lag of traditional successive wake-ups and operations. Users can issue continuous commands immediately after waking up once, ensuring seamless connection of multiple operations, greatly improving the user experience. A specific implementation method may include: 1. Operation command execution and wake-up status setting: - The three-in-one control panel receives and executes operation commands from the offline voice chip, such as controlling the lights, temperature, door locks, etc. in the home.

[0053] - After executing an operation command, the control panel will not enter the standby state immediately, but remain in the awake state.

[0054] 2. Remain awake for a preset time: - The control panel remains awake for a preset period of time according to internal settings, allowing the user to issue new operation commands during this period of time.

[0055] - By keeping the device active during this time, users can issue new commands immediately without waking up the system again, avoiding lag issues.

[0056] 3. Voice continuous operation realization: - Users can issue multiple commands in succession, and the control panel will respond and execute these commands in a timely manner to maintain an efficient user interaction experience.

[0057] - The system can ensure the accuracy of continuous commands and remain awake after each command is executed to meet the user's continuous operation needs.

[0058] Through the above steps, the system ensures that the wake-up state of the three-in-one control panel remains active within the preset time, thereby realizing continuous control of multiple devices in the smart home. This technology improves the overall system response efficiency by optimizing the user's interactive experience, reducing the delay time of voice commands, and making it of great significance in practical applications.

[0059] It can be seen that by collecting voice information of the environment in which the smart device is located in real time, the voice information is sent to the offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the smart device, and the smart devices include: air conditioning, floor heating and fresh air equipment; using multiple-to-one entry fuzzy processing technology, the voice information is compared with the operation command entry information to determine the operation command in the voice information; the operation command in the voice information is sent to the three-in-one control panel of the smart device to execute the operation command, so as to realize the three-in-one control of the smart device, so that it can operate independently in a network-free environment, and can also provide a more natural and coherent three-in-one voice control experience of smart devices, thereby greatly improving user satisfaction and practicality of the smart home system.

[0060] Another embodiment of the present invention provides a three-in-one control system for a switch supporting offline voice operation, see Figure 3 , the system may include: The acquisition module 301 is used to collect voice information of the environment where the smart device is located in real time, and send the voice information to the offline voice chip, wherein the offline voice chip stores the operation command entry information for offline control of the multiple smart devices, and the smart devices include: air conditioners, floor heating and fresh air equipment; A comparison module 302, for comparing the voice information with the operation command term information by using a multiple-to-term fuzzy processing technique to determine the operation command in the voice information; The control module 303 is used to send the operation command in the voice information to the three-in-one control panel of the switch of the smart device to execute the operation command and realize the three-in-one control of the smart device.

[0061] It can be seen that by collecting voice information of the environment in which the smart device is located in real time, the voice information is sent to the offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the smart device, and the smart devices include: air conditioning, floor heating and fresh air equipment; using multiple-to-one entry fuzzy processing technology, the voice information is compared with the operation command entry information to determine the operation command in the voice information; the operation command in the voice information is sent to the three-in-one control panel of the smart device to execute the operation command, so as to realize the three-in-one control of the smart device, so that it can operate independently in a network-free environment, and can also provide a more natural and coherent three-in-one voice control experience of smart devices, thereby greatly improving user satisfaction and practicality of the smart home system.

[0062] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0063] Specifically, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps: S201, collecting voice information of the environment in which the smart devices are located in real time, and sending the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the multiple smart devices, wherein the smart devices include: air conditioners, floor heating and fresh air equipment; S202, using a multiple-to-one fuzzy processing technology, comparing the voice information with the operation command word information to determine the operation command in the voice information; S203, sending the operation command in the voice information to the three-in-one control panel of the switch of the smart device to execute the operation command to achieve three-in-one control of the smart device.

[0064] It can be seen that by collecting voice information of the environment in which the smart device is located in real time, the voice information is sent to the offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the smart device, and the smart devices include: air conditioning, floor heating and fresh air equipment; using multiple-to-one entry fuzzy processing technology, the voice information is compared with the operation command entry information to determine the operation command in the voice information; the operation command in the voice information is sent to the three-in-one control panel of the smart device to execute the operation command, so as to realize the three-in-one control of the smart device, so that it can operate independently in a network-free environment, and can also provide a more natural and coherent three-in-one voice control experience of smart devices, thereby greatly improving user satisfaction and practicality of the smart home system.

[0065] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0066] Specifically, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0067] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program: S201, collecting voice information of the environment in which the smart devices are located in real time, and sending the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the multiple smart devices, wherein the smart devices include: air conditioners, floor heating and fresh air equipment; S202, using a multiple-to-one fuzzy processing technology, comparing the voice information with the operation command word information to determine the operation command in the voice information; S203, sending the operation command in the voice information to the three-in-one control panel of the switch of the smart device to execute the operation command to achieve three-in-one control of the smart device.

[0068] It can be seen that by collecting voice information of the environment in which the smart device is located in real time, the voice information is sent to the offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the smart device, and the smart devices include: air conditioning, floor heating and fresh air equipment; using multiple-to-one entry fuzzy processing technology, the voice information is compared with the operation command entry information to determine the operation command in the voice information; the operation command in the voice information is sent to the three-in-one control panel of the smart device to execute the operation command, so as to realize the three-in-one control of the smart device, so that it can operate independently in a network-free environment, and can also provide a more natural and coherent three-in-one voice control experience of smart devices, thereby greatly improving user satisfaction and practicality of the smart home system.

[0069] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made according to the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.

Claims

1. A three-in-one control method for a switch supporting offline voice operation, It is characterized in that The method comprises: Collect voice information of the environment where the smart device is located in real time, and send the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the multiple smart devices, wherein the smart devices include: air conditioners, floor heating and fresh air equipment; Using multiple-to-one fuzzy processing technology, the voice information is compared with the operation command word information to determine the operation command in the voice information; The operation command in the voice information is sent to the three-in-one control panel of the switch of the smart device to execute the operation command and realize the three-in-one control of the smart device.

2. The method according to claim 1, It is characterized in that The method further comprises: After the operation command in the voice information is sent to the three-in-one control panel of the smart device to execute the operation command, the three-in-one control panel is set to a wake-up state and maintained for a preset time to achieve continuous voice operation.

3. The method according to claim 2, It is characterized in that The offline voice chip pre-stores the entry vector of the operation command entry information for offline control of the multiple intelligent devices; The method of using the multiple-to-one fuzzy processing technology to compare the voice information with the operation command word information to determine the operation command in the voice information includes: Extracting Mel-frequency cepstral coefficient features from speech information, and converting the Mel-frequency cepstral coefficient features into semantic vectors, wherein the semantic vectors represent the expression of the meaning level of a speech; Calculate the similarity between the real-time semantic vector and each stored term vector; If there is a word vector whose similarity exceeds a preset similarity threshold, the operation command of the word vector is used as the operation command in the voice information; If there is no entry vector whose similarity exceeds the preset similarity threshold, the semantic vector is input into a pre-trained Transformer-based self-attention mechanism model to identify and output the operation command in the voice information.

4. The method according to claim 2, It is characterized in that The method of using the multiple-to-one fuzzy processing technology to compare the voice information with the operation command word information to determine the operation command in the voice information includes: Extracting specific key features of the voice information, analyzing the extracted features using a deep learning network, and outputting a probability distribution of operation commands, wherein the deep learning network can learn a mapping relationship from voice features to operation commands through training of voice-command pairs, and the probability distribution represents a confidence level corresponding to each possible operation command; Using a fuzzy logic system to process the probability distribution according to a preset "if-then" rule, wherein if the confidence level of the operation command exceeds a preset threshold, the command is determined to be valid; The membership function value of the effective command calculated by the membership function is Wherein, mu(x_i) is the membership function value of the i-th valid command, x_i is the confidence of the i-th valid command, and alpha is the preset threshold; The valid command with the highest membership function value is determined as the final operation command.

5. A three-in-one control system for switches that supports offline voice operation, It is characterized in that The system comprises: A collection module, used for collecting voice information of the environment where the smart device is located in real time, and sending the voice information to an offline voice chip, wherein the offline voice chip stores operation command entry information for offline control of the multiple smart devices, wherein the smart devices include: air conditioners, floor heating and fresh air equipment; A comparison module, used to compare the voice information with the operation command term information by using a multiple-to-term fuzzy processing technology to determine the operation command in the voice information; The control module is used to send the operation command in the voice information to the three-in-one control panel of the switch of the smart device to execute the operation command and realize the three-in-one control of the smart device.

6. The system according to claim 5, It is characterized in that The system further comprises: The wake-up module is used to set the three-in-one control panel to a wake-up state and maintain a preset time after sending the operation command in the voice information to the three-in-one control panel of the smart device to execute the operation command, so as to realize continuous voice operation.

7. The system according to claim 6, It is characterized in that The offline voice chip pre-stores the entry vector of the operation command entry information for offline control of the multiple intelligent devices; the comparison module is specifically used for: Extracting Mel-frequency cepstral coefficient features from speech information, and converting the Mel-frequency cepstral coefficient features into semantic vectors, wherein the semantic vectors represent the expression of the meaning level of a speech; Calculate the similarity between the real-time semantic vector and each stored term vector; If there is a word vector whose similarity exceeds a preset similarity threshold, the operation command of the word vector is used as the operation command in the voice information; If there is no entry vector whose similarity exceeds the preset similarity threshold, the semantic vector is input into a pre-trained Transformer-based self-attention mechanism model to identify and output the operation command in the voice information.

8. The method according to claim 6, It is characterized in that The comparison module is specifically used for: Extracting specific key features of the voice information, analyzing the extracted features using a deep learning network, and outputting a probability distribution of operation commands, wherein the deep learning network can learn a mapping relationship from voice features to operation commands through training of voice-command pairs, and the probability distribution represents a confidence level corresponding to each possible operation command; Using a fuzzy logic system to process the probability distribution according to a preset "if-then" rule, wherein if the confidence level of the operation command exceeds a preset threshold, the command is determined to be valid; The membership function value of the effective command calculated using the membership function is: Wherein, mu(x_i) is the membership function value of the i-th valid command, x_i is the confidence of the i-th valid command, and alpha is the preset threshold; The valid command with the highest membership function value is determined as the final operation command.

9. A storage medium, It is characterized in that The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 4 when executed.

10. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 4.