Lamp AI voice control system based on WiFi and Bluetooth dual protocols

The AI ​​voice control system for lamps through WiFi and Bluetooth dual protocols, combined with voice and status analysis, realizes adaptive lighting adjustment, solves the problem of traditional systems failing to consider user emotions and scenes, and provides personalized and intelligent lighting. experience, improving user satisfaction and system adaptability.

CN118645099AActive Publication Date: 2024-09-13SHENZHEN QIANGHE TECH CO LTD

Patent Information

Application Number
CN202410884272.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-13
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Traditional lighting voice control systems fail to adjust intelligently, do not consider the user's emotions and scenes, and lack a personalized lighting experience.

Method used

An AI voice control system for lamps based on WiFi and Bluetooth dual protocols is used to generate lighting control coefficients through pattern recognition, speech analysis and status analysis modules, combined with tone emotion coefficients, vocabulary emotion coefficients and user characteristics influence coefficients, to achieve adaptive adjustment.

Benefits of technology

It provides a personalized and intelligent lighting experience, enhances user satisfaction and system flexibility, turns smart lamps into emotional partners, and improves users' quality of life and experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118645099A
    Figure CN118645099A
Patent Text Reader

Abstract

The invention discloses a lamp AI voice control system based on Wi-Fi and Bluetooth dual protocols, which relates to the technical field of voice control and comprises a mode recognition module, a voice receiving module, a voice analysis module, a state analysis module and an intelligent adjustment module. Wherein the voice receiving module is used for collecting voice data of a user, and the voice data comprises emotion data, vocabulary data and user data; the voice analysis module is used for establishing a user light adaptation model based on machine learning according to the voice data, generating a light control coefficient and obtaining a first control scheme according to the light control coefficient; the state analysis module is used for acquiring current state data which comprise festival data and time data, and optimizing the first control scheme by combining the light control coefficient to obtain a second control scheme; through intelligent interaction and emotional care, the intelligent lamp is simple lighting equipment, and the identity sense and dependency degree of a user on the system are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of voice control technology, and more specifically, to a lamp AI voice control system based on WiFi and Bluetooth dual protocols. Background Art

[0002] WiFi protocol refers to a wireless network communication protocol, which is usually used to connect electronic devices to local area networks (LANs) and the Internet. It is based on the IEEE802.11 standard and uses the 2.4GHz or 5GHz frequency band for communication. WiFi technology provides high-speed data transmission rates and can support a variety of network services, such as Internet access, file sharing, streaming media, etc. Through WiFi connection, users can connect to the network wirelessly at home, in the office or in public places to achieve convenient communication and information exchange. The popularity of WiFi technology has made wireless networks an indispensable part of modern life, promoting the development of mobile Internet and the widespread application of intelligent devices;

[0003] The Bluetooth protocol is a short-range wireless communication protocol designed to enable data exchange and connection between various devices. It uses low-power radio frequency technology to communicate in the 2.4GHz frequency band, allowing devices to communicate with each other within a range of about 10 meters. Bluetooth technology is widely used in various portable devices such as mobile phones, tablets, smart speakers, headphones, etc., for audio transmission, file sharing, device control and other functions. The characteristics of the Bluetooth protocol include a simple and easy-to-use connection process, a low-power design, and a wide range of device compatibility, making it one of the important technologies in the field of modern wireless communications;

[0004] AI voice control system is an intelligent control system based on artificial intelligence technology, which can interact with users through voice commands and perform corresponding tasks according to the user's instructions. The system usually includes modules such as speech recognition, natural language understanding, dialogue management and execution control. Through the collaboration of these modules, it can recognize the user's voice commands, understand the user's intentions, and take corresponding measures to complete the task. AI voice control system is widely used in smart homes, smart phones, car navigation systems and other fields, allowing users to operate devices through natural voice interaction, greatly improving the convenience and intelligence of user experience.

[0005] For example, the invention application with publication number: CN105700389A discloses a natural language control method for a smart home, which includes (1) receiving a voice control command by a voice receiving device; (2) analyzing the command by a control unit; (3) executing the command; in step (2), the following sub-steps are also included: (21) analyzing the completeness of the voice control command, if the voice control command contains a complete type of electrical appliance and an action command to be executed, directly proceeding to step (3); otherwise, proceeding to step (22); (22) if the type of electrical appliance is not specified in the voice control command, locating the user's position, finding the electrical appliance closest to the user according to the user's position, and judging that the electrical appliance is the specified electrical appliance, and executing step (3). The natural language control method for a smart home of the present invention adopts a method of indoor positioning of the user, and intelligently analyzing and judging the information implicitly contained in the user's incomplete voice control command according to the user's position, thereby improving the voice control system's ability to recognize natural language.

