Emotion analysis system and method based on dialogue large model

By adopting a dialogue-based big model technology in the emotion analysis system, combining programmable lighting equipment and power supply management modules, the problem of insufficient flexibility and accuracy in complex emotions expression and dynamic changes is solved, and efficient emotional feedback and stable operation is achieved.

CN119855019AInactive Publication Date: 2025-04-18SHENZHEN DOCTORS OF INTELLIGENCE & TECH CO LTD

Patent Information

Application Number
CN202510331268.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-04-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing emotion analysis system lacks flexibility and accuracy when facing complex emotional expressions and dynamic changes.

Method used

A sentiment analysis system based on a dialogue model is adopted, which includes a data processing module, a lighting control module and a power supply management module. The data processing module analyzes the text data input by the user through a dialogue model to obtain emotional categories and intensity information. The lighting control module dynamically adjusts the color, brightness and dynamic effects of the programmable lighting equipment based on this information, and the power supply management module ensures the stable operation of the system.

Benefits of technology

Improve the flexibility and accuracy of sentiment analysis. Users can interact dynamically with the light through simple text input. The lighting effect intuitively reflects the user's emotional state. The system operates stably in a high-power environment, avoiding system crashes caused by power supply problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119855019A_ABST
    Figure CN119855019A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data recognition, and provides an emotion analysis system and method based on a dialogue large-scale model, which are applied to programmable lighting equipment, and comprise a data processing module used for receiving text data input by a user and calling a dialogue large-scale language model to carry out emotion analysis on the text data, obtaining emotion category and emotion intensity information; the light control module is in communication connection with the data processing module, and dynamically adjusts the color, the brightness and the dynamic effect of the programmable light equipment according to the emotion category and the emotion intensity information; and the power supply management module is used for supplying power to the programmable lighting equipment and the data processing module and managing the programmable lighting equipment and the data processing module. By combining emotion analysis of a dialogue large model with programmable lighting equipment, under the support of a data processing module and a power supply management module, the emotional state of a user is visually and stably reflected, and the problem that the flexibility and accuracy of an existing system are obviously insufficient in the face of complex emotional expression and dynamic change is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data recognition, and in particular to a sentiment analysis system and method based on a large dialogue model. Background Art

[0002] With the rapid development of artificial intelligence technology, sentiment analysis has become an important tool in many industries such as social media monitoring, mental health intervention, and customer service. Sentiment analysis can help the system understand the emotional changes of users, thereby providing more personalized and adaptive services. At the same time, with the popularization of Internet of Things technology, smart lighting equipment has also been widely used, not only to improve user experience in home environments, but also to play an important role in commercial display and artistic creation.

[0003] Among the relevant technical means, sentiment analysis is mainly achieved through text-based sentiment analysis methods. Through preset rules or machine learning-based models, keywords or sentiment words in the text are analyzed to judge user emotions, identify basic emotion categories such as "happy", "angry" or "sad", and make judgments based on the intensity or polarity of the emotions.

[0004] Regarding the above technical solution, although the text-based sentiment analysis technology can be used to identify emotion categories and apply them to the control of smart lights, the flexibility and accuracy of the existing system are obviously insufficient when faced with complex emotional expressions and dynamic changes. Summary of the invention

[0005] In order to improve the problem that the flexibility and accuracy of existing systems are obviously insufficient when facing complex emotional expressions and dynamic changes, the present application provides an emotion analysis system and method based on a large dialogue model.

[0006] The present invention provides an emotion analysis system based on a large dialogue model, which is applied to a programmable lighting device, comprising: a data processing module, which is used to receive text data input by a user, and call a large-scale dialogue language model to perform emotion analysis on the text data to obtain emotion categories and emotion intensity information; a lighting control module, which is communicated with the data processing module and dynamically adjusts the color, brightness and dynamic effects of the programmable lighting device according to the emotion categories and the emotion intensity information; and a power management module, which is used to supply power to and manage the programmable lighting device and the data processing module.

[0007] As a preferred solution, the data processing module communicates with the conversational large model through a network interface, and uses HTTP or HTTPS protocol to call the conversational large language model to perform sentiment analysis on the text data to obtain sentiment category and sentiment intensity information.

