Intelligent seat control method based on large language model, intelligent seat and medium

By using large language models and neural network computing units in smart seats, combined with user voice and sensor data, refined control of smart seats is achieved, which solves the problem of unrefined control in traditional methods and improves the performance of smart seats. Flexibility and accuracy.

CN118522284BActive Publication Date: 2024-10-22SHENZHEN SIHOO INTELLIGENT FURNITURE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410969762.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-22
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

Existing smart seat control methods rely on traditional neural networks and preset logic, which cannot accurately and comprehensively control smart seats, limiting their flexibility and refined splitting.

Method used

Using a smart seat control method based on a large language model, the user's voice and sensor data are obtained through the neural network computing unit, prompt text is constructed for text prediction, and control instructions are generated to achieve refined control of the smart seat without preset logic.

Benefits of technology

It improves the control accuracy and comprehensiveness of smart seats, improves control efficiency and flexibility, simplifies user operations, and enhances the intelligence level of smart seats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118522284B_ABST
    Figure CN118522284B_ABST
Patent Text Reader

Abstract

The disclosed embodiments disclose a smart seat control method, a smart seat and a medium based on a large language model. The neural network computing unit obtains target speech and sensor data, performs emotion recognition based on the target speech, obtains emotion description text, constructs a first prompt text based on the conversion text of the target speech and the emotion description text and inputs it into the first large language model for text prediction to obtain intention description text, constructs a second prompt text based on the sensor data and inputs it into the second large language model for text prediction to obtain status description text, constructs a third prompt text based on the intention description text and the status description text and inputs it into the third large language model for text prediction to obtain control instructions for the smart seat, and sends the control instructions to the smart seat. The smart seat does not need to be controlled by control voice based on preset logic, which can improve the flexibility of the control voice as well as the accuracy and comprehensiveness of controlling the smart seat.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to an intelligent seat control method, an intelligent seat and a medium based on a large language model. Background Art

[0002] With the development of science and technology, seats are becoming more and more intelligent. In related technologies, there are solutions that use artificial intelligence technology to control smart seats. However, related technologies often use traditional neural networks (such as CNN, etc.) combined with fixed reasoning processes. For example, users must use control voice with preset logic for smart seats to recognize. This control method has certain limitations and cannot accurately and comprehensively control smart seats. Summary of the invention

[0003] The following is a summary of the subject matter of the detailed description of the present disclosure. This summary is not intended to limit the scope of the claims.

[0004] The embodiments of the present disclosure provide a smart seat control method, a smart seat and a medium based on a large language model, which can improve the accuracy and comprehensiveness of controlling the smart seat.

[0005] On the one hand, an embodiment of the present disclosure provides a smart seat control method based on a large language model, which is applied to a smart seat. The smart seat is provided with a main control unit, a neural network calculation unit and an action mechanism. The smart seat control method includes:

[0006] The neural network computing unit obtains the target speech of the target user currently collected by the smart seat, performs emotion recognition on the target speech to obtain an emotion description text, constructs a first prompt text based on the converted text of the target speech and the emotion description text, inputs the first prompt text into the first language model for text prediction, and obtains an intention description text corresponding to the target speech, wherein the intention description text is used to describe the control intention of the target user on the smart seat;

[0007] The neural network computing unit acquires current sensor data of the smart seat, constructs a second prompt text based on the sensor data, and inputs the second prompt text into a second language model for text prediction to obtain a state description text;

[0008] The neural network calculation unit constructs a third prompt text based on the intention description text and the state description text, inputs the third prompt text into the third language model for text prediction, and obtains the control instruction of the smart seat;

[0009] The neural network computing unit sends the control instruction to the main control unit, so that the main control unit controls the action mechanism to perform the corresponding target action based on the control instruction.

[0010] On the other hand, an embodiment of the present disclosure provides a smart seat, which is provided with a main control unit, a neural network computing unit and an action mechanism:

[0011] The neural network computing unit is used to obtain the target speech of the target user currently collected by the smart seat, perform emotion recognition on the target speech to obtain an emotion description text, construct a first prompt text based on the converted text of the target speech and the emotion description text, input the first prompt text into the first large language model for text prediction, and obtain an intention description text corresponding to the target speech, wherein the intention description text is used to describe the control intention of the target user on the smart seat;

[0012] The neural network calculation unit is also used to obtain current sensor data of the smart seat, construct a second prompt text based on the sensor data, input the second prompt text into the second largest language model for text prediction, and obtain a state description text;

[0013] The neural network calculation unit is further used to construct a third prompt text based on the intention description text and the state description text, input the third prompt text into the third language model for text prediction, and obtain the control instruction of the smart seat;

[0014] The neural network calculation unit is also used to send the control instruction to the main control unit, so that the main control unit controls the action mechanism to perform the corresponding target action based on the control instruction.

[0015] On the other hand, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned intelligent seat control method.

[0016] The disclosed embodiment includes at least the following beneficial effects: the neural network computing unit obtains the target voice of the target user currently collected by the smart seat, performs emotion recognition based on the target voice, obtains an emotion description text, constructs a first prompt text based on the conversion text of the target voice and the emotion description text, inputs the first prompt text into the first language model for text prediction, obtains the intention description text corresponding to the target voice, obtains the current sensor data of the smart seat, constructs a second prompt text based on the sensor data, inputs the second prompt text into the second language model for text prediction, obtains a state description text, constructs a third prompt text based on the intention description text and the state description text, inputs the third prompt text into the third language model for text prediction, obtains the control instruction of the smart seat, and sends the control instruction to the main control unit for the main control unit to calculate the state description text based on the control instruction. Command to execute the corresponding target action. Compared with the traditional neural network, the first language model, the second language model and the third language model have higher reasoning performance. Therefore, under the architecture composed of the first language model, the second language model and the third language model, the control command is output in combination with the intention of the control voice and the sensor data of the smart seat. There is no need to control the smart seat based on the control voice of the preset logic, which can effectively improve the flexibility of the control voice, and the first language model, the second language model and the third language model can respectively perform their corresponding tasks to achieve refined splitting of seat control, thereby effectively improving the accuracy and comprehensiveness of controlling the smart seat. At the same time, by configuring the neural network computing unit in the smart seat, the end-side model processing can be realized, which is beneficial to improving the control efficiency of the smart seat.

[0017] Other features and advantages of the present disclosure will be set forth in the following description, and in part will be apparent from the description, or may be learned by practicing the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are used to provide further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.

[0019] Figure 1 A schematic diagram of an optional implementation environment provided for an embodiment of the present disclosure;

[0020] Figure 2 An optional flow chart of an intelligent seat control method based on a large language model provided in an embodiment of the present disclosure;

[0021] Figure 3 An optional flow chart for constructing a second prompt text and obtaining a status description text provided in an embodiment of the present disclosure;

[0022] Figure 4 The embodiments of the present disclosure provide Figure 3 An optional flowchart of step 301 in FIG.

[0023] Figure 5 The embodiments of the present disclosure provide Figure 4 An optional flowchart of step 403;

[0024] Figure 6 The embodiments of the present disclosure provide Figure 5 An optional flowchart of step 502;

[0025] Figure 7 The embodiments of the present disclosure provide Figure 5 An optional flowchart of step 501 in FIG.

[0026] Figure 8 An optional flow chart for analyzing whether a third sensor is blocked provided in an embodiment of the present disclosure;

[0027] Fig. 9 An optional flow chart for constructing a second prompt text based on sensor data provided in an embodiment of the present disclosure;

[0028] Fig.10 An optional structural schematic diagram of the smart chair provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present disclosure more clear, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not used to limit the present disclosure.

[0030] It should be noted that in various specific embodiments of the present disclosure, when it comes to the need to perform relevant processing based on data related to the characteristics of the target object such as the target object attribute information or attribute information set, the permission or consent of the target object will be obtained first, and the collection, use and processing of these data will comply with relevant laws, regulations and standards. Among them, the target object can be a user. In addition, when the embodiment of the present disclosure needs to obtain the attribute information of the target object, the separate permission or separate consent of the target object will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the separate permission or separate consent of the target object, the necessary target object-related data used to enable the normal operation of the embodiment of the present disclosure will be obtained.