[0006] For example, the invention announcement with announcement number: CN106773918B discloses a user ladder diagram language control method of a controller based on a single-chip microcomputer, by dividing the memory of the single-chip microcomputer into three storage areas; ladder diagram compilation: compiling the components and logical operations involved in the ladder diagram language; scanning the ladder diagram according to the ladder diagram language scanning algorithm; forming a ladder diagram compilation file; loading the ladder diagram compilation file into the user program register module; the single-chip microcomputer performs ladder diagram logic scanning: establishing an interface function in the single-chip microcomputer kernel program module; modifying the ladder diagram, the ladder diagram compilation file compiles the modified ladder diagram, and the kernel program of the single-chip microcomputer periodically scans the external device memory mapping address, and calls the logical operation in the user program module, and transmits the result to the device. The present invention realizes the separation of kernel drive and logical operation and control, realizes operation logic programming in ladder diagram language, and reduces the difficulty of on-site debugging.

[0007] The above disclosed technical solutions have at least the following technical problems:

[0008] In traditional voice control systems for lamps, lamps are often adjusted mechanically based on user commands, without taking into account the user's emotions and current scenarios, and providing intelligent adjustment modes.

[0009] In view of the above problems, the present invention proposes a solution. Summary of the invention

[0010] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a lighting AI voice control system based on WiFi and Bluetooth dual protocols, which solves the problems raised in the above-mentioned background technology through lighting AI voice control.

[0011] To achieve the above object, the present invention provides the following technical solutions:

[0012] The AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols includes a pattern recognition module, a voice reception module, a voice analysis module, a state analysis module, and an intelligent adjustment module; wherein the pattern recognition module is used to obtain the voice mode of the current lamp, and the voice mode includes an adaptive mode and a normal mode; the voice reception module is used to collect the user's voice data, and the voice data includes emotional data, vocabulary data, and user data; the voice analysis module is used to establish a user light adaptation model based on machine learning according to the voice data, generate a light control coefficient, and obtain a first control scheme according to the light control coefficient; the state analysis module is used to obtain the current state data, and the state data includes holiday data and time data, and optimize the first control scheme in combination with the light control coefficient to obtain a second control scheme; the intelligent adjustment module: is used to control the lamp according to the second control scheme when the voice mode of the adaptive mode is received.

[0013] In a preferred embodiment, the emotion data includes a tone emotion coefficient; the vocabulary data includes a vocabulary sentiment coefficient; and the user data includes a user characteristic influence coefficient.

[0014] In a preferred embodiment, the state data includes holiday data and time data, and the first control scheme is optimized in combination with the lighting control coefficient as follows: setting the date importance benchmark score Kj 基 ; Get the importance of the current date. The importance of the date is divided into ordinary, holiday, and important date. When the importance of the date is ordinary, Kj1 points are added. When the importance of the date is an important date, Kj2 points are subtracted. When the importance of the date is a holiday, no points are added or subtracted. When the importance of the date is ordinary, Kj2=0, Kj3=0. When the importance of the date is a holiday, Kj1=0, Kj3=0. When the importance of the date is an important date, Kj1=0, Kj1=0. By formula Kj 基 +Kj1-Kj2=Kj 终 , calculate the date score Kj 终 ; Set the time base minute and mark it as Fj 基 , get the real-time time, when the real-time time exceeds the preset value A1, subtract Fj1 points, when the real-time time is between A1 and A2, add Fj2 points, when the real-time time is lower than A2, subtract Fj3 points, when the real-time time exceeds the preset value A1, Fj2 and Fj3 are both 0, when the real-time time is between A1 and A2, Fj1 and Fj3 are both 0, when the real-time time is lower than A2, Fj1 and Fj2 are 0; through the formula Fj 基 -Fj1+Fj2-Fj3=Fj 终 Get time sharing; assign date importance benchmark points Kj基 A correction value θ i , giving the time base fraction Fj 基 A correction value δ i ,θ i >δ i ,θ i +δ i =1; through the formula Kj 终 *θ i +Fj 终 *δ i =Ju d , and obtain the correction coefficient Ju d ; Multiply the correction coefficient by the lighting control coefficient to obtain a scheme comparison value; and match the scheme comparison value with a preset scheme comparison table to obtain a second control scheme.