[0008] As a preferred solution, the emotion analysis system further includes a local processing module for performing emotion analysis on the text data by using a preset emotion analysis algorithm to obtain emotion category and emotion intensity information when the network is unavailable.

[0009] As a preferred solution, the programmable lighting device is a programmable RGB lighting device, which supports independent control of single pixels and adjusts color and brightness based on a dynamic protocol; wherein the dynamic protocol includes any one of the following: WS2812, SK6812.

[0010] As a preferred solution, the lighting control module includes: a mapping strategy unit, used to determine the color, brightness and animation mode of the light according to the emotion category and the emotion intensity information, and generate a corresponding lighting control signal; wherein the animation mode includes any one of the following: static display, breathing gradient, flashing pulse, segmented mixed display; a signal transmission unit, used to transmit the lighting control signal to the programmable lighting device.

[0011] As a preferred solution, the mapping strategy unit can perform regional control of the lights according to multiple emotional states, so that the lights in different areas present different colors or animation effects; wherein the multiple emotional states include any one of the following: a single emotional state, a mixed emotional state, a dynamic emotional transition, and an emotional conflict state.

[0012] As a preferred solution, a smooth transition algorithm is used to perform transition processing on the multiple emotional states so that the presented colors or animation effects are connected naturally.

[0013] As a preferred solution, the power supply management module includes: an independent power supply unit for providing an independent power supply to the programmable lighting device; a shared power supply unit and a shared ground line with the data processing module; a fault detection unit for entering a preset safety mode and outputting a preset warning light or shutting down the programmable lighting device when a power supply abnormality, overtemperature or network abnormality is detected.

[0014] As a preferred solution, the emotion analysis system supports multi-channel input modes, which include: text input, where the user inputs emotion expression content through a keyboard or voice-to-text method; historical data input, where the lighting is adjusted based on the user's historical emotion change trends; external device input, where external emotion-related signals are received through sensors or other smart terminals, and the lighting is adjusted accordingly.

[0015] The present application also provides an emotion analysis method based on a dialogue big model, which is applied to any of the emotion analysis systems and programmable lighting devices based on a dialogue big model mentioned above, and the emotion analysis method includes: obtaining text data input by a user, calling the dialogue big model to perform emotion analysis on the text data, and obtaining emotion categories and emotion intensity information; generating corresponding lighting control signals according to the emotion categories and emotion intensity information, transmitting the lighting control signals to the programmable lighting device, and executing corresponding lighting display effects.

[0016] Compared with the prior art, the present application has the following beneficial effects: strong flexibility and high accuracy. By combining the emotion analysis of the large dialogue model with programmable lighting equipment, users can achieve dynamic interaction with the lights through simple text input. With the support of the data processing module, corresponding lighting effects can be generated in real time according to the emotional information input by the user. Whether it is color change, brightness adjustment, or change of light animation, it can intuitively reflect the user's emotional state. The power supply management module ensures that the system can operate stably in a high-power environment by providing stable power supply and protection functions, avoiding the risk of system crash due to power problems, and improving the problem that the flexibility and accuracy of the existing system are obviously insufficient when facing complex emotional expressions and dynamic changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0018] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.

[0019] Figure 1 is a schematic block diagram of the structure of a sentiment analysis system based on a large dialogue model provided by an embodiment of the present invention; Figure 2 It is a schematic block diagram of the structure of the emotion analysis system based on the dialogue big model plus the local processing module provided by an embodiment of the present invention; Figure 3 is a schematic block diagram of the structure of a lighting control module provided by an embodiment of the present invention; Figure 4 is a schematic block diagram of the structure of a power supply management module provided in an embodiment of the present invention; Figure 5 It is a flowchart of a sentiment analysis method based on a large dialogue model provided in an embodiment of the present invention.

[0020] Description of reference numerals: 10. Emotion analysis system based on large dialogue model; 11. Data processing module; 12. Lighting control module; 121. Mapping strategy unit; 122. Signal transmission unit; 13. Power supply management module; 131. Independent power supply unit; 132. Shared power supply unit; 133. Fault detection unit; 14. Local processing module. DETAILED DESCRIPTION

[0021] 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 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.

[0022] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0023] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0024] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0025] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.