[0031] In the embodiments of the present disclosure, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0032] To facilitate understanding of the technical solution provided by the embodiments of the present disclosure, some key terms used in the embodiments of the present disclosure are explained here:

[0033] Large Language Model (LLM) refers to a deep learning model trained with a large amount of text data, which can generate natural language text or understand the meaning of language text. Large language models can handle a variety of natural language tasks, such as text classification, question answering, and dialogue, and are an important path to artificial intelligence.

[0034] Reference Figure 1 , Figure 1 A schematic diagram of an optional implementation environment provided for an embodiment of the present disclosure, the implementation environment includes a main control unit and a neural network computing unit of a smart seat, wherein the main control unit and the neural network computing unit are connected via a communication network.

[0035] Exemplarily, an interactive process of a smart seat control method based on a large language model is as follows: a neural network computing unit obtains a target voice of a current target user and sensor data on each sensor; further, the neural network computing unit performs voice conversion on the target voice to obtain a converted text of the target voice; further, the neural network computing unit performs emotion recognition on the target voice to obtain an emotion description text; further, the neural network computing unit constructs a first prompt text based on the converted text of the target voice and the emotion description text, and inputs the first prompt text into the first large language model for text prediction to obtain an intention description text corresponding to the target voice; further, the neural network computing unit constructs a second prompt text based on the sensor data, and inputs the second prompt text into the second large language model for text prediction to obtain a state description text; further, the neural network computing unit constructs a third prompt text based on the intention description text and the state description text, and inputs the third prompt text into the third large language model for text prediction to obtain a control instruction for the smart seat; finally, the neural network computing unit sends the control instruction to the main control unit, so that the smart seat controls the action mechanism to perform the corresponding target action based on the control instruction.

[0036] It should be noted that the data transmission formats of the embodiments of the present disclosure connected through the communication network include but are not limited to JSON format (JavaScript Object Notation), XML format (Extensible Markup Language), HTML format (HyperText Markup Language) and other data transmission formats.

[0037] On the one hand, the principles of the intelligent seat control method based on the large language model provided by the embodiment of the present disclosure are described in detail below.

[0038] It should be noted that the smart seat control method based on the large language model provided in the embodiment of the present disclosure is applied to a smart seat, which is provided with a main control unit, a neural network calculation unit, an action mechanism, a first sensor for detecting the physiological parameters of the target user, a second sensor for detecting the environmental parameters of the target user's environment, a third sensor for detecting the distance between the target user and the smart seat, and a fourth sensor for image acquisition when using the smart seat.

[0039] Among them, the action mechanisms include seat massage mechanisms, seat heating mechanisms, seat ventilation mechanisms, etc., which are not specifically limited in the present disclosure.

[0040] Among them, the number of first sensors is one or more, and the first sensor can be a heart rate sensor to detect the user's heart rate, a blood pressure sensor to detect the user's blood pressure, a body temperature sensor to detect the user's body surface temperature, a millimeter wave radar sensor to detect the user's breathing rate, or a piezoelectric sensor to detect the user's weight, which is not specifically limited in the present disclosure.

[0041] Furthermore, the number of the second sensors is one or more, and the second sensor may be a temperature sensor to detect the temperature of the environment, a humidity sensor to detect the humidity of the environment, a light sensor to detect the light intensity of the environment, a sound sensor to detect the noise intensity of the environment, a gas sensor to detect the air quality of the environment, a wind speed sensor to detect the meteorological conditions of the environment, or a level meter to detect the position conditions of the environment, and the present disclosure does not make any specific limitations.

[0042] Secondly, the number of the third sensor is one or more, and the third sensor can be an infrared ranging sensor, a laser ranging radar, or a millimeter wave radar sensor, which is not specifically limited in the present disclosure.

[0043] Furthermore, the number of the fourth sensor is one or more, and the third sensor can be a camera or an infrared image sensor, which is not specifically limited in the present disclosure.

[0044] Reference Figure 2 As shown, Figure 2 An optional flow chart of an intelligent seat control method based on a large language model provided in an embodiment of the present disclosure, the intelligent seat control method based on a large language model includes but is not limited to the following steps 201 to 204.

[0045] Step 201: The neural network computing unit obtains the target speech of the target user currently collected by the smart seat, performs emotion recognition on the target speech, obtains the emotion description text, constructs the first prompt text based on the converted text of the target speech and the emotion description text, inputs the first prompt text into the first language model for text prediction, and obtains the intention description text corresponding to the target speech.

[0046] Among them, the emotion description text is an emotion information description extracted and analyzed based on the speech features in the target speech. The speech features include speech information such as intonation, speaking speed, volume, and rhythm. The emotion information includes emotion descriptions such as happiness, sadness, anger, surprise, and fear. The converted text of the target speech is a text containing punctuation marks. The first prompt text is used to combine the converted text of the target speech and the emotion description text. The intention description text is used to describe the target user's control intention for the smart seat.

[0047] It should be noted that the smart seat uses the high-sensitivity microphone built into the seat to collect the target user's target voice in real time. The microphone collects the target user's target voice and performs preliminary noise filtering and signal enhancement on the target voice to ensure the high quality of the voice data, and finally transmits the target voice to the neural network computing unit.

[0048] In one possible implementation, the neural network computing unit obtains the target speech of the target user currently collected by the smart seat, and then performs emotion recognition on the target speech through a speech recognition model to obtain an emotion description text; the target speech is converted into text through the speech recognition model to obtain a converted text of the target speech; then, a first prompt text is constructed based on the converted text of the target speech and the emotion description text, and the first prompt text is input into the first language model for text prediction to obtain an intention description text corresponding to the target speech, and then the user's intention can be accurately identified through the prediction of the model, thereby providing the user with personalized services and meeting the user's specific needs. The user only needs to obtain clear user needs through simple voice input, which simplifies the interaction process and improves the convenience of operation.

[0049] In a possible implementation, in the process of emotion recognition of the target speech by the speech recognition model, the neural network computing unit first extracts features of the target speech, for example: extracts the Mel frequency cepstral coefficients of the target speech, and then obtains the audio spectrum features of the target speech to characterize the speaking speed of the target speech; or extracts the Chroma features of the target speech, and then obtains the pitch features of the target speech to characterize the intonation of the target speech; or extracts the MEL features of the target speech, and then obtains the frequency distribution features of the target speech to characterize the rhythm of the target speech; or extracts the logarithmic energy of the target speech, and then obtains the intensity change features of the target speech to characterize the volume of the target speech; further, the neural network computing unit inputs the extracted speech features into the speech recognition model to perform emotion category recognition (such as happiness, sadness, anger, surprise, disgust, fear, etc.), obtains the emotion probability distribution of the target speech, and selects the emotion category with the highest probability from the emotion probability distribution as the emotion description text, thereby improving the accuracy of emotion recognition of the target speech.

[0050] Among them, the above-mentioned speech recognition model can be a convolutional neural network recognition model or a long short-term memory network recognition model, which is not specifically limited in the present disclosure. In addition, the speech recognition model can also perform detailed decomposition and prediction through the context of the target speech and the converted text of the target speech, thereby improving the accuracy of the speech recognition model in emotion recognition of the target speech.

[0051] In a possible implementation, the neural network computing unit performs emotion recognition and text conversion on the target speech through a speech recognition model to obtain the converted text of the target speech "Oh, I am so tired now!" and the emotion description text "Fatigue.", and then reads a preset construction template (such as "The user says '{{Converted text of the target speech}}', the current emotion is {{Emotion description text}}, please predict the user's intention."), and combines the converted text of the target speech "Oh, I am so tired now!" and the emotion description text "The current emotion is fatigue." to obtain a first prompt text "The user says 'Oh, I am so tired now!', and the current emotion is fatigue."; then the first prompt text "The user says 'Oh, I am so tired now!', the current emotion is fatigue, please predict the user's intention." is input into the first language model for text prediction, and the intention description text corresponding to the target speech "The user wants to have a massage and rest, and needs to turn on the massage function of the seat." is obtained. Then, by combining the emotion description text with the converted text of the target speech, the accuracy of the first language model in predicting the intention description text can be improved.