[0015] In a preferred embodiment, the specific method for obtaining the tone emotion coefficient is as follows: first, the time domain waveform of the fundamental frequency is extracted by speech signal processing technology, and then the fundamental frequency change rate is calculated as the frequency feature; the volume and intensity are extracted by speech signal processing technology, and the energy mean is calculated as the energy feature; the speech rate of the speech signal and the duration of the speech segment are extracted by speech signal processing technology, and the duration change rate is calculated as the duration feature; the tone emotion coefficient is calculated by machine learning based on the comprehensive frequency feature, energy feature, and duration feature.

[0016] In a preferred embodiment, the specific method for obtaining the vocabulary sentiment coefficient is as follows: sentiment vocabulary analysis: using natural language processing technology, constructing a sentiment vocabulary dictionary, which includes positive and negative sentiment vocabulary; then, analyzing the user's text input, and calculating the number and intensity of positive and negative sentiment vocabulary appearing in the text; sentiment classification model: using a sentiment analysis algorithm or a deep learning model, classifying the user's text into different sentiment categories; setting sentiment scores and weights for different text sentiment data to obtain a text sentiment coefficient by taking a weighted average of the sentiment vocabulary in all texts.

[0017] In a preferred embodiment, the specific method for obtaining the user characteristic influence coefficient is as follows:

[0018] Obtain characteristic factors that record the user's gender, age, and occupation, and represent each characteristic factor with one or more parameters. Gender is represented by a binary variable, age is represented by a continuous variable, and occupation is represented by a categorical variable. Obtain a characteristic vector for each user through machine learning. Based on the characteristic vector, obtain the user's corresponding emotional state data. The emotional state of each user can be represented by one or more emotional factors to form an emotional vector. Perform regression analysis on the user's characteristic vector and the corresponding emotional vector to obtain the influence coefficient of different user characteristic factors on the emotional state.

[0019] Technical effects and advantages of the lighting AI voice control system based on WiFi and Bluetooth dual protocols of the present invention:

[0020] 1. The present invention realizes intelligent lamp control through the collaboration of functional modules such as pattern recognition, emotion analysis and intelligent adjustment. Users can select the light adjustment method through voice commands and adaptive modes, which enhances the flexibility of the system and user satisfaction. Emotion analysis and personalized services make light adjustment more intelligent and considerate, improving the quality of life and experience of users. At the same time, through intelligent interaction and emotional care, the system makes smart lamps not only simple lighting equipment, but also emotional partners in the lives of users, enhancing the user's sense of identity and dependence on the system.

[0021] 2. The present invention can realize adaptive adjustment of intelligent lamps by combining a speech analysis module and a state analysis module. Specifically, the speech analysis module uses the tone emotion coefficient, the vocabulary emotion coefficient and the user characteristic influence coefficient to establish a lighting adaptation model, generate a lighting control coefficient, and generate a first control scheme accordingly. The state analysis module optimizes the control scheme according to the holiday and time data and generates a second control scheme. The system has significant technical effects and can dynamically adjust the lighting settings according to the user's emotions and the current scene, providing a more personalized and intelligent lighting experience, improving user satisfaction and usage experience, and enhancing the flexibility and adaptability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 The figure is a schematic diagram of the structure of the AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments 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 creative work are within the scope of protection of the present invention.

[0024] Embodiment 1, Figure 1 The present invention provides a lighting AI voice control system based on WiFi and Bluetooth dual protocols, including a pattern recognition module, a voice receiving module, a voice analysis module, a state analysis module, and an intelligent adjustment module;

[0025] Wherein, the mode recognition module is used to obtain the voice mode of the current lamp, and the voice mode includes an adaptive mode and a normal mode;

[0026] A voice receiving module, used to collect the user's voice data, wherein the voice data includes emotion data, vocabulary data and user data;

[0027] A speech analysis module, used to establish a user lighting adaptation model based on machine learning according to the speech data, generate a lighting control coefficient, and obtain a first control scheme according to the lighting control coefficient;

[0028] A state analysis module is used to obtain current state data, which includes holiday data and time data, and optimize the first control scheme in combination with the lighting control coefficient to obtain a second control scheme;

[0029] Intelligent adjustment module: used to control the lamp according to the second control scheme when receiving the voice mode of the adaptive mode.

[0030] WiFi protocol refers to a wireless network communication protocol, which is usually used to connect electronic devices to local area networks (LANs) and the Internet. It is based on the IEEE 802.11 standard and uses the 2.4GHz or 5GHz frequency band for communication. WiFi technology provides high-speed data transmission rates and can support a variety of network services such as Internet access, file sharing, streaming media, etc. Through WiFi connection, users can connect to the network wirelessly at home, office or public places to achieve convenient communication and information exchange. The popularity of WiFi technology has made wireless networks an indispensable part of modern life, promoting the development of mobile Internet and the widespread application of intelligent devices;

