Linkage mode determination method and device, linkage control equipment and storage medium
By receiving device parameter adjustment information and using linkage parameter determination model to automatically match linkage control equipment, the problem of users neglecting complex linkage operations is solved, and efficient linkage control between smart home devices is achieved, and resources are saved.
Patent Information
- Application Number
- CN202510393066.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-04
AI Technical Summary
In existing smart home systems, users pay less attention to complex linkage operation functions, resulting in waste of resources.
By receiving device parameter adjustment information, using linkage parameter determination model to automatically match linkage control equipment, determine linkage mode and push suggestions, and adjust device parameters after confirmation by the user.
Automatic linkage control between smart home devices is realized, equipment usage efficiency is improved, and resource waste is avoided.
Smart Images

Figure CN120255370A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart home, and particularly to a method and device for determining a linkage mode, a linkage control device, and a storage medium. Background Art
[0002] At present, with the increasing popularity of smart homes, a relatively common phenomenon has emerged in daily use scenarios. Most users only stay at the basic function level of using smart home products, such as simple control of turning lights on and off, and regular adjustment of air conditioner temperature.
[0003] However, those relatively complex advanced functions that require multiple parameter settings and linkage operations, such as intelligent scene modes that automatically switch the states of home devices according to different time periods and scenarios, or complex command functions that enable multiple devices to work together through voice commands, are rarely concerned by users and almost nobody uses them, resulting in waste of resources. Summary of the Invention
[0004] To solve the above technical problems or at least partially solve the above technical problems, this application provides a method and device for determining a linkage mode, a linkage control device, and a storage medium.
[0005] In a first aspect, this application provides a method for determining a linkage mode, including:
[0006] Receiving parameter adjustment information from a first device, where the parameter adjustment information carries first parameter data to be adjusted;
[0007] Inputting the first parameter data into a preset linkage parameter determination model to obtain second parameter data to be adjusted for linkage control, where the linkage parameter determination model is used to determine second parameter data to be subjected to linkage control based on the first parameter data;
[0008] Obtaining a second device associated with the second parameter data;
[0009] Determining linkage mode information of the second device based on the second parameter data.
[0010] Optionally, the method for constructing the linkage parameter determination model includes:
[0011] Obtaining device status data, user behavior data, environmental data, and time data recorded by multiple smart home devices;
[0012] Determining multiple regulation parameter matrices based on the device status data, the user behavior data, the environmental data, and the time data, where each regulation parameter matrix corresponds to a regulation category of environmental parameters, and each regulation parameter matrix includes multiple matrix element data;
[0013] Determine the matrix element data with a linkage control relationship in the control parameter matrix corresponding to the control categories of multiple environmental parameters based on the time data;
[0014] Construct the linkage parameter determination model based on the matrix element data with a linkage control relationship.
[0015] Optionally, determine multiple control parameter matrices based on the device state data, the user behavior data, the environmental data, and the time data, including:
[0016] Generate multiple first matrix data based on the device state data, the user behavior data, the environmental data, and the time data;
[0017] According to the control rules for environmental parameter control by multiple smart home devices, extract the matrix element data corresponding to the same environmental parameter from each of the first matrix data to obtain the multiple control parameter matrices.
[0018] Optionally, each matrix element data includes one of the device state data, the user behavior data, and the environmental data, and each matrix element data corresponds to the time data;
[0019] Determine the matrix element data with a linkage control relationship in the control parameter matrix corresponding to the control categories of multiple environmental parameters based on the time data, including:
[0020] Determine the linkage time data with time association in the time data corresponding to the matrix element data of multiple control parameter matrices;
[0021] Determine the matrix element data with a linkage control relationship in the control parameter matrix corresponding to the control categories of multiple environmental parameters based on the linkage time data.
[0022] Optionally, determine the matrix element data with a linkage control relationship in the control parameter matrix corresponding to the control categories of multiple environmental parameters based on the linkage time data, including:
[0023] Obtain the first quantity of the matrix element data of each control parameter matrix;
[0024] In the matrix element data corresponding to the linkage time data, determine the second quantity of the matrix element data from each control parameter matrix;
[0025] For each control parameter matrix, determine the linkage weight according to the ratio of the second quantity to the first quantity;
[0026] Determine the regulation parameter matrix with the linkage weight greater than the preset threshold, and determine the matrix element data in the regulation parameter matrix as the matrix element data with a linkage control relationship.
[0027] Optionally, determining the regulation parameter matrix with the linkage weight greater than the preset threshold, and determining the matrix element data in the regulation parameter matrix as the matrix element data with a linkage control relationship includes:
[0028] Obtain the control rule data;
[0029] Filter the matrix element data in the regulation parameter matrix with the linkage weight greater than the preset threshold according to the control rule data to obtain the remaining matrix data;
[0030] Determine the remaining matrix data as the matrix element data with a linkage control relationship.
[0031] Optionally, the method further includes:
[0032] Push the linkage mode information to the user;
[0033] If a confirmation operation from the user for the linkage mode information is received, adjust the operating parameters of the second device according to the second parameter data.
[0034] In a second aspect, the present application provides a device for determining a linkage mode, including:
[0035] A receiving module, configured to receive parameter adjustment information from a first device, where the parameter adjustment information carries the first parameter data to be adjusted;
[0036] An input module, configured to input the first parameter data into a preset linkage parameter determination model to obtain second parameter data to be adjusted for linkage control, where the linkage parameter determination model is used to determine the second parameter data to be subjected to linkage control based on the first parameter data;
[0037] A first acquisition module, configured to acquire a second device associated with the second parameter data;
[0038] A first determination module, configured to determine the linkage mode information of the second device based on the second parameter data.
[0039] Optionally, the device further includes:
[0040] A second acquisition module, configured to acquire device status data, user behavior data, environmental data, and time data recorded by multiple smart home devices;
[0041] The second determination module is configured to determine a plurality of regulation parameter matrices based on the device status data, the user behavior data, the environmental data, and the time data. Each of the regulation parameter matrices corresponds to a regulation category of an environmental parameter, and each of the regulation parameter matrices includes a plurality of matrix element data.
[0042] The third determination module is configured to determine matrix element data having a linkage control relationship in the regulation parameter matrices corresponding to the regulation categories of a plurality of environmental parameters based on the time data.
[0043] The construction module is configured to construct the linkage parameter determination model based on the matrix element data having a linkage control relationship.
[0044] Optionally, the second determination module includes:
[0045] A generation unit is configured to generate a plurality of first matrix data based on the device status data, the user behavior data, the environmental data, and the time data.
[0046] An extraction unit is configured to extract matrix element data corresponding to the same environmental parameter from each of the first matrix data respectively according to the regulation rules for environmental parameter regulation of a plurality of smart home devices, so as to obtain a plurality of the regulation parameter matrices.
[0047] Optionally, each of the matrix element data includes one of the device status data, the user behavior data, and the environmental data, and each of the matrix element data corresponds to the time data.
[0048] The third determination module includes:
[0049] A first determination unit is configured to determine linkage time data having a time association in the time data corresponding to the matrix element data of a plurality of regulation parameter matrices.
[0050] A second determination unit is configured to determine matrix element data having a linkage control relationship in the regulation parameter matrices corresponding to the regulation categories of a plurality of environmental parameters based on the linkage time data.
[0051] Optionally, the second determination unit includes:
[0052] An acquisition subunit is configured to acquire a first quantity of the matrix element data of each of the regulation parameter matrices.
[0053] A first determination subunit is configured to determine a second quantity of the matrix element data from each of the regulation parameter matrices in the matrix element data corresponding to the linkage time data.
[0054] A second determination subunit, configured to determine a linkage weight for each of the regulation parameter matrices according to a ratio of the second quantity to the first quantity;
[0055] A third determination subunit, configured to determine a regulation parameter matrix whose linkage weight is greater than a preset threshold, and determine the matrix element data in the regulation parameter matrix as matrix element data having a linkage control relationship.
[0056] Optionally, the third determination subunit is further configured to:
[0057] Obtain control rule data;
[0058] Filter the matrix element data in the regulation parameter matrix whose linkage weight is greater than the preset threshold according to the control rule data to obtain remaining matrix data;
[0059] Determine the remaining matrix data as matrix element data having a linkage control relationship.
[0060] Optionally, the apparatus further includes:
[0061] A push module, configured to push the linkage mode information to a user;
[0062] An adjustment module, configured to, if receiving a confirmation operation from the user for the linkage mode information, adjust the operation parameters of the second device according to the second parameter data.
[0063] In a third aspect, the present application provides a linkage control device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
[0064] The memory is configured to store a computer program;
[0065] The processor is configured to, when executing the program stored in the memory, implement the linkage mode determination method according to any one of the first aspects.
[0066] In a fourth aspect, the present application provides a computer-readable storage medium, where a program of the linkage mode determination method is stored on the computer-readable storage medium, and when the program of the linkage mode determination method is executed by a processor, the steps of the linkage mode determination method according to any one of the first aspects are implemented.
[0067] The above technical solutions provided by the embodiments of the present application have the following advantages compared with the prior art:
[0068] In the embodiment of the present application, according to the first parameter data adjusted by the first device, the second device to be adjusted in a linked manner and the second parameter data can be automatically determined, and the linked mode information can be determined, so that the second device can adjust its own operating parameters according to the linked mode information. Without the user manually configuring the linked control function between multiple smart home devices, the linked control between multiple smart home devices can be achieved through the linked mode information, improving the linked use efficiency between smart home devices, avoiding resource waste of smart home devices, and saving resources of smart home devices. Description of the Drawings
[0069] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.
[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0071] Figure 1 It is a flowchart of a method for determining a linked mode provided by an embodiment of the present application;
[0072] Figure 2 It is a structural diagram of a device for determining a linked mode provided by an embodiment of the present application;
[0073] Figure 3 It is a structural diagram of a linked control device provided by an embodiment of the present application. Detailed Embodiments
[0074] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0075] Since the smart home is relatively complex and requires advanced functions for multiple parameter settings and linked operations, such as intelligent scene modes that automatically switch the states of home devices according to different time periods and different scenarios, or complex instruction functions that enable multiple devices to work together through voice commands, few users pay attention to them and almost no one is interested, resulting in resource waste. For this reason, the embodiments of the present application provide a method, device, linked control device, and storage medium for determining a linked mode.
[0076] An embodiment of the present application provides a method for determining a linkage mode. The method for determining a linkage mode can be applied to a linkage control device. The linkage control device can be set in any smart home device or can be set independently, such as Figure 1 shown, including:
[0077] Step S101, receiving parameter adjustment information from a first device, where the parameter adjustment information carries first parameter data to be adjusted;
[0078] In an embodiment of the present application, the first device can refer to any smart home device, such as: an air conditioner, a humidifier, a smart lamp, etc. The first device can be the same device as the linkage control device or can be a different device.
[0079] Configurations can be pre-added to the first device. Each time a user needs to adjust the control parameters of the first device, it triggers the sending of parameter adjustment information to the linkage control device. The parameter adjustment information carries the first parameter data adjusted by the user this time, such as: temperature data.
[0080] Step S102, inputting the first parameter data into a preset linkage parameter determination model to obtain second parameter data to be adjusted by linkage. The linkage parameter determination model is used to determine second parameter data to be controlled by linkage based on the first parameter data;
[0081] In an embodiment of the present application, the linkage parameter determination model can automatically match second parameter data corresponding to the first parameter data, such as: humidity data. This second parameter data is the parameter data that needs to be adjusted by linkage when the first parameter data changes.
[0082] Step S103, obtaining a second device associated with the second parameter data;
[0083] In an embodiment of the present application, the second device can refer to any smart home device, such as: an air conditioner, a humidifier, a smart lamp, etc.
[0084] Since different smart home devices have different functions, such as: a humidifier is used to adjust the indoor humidity, a smart lamp is used to adjust the indoor brightness, and an air conditioner is used to adjust the indoor temperature, so the second device that can adjust the second parameter data can be automatically obtained according to the second parameter data, such as: a humidifier.
[0085] Step S104, determining linkage mode information of the second device based on the second parameter data.
[0086] In an embodiment of the present application, the linkage mode information includes the parameter to be adjusted and the parameter data to be adjusted to.
[0087] In this step, the parameter to be adjusted and the parameter data to be adjusted to can be extracted from the second parameter data; the parameter to be adjusted and the parameter data to be adjusted to are determined as the linkage mode information of the second device. Exemplarily, one piece of linkage mode information of the second device is: humidity, 65%.
[0088] Exemplarily, one piece of linkage mode information can be "It is detected that you have just set the air conditioner to 23°C. It is recommended to adjust the humidity of the humidifier from 60% to 55% to maintain the best physical feeling."
[0089] In one implementation manner of the present application, after step S104, the method further includes:
[0090] Step S105, pushing the linkage mode information to the user;
[0091] In this step, after determining the linkage mode information, the linkage mode information can be directly pushed to one or more of the user terminal, the linkage control device, the first device, and the second device, so that the user can check and receive the linkage mode information; or after determining the linkage mode information, wait for a preset duration. If the user does not adjust the second parameter data, push the linkage mode information to the user. For example, push a message to the user "It is detected that the indoor temperature has dropped to 22°C. It is recommended to adjust the humidity of the humidifier from 60% to 55% to improve comfort."
[0092] Step S106, if a confirmation operation of the user for the linkage mode information is received, adjust the operating parameters of the second device according to the second parameter data.
[0093] After the user confirms to use the linkage mode recommended by the linkage mode information through the confirmation operation, the operating parameters of the second device can be adjusted according to the second parameter data. For example, adjust the humidity of the humidifier to 65%.
[0094] In the embodiment of the present application, according to the first parameter data by which the first device is adjusted, the second device to be adjusted in linkage and the second parameter data can be automatically determined, and the linkage mode information can be determined, so that the second device can adjust its own operating parameters according to the linkage mode information. Without the user manually configuring the linkage control function between multiple smart home devices, the linkage control between multiple smart home devices can be realized through the linkage mode information, improving the linkage use efficiency between smart home devices, avoiding resource waste of smart home devices, and saving resources of smart home devices.
[0095] In another embodiment of the present application, the method for constructing the linkage parameter determination model includes:
[0096] Step S201, obtaining device status data, user behavior data, environmental data, and time data recorded by multiple smart home devices;
[0097] In the embodiments of the present application, the device status data may include: temperature data, humidity data, power-on / off time data, working mode data (such as cooling / heating), etc. Exemplarily, the device status data of an air conditioner includes: set temperature of 24°C, daily operation duration of 8 hours, and the user manually adjusts the temperature 3 times a week, etc. The device status data of a humidifier: set humidity of 60%, environmental humidity fluctuation range of 40%-65%; the user behavior data may include that the user adjusts the working frequency, adjusts the wind speed, and sets the timing time of the device by operating the function settings of the smart home device or the APP; the environmental data may refer to the data of the environment where the smart home device is located, such as real-time temperature, real-time humidity, geographical location, etc.
[0098] The smart home device can record the time data when the device status data, user behavior data, and environmental data change each time, that is, the device status data, user behavior data, and environmental data respectively correspond to the time data.
[0099] The device status data, user behavior data, environmental data, and time data may be the remaining data after preprocessing. Preprocessing refers to cleaning and standardizing the original data:
[0100] Cleaning: Remove invalid values (such as the abnormal value of the humidity sensor "120%") and fill in missing values (interpolate with adjacent time points).
[0101] Redefine the data identifier: Mark the data in a unified format according to the parameter type (such as DeviceID:001_Param:Temperature_Value:25).
[0102] Step S202, determine a plurality of regulation parameter matrices based on the device status data, the user behavior data, the environmental data, and the time data;
[0103] In the embodiments of the present application, each of the regulation parameter matrices corresponds to a regulation category of an environmental parameter. Exemplarily, the regulation category of the environmental parameter may be "temperature regulation" or "humidity regulation", etc. Each of the regulation parameter matrices includes a plurality of matrix element data. The matrix element database may be device status data, user behavior data, or environmental data, and each matrix element data corresponds to a time data.
[0104] In this step, the device status data, user behavior data, and environmental data may be randomly added to the regulation parameter matrix, or added to the regulation parameter matrix according to the parameter identifier preconfigured for each matrix element in the regulation parameter matrix.
[0105] In an implementation manner of the present application, step S202 determines a plurality of regulation parameter matrices based on the device status data, the user behavior data, the environmental data, and the time data, including:
[0106] Generate a plurality of first matrix data based on the device status data, the user behavior data, the environmental data, and the time data; according to the regulation rules for regulating environmental parameters by a plurality of smart home devices, extract matrix element data corresponding to the same environmental parameter from each of the first matrix data to obtain a plurality of the regulation parameter matrices.
[0107] In the embodiments of the present application, the regulation rules for regulating environmental parameters by smart home devices may include: the dependency relationships among the user behavior data obtained by recording one or more regulation operations of the user during environmental parameter regulation, the environmental data during environmental parameter regulation, and the device status data before and after regulation.
[0108] That is to say, the device status data, the user behavior data, and the environmental data can be randomly added to a plurality of first matrices to obtain a plurality of first matrix data, or a plurality of first matrix data can be obtained by adding them to a plurality of first matrices according to the parameter identifiers pre-configured for each matrix element in the regulation parameter matrix; then, according to the regulation rules for regulating environmental parameters by a plurality of smart home devices, extract the matrix element data with dependency relationships from the plurality of first matrix data respectively, and the matrix element data extracted from each first matrix data forms a regulation parameter matrix alone, and finally a plurality of the regulation parameter matrices are obtained.
[0109] Exemplarily, according to the regulation rules for regulating environmental parameters by a plurality of smart home devices, extract the matrix element data with dependency relationships from the plurality of first matrix data respectively:
[0110] Rule: Extract based on data parameter types (such as temperature, humidity) or business scenarios (such as energy-saving optimization, comfort).
[0111] For example: Regulation parameter matrix A: Data related to "temperature regulation" (air conditioner set temperature, environmental temperature, user adjustment times).
[0112] Regulation parameter matrix B: Data related to "humidity control" (humidifier humidity set value, environmental humidity, switch-on and -off frequency).
[0113] Step S203, determine the matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to the regulation categories of a plurality of environmental parameters based on the time data;
[0114] In the embodiments of the present application, the linkage control relationship may refer to that when one or more first matrix element data change, the working parameters of the corresponding smart home device are triggered to change according to one or more second matrix element data.
[0115] In this step, the matrix element data with a linkage control relationship can be selected from multiple regulation parameter matrices according to the time data, so as to reduce the calculation amount while retaining the key features.
[0116] In another embodiment of the present application, the matrix element data with a linkage control relationship can also be randomly selected from multiple regulation parameter matrices. For example, the parameters {set temperature, adjustment times} are randomly selected from the regulation parameter matrix A, and {humidity set value, ambient humidity} are selected from the regulation parameter matrix B, so as to reduce the calculation amount while retaining the key features.
[0117] Step S204, construct the linkage parameter determination model based on the matrix element data with a linkage control relationship.
[0118] After obtaining the matrix element data with a linkage control relationship, these matrix element data can be combined to obtain a linkage control rule, and the linkage parameter determination model is constructed based on the linkage control rule.
[0119] Exemplarily, a linkage control rule is "when the ambient temperature drops by 1°C, there is a 70% probability of synchronously lowering the humidity set value".
[0120] In an embodiment of the present application, the linkage control rule can be stored in the linkage parameter determination model, so that when the linkage parameter determination model is input with the first parameter data (equivalent to any matrix element data), it can automatically find the second parameter data (equivalent to the matrix element data other than the input matrix element) according to the linkage control relationship and output it.
[0121] In another embodiment of the present application, the neural network model can also be trained using the linkage control rule, so that the trained neural network model can automatically output the second parameter data (equivalent to the matrix element data other than the input matrix element) that has a linkage control relationship with the first parameter data when the first parameter data (equivalent to any matrix element data) is input.
[0122] The embodiments of the present application can automatically determine the matrix element data with a linkage control relationship among multiple regulation parameter matrices according to time data, and construct a linkage parameter determination model, which can facilitate the subsequent automatic output of second parameter data having a linkage control relationship with the first parameter data according to the first parameter data, fully explore the user's linkage control rules, and realize the linkage control among multiple smart home devices through the linkage method information without the user manually configuring the linkage control function among multiple smart home devices, improve the linkage usage efficiency among smart home devices, avoid the waste of resources of smart home devices, and save the resources of smart home devices.
[0123] In another embodiment of the present application, each of the matrix element data includes one of the device state data, the user behavior data, and the environmental data, and each matrix element data corresponds to the time data;
[0124] Step S203 of determining the matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to the regulation categories of multiple environmental parameters based on the time data includes:
[0125] Step S301 of determining the linkage time data with a time association among the time data corresponding to the matrix element data of multiple regulation parameter matrices;
[0126] In the embodiments of the present application, the time association means that the time data is within the same time period. Exemplarily, the preset time period can be 1 minute, 5 minutes, 10 minutes, etc. Continuous operations within a relatively short time can be considered that the user has a linkage control requirement.
[0127] In this step, the time data with a time association, that is, the time data within the same time period, can be determined as the linkage time data.
[0128] Step S302 of determining the matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to the regulation categories of multiple environmental parameters based on the linkage time data.
[0129] In this step, the matrix element data corresponding to the determined linkage time data can be determined as the matrix element data with a linkage control relationship.
[0130] The embodiments of the present application can automatically determine the matrix element data with a linkage control relationship according to the time data within the same time period, and realize the exploration of the user's linkage control requirements from the time dimension.
[0131] In another embodiment of the present application, step S302 of determining the matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to the regulation categories of multiple environmental parameters based on the linkage time data includes:
[0132] Step S401, obtain the first quantity of the matrix element data of each of the said regulation parameter matrices;
[0133] Step S402, in the matrix element data corresponding to the linkage time data, determine the second quantity of the matrix element data from each of the said regulation parameter matrices;
[0134] Step S403, for each of the said regulation parameter matrices, determine the linkage weight according to the ratio of the second quantity to the first quantity;
[0135] In this step, for each regulation parameter matrix, the ratio of the second quantity of the matrix element data that may have linkage control requirements to the total quantity of the matrix element data, i.e., the first quantity, can be calculated to obtain the linkage weight.
[0136] Step S404, determine the regulation parameter matrices with linkage weights greater than a preset threshold, and determine the matrix element data in the regulation parameter matrices as the matrix element data having a linkage control relationship.
[0137] In this step, if the linkage weight is greater than the preset threshold, it can be considered that there may be a linkage control requirement. For example, if the linkage weights of the regulation parameter matrix corresponding to "temperature regulation" and the regulation parameter matrix corresponding to "humidity regulation" are both greater than the preset threshold, then there may be a linkage control requirement between these two regulation parameter matrices, and there is a linkage control relationship between the matrix element data in these two regulation parameter matrices.
[0138] In an implementation manner of the present application, step S404 includes:
[0139] Obtain control rule data; filter the matrix element data in the regulation parameter matrices with linkage weights greater than the preset threshold according to the control rule data to obtain remaining matrix data; determine the remaining matrix data as the matrix element data having a linkage control relationship.
[0140] The control rule data may refer to the control rules summarized from production practice. For example, "it is recommended that the heating temperature in winter does not exceed 24°C". Based on the control rule data, the matrix element data that does not meet the conditions specified by the control rule data can be filtered out to obtain the remaining matrix data, and these remaining matrix data are the finally obtained matrix element data having a linkage control relationship.
[0141] On the basis of the foregoing implementation manner of randomly selecting matrix element data with linkage control relationships in multiple regulation parameter matrices, in another implementation manner of the present application, element weights can also be set in advance for the matrix element data in the regulation parameter matrix. For example, for the regulation parameter matrix X (temperature scenario): parameter = {set temperature (weight 0.7), ambient temperature (weight 0.6), temperature adjustment frequency (weight 0.5)}.
[0142] Regulation parameter matrix Y (humidity scenario): parameter = {set humidity (weight 0.8), ambient humidity (weight 0.7), number of switchings (weight 0.4)}.
[0143] In this way, {set temperature, temperature adjustment frequency} can be randomly selected from X, and {set humidity, ambient humidity} can be randomly selected from Y.
[0144] The weighted average value of the same parameter from different regulation parameter matrices can be calculated (for example, the temperature setting value after 10 pm at night is lower than that during the day). Since there is no same parameter, the weight 0.8 can be retained. Finally, the matrix element data with linkage control relationships obtained is: set temperature, temperature adjustment frequency, 0.8, set humidity, ambient humidity; analyzing it reveals that the linkage control rule is: every time the user lowers the temperature by 1 °C, there is an 80% probability of lowering the humidity by 5% within 1 hour.
[0145] In order to cope with the high complexity of the user behavior pattern, the embodiments of the present application further include:
[0146] Phase 1: Full entry coverage
[0147] Expand from a single operation entry (such as the air conditioner switch) to full-link behaviors (including App settings, voice commands, IoT linkages), and avoid the fragmentation of behavior patterns caused by entry fragmentation.
[0148] Example: After the user raises the temperature through voice, they still need to repeat the setting of the timed shutdown in the App. It is necessary to merge the data of the two types of entries for unified modeling.
[0149] Phase 2: Multi-mode exploration
[0150] On the basis of the existing interactions, combined with the user's stay duration and operation frequency weights (such as frequent fine-tuning of humidity = high-sensitivity demand), latent behavior rules are mined.
[0151] Example: The user lowers the temperature by 1 °C at the same time for 3 consecutive days without adjusting the humidity, triggering the prediction model to suggest "Do you need to synchronously reduce the humidity?".
[0152] Phase 3: Automation fitting enhancement
[0153] Introduce neural network automatic clustering behavior (such as LSTM capturing temporal dependencies) to replace manual rule definition and solve the problem of modeling long-tail complex scenarios.
[0154] Example: Automatically identify the association rules for users to switch from "energy-saving mode when away from home" to "rapid temperature adjustment when returning home", without pre-annotating the scenarios.
[0155] 2. Link direction: Cross-domain data restoration (solving data distortion)
[0156] Page restoration technology
[0157] Through DOM parsing and interaction event tracking, reconstruct the user operation path (such as the complete jump logic from "home page → settings page → temperature adjustment" within the App), avoiding the loss of key decision-making context due to partial data logging.
[0158] Technical point: Combine device-side logs and front-end data logging to verify the consistency of operation timing.
[0159] Card restoration technology
[0160] Perform pixel-level recognition and content reverse lookup on dynamic content (such as recommended scenario cards, pop-up prompts) to ensure the data relevance of "what you see is what you get" for users.
[0161] Example: After the user browses the "energy-saving tips" card and immediately adjusts the temperature, the card content (such as the recommended temperature range) should be stored as a behavioral influencing factor in the database.
[0162] 3. Enhancement of NLP and LLM
[0163] LLM IN CTR (Click-through rate prediction)
[0164] Associate the user's natural language feedback (such as "the heating is too slow") with the device control behavior, and correct the semantic gap problem of traditional collaborative filtering through large model semantic understanding.
[0165] Implementation method: After vectorizing the user's text complaints, jointly train them with the numerical parameters of the small matrix (such as heating rate, power).
[0166] Dynamically adjust the device recommendation push copywriting to generate anthropomorphic prompts (such as "It is detected that you have reported slow heating, and the high-speed mode has been enabled. It is expected to reach the standard in 5 minutes").
[0167] In another embodiment of the present application, a linkage method determination device is further provided, such as Figure 2 shown, including:
[0168] A receiving module 11, configured to receive parameter adjustment information from a first device, where the parameter adjustment information carries the first parameter data to be adjusted;
[0169] An input module 12 for inputting the first parameter data into a preset linkage parameter determination model to obtain second parameter data to be adjusted by linkage, where the linkage parameter determination model is used to determine the second parameter data to be controlled by linkage based on the first parameter data;
[0170] A first acquisition module 13 for acquiring a second device associated with the second parameter data;
[0171] A first determination module 14 for determining linkage mode information of the second device based on the second parameter data.
[0172] Optionally, the device further includes:
[0173] A second acquisition module for acquiring device status data, user behavior data, environmental data, and time data recorded by multiple smart home devices;
[0174] A second determination module for determining multiple regulation parameter matrices based on the device status data, the user behavior data, the environmental data, and the time data, where each regulation parameter matrix corresponds to a regulation category of an environmental parameter, and each regulation parameter matrix includes multiple matrix element data;
[0175] A third determination module for determining matrix element data having a linkage control relationship in the regulation parameter matrices corresponding to multiple regulation categories of environmental parameters based on the time data;
[0176] A construction module for constructing the linkage parameter determination model based on the matrix element data having a linkage control relationship.
[0177] Optionally, the second determination module includes:
[0178] A generation unit for generating multiple first matrix data based on the device status data, the user behavior data, the environmental data, and the time data;
[0179] An extraction unit for extracting matrix element data corresponding to the same environmental parameter in each of the first matrix data according to the regulation rules for environmental parameter regulation of multiple smart home devices, to obtain multiple regulation parameter matrices.
[0180] Optionally, each matrix element data includes one of the device status data, the user behavior data, and the environmental data, and each matrix element data corresponds to the time data;
[0181] The third determination module includes:
[0182] The first determination unit is configured to determine associated time data with time association in the time data corresponding to the matrix element data of multiple regulation parameter matrices.
[0183] The second determination unit is configured to determine matrix element data with an associated control relationship in the regulation parameter matrices corresponding to the regulation categories of multiple environmental parameters based on the associated time data.
[0184] Optionally, the second determination unit includes:
[0185] An acquisition subunit, configured to acquire a first quantity of the matrix element data of each of the regulation parameter matrices;
[0186] A first determination subunit, configured to determine a second quantity of the matrix element data from each of the regulation parameter matrices in the matrix element data corresponding to the associated time data;
[0187] A second determination subunit, configured to determine an association weight for each of the regulation parameter matrices according to a ratio of the second quantity to the first quantity;
[0188] A third determination subunit, configured to determine a regulation parameter matrix with an association weight greater than a preset threshold, and determine the matrix element data in the regulation parameter matrix as the matrix element data with an associated control relationship.
[0189] Optionally, the third determination subunit is further configured to:
[0190] Acquire control rule data;
[0191] Filter the matrix element data in the regulation parameter matrix with an association weight greater than the preset threshold according to the control rule data to obtain remaining matrix data;
[0192] Determine the remaining matrix data as the matrix element data with an associated control relationship.
[0193] Optionally, the apparatus further includes:
[0194] A push module, configured to push the associated mode information to a user;
[0195] An adjustment module, configured to, if a confirmation operation of the user for the associated mode information is received, adjust the operating parameters of the second device according to the second parameter data.
[0196] In another embodiment of the present application, a linkage control device is further provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
[0197] The memory is configured to store a computer program;
[0198] A processor, when executing a program stored in a memory, implements the linkage mode determination method described in any of the foregoing method embodiments.
[0199] In the linkage control device provided by the embodiments of the present invention, the processor implements, by executing a program stored in a memory, the embodiments of the present application that can automatically determine a second device and second parameter data to be adjusted in linkage according to first parameter data by which a first device is adjusted, and determine linkage mode information, so that the second device adjusts its own operating parameters according to the linkage mode information. Without the need for a user to manually configure the linkage control function between multiple smart home devices, the linkage control between multiple smart home devices can be achieved through the linkage mode information, improving the linkage usage efficiency between smart home devices, avoiding waste of resources of smart home devices, and saving resources of smart home devices.
[0200] The communication bus 1140 mentioned in the foregoing linkage control device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 3 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0201] The communication interface 1120 is used for communication between the foregoing linkage control device and other devices.
[0202] The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the foregoing processor.
[0203] The above-mentioned processor 1110 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0204] In another embodiment of the present application, a computer-readable storage medium is further provided. A program for the linkage mode determination method is stored on the computer-readable storage medium. When the program for the linkage mode determination method is executed by a processor, the steps of the linkage mode determination method described in any of the foregoing method embodiments are implemented.
[0205] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.
[0206] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for determining a linkage mode, characterized in that Including: Receiving parameter adjustment information from a first device, where the parameter adjustment information carries first parameter data to be adjusted; Inputting the first parameter data into a preset linkage parameter determination model to obtain second parameter data to be adjusted by linkage, where the linkage parameter determination model is used to determine second parameter data to be controlled by linkage based on the first parameter data; Obtaining a second device associated with the second parameter data; Determining linkage mode information of the second device based on the second parameter data.
2. The method for determining the linkage mode according to claim 1, wherein The construction method of the linkage parameter determination model includes: Obtaining device status data, user behavior data, environmental data, and time data recorded by multiple smart home devices; Determining multiple regulation parameter matrices based on the device status data, the user behavior data, the environmental data, and the time data, where each regulation parameter matrix corresponds to a regulation category of an environmental parameter, and each regulation parameter matrix includes multiple matrix element data; Determining matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to multiple regulation categories of environmental parameters based on the time data; Constructing the linkage parameter determination model based on the matrix element data with a linkage control relationship.
3. The method for determining the linkage mode according to claim 2, characterized in that Determining multiple regulation parameter matrices based on the device status data, the user behavior data, the environmental data, and the time data includes: Generating multiple first matrix data based on the device status data, the user behavior data, the environmental data, and the time data; Extracting matrix element data corresponding to the same environmental parameter from each of the first matrix data according to the regulation rules for environmental parameter regulation by multiple smart home devices to obtain the multiple regulation parameter matrices.
4. The method for determining the linkage mode according to claim 2, characterized in that, Each matrix element data includes one of the device status data, the user behavior data, and the environmental data, and each matrix element data corresponds to the time data; Determining matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to multiple regulation categories of environmental parameters based on the time data includes: Determining linkage time data with a time association in the time data corresponding to the matrix element data of multiple regulation parameter matrices; Determining matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to multiple regulation categories of environmental parameters based on the linkage time data.
5. The method for determining the linkage mode according to claim 4, wherein Determining matrix element data with a linkage control relationship in the regulation parameter matrices corresponding to multiple regulation categories of environmental parameters based on the linkage time data includes: Obtaining a first quantity of the matrix element data of each regulation parameter matrix; Determining a second quantity of the matrix element data from each regulation parameter matrix in the matrix element data corresponding to the linkage time data; For each regulation parameter matrix, determining a linkage weight according to the ratio of the second quantity to the first quantity; Determining a regulation parameter matrix with a linkage weight greater than a preset threshold, and determining the matrix element data in the regulation parameter matrix as the matrix element data with a linkage control relationship.
6. The method for determining the linkage mode according to claim 5, characterized in that, Determine the regulation parameter matrix with the linkage weight greater than the preset threshold, and determine the matrix element data in the regulation parameter matrix as the matrix element data with a linkage control relationship, including: Obtain the control rule data; Filter the matrix element data in the regulation parameter matrix with the linkage weight greater than the preset threshold according to the control rule data to obtain the remaining matrix data; Determine the remaining matrix data as the matrix element data with a linkage control relationship.
7. The method for determining the linkage mode according to claim 1, wherein The method further includes: Push the linkage mode information to the user; If a confirmation operation from the user for the linkage mode information is received, adjust the operating parameters of the second device according to the second parameter data.
8. A linkage mode determination device, characterized in that Including: A receiving module, configured to receive parameter adjustment information from a first device, where the parameter adjustment information carries first parameter data to be adjusted; An input module, configured to input the first parameter data into a preset linkage parameter determination model to obtain second parameter data to be adjusted by linkage, where the linkage parameter determination model is used to determine second parameter data to be controlled by linkage based on the first parameter data; A first obtaining module, configured to obtain a second device associated with the second parameter data; A first determination module, configured to determine the linkage mode information of the second device based on the second parameter data.
9. A linkage control device, characterized in that, Including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used to store a computer program; The processor, when executing the program stored on the memory, implements the linkage mode determination method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A program of the linkage mode determination method is stored on the computer-readable storage medium, and when the program of the linkage mode determination method is executed by the processor, the steps of the linkage mode determination method according to any one of claims 1 to 7 are implemented.