[0052] Step 202: The neural network computing unit obtains the current sensor data of the smart seat, constructs a second prompt text based on the sensor data, inputs the second prompt text into the second largest language model for text prediction, and obtains a status description text.

[0053] Among them, the current sensor data of the smart seat include sensor data corresponding to the first sensor, sensor data corresponding to the second sensor, sensor data corresponding to the third sensor and sensor data corresponding to the fourth sensor. These sensor data include but are not limited to the user's weight change, the user's body fat, the distance from the user's head to the chair back, the distance from the user's back to the chair back, the bending angle of the user's back, the bending angle of the user's arms, the user's heart rate fluctuations, the user's breathing frequency, the pressure distribution of the seat, the current seat temperature, the user's sitting posture, etc.

[0054] In addition, the second prompt text is a descriptive text used to record data such as the current user's physiological parameters, seat environment parameters, and distance parameters from the user to the seat; the status description text is a descriptive text used to express the current user status, and the user status includes the user's sitting posture, the user's sitting depth, and other status.

[0055] Meanwhile, the second largest language model is a pre-trained natural language processing model that can understand and generate predictions related to the input text.

[0056] It should be noted that the data collected by the third sensor and the fourth sensor are processed by a filtering algorithm, thereby improving the accuracy of data collection by the third sensor.

[0057] In a possible implementation, each sensor sends the sensor data collected by itself to the neural network computing unit, and the neural network computing unit receives the sensor data currently collected by each sensor, and first pre-processes and normalizes the sensor data to ensure the accuracy and consistency of the data; then, based on the processed sensor data, the neural network computing unit constructs a detailed descriptive text, namely the second prompt text, for example: "The user's current weight is 70 kg, the pressure distribution of the seat is uniform, the seat temperature is 25 degrees Celsius, the heart rate is stable at 72 times per minute, the distance from the user's head to the back of the chair is 2 cm, the distance from the user's back to the back of the chair is 3 cm, the bending angle of the user's back is 5 degrees, and the bending angle of the user's arm is 15 degrees."; further, the constructed second prompt text is input into the second largest language model for text prediction to obtain the corresponding state description text, for example: "The user's current sitting posture is in a lying state, and the user's sitting depth is a state where the whole body fits the seat.". Then, through the data integration of multiple sensors and the analysis and prediction of the second largest language model, the current state of the user in the smart seat can be accurately analyzed, and the prerequisite for the subsequent automatic adjustment of the smart seat is provided, which improves the intelligence and humanization of the smart seat.

[0058] Step 203: The neural network computing unit constructs a third prompt text based on the intention description text and the state description text, and inputs the third prompt text into the third language model for text prediction to obtain control instructions for the smart seat.

[0059] Among them, the third largest language model is a pre-trained natural language processing model that can understand complex contexts and multiple inputs and generate corresponding control instructions.

[0060] Specifically, the neural network computing unit first integrates the intention description text and the current status description text to construct a detailed third prompt text, and then inputs the third prompt text into the third language model for text prediction to obtain the control instructions of the smart seat. It can then provide personalized seat control and health management services by integrating the user's intentions and current status. At the same time, by using natural language processing technology, users can achieve complex seat adjustments through simple voice or text commands.

[0061] In one possible implementation, the intent description text is "The user wants to adjust the seat angle and turn on the heating function.", and the status description text is "The current seat angle is 90 degrees, the seat temperature is 22 degrees Celsius, and the user's heart rate is stable." Then, these two texts are combined to construct a third prompt text, wherein the third prompt text may be "The user wants to adjust the seat angle to 120 degrees and increase the seat temperature to 30 degrees Celsius. The current seat angle is 90 degrees, the seat temperature is 22 degrees Celsius, and the user's heart rate is stable." Then, the constructed third prompt text is input into the third language model for text prediction to obtain control instructions for the smart seat, such as: "Adjust the seat angle to 120 degrees." control instructions, "Turn on the seat heating function and adjust the temperature to 30 degrees Celsius." Control instructions, then based on the text prediction of the third language model, the corresponding smart seat control instructions can be accurately obtained, thereby realizing intelligent regulation of the smart seat.

[0062] It should be noted that the control instructions of smart seats are usually stored in the JSON structure format, where the control types of control instructions include: controlling the seat height of the smart seat, controlling the seat depth of the smart seat, controlling the inclination angle of the seat back, controlling the inclination angle of the footrest, controlling the angle of the seat lumbar support, controlling the angle of the seat armrest, turning on or off the hot compress function, the strength level of the hot compress function, turning on or off the massage function, the massage mode of the massage function, the strength level of the massage function, turning on or off the seat ventilation function, the strength level of the seat ventilation function, turning on or off the speaker, the volume level of the speaker, turning on or off the emergency alarm button, and other smart home devices.

[0063] Step 204: The neural network computing unit sends the control instruction to the main control unit, so that the main control unit controls the action mechanism to perform the corresponding target action based on the control instruction.

[0064] In a possible implementation, the neural network computing unit sends a control instruction to the main control unit, so that the main control unit controls the action mechanism to perform the corresponding target action based on the control instruction. For example: the neural network computing unit sends the control instruction "adjust the seat angle to 120 degrees" to the main control unit, the main control unit receives the control instruction "adjust the seat angle to 120 degrees" and responds, and then adjusts the angle of the seat back to 120 degrees. Alternatively, the neural network computing unit sends the control instruction "turn on the seat heating function and adjust the temperature to 30 degrees Celsius" to the main control unit, the main control unit receives the control instruction "turn on the seat heating function and adjust the temperature to 30 degrees Celsius" and responds, and then controls the heating mechanism to turn on the seat heating function and adjust the temperature to 30 degrees Celsius, so that the smart seat can quickly perform the corresponding target action after receiving the control instruction, which improves the real-time performance of the dynamic adjustment of the smart seat and improves the comfort of the user.

[0065] It can be seen that the neural network computing unit obtains the target voice of the target user currently collected by the smart seat, performs emotion recognition based on the target voice, obtains the emotion description text, constructs the first prompt text based on the conversion text of the target voice and the emotion description text, inputs the first prompt text into the first language model for text prediction, obtains the intention description text corresponding to the target voice, obtains the current sensor data of the smart seat, constructs the second prompt text based on the sensor data, inputs the second prompt text into the second language model for text prediction, obtains the state description text, constructs the third prompt text based on the intention description text and the state description text, inputs the third prompt text into the third language model for text prediction, obtains the control instruction of the smart seat, and sends the control instruction to the main control unit, so that the main control unit executes the corresponding target based on the control instruction. Standard action, compared with the traditional neural network, the first language model, the second language model and the third language model have higher reasoning performance. Therefore, under the architecture composed of the first language model, the second language model and the third language model, the control command is output in combination with the intention of the control voice and the sensor data of the smart seat. There is no need to control the smart seat based on the control voice of the preset logic, which can effectively improve the flexibility of the control voice, and the first language model, the second language model and the third language model can respectively perform their corresponding tasks to achieve refined splitting of seat control, thereby effectively improving the accuracy and comprehensiveness of controlling the smart seat. At the same time, by configuring the neural network computing unit in the smart seat, the end-side model processing can be realized, which is beneficial to improving the control efficiency of the smart seat.

[0066] Specifically, existing voice controls are generally simply based on the user's control voice to achieve control. For example, the user needs to explicitly say "turn on the massage function of the smart seat". Based on the embodiments of the present disclosure, the user does not need to explicitly say a specific control voice, but only needs to simply say "I am so tired now", and the smart seat can generate a corresponding control instruction to turn on the massage function, thereby effectively improving the user experience.

[0067] Furthermore, the number of the second largest language model can be multiple, refer to Figure 3 As shown, Figure 3 An optional flowchart of constructing a second prompt text and obtaining a status description text is provided in an embodiment of the present disclosure. Constructing the second prompt text and obtaining the status description text includes but is not limited to the following step 301.

[0068] Step 301: construct multiple second prompt texts based on multiple sensor data, input various second prompt texts into the corresponding second largest language model for text prediction, and obtain status description text based on the text output by each second largest language model.

[0069] Among them, the multiple sensor data may include sensor data of user physiological parameters, sensor data of environmental parameters, sensor data of distance parameters, and sensor data of user image parameters; the multiple second prompt texts include prompt texts of user physiological parameters, prompt texts of environmental parameters, prompt texts of distance parameters, and prompt texts of user image parameters.