[0026] Embodiment 1: like Figure 1 As shown, the present application provides an emotion analysis system 10 based on a large dialogue model, which is applied to a programmable lighting device, including a data processing module 11, a lighting control module 12 and a power supply management module 13.

[0027] The data processing module 11 is used to receive text data input by the user, and call the conversational large-scale language model to perform sentiment analysis on the text data to obtain sentiment category and sentiment intensity information.

[0028] In this module, the data processing module 11 receives text input from the user and transmits it to the big model for analysis, and returns the recognition results of the emotion category and intensity after analysis. Specifically, the data processing module 11 uses the network interface to communicate with the conversational big model API, sends text data and receives the emotion analysis results. The data processing module 11 passes this information to the lighting control module 12 based on the emotion category returned by the model, such as "happy" or "angry", and the intensity level, such as "low" or "high".

[0029] For example, when the user inputs "I am in a very good mood today", the data processing module 11 will analyze the conversation model, identify it as the "happy" emotion, and return the emotion intensity as "high".

[0030] The lighting control module 12 is in communication with the data processing module 11 and dynamically adjusts the color, brightness and dynamic effect of the programmable lighting device according to the emotion category and emotion intensity information.

[0031] In this module, the lighting control module 12 receives the emotion category and intensity information from the data processing module 11, and dynamically adjusts the lighting effect based on this information. Specifically, the lighting control module 12 converts the emotion category and emotion intensity into corresponding lighting modes, such as color change, brightness adjustment, and animation effect change, through the mapping strategy unit 121. The lighting control module 12 generates a control signal and transmits the signal to the programmable lighting device through the signal transmission unit 122 to control the color, brightness, and change effect of the light.

[0032] For example, when the emotion category is "anger" and the intensity is "high", the light control module 12 turns the light red and sets it to a fast flashing mode to match the anger emotion.

[0033] The power supply management module 13 is used to supply power to and manage the programmable lighting device and the data processing module 11 .

[0034] In this module, the power supply management module 13 provides a stable power supply to support the operation of the lighting device and the data processing module 11. Specifically, the power supply management module 13 includes an independent power supply unit 131 to provide power to the programmable lighting device, and also ensures that the data processing module 11 is adequately supplied with power. The power supply management module 13 also includes a safety circuit, which activates a protection mechanism in the event of abnormal power supply or overcurrent to prevent damage to the device.

[0035] For example, in a high-power operating state, the power supply management module 13 monitors the current and checks in real time through the fault detection unit 133 whether there is an overload problem with the power supply. If a fault occurs, the system safety will be protected by warning lights or shutting down some lighting equipment.

[0036] In this embodiment, the text data input by the user is received through the data processing module 11, and the conversational large-scale language model is called to perform sentiment analysis on the text to obtain the sentiment category and sentiment intensity information. Then, the lighting control module 12 dynamically adjusts the color, brightness and dynamic effects of the programmable lighting device according to the sentiment analysis results, and changes the lighting status in real time to reflect the user's emotions. If the network connection is unavailable, the system will switch to the local processing mode and continue to perform sentiment recognition through the preset sentiment analysis algorithm to ensure that the system can operate normally under any circumstances. The power supply management module 13 is responsible for providing power support for the entire system, and managing the power supply and ground wires of each module to ensure the stability and safety of the system.

[0037] The large dialogue model can accurately identify and analyze the user's multi-dimensional emotions, and convert the emotional information into visual lighting effects in real time, thereby enhancing the user's immersion and interactive experience. The flexibility and diversity of lighting control enable users to experience customized emotional feedback in different scenarios. The power supply management module 13 ensures the safe and stable operation of the system under high power loads through independent power supply and fault detection mechanism, thereby improving the problem that the flexibility and accuracy of the existing system are obviously insufficient when facing complex emotional expressions and dynamic changes.

[0038] Embodiment 2: In the data processing module 11, the network interface is used to communicate with the conversational large model, and the HTTP or HTTPS protocol is used to call the conversational large language model to perform sentiment analysis on the text data to obtain the sentiment category and sentiment intensity information.

[0039] Through the network interface, the data processing module 11 establishes a connection with the conversational large model (such as "doubao" or "ChatGPT") and sends the text data input by the user for analysis. Specifically, the data processing module 11 uses the HTTP or HTTPS protocol to request the emotion analysis service of the large model and receives the returned emotion category and intensity information. The data processing module 11 parses the results returned by the model to obtain the specific category of the emotion (such as "happy" or "angry") and the intensity of the emotion (such as "low" or "high").