[0031] The Bluetooth protocol is a short-range wireless communication protocol designed to enable data exchange and connection between various devices. It uses low-power radio frequency technology to communicate in the 2.4GHz frequency band, allowing devices to communicate with each other within a range of about 10 meters. Bluetooth technology is widely used in various portable devices such as mobile phones, tablets, smart speakers, headphones, etc., for audio transmission, file sharing, device control and other functions. The characteristics of the Bluetooth protocol include a simple and easy-to-use connection process, a low-power design, and a wide range of device compatibility, making it one of the important technologies in the field of modern wireless communications;

[0032] AI voice control system is an intelligent control system based on artificial intelligence technology, which can interact with users through voice commands and perform corresponding tasks according to the user's instructions. The system usually includes modules such as speech recognition, natural language understanding, dialogue management and execution control. Through the collaboration of these modules, it can recognize the user's voice commands, understand the user's intentions, and take corresponding measures to complete the task. AI voice control system is widely used in smart homes, smart phones, car navigation systems and other fields, allowing users to operate devices through natural voice interaction, greatly improving the convenience and intelligence of user experience.

[0033] In traditional lamp voice control systems, lamps are often adjusted rigidly and mechanically based on user commands, without taking into account the user's emotions and the current scene to provide intelligent adjustment modes. Therefore, this application provides a lamp AI voice control system for intelligently analyzing the user's emotions to achieve the purpose of adaptively adjusting the lights.

[0034] A mode recognition module, used to obtain the voice mode of the current lamp, wherein the voice mode includes an adaptive mode and a normal mode;

[0035] Specifically, the lamp includes an adaptive mode and a normal mode. The normal mode is a normal voice control system that does not involve emotion analysis; the adaptive mode is to turn on the function of this system;

[0036] The pattern recognition module gives users more choices and autonomy. Users can choose the mode they like without being forced to use a certain mode, which increases the flexibility of the system and improves user satisfaction and usage experience. Through the pattern recognition module, the system can be easily upgraded and expanded. For example, new modes can be introduced in the future to enhance the functionality and practicality of the system.

[0037] The pattern recognition module can record and analyze user usage patterns and habits, help developers understand user needs, further optimize system design, and provide a better user experience.

[0038] A voice receiving module, used to collect the user's voice data, wherein the voice data includes emotion data, vocabulary data and user data;

[0039] The emotional data includes the emotional coefficient of tone; the vocabulary data includes the emotional coefficient of vocabulary; and the user data includes the user characteristic influence coefficient.

[0040] Emotional data plays a key role in the AI ​​voice control system of lamps. It helps the system make more intelligent and humane decisions by capturing and analyzing the emotional state of the user. Specifically, emotional data can reflect the user's current emotions, such as happiness, sadness, anger, etc., through characteristics such as voice tone, volume, and speaking speed. Using these emotional data, the system can dynamically adjust the color, brightness, and mode of the lights to better match the user's mood and needs. For example, when the user feels tired, the system can automatically dim the lights to create a comfortable environment; when the user is in high spirits, the brightness and color saturation of the lights can be increased to enhance the vitality of the environment. In this way, emotional data not only improves the user experience, but also makes smart lamps more intimate and emotionally caring.

[0041] The mood coefficient has the following advantages for analyzing the user's mood and further controlling the lighting of lamps:

[0042] Improve user experience: Adjusting the lighting according to the user's emotional state can provide a more intimate and user-friendly lighting environment; for example, when the user is stressed or depressed, the system can adjust the lighting to create a relaxing and comfortable atmosphere, improving the user's overall experience;

[0043] Personalized service: Through the tone and emotion coefficient, the system can provide personalized lighting settings for each user to meet the lighting needs of different users in different emotional states, and increase the personalization and intelligence of the system;

[0044] Health and comfort: Different lighting settings have a direct impact on people’s emotions and psychology; adjusting the lighting according to the user’s emotional state can help improve the user’s emotional and mental health and provide a more comfortable living environment; for example, soft lighting can relieve anxiety, while bright lighting can increase alertness and work efficiency;

[0045] Intelligent interaction: By analyzing the emotional coefficient of voice, the system can achieve more natural and intelligent user interaction. Users do not need to manually adjust the lighting settings. The system can automatically adjust according to voice commands and emotional states, improving the convenience and satisfaction of user interaction.

[0046] Energy saving and environmental protection: Adjusting the lighting according to the user's mood and actual needs can avoid unnecessary energy waste; for example, when the user is relaxing, the system can automatically lower the light brightness to save electricity and achieve the goal of energy saving and environmental protection;