[0070] Specifically, the neural network computing unit constructs a variety of second prompt texts based on a variety of sensor data, inputs the various second prompt texts into the corresponding second largest language model for text prediction, and obtains the status description text based on the text output by each second largest language model, thereby being able to accurately monitor and analyze the user's status, and also provide personalized adjustment plans for the follow-up, significantly improving the user's comfort and usage experience.

[0071] In a possible implementation, the neural network computing unit constructs a prompt text of the user's physiological parameter type based on the user's heart rate data detected by the heart rate sensor, and obtains a second prompt text "The current user's heart rate is 72 beats per minute."; constructs a prompt text of the environmental parameter type based on the seat temperature change data detected by the temperature sensor, and obtains a second prompt text "The current seat temperature is 26 degrees Celsius."; constructs a prompt text of the distance parameter type based on the distance data from the user's back to the seat detected by the infrared sensor, and obtains a second prompt text "The current distance from the user's back to the chair back is 3 cm."; and then converts the second prompt text "The current user's heart rate is 72 beats per minute. ” is input into the second largest language model of the physiological state text prediction type for text prediction, and the state description text “The user’s heart rate is normal” is obtained; the second prompt text “The current seat temperature is 26 degrees Celsius” is input into the second largest language model of the environmental state text prediction type for text prediction, and the state description text “The current seat temperature is slightly low, and it is recommended to increase the seat temperature to 30 degrees Celsius appropriately” is obtained; the second prompt text “The current distance from the user’s back to the chair back is 3cm” is input into the second largest language model of the distance parameter state text prediction type for text prediction, and the state description text “The distance from the user’s back to the chair back is moderate, and the user’s posture is good” is obtained. Finally, the state description texts output by each second largest language model are integrated to generate a comprehensive state description text (for example: “The current seat temperature is slightly low, and it is recommended to increase the seat temperature to 30 degrees Celsius appropriately; the user’s heart rate is normal; the distance from the user’s back to the chair back is moderate, and the user’s posture is good.”), which can fully reflect the user’s current physiological state, environmental state, and physical state, and improve the comprehensiveness and diversity of user state prediction.

[0072] Reference Figure 4 As shown, Figure 4 The embodiments of the present disclosure provide Figure 3 An optional flowchart of step 301 in the figure, wherein step 301 includes but is not limited to the following steps 401 to 403.

[0073] Step 401: construct a first type of second prompt text based on sensor data corresponding to the first sensor and the second sensor, input the first type of second prompt text into the corresponding second largest language model for text prediction, and obtain the first description text output by the current second largest language model.

[0074] The second prompt text of the first type is a text used to prompt the current target user's physiological parameters and the current environmental parameters, and the first description text is used to describe the current user state of the target user and the environmental state of the target user's environment.

[0075] In one possible implementation, the neural network computing unit constructs a second prompt text of the first type based on the user's breathing rate data detected by the breathing sensor and the seat environment humidity change data detected by the humidity sensor, and obtains the second prompt text of the first type "The current seat environment humidity is 45%; the user's breathing rate is 15 times / minute." Then, the second prompt text of the first type "The current seat environment humidity is 45%; the user's breathing rate is 15 times / minute." is input into the second largest language model belonging to the first type for text prediction, and the first description text output by the current second largest language model is obtained, "The user's breathing is stable and no abnormalities are detected; the environmental humidity is high, which has a certain impact on the user's comfort." Then, by using a specially trained second largest language model for different types of sensor data, the precision and accuracy of the prediction can be improved.

[0076] Step 402: construct a second prompt text of the second type based on the sensor data corresponding to the third sensor, input the second prompt text of the second type into the corresponding second largest language model for text prediction, and obtain the second description text output by the current second largest language model.

[0077] The second prompt text of the second type is a text used to prompt the distance parameter between the current target user and the seat, and the second description text is used to describe the current sitting posture of the target user.

[0078] In one possible implementation, the neural network computing unit constructs a second type of prompt text based on the distance data from the user's arm to the seat detected by the laser sensor, and obtains a second prompt text of the second type "The current distance data from the user's back to the seat back is 5cm, the distance data from the user's buttocks to the seat base is 1cm, and the sitting depth is 4cm."; then the second prompt text "The current distance data from the user's back to the seat back is 5cm, the distance data from the user's buttocks to the seat base is 1cm, and the sitting depth is 4cm." is input into the second largest language model belonging to the second type for text prediction, and obtains the state description text "The user is sitting upright, and the user has a good sitting posture." By using a specially trained second largest language model for different types of sensor data, the precision and accuracy of the prediction can be improved.

[0079] Step 403: concatenate the first description text and the second description text to obtain a status description text.

[0080] In one possible implementation, the neural network computing unit splices the first description text "The user's breathing is steady, and no abnormalities are detected; the ambient humidity is high, which has a certain impact on the user's comfort." and the second description text "The user is sitting upright, and the user's sitting posture is good." to obtain the status description text "The user's breathing is steady, and no abnormalities are detected; the ambient humidity is high, which has a certain impact on the user's comfort; the user is sitting upright, and the user's sitting posture is good.", and then can fully output the first description text and the second description text, thereby improving the comprehensiveness of the status description text.

[0081] It should be noted that in order to make the status description text easier to understand and process, the status description text can also be subjected to natural language processing to make the text's word order more coherent and concise. For example, "The user's breathing is steady and no abnormalities are detected; the ambient humidity is high, which has a certain impact on the user's comfort; the user is sitting upright and has a good sitting posture." can be converted into "The current ambient humidity is high, the user is sitting upright, his breathing is steady, his sitting posture is good, and no abnormalities are detected."

[0082] At the same time, in combination with step 401 to step 403, first, the neural network calculation unit constructs the second prompt text of the first type based on the sensor data corresponding to the first sensor and the second sensor, inputs the second prompt text of the first type into the corresponding second largest language model for text prediction, and obtains the first description text output by the current second largest language model; then, the second prompt text of the second type is constructed based on the sensor data corresponding to the third sensor, and the second prompt text of the second type is input into the corresponding second largest language model for text prediction, and obtains the second description text output by the current second largest language model; finally, the first description text and the second description text are spliced ​​to obtain the state description text. In this way, multiple second largest language models can be run in parallel, and each model processes different second prompt texts, which improves the overall processing efficiency, improves the overall real-time performance and response speed, and each second largest language model works independently, which improves the flexibility and scalability of the overall processing.

[0083] Reference Figure 5 As shown, Figure 5 The embodiments of the present disclosure provide Figure 4 An optional flowchart of step 403 in the figure, wherein step 403 includes but is not limited to the following steps 501 to 502.

[0084] Step 501: Obtain a user image of a target user captured by a fourth sensor, perform hand-eye calibration on the user image, and then input the image into a large visual model for image recognition to obtain a third description text.

[0085] The third description text is used to describe the arm angle and sitting angle of the target user.

[0086] In one possible implementation, when the main control unit detects that the user sits down, the fourth sensor is automatically activated. The fourth sensor uses a checkerboard, a dot array or other geometric shapes as calibration objects to collect full-body or partial images of the user, such as sitting posture, arms, feet, torso, etc., and then the fourth sensor sends the collected user image of the target user to the neural network computing unit. The neural network computing unit receives the user image sent by the fourth sensor, and then performs hand-eye calibration on the user image to obtain a corrected user image. Finally, the neural network computing unit inputs the corrected user image into the large visual model for image recognition to obtain a third description text (for example: "The angle between the target user's arm and the armrest of the seat is 15 degrees, and the angle between the target user's torso and the seat backrest in the current sitting posture is 10 degrees."), and then through real-time collection and processing of user images, the current user's posture can be accurately identified, providing a prerequisite and a reliable data basis for the subsequent dynamic adjustment of the smart seat.