[0040] For example, when a user inputs "I am very angry today", the data processing module 11 will pass the text to the large model, and the model will return the emotion category "anger" and the emotion intensity "high" after analysis.

[0041] like Figure 2As shown, the emotion analysis system in Embodiment 1 further includes a local processing module 14, which is used to perform emotion analysis on text data by using a preset emotion analysis algorithm to obtain emotion category and emotion intensity information when the network is unavailable.

[0042] Through the local processing module 14, the system can still perform sentiment analysis when the network connection is unavailable or the large model API cannot be called. Specifically, the local processing module 14 uses a preset sentiment analysis algorithm (such as keyword matching, sentiment dictionary or simple rule judgment) to analyze the text input by the user and generate sentiment category and sentiment intensity information. If the network connection is normal, the large model will be called for analysis first to ensure system performance.

[0043] For example, when the user inputs "I seem a little unhappy", the local processing module 14 returns the emotion category "sad" and the emotion intensity "medium" through keyword matching or sentiment dictionary analysis.

[0044] Among them, the programmable lighting device is a programmable RGB lighting device, which supports independent control of a single pixel and adjusts the color and brightness based on a dynamic protocol; among them, the dynamic protocol includes any one of the following: WS2812, SK6812.

[0045] Through the programmable RGB lighting device, the lighting control module 12 can control the color and brightness of each pixel according to the emotion analysis results. Specifically, the dynamic protocol used (such as WS2812 or SK6812) allows each light strip pixel to be controlled independently to achieve accurate emotion mapping. The color, brightness and dynamic effects (such as flashing, gradient) of each pixel can be adjusted according to the emotion category and intensity.

[0046] For example, when the emotion category is "happy" and the intensity is "high", the light control module 12 will set the light to bright yellow and use a breathing gradient animation effect to express a happy emotion.

[0047] like Figure 3 As shown, in the lighting control module 12, it includes: a mapping strategy unit 121, which is used to determine the color, brightness and animation mode of the light according to the emotion category and emotion intensity information, and generate a corresponding lighting control signal; wherein the animation mode includes any one of the following: static display, breathing gradient, flashing pulse, segmented mixed display.

[0048] Through the mapping strategy unit 121, the lighting control module 12 determines the display effect of the lighting according to the emotion analysis result. Specifically, the mapping strategy unit 121 maps the emotion category (such as "anger", "sadness") and the emotion intensity (such as "low", "high") to different lighting colors, brightness and animation effects. The animation mode includes static display, breathing gradient, flashing pulse and segmented mixed display, etc., to ensure that the lighting effect can fully express the emotion.

[0049] For example, when the emotion category is "anger" and the emotion intensity is "high", the mapping strategy unit 121 sets the light color to red and selects a fast flashing animation mode to convey the anger emotion.

[0050] The signal transmission unit 122 is used to transmit the lighting control signal to the programmable lighting device.

[0051] The lighting control module 12 transmits the generated control signal to the programmable lighting device through the signal transmission unit 122. Specifically, the signal transmission unit 122 sends the control information of the color, brightness and animation effect of each pixel to the light strip through a single-line digital protocol (such as the WS2812 protocol).

[0052] For example, the control signal is sent to each LED lamp bead of the light strip through the signal transmission unit 122, controlling each lamp bead to display corresponding color and brightness.

[0053] Among them, the mapping strategy unit 121 can perform regional control of the lights according to multiple emotional states, so that the lights in different areas present different colors or animation effects; among them, the multiple emotional states include any of the following: single emotional state, mixed emotional state, dynamic emotional conversion, and emotional conflict state.

[0054] Through the mapping strategy unit 121, the system can perform regional control of the lights according to the emotion analysis results. Specifically, when multiple emotional states appear, the lighting control module 12 will display different lighting effects in different areas according to the emotion type. Regional control enables the lights in multiple areas to display different colors or animation effects respectively, thereby enhancing the expression of emotions.

[0055] For example, when the user's emotions include a mixture of "anger" and "happiness", the system will divide the light strip into multiple areas, one part of which will display red and flash, representing anger, and the other part will display yellow with a breathing gradient, representing happiness.

