Equipment connection method and device, electronic equipment and readable medium
By monitoring user behavior and device location, and using an intent recognition model to automatically connect smart home devices, the problem of tedious manual connection for users is solved, achieving fast and accurate device connection and improving the user experience.
Patent Information
- Application Number
- CN202510986205.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-17
- Publication Date
- 2025-11-14
AI Technical Summary
The manual connection process for smart home devices is cumbersome and fails to meet the needs of real-time device connectivity, thus impacting the user experience.
By monitoring user behavior information and device location, the system uses an intent recognition model to identify the user's intention to connect to the device, preloads device operation data, and automatically controls the terminal to connect to the target device when the intent is clear.
It enables precise and automatic device connection without manual user intervention, reduces connection latency, and improves the intelligence level and user experience of smart home systems.
Smart Images

Figure CN120956549A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of device communication technology, and in particular to a device connection method, a device connection device, an electronic device, and a computer-readable medium. Background Technology
[0002] Smart home devices, through network connectivity and automation technology, provide users with a convenient living experience and are gradually becoming an important part of modern families. For example, smart air conditioners, smart lighting, and smart appliances not only improve the convenience of life but also provide users with a more comfortable living environment.
[0003] Currently, users typically add and manage devices manually through smart terminals (such as mobile apps). Users need to manually select the devices to connect and operate them themselves. This manual device connection method is cumbersome and cannot meet the needs of real-time device connection, thus affecting the user experience. Summary of the Invention
[0004] The present invention provides a device connection method, apparatus, electronic device, and computer-readable storage medium to solve the problem that manual device connection is cumbersome for users, making it difficult to meet the needs of real-time device connection and thus affecting user experience.
[0005] This invention discloses a device connection method, the method comprising:
[0006] Monitor user behavior information in a preset home environment, and obtain the location of devices in the home environment;
[0007] Based on the device location and the user's behavior information, the user's intention to connect to the device is identified, resulting in the user's intention to connect to the device and the target device to be connected corresponding to the user's intention.
[0008] Based on the identified target device, the device operation data of the target device is preloaded into the user terminal;
[0009] In response to detecting that the user intent result is greater than or equal to a preset threshold, the system controls the user terminal to connect to the target device based on the device operation data.
[0010] Optionally, the monitoring of user behavior information in a preset home environment includes:
[0011] Monitor users' movement speed, movement trajectory, and line of sight in a preset home environment;
[0012] Determine the speed change points of the movement speed within a preset time period, and mark the speed change points as movement inflection points in the movement trajectory;
[0013] The user's movement trajectory, gaze direction, and movement inflection points are used as the user's behavioral information.
[0014] Optionally, the step of identifying the user's intention to connect to the device based on the device location and the user's behavior information, to obtain the user's intention to connect to the device result, and the target device to be connected corresponding to the user's intention result, includes:
[0015] Based on the device location and the user's behavior information, determine the user's displacement matching degree with the device, the speed attenuation coefficient, and the duration of eye contact.
[0016] The displacement matching degree, velocity attenuation coefficient, and gaze duration are input into a preset intent recognition model to identify the user's intent to connect to the device, and the user intent result of the user connecting to the device is obtained from the intent recognition model.
[0017] The user intent result is determined to correspond to at least one target device to be connected.
[0018] Optionally, the user's behavioral information includes the user's movement trajectory, gaze direction, and movement inflection points. The step of determining the user's displacement matching degree, velocity attenuation coefficient, and gaze duration based on the device location and the user's behavioral information includes:
[0019] By spatially projecting the user's movement trajectory onto the device's position, the distance and directional angle between the movement inflection point and the device's position are determined, thus obtaining the displacement matching degree between the user and the device.
[0020] Based on the user's initial movement speed and current movement speed within a preset time period, the speed attenuation coefficient for the preset time period is obtained;
[0021] The direction of the user's gaze when interacting with the device in a preset area is defined as a valid gaze, and the duration of continuous valid gaze is recorded to obtain the duration of the user's gaze on the device.
[0022] Optionally, the step of preloading the device operation data of the target device in the user terminal according to the determined target device includes:
[0023] Based on the identified target device, the device operation data of the target device is obtained through a digital twin map; wherein, the digital twin map is synchronized when the user terminal first enters the home environment, and the device operation data includes a service capability list or firmware update data package;
[0024] The service capability list or firmware update data package is preloaded into the user terminal.
[0025] Optionally, before preloading the device operation data of the target device in the user terminal according to the determined target device, the method further includes:
[0026] The preloading priority of the device is determined based on its device type;
[0027] Using the preset keys of the user terminal and the device, the device is authenticated according to the preloaded priority to determine that the user terminal and the device are successfully authenticated.
[0028] Optionally, the step of controlling the connection between the user terminal and the target device based on the device operation data in response to detecting that the user intent result is greater than or equal to a preset threshold includes:
[0029] Monitor the user intent result of the user's connected device and determine whether the user intent result is greater than or equal to a preset threshold.
[0030] If the user intent result is greater than or equal to the preset threshold, the user terminal is controlled to connect to the target device based on the device operation data.
[0031] Optionally, after monitoring the user intent result of the user-connected device and determining whether the user intent result is greater than or equal to a preset threshold, the method further includes:
[0032] If the user intent result is less than the preset threshold, the target devices corresponding to the user intent result are arranged in descending order according to the size of the user intent result, and the connection order of the target devices is generated.
[0033] The recommended devices to be connected are determined according to the connection order, and the connection prompts for the recommended devices are displayed on the user terminal.
[0034] In response to receiving a connection command from a user, the system controls the user terminal to connect to the recommended device.
[0035] Optionally, after the user terminal displays the connection prompt for the recommended device, the step of determining the recommended device to be connected according to the connection order further includes:
[0036] In response to receiving a user's cancel connection command, the user intent result of the recommended devices is adjusted, and the connection order of the target devices is updated.
[0037] This invention also provides a device connection apparatus, the apparatus comprising:
[0038] The monitoring information module is used to monitor user behavior information in a preset home environment, and to obtain the location of devices in the home environment;
[0039] The intent recognition module is used to recognize the user's intent to connect to the device based on the device location and the user's behavior information, to obtain the user intent result of the user connecting to the device, and the target device to be connected corresponding to the user intent result;
[0040] A preload data module is used to preload the device operation data of the target device into the user terminal based on the determined target device.
[0041] The control connection module is used to control the connection between the user terminal and the target device based on the device operation data when the detected user intent result is greater than or equal to a preset threshold.
[0042] Optionally, the monitoring information module includes:
[0043] The monitoring submodule is used to monitor the user's movement speed, movement trajectory, and line of sight in a preset home environment;
[0044] The marking submodule is used to determine the speed change points of the moving speed within a preset time period and mark the speed change points as moving inflection points in the moving trajectory.
[0045] The first determining submodule is used to take the user's movement trajectory, gaze direction, and movement inflection points as the user's behavioral information.
[0046] Optionally, the intent recognition module includes:
[0047] The second determining submodule is used to determine the displacement matching degree between the user and the device, the speed attenuation coefficient, and the duration of gaze based on the device location and the user's behavior information.
[0048] The recognition submodule is used to input the displacement matching degree, velocity attenuation coefficient and line-of-sight dwell time into a preset intent recognition model to recognize the user's intent to connect to the device and obtain the user intent result of the user connecting to the device output by the intent recognition model.
[0049] The third determination submodule is used to determine that the user intent result corresponds to at least one target device to be connected.
[0050] Optionally, the user's behavior information includes the user's movement trajectory, gaze direction, and movement inflection points; the second determining submodule includes:
[0051] The first determining unit is used to spatially project the user's movement trajectory and the device position, determine the distance and direction angle between the movement inflection point and the device position, and obtain the displacement matching degree between the user and the device.
[0052] The second determining unit is used to obtain the speed attenuation coefficient for the preset time period based on the user's initial movement speed and current movement speed within the preset time period;
[0053] The third determining unit is used to determine the direction of the user's gaze when interacting with the preset area of the device as a valid gaze, record the duration of continuous valid gaze, and obtain the duration of the user's gaze on the device.
[0054] Optionally, the preloaded data module includes:
[0055] The acquisition submodule is used to acquire the device operation data of the target device through a digital twin map based on the determined target device; wherein, the digital twin map is synchronized when the user terminal first enters the home environment, and the device operation data includes a service capability list or firmware update data package;
[0056] The preloading submodule is used to preload the service capability list or firmware update data package into the user terminal.
[0057] Optionally, the preloaded data module further includes:
[0058] The fourth determination submodule is used to determine the preloading priority of the device based on the device type.
[0059] The authentication submodule is used to authenticate the device using the preset keys of the user terminal and the device, according to the preloaded priority, and to determine that the user terminal and the device are successfully authenticated.
[0060] Optionally, the control connection module includes:
[0061] The judgment submodule is used to monitor the user intent result of the user's connected device and determine whether the user intent result is greater than or equal to a preset threshold.
[0062] The first control submodule is used to control the user terminal to connect to the target device based on the device operation data if the user intent result is greater than or equal to the preset threshold.
[0063] Optionally, the control connection module further includes:
[0064] A generation submodule is used to generate a connection order of the target devices if the user intent result is less than the preset threshold, and to sort the target devices corresponding to the user intent result in descending order according to the size of the user intent result.
[0065] The display submodule is used to determine the recommended devices to be connected according to the connection order and display the connection prompts of the recommended devices on the user terminal.
[0066] The second control submodule is used to control the user terminal to connect to the recommended device in response to receiving a connection command from the user.
[0067] Optionally, the control connection module further includes:
[0068] The update submodule is used to adjust the user intent result of the recommended devices and update the connection order of the target devices in response to receiving a user's cancel connection command.
[0069] This invention also discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0070] The memory is used to store computer programs;
[0071] When the processor executes a program stored in the memory, it implements the method described in the embodiments of the present invention.
[0072] This invention also discloses one or more computer-readable media storing instructions that, when executed by one or more processors, cause the processors to perform the methods described in this invention.
[0073] The embodiments of the present invention have the following advantages:
[0074] The device connection method provided by this invention monitors user behavior information in a preset home environment and obtains device locations within the home environment. Based on the device locations and user behavior information, it identifies the user's intention to connect to the device, obtaining the user's intention result and the corresponding target device to be connected. Based on the determined target device, it preloads the target device's operating data onto the user terminal. In response to the detected user intention result being greater than or equal to a preset threshold, it controls the connection between the user terminal and the target device based on the device operating data. This invention provides real-time monitoring and analysis of user behavior and device spatial location, comprehensively considering actual user behavior, accurately identifying the user's intention to connect to the device, improving the accuracy of connection request identification, and achieving precise and automatic connection between the control terminal and the device without manual user operation. This enhances the intelligent interaction experience between the user and the device. Furthermore, preloading device operating data before automatic connection reduces the data loading response time during device connection, thereby reducing device connection latency, improving the intelligence level of the smart home system, meeting the needs of real-time device connection, and thus improving the user experience. Attached Figure Description
[0075] Figure 1This is a flowchart of the steps of a device connection method provided in an embodiment of the present invention;
[0076] Figure 2 This is a structural block diagram of a device connection apparatus provided in an embodiment of the present invention;
[0077] Figure 3 This is a block diagram of an electronic device provided in an embodiment of the present invention;
[0078] Figure 4 This is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. Detailed Implementation
[0079] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0080] Reference Figure 1 The diagram illustrates a flowchart of a device connection method provided in an embodiment of the present invention, which may specifically include the following steps:
[0081] Step 101: Monitor user behavior information in a preset home environment and obtain device locations in the home environment.
[0082] The execution subject of this invention is a smart home control system, which can be integrated into a control center or smart terminal. The smart home control system includes user terminals such as mobile phones, APPs, smartwatches, etc., and sensing devices such as cameras, AR glasses, infrared sensors, etc. This embodiment does not limit these.
[0083] It should be noted that the home environment refers to the main activity areas of a user's daily life, including the living room, bedroom, kitchen, bathroom, study, etc. The home environment can include at least one home appliance, which can include kitchen appliances such as refrigerators, ovens, dishwashers, microwave ovens, rice cookers, etc., household appliances such as washing machines, air conditioners, water heaters, vacuum cleaners, light bulbs, etc., and entertainment and office appliances such as televisions, computers, audio systems, etc.
[0084] In this embodiment, the smart home control system monitors user behavior information within a preset home environment and acquires device locations within that environment. User behavior information includes the user's movement trajectory, gaze direction, and movement inflection points. This information reflects the user's behavioral state within the home environment. The movement trajectory refers to the user's displacement path, i.e., the route the user takes when moving within the home environment. The gaze direction reflects the user's movement intention and attention distribution, supporting behavior analysis and intent recognition. Movement inflection points reflect the user's movement behavior, such as turning or suddenly stopping. Device locations within the home environment can be obtained by using Wi-Fi arrival time, UWB ultra-wideband data, and a preset device layout diagram within the home environment to acquire the spatial coordinates and relative positions of surrounding devices.
[0085] In practice, the accelerometer, gyroscope, and magnetometer built into user terminals such as mobile phones, apps, and smartwatches can be used to monitor the user's movement speed and trajectory in a preset home environment. Cameras or AR glasses can be used to monitor the user's gaze direction to determine the speed change points of movement within a preset time period. These speed change points are marked as movement inflection points in the movement trajectory. The user's movement trajectory, gaze direction, and movement inflection points are used as user behavior information. The movement speed includes the magnitude and direction of movement, reflecting the speed and direction of the user's movement.
[0086] Step 102: Based on the device location and user behavior information, identify the user's intention to connect to the device, obtain the user's intention to connect to the device, and the target device to be connected corresponding to the user's intention.
[0087] In this embodiment of the invention, based on the device location and user behavior information, the displacement matching degree, speed attenuation coefficient, and gaze duration between the user and the device are determined. The displacement matching degree, speed attenuation coefficient, and gaze duration are input into a preset intent recognition model to identify the user's intent to connect to the device. The user intent result of the intent recognition model is obtained, and it is determined that the user intent result corresponds to at least one target device to be connected. The target device is the home appliance to be connected as reflected in the user intent result, and there can be at least one target device.
[0088] It should be noted that displacement matching reflects the proximity and directional relationship between the user and the device, while speed attenuation coefficient and gaze dwell time reflect the user's movement intention and attention distribution, supporting behavior analysis and intent recognition. Specifically, speed attenuation coefficient reflects the trend of user movement speed changes, such as whether the user decelerates or stops. Through speed attenuation coefficient, the user's movement intention can be identified, such as approaching the device or staying in a certain area. Gaze dwell time reflects the user's level of attention to the device, providing a basis for user-device interaction recognition.
[0089] In this embodiment, the displacement matching degree, velocity attenuation coefficient, and gaze duration are input into a preset intent recognition model to identify the user's intent to connect to the device, and the user intent result of the user connecting to the device is obtained from the intent recognition model. The user intent result can be a quantitative value reflecting the intensity of the user's connection to the device. In this embodiment, the user intent result is normalized to the range of [0, 1]. The closer the value is to 1, the clearer and stronger the user's intent to connect to the device.
[0090] Step 103: Based on the determined target device, preload the device operation data of the target device into the user terminal.
[0091] In this embodiment of the invention, based on the determined target device, the device operation data of the target device is preloaded on the user terminal. Based on the determined target device, the device operation data of the target device is obtained through a digital twin map. The service capability list or firmware update data package is preloaded to the user terminal to improve device connection efficiency, reduce connection latency, achieve zero-wait response and availability even when offline (when the network is poor). The digital twin map is synchronized when the user terminal first enters the home environment. The device operation data includes the service capability list or firmware update data package. The service capability list includes a list of functions supported by the target device, such as switch control, temperature adjustment, volume adjustment, light color temperature preset, speaker playlist, etc. The firmware update data package is the latest firmware version of the target device and its update content.
[0092] In this embodiment, the service capability list of the target device is loaded into the application or interface of the user terminal to facilitate connection and quick access and operation by the user; the firmware update data package of the target device is loaded into the user terminal to prepare for firmware update operation when the application needs to be updated. After preloading is completed, the device can quickly respond to the device connection request of the user terminal.
[0093] Step 104: In response to the detection that the user intent result is greater than or equal to a preset threshold, control the connection between the user terminal and the target device based on the device operation data.
[0094] In this embodiment of the invention, in response to the detection that the user intent result is greater than or equal to a preset threshold, the user terminal is controlled to connect to the target device based on the device operation data. The user terminal carries device operation data such as a service capability list or firmware update data package and directly sends a connection request to the target device. After the user terminal successfully connects to the target device, the user terminal directly accesses the functions of the target device and performs device control or interactive operations.
[0095] The device connection method provided by this invention monitors user behavior information in a preset home environment and obtains device locations within the home environment. Based on the device locations and user behavior information, it identifies the user's intention to connect to the device, obtaining the user's intention result and the corresponding target device to be connected. Based on the determined target device, it preloads the target device's operating data onto the user terminal. In response to the detected user intention result being greater than or equal to a preset threshold, it controls the connection between the user terminal and the target device based on the device operating data. This invention provides real-time monitoring and analysis of user behavior and device spatial location, comprehensively considering actual user behavior, accurately identifying the user's intention to connect to the device, improving the accuracy of connection request identification, and achieving precise and automatic connection between the control terminal and the device without manual user operation. This enhances the intelligent interaction experience between the user and the device. Furthermore, preloading device operating data before automatic connection reduces the data loading response time during device connection, thereby reducing device connection latency, improving the intelligence level of the smart home system, meeting the needs of real-time device connection, and thus improving the user experience.
[0096] In one embodiment of the present invention, step 101, which involves monitoring user behavior information in a preset home environment, may specifically include the following steps:
[0097] S11 monitors the user's movement speed, movement trajectory, and line of sight in a preset home environment;
[0098] S12, determine the speed change point of the movement speed within a preset time period, and mark the speed change point as the movement inflection point in the movement trajectory;
[0099] S13 uses the user's movement trajectory, gaze direction, and movement inflection points as user behavior information.
[0100] In this embodiment of the invention, the user's movement speed, movement trajectory, and gaze direction are monitored in real time by sensing devices such as cameras and infrared sensors in the smart home control system. The camera is used to capture the user's displacement path and gaze direction. The displacement path usually refers to the trajectory formed by the continuous positions passed during the movement. The infrared sensor or accelerometer is used to monitor the user's movement speed. The collected displacement path is filtered to remove noise and outliers. The filtered data is smoothed by curve fitting to generate a smooth curve of the user's movement trajectory. The monitored movement speed is analyzed over time to identify speed change points. The detected speed change points are matched with the movement trajectory and marked as movement inflection points in the movement trajectory.
[0101] In this embodiment, by identifying abrupt changes in speed, the user's movement behavior, such as turning or sudden stopping, can be more accurately identified. Marking movement inflection points helps optimize the description of the movement trajectory, making it clearer. Integrating the monitored movement trajectory, gaze direction, and movement inflection point data forms complete behavioral information. This information can be stored for subsequent analysis and application, or transmitted to other processing modules of the smart home control system via a data interface.
[0102] This invention improves the real-time performance and accuracy of monitoring by effectively monitoring and analyzing the user's movement speed, movement trajectory, and line of sight, identifying movement inflection points, and integrating the information into user behavior information. This provides user behavior data for smart home control systems to support intelligent decision-making.
[0103] In one embodiment of the present invention, step 102 identifies the user's intention to connect to the device based on the device location and the user's behavior information, and obtains the user's intention to connect to the device result and the target device to be connected corresponding to the user's intention result. Specifically, it may include the following steps:
[0104] S21, based on the device location and user behavior information, determine the displacement matching degree between the user and the device, the speed attenuation coefficient, and the duration of line of sight dwell;
[0105] S22, input the displacement matching degree, velocity attenuation coefficient and line-of-sight dwell time into the preset intent recognition model to recognize the user's intent to connect to the device and obtain the user intent result of the user connecting to the device output by the intent recognition model;
[0106] S23, determine that the user intent result corresponds to at least one target device to be connected.
[0107] In this embodiment of the invention, based on the device location and user behavior information, the displacement matching degree, speed attenuation coefficient, and gaze duration between the user and the device are determined. The displacement matching degree, speed attenuation coefficient, and gaze duration are input into a preset intent recognition model to identify the user's intent to connect to the device. The user intent result of the intent recognition model is obtained, and it is determined that the user intent result corresponds to at least one target device to be connected. The target device is the home appliance to be connected as reflected in the user intent result, and there can be at least one target device.
[0108] In this embodiment, based on the device location and user behavior information, the displacement matching degree, speed attenuation coefficient, and gaze dwell time of the user and the device are determined. Specifically, the displacement matching degree reflects the proximity and directional relationship between the user and the device. The speed attenuation coefficient and gaze dwell time can reflect the user's movement intention and attention distribution, supporting behavior analysis and intention recognition. Specifically, the speed attenuation coefficient can reflect the changing trend of the user's movement speed, such as whether the user decelerates or stops. Through the speed attenuation coefficient, the user's movement intention can be identified, such as approaching the device or staying in a certain area. The gaze dwell time can reflect the user's level of attention to the device, providing a basis for user-device interaction recognition.
[0109] In the specific implementation, the displacement matching degree, velocity attenuation coefficient, and gaze dwell time are input into a preset intent recognition model to identify the user's intent to connect to the device, obtaining the user intent result output by the intent recognition model. It should be noted that the preset intent recognition model can be constructed using machine learning algorithms (such as decision trees, support vector machines, neural networks, etc.) or deep learning algorithms (such as convolutional neural networks, recurrent neural networks, etc.). This embodiment does not specifically limit the construction and training of the intent recognition model. The displacement matching degree, velocity attenuation coefficient, and gaze dwell time are used as input features and input into the intent recognition model. The model calculates based on the input features and outputs the user intent result for connecting to the device. The user intent result can be a quantitative value reflecting the intensity of the user's connection to the device. For example, the user intent result for connecting to the device when approaching the device is 0.2, the user intent result for connecting to the device when hovering over the device is 0.4, and the user intent result for connecting to the device when leaving the device is 0. The closer the user intent result is to a preset threshold, the stronger the user's intent to connect to the device. The preset threshold is set based on actual conditions and will not be elaborated here.
[0110] In this embodiment, displacement matching degree, velocity attenuation coefficient, and gaze duration are used as input features and fed into the intent recognition model. The model calculates based on the input features and outputs the user's intent to connect to the device, calculated using the following formula:
[0111] x displacement =σ(α1·displacement matching degree + β1)
[0112] x velocity =δ(β2·velocity decay coefficient)
[0113] x gaze =γ(γ1·duration of gaze + γ2)
[0114] Where, x displacement x is the displacement parameter. velocity x is the velocity parameter. gazeα1, β1, β2, γ1, and γ2 are the gaze parameters, σ is the Sigmoid function used to compress the values to [0,1], δ is the ReLU function used to filter out the influence of negative movement speed, γ is the Softplus function used to smooth the gaze dwell time, and α1, β1, β2, γ1, and γ2 are learnable bias parameters.
[0115]
[0116] Score = Softmax(θ·[Score]) pair ; Environmental complexity])
[0117] Among them, Score pair As the initial result of the user's intent, x displacement x is the displacement parameter. velocity x is the velocity parameter. gaze ω1, ω2, and ω3 are the view parameters, ⊙ is the inner product, CrossTerm is the cross-entropy function used to measure the similarity between the displacement direction and the view direction, ω1, ω2, and ω3 are the learnable interaction weights, θ is the weight parameter, Softmax is used to normalize the initial result of user intent considering environmental complexity to the [0,1] interval, and Score is the normalized user intent result.
[0118] In this embodiment, based on the user intent result output by the intent recognition model, it is determined that the user intent result corresponds to at least one target device to be connected. For example, if the user intent result is a device that is approaching, then the device that the user is currently approaching is determined to be the target device. If the user intent result is a device that is staying, then the device that the user is currently staying on is determined to be the target device. Therefore, the user intent result corresponds to at least one target device to be connected. Once it is determined that the user intent result corresponds to at least one target device to be connected, the device connection operation is prepared.
[0119] This invention uses an intent recognition model to accurately identify a user's intent to connect to devices based on their behavioral information, thereby improving the accuracy of intent recognition. The user intent recognition results provide intelligent decision-making basis for the smart home control system, supporting automatic device connection or interaction optimization. Based on the user intent results, the target device is determined, achieving accurate device connection and enhancing the intelligent interaction experience between the user and the device.
[0120] In this embodiment of the invention, the user's behavioral information includes the user's movement trajectory, gaze direction, and movement inflection points. Step S21 determines the displacement matching degree between the user and the device, the speed attenuation coefficient, and the gaze dwell time based on the device location and the user's behavioral information. Specifically, it may include:
[0121] By spatially projecting the user's movement trajectory onto the device's position, the distance and directional angle between the movement inflection point and the device's position are determined, thus obtaining the displacement matching degree between the user and the device.
[0122] Based on the user's initial movement speed and current movement speed within a preset time period, the speed attenuation coefficient for the preset time period is obtained;
[0123] The direction of the user's gaze when interacting with the device in a preset area is defined as a valid gaze, and the duration of continuous valid gaze is recorded to obtain the duration of the user's gaze on the device.
[0124] In this embodiment of the invention, the smart home control system determines the displacement matching degree, speed attenuation coefficient, and gaze dwell time of the user and the device based on the device location and user behavior information, in order to identify the user's intention to connect to the device. Specifically, the user's movement trajectory is spatially projected onto the device location to determine the distance and directional angle between the movement inflection point and the device location, thereby obtaining the displacement matching degree between the user and the device. Based on the user's initial movement speed and current movement speed within a preset time period, the speed attenuation coefficient for the preset time period is obtained. The gaze orientation of the user and the device interacting in a preset area is determined as an effective gaze, and the duration of continuous effective gaze is recorded to obtain the gaze dwell time of the user and the device.
[0125] In this embodiment, based on the user's movement trajectory data (which may include movement inflection points) and the location information of devices in the home environment (such as device coordinates), the user's movement trajectory and device location are spatially projected. The distance and directional angle between the movement inflection point and the device location are calculated. Based on the distance and directional angle, the displacement matching degree is obtained using the formula for calculating the displacement matching degree. The displacement matching degree reflects the proximity and directional relationship between the user and the device. The smaller the distance and the closer the angle is to 0 degrees, the higher the displacement matching degree. Through spatial projection and the calculation of distance and angle, the displacement matching degree between the user and the device is accurately evaluated, providing a basis for device interaction.
[0126] In this embodiment, the user's initial movement speed and current movement speed within a preset time period are obtained, a speed attenuation coefficient is calculated, and the user's speed change within the preset time period is evaluated based on the speed attenuation coefficient. The speed attenuation coefficient can reflect the trend of the user's movement speed, such as whether the user decelerates or stops. The user's movement intention, such as approaching the device or staying in a certain area, can be identified through the speed attenuation coefficient.
[0127] In this embodiment, the direction of the user's gaze when interacting with a preset area of the device is defined as a valid gaze. The duration of continuous valid gaze is recorded to obtain the duration of the user's gaze on the device. Specifically, the user's gaze direction data and the device's location information are obtained, and a preset area of the device is defined, such as an interaction area where the device can receive system commands. The gaze of the user falling within the preset area is considered a valid gaze. The duration of continuous valid gaze of the user within the preset area is recorded, and the duration of gaze is calculated. The duration of gaze can reflect the degree of user attention to the device and provide a basis for device interaction.
[0128] This invention uses device location and user behavior information to accurately calculate the displacement matching degree between the user and the device, the speed attenuation coefficient, and the duration of gaze dwell, reflecting the user's movement intention and attention distribution, so as to accurately identify the user's intention to connect to the device and provide data support for the interactive connection of the device.
[0129] In one embodiment of the present invention, step 103, based on the determined target device, preloads the device operation data of the target device into the user terminal, which may specifically include:
[0130] S31, Based on the identified target device, obtain the device operation data of the target device through the digital twin map; wherein, the digital twin map is synchronized when the user terminal first enters the home environment, and the device operation data includes a service capability list or firmware update data package;
[0131] S32 preloads the service capability list or firmware update data package to the user terminal.
[0132] In this embodiment of the invention, to improve device connection efficiency, reduce connection latency, achieve "zero-wait response," and maintain availability even offline (when the network is poor), device operation data of the target device is preloaded onto the user terminal based on the identified target device. Specifically, based on the identified target device, device operation data of the target device is obtained through a digital twin map, and a service capability list or firmware update data package is preloaded onto the user terminal. The digital twin map is synchronized when the user terminal first enters the home environment, and the device operation data includes the service capability list or firmware update data package.
[0133] In practice, when a user's terminal first enters the home environment, a digital twin map is simultaneously generated or loaded. This digital twin map contains virtual mappings of all devices in the home environment, including information such as device location, function, and operating status. Based on the identified target device, the device's operating data can be queried through the digital twin map. This device operating data includes, but is not limited to, a service capability list and firmware update data packages. The service capability list includes a list of functions supported by the target device, such as switch control, temperature adjustment, volume adjustment, light color temperature presets, and speaker playlists. The firmware update data package contains the latest firmware version of the target device and its update content. Through the digital twin map, the operating data of the target device can be obtained in real time, ensuring data accuracy and timeliness. The device operating data, including the service capability list and firmware update data packages, comprehensively reflects the device's operating status and functional characteristics.
[0134] In this embodiment, the service capability list or firmware update data package obtained through the digital twin map is transmitted to the user terminal, and a preloading operation is performed on the user terminal. Specifically, this includes: loading the service capability list of the target device into the application or interface of the user terminal for easy access and operation by the user; and loading the firmware update data package of the target device into the user terminal to prepare for firmware update operation when application updates are required. After preloading is completed, the device can quickly respond to the user terminal's connection request, run the device's functions, and improve the user experience.
[0135] The embodiments of the present invention pre-load a list of service capabilities and firmware update data packets based on a determined target device, which can optimize device functions and ensure that the device runs on the latest version, improve device stability and functionality, and at the same time reduce the response time of data loading when connecting to the device, thereby reducing device connection latency and improving user experience.
[0136] In this embodiment of the invention, before step S31 obtains the device operation data of the target device through a digital twin map based on the determined target device, it may further include:
[0137] S33, determine the preloading priority of the device based on the device type;
[0138] S34 uses the preset keys of the user terminal and the device to authenticate the device according to the preloaded priority, and determines that the user terminal and the device have passed the authentication.
[0139] In this embodiment of the invention, different preloading priorities are defined according to the device type, such as smart lights, smart speakers, smart air conditioners, etc., so that the devices are authenticated according to the preloading priority order. The preloading priority can be determined based on the usage frequency of the device, the functional importance of the device, and the real-time requirements of the device. For example, devices with high usage frequency have higher priority, devices with important functions have higher priority, and devices with high real-time requirements have higher priority.
[0140] In this embodiment, a preset key, such as a symmetric or asymmetric encryption key, is pre-configured between the user terminal and the device. Target devices are authenticated sequentially according to preloading priority. The user terminal sends an authentication request to the target device, carrying the preset key. The target device verifies the user terminal's key and confirms successful authentication. If authentication is successful, the user terminal and device are considered authenticated, allowing subsequent preloading operations. If authentication fails, the device is skipped, and authentication continues with the next device. It should be noted that, without the user's awareness, device authentication and key negotiation can be completed via Bluetooth Low Energy beacons. Upon connection triggering, the data transmission phase begins directly. Preloading priorities are assigned based on device type, and dual-channel preloading, such as Wi-Fi and Bluetooth in parallel, is enabled for high-priority devices; details will not be elaborated here.
[0141] This invention uses a preset key for identity authentication to ensure secure communication between the user terminal and the device, prevent unauthorized access, and perform identity authentication according to pre-loading priority to improve authentication efficiency, ensuring rapid device authentication and pre-loading. This provides a reliable authentication mechanism for smart home systems and enhances the overall performance and user experience of smart homes.
[0142] In one embodiment of the present invention, step 104, in response to detecting that the user intent result is greater than or equal to a preset threshold, controls the connection between the user terminal and the target device based on device operation data, including:
[0143] S41, monitor the user intent result of the user's connected device, and determine whether the user intent result is greater than or equal to a preset threshold;
[0144] S42, if the user's intended result is greater than or equal to a preset threshold, control the connection between the user terminal and the target device based on the device operation data.
[0145] In this embodiment of the invention, the user intent result reflects the strength of the user's connection to the device. Therefore, by monitoring the user's intent result, it is determined whether the user intent result is greater than or equal to a preset threshold. If the user intent result is greater than or equal to the preset threshold, the user intent is considered clear, and the device connection operation is prepared. If the user intent result is less than the preset threshold, the user intent is considered unclear, and further analysis or prompts to the user are required. The preset threshold can be set based on the actual situation, and this embodiment does not limit it. The clarity of the user intent is determined by the preset threshold to avoid erroneous connections or unnecessary connection operations.
[0146] Specifically, if the user's intended result is greater than or equal to a preset threshold, the connection between the user terminal and the target device is controlled based on pre-loaded device operation data. The user terminal carries device operation data (such as a service capability list or firmware update data package) and directly sends a connection request to the target device. After the user terminal successfully connects to the target device, it directly accesses the target device's functions to perform device control or interactive operations.
[0147] This invention enables automatic connection operations by determining the clarity of the user's intent, avoiding erroneous or unnecessary connections. Based on pre-loaded device operation data, it quickly completes the connection between the user terminal and the target device, reducing connection latency. After a successful connection, the user terminal can directly access the functions of the target device, improving the system's intelligence level and user experience.
[0148] In this embodiment of the invention, step 104 may further include:
[0149] S43, if the user intent result is less than the preset threshold, arrange the target devices corresponding to the user intent result in descending order according to the size of the user intent result, and generate the connection order of the target devices;
[0150] S44, determine the recommended devices to be connected according to the connection order, and display the connection prompts for the recommended devices on the user terminal;
[0151] S45, in response to receiving a connection command from the user, controls the user terminal to connect to the recommended device.
[0152] In this embodiment of the invention, if the user intent result is less than a preset threshold, the target devices corresponding to the user intent result are arranged in descending order according to the size of the user intent result, generating a connection order for the target devices. If the user intent result is less than the preset threshold, the user intent is considered unclear and requires further analysis. The target devices corresponding to the user intent result are then arranged in descending order according to the size of the user intent result, generating a connection order for the target devices. Devices with larger user intent results have higher priority, and devices with smaller user intent results have lower priority. Recommended devices to be connected are determined according to the connection order, and connection prompts for the recommended devices are displayed on the user terminal.
[0153] Specifically, based on the generated connection order, recommended devices to be connected are determined. Connection prompts for the recommended devices are displayed on the user terminal. The user terminal interface can display the icon, name, and connection prompt information of the recommended devices, such as a recommendation reason like "You are approaching this device," prompting the user whether they need to connect to the recommended devices and providing a connection button or option. Alternatively, the recommended devices can be highlighted through the user terminal's AR interface, with a connection guidance arrow superimposed. Voice prompts such as "Do you need to connect to the smart light in the living room?" are supported. In response to receiving the user's connection command, the system controls the user terminal to connect to the recommended devices, sends a connection request to the recommended devices, and establishes a connection. After a successful connection, the user terminal can directly access the functions of the recommended devices to perform device control or interactive operations.
[0154] This invention, through its embodiments, determines the clarity of the user's intent, generates recommended devices based on the intent result, provides personalized device connection suggestions, and guides the user to perform device connection operations by displaying connection prompts for the recommended devices, thereby enabling the user to actively connect to the recommended devices and meeting the user's actual needs.
[0155] In this embodiment, S44 determines the recommended device to be connected according to the connection order. After the user terminal displays the connection prompt for the recommended device, it may further include:
[0156] In response to receiving a user's cancel connection command, adjust the user intent results of the recommended devices and update the connection order of the target devices.
[0157] In this embodiment, if the user clicks the cancel connection button or selects the cancel connection option on the user terminal, the user intent result of the recommended device is adjusted, and the user intent result of the recommended device is reduced to reflect the user's reduced willingness to connect to the device. Based on the adjusted user intent result, the connection order of the target devices is regenerated. The updated connection order can be used for subsequent device connection recommendations to ensure that the recommended devices better meet the user's actual needs.
[0158] This invention dynamically adjusts the user's intention and connection order based on the user's cancellation command, and optimizes the connection order of recommended devices based on user feedback, ensuring that the recommended devices better meet the user's actual needs and improving the system's intelligence level.
[0159] Reference Figure 2 The diagram illustrates a structural block diagram of a device connection apparatus provided in an embodiment of the present invention, which may specifically include the following modules:
[0160] The monitoring information module 201 is used to monitor user behavior information in a preset home environment, and to obtain the location of devices in the home environment;
[0161] The intent recognition module 202 is used to recognize the user's intent to connect to the device based on the device location and the user's behavior information, to obtain the user intent result of the user connecting to the device, and the target device to be connected corresponding to the user intent result;
[0162] The preload data module 203 is used to preload the device operation data of the target device in the user terminal according to the determined target device;
[0163] The control connection module 204 is used to control the user terminal to connect to the target device based on the device operation data in response to the detection that the user intent result is greater than or equal to a preset threshold.
[0164] Optionally, the monitoring information module 201 includes:
[0165] The monitoring submodule is used to monitor the user's movement speed, movement trajectory, and line of sight in a preset home environment;
[0166] The marking submodule is used to determine the speed change points of the moving speed within a preset time period and mark the speed change points as moving inflection points in the moving trajectory.
[0167] The first determining submodule is used to take the user's movement trajectory, gaze direction, and movement inflection points as the user's behavioral information.
[0168] Optionally, the intent recognition module 202 includes:
[0169] The second determining submodule is used to determine the displacement matching degree between the user and the device, the speed attenuation coefficient, and the duration of gaze based on the device location and the user's behavior information.
[0170] The recognition submodule is used to input the displacement matching degree, velocity attenuation coefficient and line-of-sight dwell time into a preset intent recognition model to recognize the user's intent to connect to the device and obtain the user intent result of the user connecting to the device output by the intent recognition model.
[0171] The third determination submodule is used to determine that the user intent result corresponds to at least one target device to be connected.
[0172] Optionally, the user's behavior information includes the user's movement trajectory, gaze direction, and movement inflection points; the second determining submodule includes:
[0173] The first determining unit is used to spatially project the user's movement trajectory and the device position, determine the distance and direction angle between the movement inflection point and the device position, and obtain the displacement matching degree between the user and the device.
[0174] The second determining unit is used to obtain the speed attenuation coefficient for the preset time period based on the user's initial movement speed and current movement speed within the preset time period;
[0175] The third determining unit is used to determine the direction of the user's gaze when interacting with the preset area of the device as a valid gaze, record the duration of continuous valid gaze, and obtain the duration of the user's gaze on the device.
[0176] Optionally, the preloaded data module 203 includes:
[0177] The acquisition submodule is used to acquire the device operation data of the target device through a digital twin map based on the determined target device; wherein, the digital twin map is synchronized when the user terminal first enters the home environment, and the device operation data includes a service capability list or firmware update data package;
[0178] The preloading submodule is used to preload the service capability list or firmware update data package into the user terminal.
[0179] Optionally, the preloaded data module 203 further includes:
[0180] The fourth determination submodule is used to determine the preloading priority of the device based on the device type.
[0181] The authentication submodule is used to authenticate the device using the preset keys of the user terminal and the device, according to the preloaded priority, and to determine that the user terminal and the device are successfully authenticated.
[0182] Optionally, the control connection module 204 includes:
[0183] The judgment submodule is used to monitor the user intent result of the user's connected device and determine whether the user intent result is greater than or equal to a preset threshold.
[0184] The first control submodule is used to control the user terminal to connect to the target device based on the device operation data if the user intent result is greater than or equal to the preset threshold.
[0185] Optionally, the control connection module 204 further includes:
[0186] A generation submodule is used to generate a connection order of the target devices if the user intent result is less than the preset threshold, and to sort the target devices corresponding to the user intent result in descending order according to the size of the user intent result.
[0187] The display submodule is used to determine the recommended devices to be connected according to the connection order and display the connection prompts of the recommended devices on the user terminal.
[0188] The second control submodule is used to control the user terminal to connect to the recommended device in response to receiving a connection command from the user.
[0189] Optionally, the control connection module 204 further includes:
[0190] The update submodule is used to adjust the user intent result of the recommended devices and update the connection order of the target devices in response to receiving a user's cancel connection command.
[0191] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0192] The device connection device provided in this embodiment of the invention monitors user behavior information in a preset home environment and obtains device locations in the home environment. Based on the device locations and user behavior information, it identifies the user's intention to connect to the device, obtains the user's intention result for connecting to the device, and the target device to be connected corresponding to the user's intention result. Based on the determined target device, it preloads the device operation data of the target device on the user terminal. In response to the detection that the user's intention result is greater than or equal to a preset threshold, it controls the connection between the user terminal and the target device based on the device operation data. This embodiment of the invention monitors and analyzes user behavior and device spatial location in real time, comprehensively considers the user's actual behavior, accurately identifies the user's intention to connect to the device, improves the accuracy of connection demand identification, and achieves accurate and automatic connection between the control terminal and the device without manual operation by the user, improving the intelligent interaction experience between the user and the device. Furthermore, by preloading device operation data before automatic connection, it reduces the response time of data loading when connecting the device, thereby reducing device connection latency, improving the intelligence level of the smart home system, meeting the usage needs of real-time device connection, and thus improving the user experience.
[0193] This invention also provides an electronic device, such as... Figure 3 As shown, it includes a processor 301, a communication interface 302, a memory 303, and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 communicate with each other through the communication bus 304.
[0194] Memory 303 is used to store computer programs;
[0195] When processor 301 executes a program stored in memory 303, it performs the following steps:
[0196] Monitor user behavior information in a preset home environment, and obtain the location of devices in the home environment;
[0197] Based on the device location and the user's behavior information, the user's intention to connect to the device is identified, resulting in the user's intention to connect to the device and the target device to be connected corresponding to the user's intention.
[0198] Based on the identified target device, the device operation data of the target device is preloaded into the user terminal;
[0199] In response to detecting that the user intent result is greater than or equal to a preset threshold, the system controls the user terminal to connect to the target device based on the device operation data.
[0200] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0201] The communication interface is used for communication between the aforementioned terminal and other devices.
[0202] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0203] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0204] like Figure 4As shown, in another embodiment of the present invention, a computer-readable storage medium 401 is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the device connection method described in the above embodiments.
[0205] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the device connection method described in the above embodiments.
[0206] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0207] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0208] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0209] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A device connection method, characterized in that, The method includes: Monitor user behavior information in a preset home environment, and obtain the location of devices in the home environment; Based on the device location and the user's behavior information, the user's intention to connect to the device is identified, resulting in the user's intention to connect to the device and the target device to be connected corresponding to the user's intention. Based on the identified target device, the device operation data of the target device is preloaded into the user terminal; In response to detecting that the user intent result is greater than or equal to a preset threshold, the system controls the user terminal to connect to the target device based on the device operation data.
2. The method according to claim 1, characterized in that, The monitoring of user behavior information in the preset home environment includes: Monitor users' movement speed, movement trajectory, and line of sight in a preset home environment; Determine the speed change points of the movement speed within a preset time period, and mark the speed change points as movement inflection points in the movement trajectory; The user's movement trajectory, gaze direction, and movement inflection points are used as the user's behavioral information.
3. The method according to claim 1, characterized in that, The step of identifying the user's intention to connect to the device based on the device location and the user's behavior information, obtaining the user's intention to connect to the device result, and the target device to be connected corresponding to the user's intention result, includes: Based on the device location and the user's behavior information, determine the user's displacement matching degree with the device, the speed attenuation coefficient, and the duration of eye contact. The displacement matching degree, velocity attenuation coefficient, and gaze duration are input into a preset intent recognition model to identify the user's intent to connect to the device, and the user intent result of the user connecting to the device is obtained from the intent recognition model. The user intent result is determined to correspond to at least one target device to be connected.
4. The method according to claim 3, wherein the user's behavioral information includes the user's movement trajectory, gaze direction, and movement inflection points, characterized in that, The step of determining the displacement matching degree between the user and the device, the speed attenuation coefficient, and the duration of line-of-sight based on the device location and the user's behavior information includes: By spatially projecting the user's movement trajectory onto the device's position, the distance and directional angle between the movement inflection point and the device's position are determined, thus obtaining the displacement matching degree between the user and the device. Based on the user's initial movement speed and current movement speed within a preset time period, the speed attenuation coefficient for the preset time period is obtained; The direction of the user's gaze when interacting with the device in a preset area is defined as a valid gaze, and the duration of continuous valid gaze is recorded to obtain the duration of the user's gaze on the device.
5. The method according to claim 1, characterized in that, The step of preloading the device operation data of the target device in the user terminal according to the determined target device includes: Based on the identified target device, the device operation data of the target device is obtained through a digital twin map; wherein, the digital twin map is synchronized when the user terminal first enters the home environment, and the device operation data includes a service capability list or firmware update data package; The service capability list or firmware update data package is preloaded into the user terminal.
6. The method according to claim 5, characterized in that, Before the user terminal preloads the device operation data of the determined target device, the method further includes: The preloading priority of the device is determined based on its device type; Using the preset keys of the user terminal and the device, the device is authenticated according to the preloaded priority to determine that the user terminal and the device are successfully authenticated.
7. The method according to claim 1, characterized in that, The step of responding to the detection that the user intent result is greater than or equal to a preset threshold, and controlling the connection between the user terminal and the target device based on the device operation data, includes: Monitor the user intent result of the user's connected device and determine whether the user intent result is greater than or equal to a preset threshold. If the user intent result is greater than or equal to the preset threshold, the user terminal is controlled to connect to the target device based on the device operation data.
8. The method according to claim 7, characterized in that, After monitoring the user intent result of the user-connected device and determining whether the user intent result is greater than or equal to a preset threshold, the method further includes: If the user intent result is less than the preset threshold, the target devices corresponding to the user intent result are arranged in descending order according to the size of the user intent result, and the connection order of the target devices is generated. The recommended devices to be connected are determined according to the connection order, and the connection prompts for the recommended devices are displayed on the user terminal. In response to receiving a connection command from a user, the system controls the user terminal to connect to the recommended device.
9. The method according to claim 8, characterized in that, The step of determining the recommended device to be connected according to the connection order, after the user terminal displays the connection prompt for the recommended device, further includes: In response to receiving a user's cancel connection command, the user intent result of the recommended devices is adjusted, and the connection order of the target devices is updated.
10. A device connection apparatus, characterized in that, The device includes: The monitoring information module is used to monitor user behavior information in a preset home environment, and to obtain the location of devices in the home environment; The intent recognition module is used to recognize the user's intent to connect to the device based on the device location and the user's behavior information, to obtain the user intent result of the user connecting to the device, and the target device to be connected corresponding to the user intent result; A preload data module is used to preload the device operation data of the target device into the user terminal based on the determined target device. The control connection module is used to control the connection between the user terminal and the target device based on the device operation data when the detected user intent result is greater than or equal to a preset threshold.
11. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1-9.
12. A computer-readable medium having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1-9.