[0087] In a possible implementation, the specific process of the neural network computing unit performing hand-eye calibration on the user image is as follows: in each image, an image processing algorithm is used to extract the feature points of the calibration object (such as the intersection of a chessboard or the center of a dot), and then the feature points in the image are matched with the known geometric features of the calibration object to ensure the accuracy of the extracted feature points. Then, a calibration equation is constructed; then, the calibration equation is decomposed into a rotation part and a translation part and solved separately, wherein the rotation part can be solved by singular value decomposition (SVD), and the translation part can be solved by the least squares method to obtain the hand-eye transformation matrix; finally, based on the hand-eye transformation matrix, the collected user image is corrected to eliminate the distortion and error in the user image, thereby ensuring the accuracy of the fourth sensor in the position dimension and direction dimension, so that the collected user image has an accurate spatial relationship, and the accuracy of the subsequent large visual model prediction is improved.

[0088] The calibration equation includes a first calibration equation and a second calibration equation. The first calibration equation is used to solve the spatial transformation of the camera in the mobile space (i.e., the spatial transformation of the camera and the moving object is solved), and the second calibration equation is used to solve the spatial transformation of the camera in the fixed space (i.e., the spatial transformation of the camera and the calibration object is solved). The first calibration equation is A i X=XB i ,A i is the transformation matrix of the moving object from the i-th position to the i+1-th position; B i is the transformation matrix of the camera from the i-th position to the i+1-th position; the second calibration equation is A i X=XC i ,A i is the transformation matrix of the moving object from the i-th position to the i+1-th position; C i is the transformation matrix of the calibration object from the i-th position to the i+1-th position, and X is the hand-eye transformation matrix that needs to be solved.

[0089] Step 502: concatenate the first description text, the second description text and the third description text to obtain a status description text.

[0090] In a possible implementation, the neural network computing unit splices the first description text "The user's breathing is stable, no abnormality is detected; the environmental humidity is high, which has a certain impact on the user's comfort.", the second description text "The user is in an upright sitting state, and the user's sitting posture is good." and the third description text "The angle between the target user's arm and the seat armrest is 15 degrees, and the angle between the target user's torso and the seat backrest in the current sitting posture is 10 degrees." to obtain the state description text "The user's breathing is stable, no abnormality is detected; the environmental humidity is high, which has a certain impact on the user's comfort; the user is in an upright sitting state, and the user's sitting posture is good; the angle between the target user's arm and the seat armrest is 15 degrees, and the angle between the target user's torso and the seat backrest in the current sitting posture is 10 degrees." Then, the neural network computing unit combines the data of multiple sensors to generate a comprehensive state description text, which can more comprehensively reflect the user's current state and provide an accurate data basis for the subsequent generation of control instructions for the smart seat.

[0091] At the same time, in combination with step 501 to step 502, first, the neural network computing unit obtains the user image of the target user collected by the fourth sensor, performs hand-eye calibration on the user image, and then inputs it into the large visual model for image recognition to obtain the third description text; then the first description text, the second description text, and the third description text are spliced ​​to obtain the state description text. Then, by combining the user image data and the sensor data, the user state is analyzed and described from multiple dimensions, which improves the comprehensiveness and accuracy of the state description text. In addition, each description text (first description text, second description text, third description text) is generated independently, which is convenient for the maintenance and expansion of each model, and can be flexibly adjusted and optimized according to specific needs, thereby improving the scalability and versatility of the overall processing.

[0092] Furthermore, the action mechanism also includes a seat armrest of the smart seat, and the above-mentioned target action includes moving the seat armrest. The sensor data of the third sensor and the user image collected by the fourth sensor are both periodically and continuously acquired.

[0093] Reference Figure 6 As shown, Figure 6 The embodiments of the present disclosure provide Figure 5 An optional flowchart of step 502 in the flowchart, wherein step 502 includes but is not limited to the following steps 601 to 602.

[0094] Step 601: In the current cycle, the first armrest position of the seat armrest after the seat armrest was moved in the previous cycle is obtained, and based on the first armrest position, a fourth description text is obtained.

[0095] The first armrest position is the armrest position of the seat armrest at the last end moment of the last complete cycle, and the parameters of the armrest position include three-dimensional coordinates (x, y, z), angles (pitch, yaw, roll), etc.

[0096] In one possible implementation, the neural network computing unit is in the current cycle in response to the processing logic executed at the current moment, and extracts the first armrest position of the seat armrest after the seat armrest was moved in the previous cycle from the data collected by the third sensor and the fourth sensor, and obtains a fourth description text based on the first armrest position (for example, "the position of the seat armrest after movement in the current cycle is 30 cm to the right relative to the end position of the previous movement cycle, and is tilted upward by 10 degrees"). Then, by obtaining the first armrest position of the previous cycle, the change in the armrest position of the current cycle can be analyzed, thereby providing an initial reference position point for the change in the armrest position of the current cycle.

[0097] Step 602: concatenate the first description text of the current cycle, the second description text of the current cycle, the third description text of the current cycle, and the fourth description text of the current cycle to obtain the status description text of the current cycle.

[0098] In a possible implementation, the neural network computing unit converts the first description text of the current cycle "In the current cycle, the user's breathing is stable and no abnormality is detected; the ambient humidity is high, which has a certain impact on the user's comfort.", the second description text of the current cycle "In the current cycle, the user is in an upright sitting state and the user's sitting posture is good.", the third description text of the current cycle "In the current cycle, the angle between the target user's arm and the seat armrest is 15 degrees, and the angle between the target user's torso and the seat back in the current sitting posture is 10 degrees." and the fourth description text of the current cycle "The position of the seat armrest after movement in the current cycle is relative to the end position of the previous movement cycle. The position of the seat armrest in the current cycle has moved 30cm to the right and tilted 10 degrees upward." is spliced ​​together to obtain the status description text of the current cycle: "In the current cycle, the user's breathing is stable and no abnormalities are detected; the ambient humidity is high, which has a certain impact on the user's comfort; the user is in an upright sitting state and the user's sitting posture is good; at the same time, the position of the seat armrest after movement in the current cycle has moved 30cm to the right relative to the end position of the previous movement cycle, and tilted 10 degrees upward." Then, through the data of multiple sensors and the mutual data of various external devices, a comprehensive status description text is generated, which can more comprehensively reflect the user's current status and improve the comprehensiveness and accuracy of the status description text.

[0099] It should be noted that, in the current cycle, the neural network calculation unit obtains the first armrest position of the seat armrest after the seat armrest was moved in the previous cycle, and obtains the fourth description text based on the first armrest position; then the first description text of the current cycle, the second description text of the current cycle, the third description text of the current cycle and the fourth description text of the current cycle are spliced ​​to obtain the state description text of the current cycle, thereby better understanding and describing the current state of the smart seat and the current user's state, and providing strong support for the automation and intelligent control of the smart seat.

[0100] At the same time, combined with step 601 to step 602, first, in the current cycle, the neural network calculation unit obtains the first armrest position of the seat armrest after the seat armrest was moved in the previous cycle, and obtains the fourth description text based on the first armrest position; then, the first description text of the current cycle, the second description text of the current cycle, the third description text of the current cycle, and the fourth description text of the current cycle are spliced ​​to obtain the state description text of the current cycle. Then, by recording the changes in the armrest position in real time, the continuous control of the armrest can be achieved, and when controlling the armrest, it will not just move to a certain position rigidly, making the control of the armrest smoother, and improving the intelligence level of the smart seat.

[0101] It should be noted that in the above Figure 2 After step 204, the intelligent seat control method based on the large language model may further include the following steps: the neural network computing unit receives the second armrest position of the seat armrest after it moves in the current cycle sent by the main control unit, and caches the second armrest position.

[0102] Among them, the second armrest position is used to determine the fourth description text in the next cycle. The second armrest position is the armrest position of the seat armrest at the last end moment of the current complete cycle. The parameters of the armrest position include three-dimensional coordinates (x, y, z), angles (pitch, yaw, roll), etc.

[0103] In one possible implementation, the neural network computing unit is in the current cycle in response to the processing logic executed at the current moment, receives the second armrest position of the seat armrest after it moves in the current cycle sent by the main control unit, performs hand-eye calibration correction processing on the second armrest position, and then stores the corrected second armrest position into the corresponding cache data structure, thereby being able to effectively manage and update the armrest position data, avoiding data loss or repeated storage, and making the control of the seat armrest smoother.