[0056] A smooth transition algorithm can be used to perform transition processing on multiple emotional states, so that the presented colors or animation effects are naturally connected.

[0057] Through the smooth transition algorithm, the system can smoothly transition when the mood changes, avoiding sudden changes in lighting effects when the mood switches. Specifically, when the mood changes from "happy" to "sad", the smooth transition algorithm can make the color change more natural and avoid drastic jumps or abruptness in the lighting performance.

[0058] For example, when the emotion gradually changes from "happy" to "sad", the smooth transition algorithm will make the light color smoothly transition from yellow to blue, while adjusting the rate of change of brightness to make the transition process look smoother and more natural.

[0059] like Figure 4 As shown, the power supply management module 13 includes: an independent power supply unit 131, which is used to provide an independent power supply to the programmable lighting device.

[0060] The power management module 13 provides stable power support for the programmable lighting device through the independent power supply unit 131. Specifically, the power management module 13 uses an independent power supply to power the lighting device, avoiding interference between the power demand of the lighting device and other components (such as the data processing module 11), and ensuring the stability of the device when running at high power.

[0061] For example, the power management module 13 provides power to the light strip through an independent 5V power supply, ensuring that the power supply remains stable even when the brightness of the light strip is high, thereby avoiding the lighting effect being affected by voltage fluctuations.

[0062] The power supply unit 132 is shared, and the ground line is shared with the data processing module 11 .

[0063] By sharing the power supply unit 132, the power supply management module 13 and the data processing module 11 share the ground line to ensure the stability of the system current and voltage. Specifically, the data processing module 11 and the lighting control module 12 share the power ground line to reduce interference and noise problems caused by unstable power supply.

[0064] For example, after the data processing module 11 and the lighting control module 12 share a ground line, signal errors caused by ground line potential differences between different power sources can be effectively avoided, thereby ensuring the accuracy of signal transmission.

[0065] The fault detection unit 133 is used to enter a preset safety mode and output a preset warning light or turn off the programmable lighting device when a power supply abnormality, overtemperature or network abnormality is detected.

[0066] Through the fault detection unit 133, the system can monitor the power supply and system status in real time. Specifically, the fault detection unit 133 can monitor parameters such as power supply current, voltage, temperature, etc., and activate the protection mechanism when an abnormality occurs.

[0067] For example, when an abnormal power supply voltage is detected, the system automatically enters safety mode, turns off the lighting device and outputs a warning light to alert the user of a fault.

[0068] Finally, the sentiment analysis system supports multi-channel input modes, including: Text input: users input emotional expressions through keyboard or voice-to-text.

[0069] Through the text input mode, the system can receive emotional expressions from the user's keyboard input or voice-to-text conversion. Specifically, the user provides emotional data through the device's input interface (such as keyboard, voice recognition system), and the system will perform emotional analysis based on the text content.

[0070] For example, if a user inputs "I am very happy today", the system will convert the text into the corresponding sentiment analysis result "happy".

[0071] Historical data input, lighting adjustment based on the user's historical mood change trends.

[0072] Through the historical data input mode, the system can adjust the lighting according to the user's past emotional records. Specifically, the system will analyze the user's historical emotional data, extract the emotional fluctuation trend from it, and optimize the performance of the lighting effect based on the current emotion.

[0073] For example, if a user frequently experiences "tiredness" in the past week, the system will adjust the brightness and color of the light based on historical data to help the user relieve fatigue.

[0074] External device input receives external emotion-related signals through sensors or other smart terminals and adjusts the lighting accordingly.

[0075] Through external device input, the system can receive emotion data from sensors (such as emotion recognition sensors, facial expression recognition cameras, etc.) or other smart terminals, and adjust the lighting effects according to these external signals.

[0076] For example, if the system detects that the user's facial expression is "happy" through the facial expression recognition camera, the system will automatically adjust the light color to yellow and set it to breathing gradient mode.