[0047] Emotional care: The system provides emotional care and support by sensing and responding to the user's emotional state, making the smart lamp not only a functional device, but also an emotional partner in the user's life, enhancing the user's sense of belonging and satisfaction;

[0048] Data-driven optimization: By collecting and analyzing a large amount of user emotional data, the system can continuously optimize lighting control algorithms and strategies, improve the level of lighting intelligence, and provide data support for future improvements and innovations;

[0049] Therefore, the application of the tone emotion coefficient not only enhances the intelligence and humanity of the lighting AI voice control system, but also has significant advantages in improving user experience, health and comfort, energy saving and environmental protection.

[0050] In this embodiment, the specific method for obtaining the tone emotion coefficient is as follows:

[0051] First, the time domain waveform of the fundamental frequency is extracted through speech signal processing technology, and then the fundamental frequency change rate is calculated as the frequency feature;

[0052] The volume and intensity are extracted through speech signal processing technology, and the energy mean is calculated as the energy feature;

[0053] The speech rate and duration of the speech segment of the speech signal are extracted through speech signal processing technology, and the duration change rate is calculated as the duration feature;

[0054] The tone and emotion coefficient is calculated through machine learning by integrating frequency features, energy features, and duration features.

[0055] Among them, the specific calculation formula of the fundamental frequency change rate JP is as follows:

[0056]

[0057] The specific calculation formula of the energy mean NL is as follows:

[0058]

[0059] The specific calculation formula of the duration change rate SC is as follows:

[0060]

[0061] The specific calculation formula of the tone emotion coefficient is as follows:

[0062]

[0063] In the formula, α is the emotional coefficient, N is the total number of data, and fo i is the fundamental frequency of the i-th speech frame, YL i is the volume, T i is the time of the i-th speech frame.

[0064] It can be seen from the calculation expression of the tone emotion coefficient that when the expression value of the tone emotion coefficient is larger, the user's mood is lower; conversely, when the expression value of the tone emotion coefficient is larger, the user's mood is higher.

[0065] The lexical sentiment coefficient is a quantitative indicator used to analyze the emotional color of language. It is calculated by sentiment classification and scoring of the words in the text. Specifically, it can map each word in the text to a specific emotional dimension in the emotional space based on the emotional dictionary or the trained emotional classification model, and assign it an emotional intensity score; by calculating the emotional scores of all words in the text, the overall emotional tendency of the text can be obtained, so as to more accurately grasp the emotions or emotional states expressed by the text. The lexical sentiment coefficient has a wide range of applications, including sentiment analysis, public opinion monitoring, text sentiment generation and other fields, providing effective tools and indicators for in-depth understanding and mining of emotional information in text information.

[0066] The vocabulary sentiment coefficient has the following advantages for analyzing the user's mood and further controlling the lighting of lamps:

[0067] Accurate sentiment analysis: By performing sentiment analysis on words in voice commands or texts, the user's emotional state can be accurately captured, helping the system to understand the user's mood needs more accurately;

[0068] Diverse emotion recognition: The vocabulary emotion coefficient can recognize and analyze the various emotions contained in the voice, not only limited to the basic emotional state, but also able to perceive more subtle emotional changes, making the lighting control more rich and detailed;

[0069] Personalized lighting adjustment: Based on the user's mood state analyzed by the vocabulary emotion coefficient, the lamps can achieve personalized lighting adjustment, providing customized lighting experience for users in different emotional states, improving user satisfaction and comfort;

[0070] Intelligent emotional interaction: Based on the analysis results of the vocabulary emotion coefficient, the lamps can achieve more intelligent emotional interaction. For example, when the user is in a low mood, the lamps can automatically adjust to soft warm-toned lights to create a warm and peaceful atmosphere and provide emotional support and care for the user;

[0071] Real-time dynamic adjustment: The vocabulary emotion coefficient can monitor the user's emotional changes in real time and adjust the lighting in time to adapt to the user's current emotional state. This dynamic adjustment can synchronize the lighting with the user's emotions, enhancing the user experience and emotional connection;

[0072] Improve the quality of life: By sensing the user's emotional state and adjusting the light, the lamp not only provides basic lighting functions, but also becomes an emotional partner in the user's life, creating a more comfortable and warm home environment for the user and improving the quality of life;

[0073] Therefore, the application of lexical emotion coefficient enables lamps to perceive and understand the user's emotional state more intelligently, thereby achieving more personalized and intelligent lighting control, bringing more emotional experience and care to the user's life.

[0074] In this embodiment, the specific method for obtaining the vocabulary sentiment coefficient is as follows:

[0075] Sentiment vocabulary analysis: Use natural language processing technology to build a sentiment vocabulary dictionary that includes positive and negative sentiment words. Then, analyze the user's text input and calculate the number and intensity of positive and negative sentiment words that appear in the text;

[0076] Sentiment classification model: Use sentiment analysis algorithms or deep learning models to classify user text into different sentiment categories;

[0077] The sentiment data of different texts are set with sentiment scores and weights, and the weighted average of the sentiment words in all texts is used to obtain the text sentiment coefficient.

[0078] Among them, the specific calculation formula of the vocabulary sentiment coefficient is as follows:

[0079]

[0080] Where β represents the vocabulary sentiment coefficient, x i represents the sentiment score of the i-th sentiment word, w i Represents the weight of the i-th sentiment word.

[0081] It can be seen from the calculation expression of the vocabulary sentiment coefficient that when the expression value of the vocabulary sentiment coefficient is larger, the user's emotion is high; conversely, when the expression value of the vocabulary sentiment coefficient is larger, the user's emotion is low.

[0082] The user characteristic impact coefficient is used to consider the personalized impact factors of different user groups on lighting needs. Different user groups, such as men, women, children, the elderly, young people, etc., may have different preferences and needs for light brightness, color temperature, scenes, etc. Therefore, the user characteristic impact coefficient is used to quantify the impact of different user groups on lighting needs, so as to achieve personalized lighting adjustment in the intelligent lighting control system.

[0083] The user characteristic influence coefficient has the following advantages for analyzing the user's mood and further controlling the lighting of lamps:

[0084] Personalized customization: Taking into account the characteristics and preferences of different user groups, the user characteristic influence coefficient can help realize the personalized customization of lamps. The brightness, color temperature, scene, etc. of the light can be adjusted according to the user's gender, age, physiological characteristics and other factors to provide a lighting experience that better meets user needs;

[0085] Emotional matching: Different user groups may have different needs for the emotional expression of lighting. For example, the elderly may prefer soft and comfortable lighting, while young people may prefer lively and bright lighting. Through the user characteristic influence coefficient, the lighting can be better matched with the user's emotional state, improving the user's emotional experience and comfort.

[0086] Intelligent adjustment: Based on the user's characteristic influence coefficient, the lamps can be adjusted intelligently, automatically adjusting the lighting parameters according to the user's characteristics and current mood, providing users with more intimate and intelligent lighting services;

[0087] Emotional connection: By considering the influence coefficient of user characteristics, lamps can better establish emotional connections with users, making lights not only simple lighting tools, but also emotional partners in users' lives, providing users with emotional support and care;

[0088] Improved user satisfaction: Personalized lighting adjustment can better meet user needs and expectations, improve user satisfaction and experience, and enhance user favorability and desire to use smart lamps, thereby promoting the promotion and application of smart lamps;

[0089] Therefore, the application of user characteristic influence coefficient enables smart lamps to perceive and understand the user's mood state more intelligently and individually, thereby achieving more intelligent and humanized lighting control and improving the user's quality of life and experience.

[0090] In this embodiment, the specific method for obtaining the user characteristic influence coefficient is as follows:

[0091] Obtain characteristic factors that record the user's gender, age, and occupation, and represent each characteristic factor with one or more parameters. Gender is represented by a binary variable, age is represented by a continuous variable, and occupation is represented by a categorical variable; obtain a characteristic vector of each user through machine learning;

[0092] Based on the feature vector, the emotional state data corresponding to the user is obtained. The emotional state of each user can be represented by one or more emotional factors to form an emotional vector;

[0093] Through regression analysis of the user's characteristic vector and the corresponding emotion vector, the influence coefficient of different user characteristic factors on the emotion state is obtained;

[0094] The specific calculation formula of the user characteristic influence coefficient is as follows:

[0095] χ=(X T *X) -1 *X T *Y

[0096] In the formula, X is the user's characteristic factor matrix, Y is the user's emotional state matrix, (X T *X) -1 Represents X T *The inverse matrix of X, where χ is the user characteristic influence coefficient.

[0097] From the calculation expression of the user characteristic influence coefficient, it can be seen that when the performance value of the user characteristic influence coefficient is larger, the user's mood is lower; conversely, when the performance value of the user characteristic influence coefficient is larger, the user's mood is higher.

[0098] This embodiment realizes intelligent lamp control through the collaboration of functional modules such as pattern recognition, emotion analysis and intelligent adjustment. Users can select the light adjustment method through voice commands and adaptive mode, which enhances the flexibility of the system and user satisfaction. Emotion analysis and personalized services make light adjustment more intelligent and considerate, improving the quality of life and experience of users. At the same time, through intelligent interaction and emotional care, the system makes smart lamps not only simple lighting equipment, but also emotional partners in the lives of users, enhancing users' recognition and dependence on the system.