[0104] Among them, the smart seat can also periodically write the armrest position data in the cache to persistent storage (such as a database or file system) as a log record of the seat armrest, so as to facilitate long-term preservation and position analysis of the historical movement process of the seat armrest.

[0105] Reference Figure 7 As shown, Figure 7 The embodiments of the present disclosure provide Figure 5 An optional flowchart of step 501 in the figure, wherein step 501 includes but is not limited to the following steps 701 to 702.

[0106] Step 701: The neural network computing unit performs an occlusion analysis on the third sensor based on the sensor data corresponding to the third sensor, and when the analysis result indicates that the third sensor is occluded, sends a notification message for starting the fourth sensor to the main control unit.

[0107] In one possible implementation, when the third sensor is an infrared ranging sensor, the neural network calculation unit can extract regional data of abnormally high or low temperatures from the temperature data of the corresponding sensor, and then set a temperature threshold, and determine the areas in the temperature data that exceed or are lower than the temperature threshold as areas to be processed, and then analyze the degree of mutation of the temperature data in these areas to determine whether there is occlusion. Finally, when the analysis result indicates that the third sensor is obstructed, the neural network calculation unit sends a notification message for starting the fourth sensor to the main control unit, thereby improving the accuracy of the occlusion analysis of the third sensor. At the same time, through the occlusion analysis of the third sensor, the situation where the sensor is obstructed can be identified, avoiding the judgment of the overall data processing being affected by missing or inaccurate sensor data.

[0108] In another possible implementation, when the third sensor is a laser ranging radar, the neural network calculation unit can extract area data where a large number of invalid points or outliers appear in the depth data of the corresponding sensor, and then analyze the density and distribution of the point cloud data to determine the area to be processed, and then analyze the density of the invalid points or outliers in these areas to determine whether there is occlusion. Finally, when the analysis result indicates that the third sensor is occluded, the neural network calculation unit sends a notification message to the main control unit for starting the fourth sensor, thereby improving the accuracy of occlusion analysis of the third sensor.

[0109] In another possible implementation, when the third sensor is a millimeter ranging radar, the neural network calculation unit can extract regional data of abnormally high-intensity or low-intensity areas from the reflected signal intensity data of the corresponding sensor, and then set a signal strength threshold, and determine the areas in the reflected signal intensity data that exceed or are lower than the signal threshold as areas to be processed, and then analyze the degree of mutation of the reflected signal intensity data in these areas to determine whether there is occlusion. Finally, when the analysis result indicates that the third sensor is obstructed, the neural network calculation unit sends a notification message to the main control unit for starting the fourth sensor, thereby improving the accuracy of occlusion analysis of the third sensor.

[0110] Step 702: Obtain a user image of the target user captured by the fourth sensor, activate the large vision model, perform hand-eye calibration on the user image, and then input the image into the large vision model for image recognition to obtain a third description text.

[0111] In one possible implementation, the main control unit starts the fourth sensor in response to a notification message sent by the neural network computing unit to start the fourth sensor. The fourth sensor then collects a user image of the target user and performs noise filtering on the user image. The fourth sensor then sends the filtered user image to the neural network computing unit. The neural network computing unit activates the large visual model in response to the user image sent by the fourth sensor, performs hand-eye calibration on the user image, and then inputs the image into the large visual model for image recognition. The hand-eye calibration technology can accurately calibrate the image data, improve the accuracy of image recognition, and provide reliable data support for further intelligent analysis. In addition, by collecting user images through the fourth sensor and combining them with the image recognition capability of the large visual model, more comprehensive user information can be obtained.

[0112] At the same time, in combination with step 701 to step 702, first, the neural network computing unit performs an occlusion analysis on the third sensor based on the sensor data corresponding to the third sensor. When the analysis result indicates that the third sensor is occluded, a notification message for starting the fourth sensor is sent to the main control unit; then, the neural network computing unit obtains the user image of the target user collected by the fourth sensor, activates the large visual model, performs hand-eye calibration on the user image, and then inputs it into the large visual model for image recognition. Therefore, when the third sensor detects occlusion, the fourth sensor can be enabled in time for supplementation, which improves the integrity and accuracy of the data, improves the continuity and fluency of data processing, and the processes such as occlusion analysis, sensor switching, and image recognition are all automatically processed, reducing human intervention and improving the intelligence level of the smart seat.

[0113] Reference Figure 8 As shown, Figure 8An optional flow chart for analyzing whether a third sensor is blocked is provided in an embodiment of the present disclosure. The method for analyzing whether a third sensor is blocked includes but is not limited to the following steps 801 to 802.

[0114] Step 801: when the analysis result indicates that the third sensor is blocked, generate a blocking code according to the position of the third sensor.

[0115] In a possible implementation, when the number of the third sensors is 3, namely an infrared ranging sensor, a laser ranging radar and a millimeter ranging radar, and the infrared ranging sensor, the laser ranging radar and the millimeter ranging radar are respectively located at different positions of the smart seat, wherein the infrared ranging sensor is located at the first position of the smart seat, the laser ranging radar is located at the second position of the smart seat, and the millimeter ranging radar is located at the third position of the smart seat; then when the analysis result of the neural network calculation unit indicates that the infrared ranging sensor is blocked, an occlusion code 100 is generated according to the first position of the infrared ranging sensor; when the analysis result of the neural network calculation unit indicates that the laser ranging radar is blocked, an occlusion code 010 is generated according to the second position of the laser ranging radar; when the analysis result of the neural network calculation unit indicates that the laser ranging radar is blocked, an occlusion code 001 is generated according to the third position of the laser ranging radar, and then by generating the occlusion code, the position of the third sensor can be accurately located, and the occlusion code is relatively concise, which is convenient for data storage and transmission, and can also quickly reflect the occlusion of the sensor without complex calculations, thereby improving detection efficiency.

[0116] In a possible implementation, when the number of the third sensors is 4, all of the third sensors are infrared ranging sensors, and the 4 infrared ranging sensors are respectively located at different positions of the smart seat, wherein the first infrared ranging sensor is located at the first position of the smart seat, the second infrared ranging sensor is located at the second position of the smart seat, the third infrared ranging sensor is located at the third position of the smart seat, and the fourth infrared ranging sensor is located at the fourth position of the smart seat; then when the analysis result of the neural network calculation unit indicates that the first infrared ranging sensor is blocked, the blocking code 1000 is generated according to the first position of the first infrared ranging sensor; when the analysis result indicates that the second infrared ranging sensor is blocked When there is occlusion, an occlusion code 0100 is generated according to the second position of the second infrared ranging sensor; when the analysis result of the neural network calculation unit indicates that the third infrared ranging sensor is occluded, an occlusion code 0010 is generated according to the third position of the third infrared ranging sensor; when the analysis result of the neural network calculation unit indicates that the fourth infrared ranging sensor is occluded, an occlusion code 0001 is generated according to the fourth position of the fourth infrared ranging sensor, thereby being able to accurately locate the position of the third sensor by generating the occlusion code, and the occlusion code is relatively concise, which is convenient for data storage and transmission, and can also quickly reflect the occlusion situation of the sensor without complex calculations, thereby improving detection efficiency.

[0117] It should be noted that, according to the occlusion coding in the above two embodiments, it can be known that the occlusion coding provided by the occlusion embodiment of the present disclosure has a bit number equal to the number of third sensors, and the occlusion status of the third sensor can be expressed by a digital code of 0 or 1.

[0118] Step 802: Generate a notification message for starting a fourth sensor corresponding to the blocked third sensor based on the blocking code, and send the notification message to a main control unit.

[0119] Among them, the number of fourth sensors can be greater than or equal to the number of third sensors, and the positions of each fourth sensor correspond to the positions of each third sensor. For example, if the above-mentioned fourth infrared ranging sensor is located at the fourth position of the smart seat, then a corresponding fourth sensor is arranged near the fourth position of the smart seat.

[0120] In one possible implementation, the neural network computing unit parses the occlusion code to determine the obscured third sensor, then matches the fourth sensor at the corresponding position based on the position of the obscured third sensor, and generates a notification message to start the corresponding matched fourth sensor. Finally, the neural network computing unit sends the notification message to the main control unit, so that the main control unit starts the corresponding fourth sensor based on the notification message to collect the user image of the target user, thereby enabling the main control unit to respond quickly and start the corresponding fourth sensor, thereby improving the efficiency and consistency of overall data processing.