[0077] In this embodiment, by combining the conversational model with programmable lighting equipment, the system can accurately analyze the emotions input by the user and realize dynamic visualization of emotions through lighting. Specifically, through the data processing module 11, the system uses the network interface to communicate with the conversational model, transmits the text data input by the user, and obtains the emotion category and intensity information. If the network is unavailable, the system uses the preset emotion analysis algorithm through the local processing module 14 to ensure the continuity of the emotion analysis function. Then, the lighting control module 12 determines the color, brightness and animation mode of the light through the mapping strategy unit 121 according to the emotion analysis results, and controls the lighting equipment through the signal transmission unit 122 to display the lighting effect matching the emotion. In addition, the system also supports programmable RGB lighting equipment, and uses dynamic protocols to realize single pixel control to ensure the refinement and diversification of lighting effects. The power supply management module 13 ensures the stable operation of the system in a high current environment through independent power supply and fault detection functions to prevent the impact of power supply abnormalities. In this embodiment, through the mapping and regional control of multiple emotional states, the light can not only reflect a single emotion, but also display complex emotional combinations or conflicts, and a smooth transition algorithm is used to reduce visual mutations when switching emotions. This solution achieves efficient emotional feedback, enhances the user's interactive experience, and ensures the reliability and stability of the system through secure power management and fault-tolerant mechanisms.

[0078] Embodiment 3: like Figure 5 As shown, the present application also provides a method for emotion analysis based on a large dialogue model, which is applied to the emotion analysis system based on a large dialogue model and the programmable lighting device in Embodiment 1. The emotion analysis method includes step S100 and step S200.

[0079] Step S100: Obtain text data input by the user, call the dialogue model to perform sentiment analysis on the text data, and obtain sentiment category and sentiment intensity information.

[0080] In this step, the data processing module first obtains the text data input by the user and preprocesses it to adapt to the input format of the dialogue model. Specifically, the data processing module establishes a connection with the dialogue model through a network interface, and uses HTTP or HTTPS protocol to send the text data to the big model API for sentiment analysis. The analysis results returned by the big model include sentiment categories (such as "happy", "angry" or "sad") and sentiment intensity information (such as "low", "medium" or "high"). The data processing module parses the returned data and stores the sentiment categories and intensities in a structured manner for subsequent processing.

[0081] For example, when a user inputs "The weather is very good today and I feel very happy", the data processing module will call the dialogue model API to perform sentiment analysis on the text content, and the returned result is the sentiment category "happy" and the sentiment intensity "high".

[0082] Step S200: Generate a corresponding lighting control signal according to the emotion category and the emotion intensity information, transmit the lighting control signal to the programmable lighting device, and execute a corresponding lighting display effect.

[0083] In this step, the lighting control module receives the emotion category and emotion intensity information from the data processing module, and generates a corresponding lighting control signal according to the preset lighting mapping strategy. Specifically, the lighting control module associates the emotion category with a specific light color, brightness and animation mode through the mapping strategy unit, and generates a control signal. Subsequently, the signal transmission unit transmits the signal to the programmable lighting device to control the color, brightness and dynamic effect of the light. In addition, when multiple emotional states are detected, the lighting control module can adopt a regional control strategy so that the lights in different areas show different emotional mapping effects.

[0084] For example, when the emotion category is "anger" and the emotion intensity is "high", the lighting control module sets the light color to red and adopts a fast-flashing animation mode to enhance the visual expression of the emotion.

[0085] In this embodiment, by combining the dialogue model with the intelligent lighting control system, the emotion analysis method can accurately identify the emotional information in the user's text and present it intuitively with dynamic lighting effects. Through the network communication function of the data processing module, the system can call the dialogue model in real time for high-precision emotion recognition, and switch to the local emotion analysis mode when the network is unavailable to ensure the continuity and reliability of the system. The lighting control module maps different emotion categories and emotion intensities to specific colors, brightness and animation modes through the mapping strategy unit, so that the lighting effect can accurately reflect the user's emotional state. In addition, the signal transmission unit ensures that the lighting control signal can be quickly and stably transmitted to the programmable lighting device to avoid signal delays or data loss. This embodiment not only enhances the user's interactive experience with intelligent lighting devices, but also plays a role in many fields such as home entertainment, mental health adjustment, smart home, etc., providing personalized emotion visualization solutions.

[0086] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and conciseness of description, the specific working process of the method described above can refer to the corresponding process in the aforementioned embodiment of the emotion analysis system based on the dialogue big model, and will not be repeated here.