[0099] Embodiment 2, a speech analysis module is used to establish a user lighting adaptation model based on machine learning according to speech data, generate a lighting control coefficient, and obtain a first control scheme according to the lighting control coefficient.

[0100] Specifically, the specific calculation formula of the lighting control coefficient is as follows:

[0101]

[0102] Where KZ is the lighting control coefficient, η1 is the correction factor of the tone emotion coefficient, η2 is the correction factor of the vocabulary emotion coefficient, η3 is the correction factor of the user characteristic influence coefficient, α is the tone emotion coefficient, β is the vocabulary emotion coefficient, and χ is the user characteristic influence coefficient.

[0103] A state analysis module is used to obtain current state data, which includes holiday data and time data, and optimize the first control scheme in combination with the lighting control coefficient to obtain a second control scheme;

[0104] Specifically, set the date importance benchmark score Kj 基 ; Get the importance of the current date. The importance of the date is divided into ordinary, holiday, and important date. When the importance of the date is ordinary, Kj1 points are added. When the importance of the date is an important date, Kj2 points are subtracted. When the importance of the date is a holiday, no points are added or subtracted. When the importance of the date is ordinary, Kj2=0, Kj3=0. When the importance of the date is a holiday, Kj1=0, Kj3=0. When the importance of the date is an important date, Kj1=0, Kj1=0. By formula Kj 基 +Kj1-Kj2=Kj 终 , calculate the date score Kj 终 ;

[0105] Set the time base minute and label it as Fj 基, get the real-time time, when the real-time time exceeds the preset value A1, subtract Fj1 points, when the real-time time is between A1 and A2, add Fj2 points, when the real-time time is lower than A2, subtract Fj3 points, when the real-time time exceeds the preset value A1, Fj2 and Fj3 are both 0, when the real-time time is between A1 and A2, Fj1 and Fj3 are both 0, when the real-time time is lower than A2, Fj1 and Fj2 are 0; through the formula Fj 基 -Fj1+Fj2-Fj3=Fj 终 Get time sharing;

[0106] Assign date importance benchmark score Kj 基 A correction value θ i , giving the time base fraction Fj 基 A correction value δ i ,θ i >δ i ,θ i +δ i =1; through the formula Kj 终 *θ i +Fj 终 *δ i =Ju d , and obtain the correction coefficient Ju d .

[0107] Multiply the correction coefficient by the lighting control coefficient to obtain the scheme comparison value;

[0108] Comparing the scheme control value with the preset scheme control table to obtain a second control scheme;

[0109] This embodiment combines the speech analysis module and the state analysis module, and the present invention can realize the adaptive adjustment of intelligent lamps. Specifically, the speech analysis module uses the tone emotion coefficient, the vocabulary emotion coefficient and the user characteristic influence coefficient to establish a lighting adaptation model, generate the lighting control coefficient, and generate the first control scheme accordingly. The state analysis module optimizes the control scheme according to the holiday and time data and generates the second control scheme. The system has significant technical effects and can dynamically adjust the lighting settings according to the user's emotions and the current scene, providing a more personalized and intelligent lighting experience, improving user satisfaction and usage experience, and enhancing the flexibility and adaptability of the system.

[0110] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0111] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product.

[0112] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0113] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0115] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. AI voice control system for lamps based on WiFi and Bluetooth dual protocols, characterized by: It includes pattern recognition module, speech reception module, speech analysis module, state analysis module and intelligent adjustment module; Wherein, the mode recognition module is used to obtain the voice mode of the current lamp, and the voice mode includes an adaptive mode and a normal mode; A voice receiving module, used to collect the user's voice data, wherein the voice data includes emotion data, vocabulary data and user data; A speech analysis module, used to establish a user lighting adaptation model based on machine learning according to the speech data, generate a lighting control coefficient, and obtain a first control scheme according to the lighting control coefficient; A state analysis module is used to obtain current state data, which includes holiday data and time data, and optimize the first control scheme in combination with the lighting control coefficient to obtain a second control scheme; Intelligent adjustment module: used to control the lamp according to the second control scheme when receiving the voice mode of the adaptive mode.

2. The AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols according to claim 1 is characterized in that: The emotional data includes the emotional coefficient of tone; the vocabulary data includes the emotional coefficient of vocabulary; and the user data includes the user characteristic influence coefficient.