[0121] At the same time, in combination with step 801 to step 802, when the analysis result of the neural network calculation unit indicates that the third sensor is blocked, an occlusion code is generated according to the position of the third sensor, and then a notification message for starting the fourth sensor corresponding to the blocked third sensor is generated based on the occlusion code, and the notification message is sent to the main control unit. Then, through the collaborative work of multiple sensors, reliable data can be provided in different situations to prevent single point failures, and when a sensor is blocked or fails, the smart seat can automatically switch to the backup sensor, ensuring the continuous and stable operation of the overall system and improving the robustness of data processing.

[0122] Among them, the smart seat uses a target array to store the sensor addresses of each fourth sensor according to the coding order of the occlusion code. After receiving the occlusion code, the main control unit identifies the position number of the number "1" in the occlusion code, and obtains the sensor address from the corresponding row or column in the target array based on the position number, so as to quickly and accurately control the startup of the corresponding fourth sensor.

[0123] Reference Fig. 9 As shown, Fig. 9 An optional flowchart of constructing a second prompt text based on sensor data provided in an embodiment of the present disclosure, the method of constructing a second prompt text based on sensor data includes but is not limited to the following steps 901 to 902.

[0124] Step 901: Acquire the historical voice of the target user collected by the smart seat, as well as the historical operation record of the target user operating the smart seat.

[0125] In one possible implementation, the neural network computing unit obtains the historical voice of the target user collected by the smart seat and the historical operation records of the target user operating the smart seat from the memory or cache, and can then quickly obtain the historical voice and historical operation records, thereby improving the overall data processing efficiency.

[0126] It should be noted that each time the neural network computing unit receives the target voice of the target user from the smart seat, it is stored in the memory as a historical voice. At the same time, the neural network computing unit also stores the operation record of each operation of the smart seat as a historical operation record in the memory, wherein the data of a historical operation record includes the time data of operating the smart seat, the location data of operating the smart seat, the function data of operating the smart seat, and the user's operation behavior data during the operation process, and the time data of operating the smart seat, the location data of operating the smart seat, and the function data of operating the smart seat can all be used to express the user's behavioral preferences.

[0127] Step 902: Construct a second prompt text of the first type based on the sensor data corresponding to the first sensor and the second sensor, the converted text of the historical voice, and the historical operation record.

[0128] In a possible implementation, the neural network computing unit first synchronizes the sensor data of the first sensor, the sensor data of the second sensor, the historical voice conversion text, and the historical operation records by timestamp to ensure the consistency of each data source, and then converts the historical voice into text through the speech recognition model to obtain the converted text of the historical voice, and then synchronizes the sensor data of the first sensor (for example, "heart rate: 72 times / minute", "respiratory rate: 15 times / minute"), the sensor data of the second sensor (for example, "ambient temperature: 22°C", "ambient humidity: 40%), the converted text of the historical voice (for example, "the seat back is a little too tilted", "I'm so tired", "a little hot"), and the historical operation records (for example, "2024-06-26 10:15: the seat position is adjusted to semi-reclining", "2024-06-26 10:17: start the massage function", "2024-06-2610:20: The ambient temperature is adjusted to 22°C") to construct the first type of second prompt text (for example: "Based on the above data, the user's heart rate is 72 beats / minute, the user's breathing rate is 15 times / minute, the ambient temperature is 22°C, and the humidity is 40%. The user recently requested the comfort mode and massage function and adjusted the temperature. The seat should currently remain in comfort mode and continue to provide massage services."), and then through historical data, the current sensor data and voice information can be better understood, and a more contextually relevant second prompt text can be generated, which provides rich user historical background for the subsequent large language model prediction, improves the accuracy of model prediction, and meets the user's personalized needs.

[0129] At the same time, in combination with step 901 to step 902, first, the neural network computing unit obtains the historical voice of the target user collected by the smart seat history, as well as the historical operation record of the target user operating the smart seat; then the neural network computing unit constructs the second prompt text of the first type based on the sensor data corresponding to the first sensor and the second sensor, the converted text of the historical voice, and the historical operation record, so as to overcome the limitations of each large language model in carrying contextual information in the subsequent data processing process, so that the user's historical behavior can be weighed in a longer time dimension in the large language model, thereby generating control information that is more in line with the user's historical usage habits, thereby improving the accuracy and comprehensiveness of controlling the smart seat.

[0130] In one possible implementation, sample speech, sample sensor data, and sample user images can be obtained as sample data for training, and corresponding sample control instructions can be preset as labels for calculating losses to perform joint supervised training on the first language model, the second language model, and the third language model.

[0131] It is to be understood that, although the steps in the above-mentioned various flow charts are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in the present embodiment, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above-mentioned flow charts can include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of the steps or stages in other steps or other steps.

[0132] On the other hand, the present disclosure also provides a smart seat, referring to Fig.10 , Fig.10 This is an optional structural diagram of a smart chair provided in an embodiment of the present disclosure. The smart chair 1000 is provided with a main control unit 1001, a neural network computing unit 1002 and an action mechanism 1003:

[0133] The neural network computing unit 1002 is used to obtain the target speech of the target user currently collected by the smart seat, perform emotion recognition based on the converted text of the target speech to obtain the emotion description text, construct the first prompt text based on the converted text of the target speech and the emotion description text, input the first prompt text into the first language model for text prediction, and obtain the intention description text corresponding to the target speech;

[0134] The neural network calculation unit 1002 is also used to obtain current sensor data of the smart seat, construct a second prompt text based on the sensor data, input the second prompt text into the second largest language model for text prediction, and obtain a state description text;

[0135] The neural network calculation unit 1002 is further used to construct a third prompt text based on the intention description text and the state description text, and input the third prompt text into the third language model for text prediction to obtain a control instruction of the smart seat;

[0136] The neural network computing unit 1002 is further used to send control instructions to the main control unit 1001, so that the main control unit 1001 controls the action mechanism 1003 to perform the corresponding target action based on the control instructions.

[0137] The above-mentioned smart seat 1000 and the above-mentioned smart seat control method are based on the same inventive concept. The above-mentioned process describes the smart seat control method of the embodiment of the present disclosure. The neural network calculation unit 1002 obtains the target voice of the target user currently collected by the smart seat, performs emotion recognition based on the target voice, obtains the emotion description text, constructs the first prompt text based on the conversion text of the target voice and the emotion description text, inputs the first prompt text into the first large language model for text prediction, obtains the intention description text corresponding to the target voice, obtains the current sensor data of the smart seat, constructs the second prompt text based on the sensor data, inputs the second prompt text into the second large language model for text prediction, obtains the state description text, constructs the third prompt text based on the intention description text and the state description text, inputs the third prompt text into the third large language model for text prediction, obtains the control instruction of the smart seat, and controls The instruction is sent to the main control unit so that the main control unit executes the corresponding target action based on the control instruction. Compared with the traditional neural network, the first language model, the second language model and the third language model have higher reasoning performance. Therefore, under the architecture composed of the first language model, the second language model and the third language model, the control instruction is output in combination with the intention of the control voice and the sensor data of the smart seat. There is no need to control the smart seat based on the control voice of preset logic, which can effectively improve the flexibility of the control voice, and the first language model, the second language model and the third language model can respectively perform their corresponding tasks to achieve refined splitting of seat control, thereby effectively improving the accuracy and comprehensiveness of controlling the smart seat. At the same time, by configuring a neural network computing unit in the smart seat, end-side model processing can be achieved, which is beneficial to improving the control efficiency of the smart seat.

[0138] The embodiments of the present disclosure also provide a computer-readable storage medium, which is used to store a computer program, and the computer program is used to execute the intelligent seat control method of each of the aforementioned embodiments.

[0139] The embodiment of the present disclosure also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-mentioned intelligent seat control method.

[0140] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate to describe the embodiments of the present disclosure, such as being able to be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0141] It should be understood that in the present disclosure, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0142] It should be understood that in the description of the embodiments of the present disclosure, the meaning of multiple (or multiple items) is more than two, greater than, less than, exceed, etc. are understood as not including the number, and above, below, within, etc. are understood as including the number.