[0087] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.

[0088] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An emotion analysis system based on a large dialogue model, applied to programmable lighting equipment, characterized in that: include: A data processing module is used to receive text data input by a user, and call a conversational large-scale language model to perform sentiment analysis on the text data to obtain sentiment category and sentiment intensity information; A lighting control module, which is in communication with the data processing module and dynamically adjusts the color, brightness and dynamic effect of the programmable lighting device according to the emotion category and the emotion intensity information; The power supply management module is used to supply power to and manage the programmable lighting device and the data processing module.

2. The emotion analysis system based on the dialogue big model according to claim 1 is characterized in that: The data processing module communicates with the conversational large model through a network interface, and uses the HTTP or HTTPS protocol to call the conversational large language model to perform sentiment analysis on the text data to obtain sentiment category and sentiment intensity information.

3. The emotion analysis system based on the dialogue big model according to claim 1 is characterized in that: The emotion analysis system also includes a local processing module, which is used to perform emotion analysis on the text data by using a preset emotion analysis algorithm when the network is unavailable, so as to obtain emotion category and emotion intensity information.

4. The emotion analysis system based on the dialogue big model according to claim 1 is characterized in that: The programmable lighting device is a programmable RGB lighting device, which supports independent control of single pixels and adjusts color and brightness based on a dynamic protocol; wherein the dynamic protocol includes any one of the following: WS2812, SK6812.

5. The emotion analysis system based on the dialogue big model according to claim 1 is characterized in that: The lighting control module comprises: A mapping strategy unit, used to determine the color, brightness and animation mode of the light according to the emotion category and the emotion intensity information, and generate a corresponding light control signal; wherein the animation mode includes any one of the following: static display, breathing gradient, flashing pulse, segmented mixed display; A signal transmission unit is used to transmit the lighting control signal to the programmable lighting device.

6. The emotion analysis system based on the dialogue big model according to claim 5 is characterized in that: The mapping strategy unit can perform regional control of the lights according to multiple emotional states, so that the lights in different areas present different colors or animation effects; wherein the multiple emotional states include any one of the following: a single emotional state, a mixed emotional state, a dynamic emotional conversion, and an emotional conflict state.

7. The emotion analysis system based on the dialogue big model according to claim 6 is characterized in that: The multiple emotional states are processed for transition using a smooth transition algorithm, so that the presented colors or animation effects are connected naturally.

8. The emotion analysis system based on the dialogue big model according to claim 1 is characterized in that: The power supply management module includes: An independent power supply unit, used to provide an independent power supply to the programmable lighting device; A shared power supply unit and a shared ground line with the data processing module; The fault detection unit is used to enter a preset safety mode and output a preset warning light or turn off the programmable lighting device when a power supply abnormality, overtemperature or network abnormality is detected.

9. The emotion analysis system based on the dialogue big model according to claim 1 is characterized in that: The sentiment analysis system supports a multi-channel input mode, which includes: Text input, where users input emotional expressions through keyboard or voice-to-text conversion; Historical data input, lighting adjustment based on the user's historical mood change trends; External device input receives external emotion-related signals through sensors or other smart terminals and adjusts the lighting accordingly.

10. A method for emotion analysis based on a large dialogue model, applied to the emotion analysis system based on a large dialogue model and a programmable lighting device according to any one of claims 1 to 9, characterized in that: The sentiment analysis method comprises: Obtain text data input by the user, call the dialogue model to perform sentiment analysis on the text data, and obtain sentiment category and sentiment intensity information; According to the emotion category and emotion intensity information, a corresponding lighting control signal is generated, and the lighting control signal is transmitted to the programmable lighting device to execute the corresponding lighting display effect.

Citation Information

Patent Citations

  • Timed lighting control

    CN104509216A

  • LED lighting device provided with WIFI relay module

    CN105764206A

  • Lamp controller supporting multiple protocols

    CN113099578A

  • Control method and device, electronic equipment and storage medium

    CN118159962A

  • Illumination scene automatic generation method, system and equipment based on artificial intelligence

    CN118317491A

Cited By

  • Method for automatically changing frame color according to mood and weather and AI glasses

    CN120224512A

  • A method and AI glasses for automatically changing the frame color according to mood and weather

    CN120224512B