3. The AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols according to claim 2 is characterized in that: The specific calculation formula of the lighting control coefficient is as follows: Where KZ is the lighting control coefficient, η1 is the correction factor of the tone emotion coefficient, η2 is the correction factor of the vocabulary emotion coefficient, η3 is the correction factor of the user characteristic influence coefficient, α is the tone emotion coefficient, β is the vocabulary emotion coefficient, and χ is the user characteristic influence coefficient.

4. The AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols according to claim 3 is characterized in that: The state data includes holiday data and time data, and the first control scheme is optimized in combination with the lighting control coefficient as follows: Set the date importance benchmark score Kj 基 ; Get the importance of the current date. The importance of the date is divided into ordinary, holiday, and important date. When the importance of the date is ordinary, Kj1 points are added. When the importance of the date is an important date, Kj2 points are subtracted. When the importance of the date is a holiday, no points are added or subtracted. When the importance of the date is ordinary, Kj2=0, Kj3=0. When the importance of the date is a holiday, Kj1=0, Kj3=0. When the importance of the date is an important date, Kj1=0, Kj1=0. By formula Kj 基 +Kj1-Kj2=Kj 终 , calculate the date score Kj 终 ; Set the time base minute and label it as Fj 基 , get the real-time time, when the real-time time exceeds the preset value A1, subtract Fj1 points, when the real-time time is between A1 and A2, add Fj2 points, when the real-time time is lower than A2, subtract Fj3 points, when the real-time time exceeds the preset value A1, Fj2 and Fj3 are both 0, when the real-time time is between A1 and A2, Fj1 and Fj3 are both 0, when the real-time time is lower than A2, Fj1 and Fj2 are 0; through the formula Fj 基 -Fj1+Fj2-Fj3=Fj 终 Get time sharing; Assign date importance benchmark score Kj 基 A correction value θi is assigned to the time base minute Fj 基 A correction value δi, θi>δi, θi+δi=1; through the formula Kj 终 *θi+Fj 终 *δi=Jud, and the correction coefficient Jud is obtained; Multiply the correction coefficient by the lighting control coefficient to obtain the scheme comparison value; The scheme comparison value is matched with the preset scheme comparison table to obtain the second control scheme.

5. The AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols according to claim 4 is characterized in that: The specific method for obtaining the tone emotion coefficient is as follows: First, the time domain waveform of the fundamental frequency is extracted through speech signal processing technology, and then the fundamental frequency change rate is calculated as the frequency feature; The volume and intensity are extracted through speech signal processing technology, and the energy mean is calculated as the energy feature; The speech rate and duration of the speech segment of the speech signal are extracted through speech signal processing technology, and the duration change rate is calculated as the duration feature; The tone and emotion coefficient is calculated through machine learning by integrating frequency features, energy features, and duration features.

6. The AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols according to claim 4 is characterized in that: The specific method for obtaining the vocabulary sentiment coefficient is as follows: Sentiment vocabulary analysis: Use natural language processing technology to build a sentiment vocabulary dictionary that includes positive and negative sentiment words; then analyze the user's text input and calculate the number and intensity of positive and negative sentiment words that appear in the text; Sentiment classification model: Use sentiment analysis algorithms or deep learning models to classify user texts into different sentiment categories; set sentiment scores and weights for different text sentiment data, and take the weighted average of all sentiment words in the text to obtain the text sentiment coefficient.

7. The AI ​​voice control system for lamps based on WiFi and Bluetooth dual protocols according to claim 4 is characterized in that: The specific method for obtaining the user characteristic influence coefficient is as follows: Obtain characteristic factors that record the user's gender, age, and occupation, and represent each characteristic factor with one or more parameters. Gender is represented by a binary variable, age is represented by a continuous variable, and occupation is represented by a categorical variable; obtain a characteristic vector of each user through machine learning; Based on the feature vector, the emotional state data corresponding to the user is obtained. The emotional state of each user can be represented by one or more emotional factors to form an emotional vector; The user's characteristic vector and the corresponding emotion vector are subjected to regression analysis to obtain the influence coefficient of different user characteristic factors on the emotion state.

Citation Information

Patent Citations

  • Method and device for controlling household lamp and household lamp

    CN106888528A

  • Lighting control method, device and system for multi-user scene

    CN109429416A

  • Voice emotion recognizing method and device, computer device and storage medium

    CN110021308A

  • Sentiment classification method and device based on artificial intelligence, computer equipment and medium

    CN116504276A

  • Household equipment control method and device, electronic equipment and storage medium

    CN118034415A

Cited By

  • Equipment control method and device based on semantic analysis, controlled equipment and server

    CN120077372A

  • Semantic analysis-based device control method and apparatus, controlled device, and server

    WO2026152398A1