[0143] In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0144] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0145] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0146] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0147] It should also be understood that the various implementations provided in the embodiments of the present disclosure can be combined arbitrarily to achieve different technical effects.

[0148] The above is a specific description of the preferred implementation of the present disclosure, but the present disclosure is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present disclosure. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present disclosure.

Claims

1. An intelligent seat control method based on a large language model, characterized in that: Applied to a smart seat, the smart seat is provided with a main control unit, a neural network calculation unit and an action mechanism, and the smart seat control method includes: The neural network computing unit obtains the target speech of the target user currently collected by the smart seat, performs emotion recognition on the target speech to obtain an emotion description text, constructs a first prompt text based on the converted text of the target speech and the emotion description text, inputs the first prompt text into the first language model for text prediction, and obtains an intention description text corresponding to the target speech, wherein the intention description text is used to describe the control intention of the target user on the smart seat; The neural network computing unit acquires current sensor data of the smart seat, constructs a second prompt text based on the sensor data, and inputs the second prompt text into a second language model for text prediction to obtain a state description text; The neural network calculation unit constructs a third prompt text based on the intention description text and the state description text, inputs the third prompt text into the third language model for text prediction, and obtains the control instruction of the smart seat; The neural network computing unit sends the control instruction to the main control unit, so that the main control unit controls the action mechanism to perform the corresponding target action based on the control instruction; The number of the second largest language models is multiple, the second prompt text is constructed based on the sensor data, and the second prompt text is input into the second largest language model for text prediction to obtain the state description text, including: constructing a plurality of second prompt texts based on the plurality of sensor data, inputting the plurality of second prompt texts into the corresponding second largest language model for text prediction, and obtaining a state description text based on the text output by each second largest language model; The smart chair is provided with a first sensor for detecting physiological parameters of the target user, a second sensor for detecting environmental parameters of the target user's environment, and a third sensor for detecting the distance between the target user and the smart chair. The plurality of second prompt texts are constructed based on the plurality of sensor data, and the plurality of second prompt texts are input into the corresponding second largest language model for text prediction. The state description text is obtained based on the text output by each second largest language model, including: constructing a second prompt text of a first type based on the sensor data corresponding to the first sensor and the second sensor, inputting the second prompt text of the first type into the corresponding second largest language model for text prediction, and obtaining a first description text currently output by the second largest language model, wherein the first description text is used to describe a current user state of the target user and an environmental state of an environment where the target user is located; constructing a second prompt text of a second type based on the sensor data corresponding to the third sensor, inputting the second prompt text of the second type into the corresponding second largest language model for text prediction, and obtaining a second description text currently output by the second largest language model, wherein the second description text is used to describe the current sitting posture of the target user; The first description text and the second description text are concatenated to obtain a status description text.

2. The intelligent seat control method according to claim 1, characterized in that: The smart seat is further provided with a fourth sensor for performing image acquisition when the smart seat is used. The first description text and the second description text are spliced ​​to obtain a state description text, including: Acquire a user image of the target user captured by the fourth sensor, perform hand-eye calibration on the user image, and then input the image into a large visual model for image recognition to obtain a third description text, wherein the third description text is used to describe the arm angle and sitting angle of the target user; The first description text, the second description text and the third description text are concatenated to obtain a status description text.

3. The intelligent seat control method according to claim 2, characterized in that: The sensor data of the third sensor and the user image are both periodically and continuously acquired; The action mechanism includes a seat armrest of the smart seat, the target action includes moving the seat armrest, and the first description text, the second description text, and the third description text are spliced ​​to obtain a state description text, including: In the current cycle, a first armrest position of the seat armrest after the seat armrest was moved in the previous cycle is obtained, a fourth description text is obtained based on the first armrest position, and the first description text of the current cycle, the second description text of the current cycle, the third description text of the current cycle, and the fourth description text of the current cycle are spliced ​​to obtain a state description text of the current cycle; After the neural network computing unit sends the control instruction to the main control unit so that the main control unit controls the action mechanism to perform the corresponding target action based on the control instruction, the intelligent seat control method further includes: The neural network computing unit receives the second armrest position of the seat armrest after it moves in the current cycle sent by the main control unit, and caches the second armrest position, wherein the second armrest position is used to determine the fourth description text in the next cycle.

4. The intelligent seat control method according to claim 2, characterized in that: The acquiring the user image of the target user collected by the fourth sensor, performing hand-eye calibration on the user image and then inputting the image into the large visual model for image recognition to obtain the third description text includes: performing an occlusion analysis on the third sensor based on the sensor data corresponding to the third sensor, and sending a notification message for starting the fourth sensor to the main control unit when the analysis result indicates that the third sensor is occluded; The user image of the target user captured by the fourth sensor is acquired, the large visual model is activated, the user image is hand-eye calibrated and then input into the large visual model for image recognition to obtain a third description text.

5. The intelligent seat control method according to claim 4, characterized in that: In the smart seat, each of the third sensors is respectively configured with the fourth sensor, and when the analysis result indicates that the third sensor is blocked, a notification message for starting the fourth sensor is sent to the main control unit, including: When the analysis result indicates that the third sensor is blocked, generating a blocking code according to the position of the third sensor; A notification message for starting the fourth sensor corresponding to the blocked third sensor is generated based on the blocking code, and the notification message is sent to the main control unit.

6. The intelligent seat control method according to claim 1, characterized in that: The constructing a second prompt text of the first type based on the sensor data corresponding to the first sensor and the second sensor includes: Acquire the historical voice of the target user collected by the smart seat, and the historical operation record of the target user operating the smart seat; A second prompt text of the first type is constructed based on the sensor data corresponding to the first sensor and the second sensor, the converted text of the historical voice, and the historical operation record.

7. A smart seat, characterized in that: The smart seat is provided with a main control unit, a neural network calculation unit and an action mechanism: The neural network computing unit is used to obtain the target speech of the target user currently collected by the smart seat, perform emotion recognition on the target speech to obtain an emotion description text, construct a first prompt text based on the converted text of the target speech and the emotion description text, input the first prompt text into the first large language model for text prediction, and obtain an intention description text corresponding to the target speech, wherein the intention description text is used to describe the control intention of the target user on the smart seat; The neural network calculation unit is also used to obtain current sensor data of the smart seat, construct a second prompt text based on the sensor data, input the second prompt text into the second largest language model for text prediction, and obtain a state description text; The neural network calculation unit is further used to construct a third prompt text based on the intention description text and the state description text, input the third prompt text into the third language model for text prediction, and obtain the control instruction of the smart seat; The neural network computing unit is further used to send the control instruction to the main control unit, so that the main control unit controls the action mechanism to perform the corresponding target action based on the control instruction; The number of the second largest language models is multiple, the second prompt text is constructed based on the sensor data, and the second prompt text is input into the second largest language model for text prediction to obtain the state description text, including: constructing a plurality of second prompt texts based on the plurality of sensor data, inputting the plurality of second prompt texts into the corresponding second largest language model for text prediction, and obtaining a state description text based on the text output by each second largest language model; The smart chair is provided with a first sensor for detecting physiological parameters of the target user, a second sensor for detecting environmental parameters of the target user's environment, and a third sensor for detecting the distance between the target user and the smart chair. The plurality of second prompt texts are constructed based on the plurality of sensor data, and the plurality of second prompt texts are input into the corresponding second largest language model for text prediction. The state description text is obtained based on the text output by each second largest language model, including: constructing a second prompt text of a first type based on the sensor data corresponding to the first sensor and the second sensor, inputting the second prompt text of the first type into the corresponding second largest language model for text prediction, and obtaining a first description text currently output by the second largest language model, wherein the first description text is used to describe a current user state of the target user and an environmental state of an environment where the target user is located; constructing a second prompt text of a second type based on the sensor data corresponding to the third sensor, inputting the second prompt text of the second type into the corresponding second largest language model for text prediction, and obtaining a second description text currently output by the second largest language model, wherein the second description text is used to describe the current sitting posture of the target user; The first description text and the second description text are concatenated to obtain a status description text.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the intelligent seat control method according to any one of claims 1 to 6 is implemented.