Home equipment configuration method and system based on KNX

By combining device startup data and information in the KNX network, and using neural network algorithms to determine device configuration conditions, the problem of insufficient efficiency and security in home device configuration in the existing technology is solved, and the security and stability of device connections are achieved. Reduced costs.

CN117955765BActive Publication Date: 2024-09-06GUANGZHOU VIDEO STAR INTELLIGENT CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311871755.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-09-06
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

The existing technology fails to effectively combine the device's startup data and device information in home device configuration to determine whether the device meets the preset configuration conditions, resulting in insufficient connection efficiency and security, especially when the number of devices in the KNX network increases, cost and complexity promote.

Method used

Search for the device to be connected through the smart home LAN based on KNX technology, obtain its startup data and information, use the neural network algorithm to determine whether the device meets the preset configuration conditions, including device startup scenarios and matching degree analysis, screen out qualified devices and establish TCP long link.

Benefits of technology

It effectively ensures the security and stability of home device connections in the KNX network, reduces the work cost of network clusters, and improves the efficiency of device discovery and connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117955765B
    Figure CN117955765B
Patent Text Reader

Abstract

The present invention discloses a method and system for configuring household equipment based on KNX, the method comprising: searching household equipment in a target area through a smart home local area network based on KNX technology to obtain a plurality of household equipment to be connected that are discovered; obtaining device startup data and device information of the household equipment to be connected; judging whether the household equipment to be connected meets the preset discoverable configuration conditions according to the device startup data and the device information; if so, obtaining the reply information of the household equipment to be connected and forwarding it to a mobile terminal device, so that the mobile terminal device establishes a TCP long link with the household equipment to be connected. It can be seen that the present invention can effectively ensure the security and stability of the discovery connection of household equipment in the KNX network, reduce the working cost of the network cluster as a whole, and improve the efficiency of device discovery connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of device configuration, and in particular to a KNX-based home device configuration method and system. Background Art

[0002] With the development of KNX technology and the increase in the number of smart home devices in building parks and other areas, the device networking based on KNX technology has begun to face an increasing number of devices, and the device connection scenarios it has to deal with are becoming more and more complex and the cost is getting higher and higher. How to reduce the cost of device discovery and connection while ensuring connection efficiency and connection security is an important technical problem.

[0003] However, when implementing home appliance configuration, the prior art does not consider combining the startup data and device information of the device to comprehensively judge whether the device meets the preset configuration conditions. Therefore, it is obvious that the efficiency and security of home appliance configuration implemented by the prior art are lacking. It can be seen that the prior art has defects and needs to be solved urgently. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a KNX-based home appliance configuration method and system, which can effectively ensure the security and stability of the discovery connection of home appliances in the KNX network, reduce the working cost of the network cluster as a whole, and improve the efficiency of device discovery connection.

[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a home appliance configuration method based on KNX, the method comprising:

[0006] Searching for home devices in the target area through the smart home LAN based on KNX technology to obtain multiple discovered home devices to be connected;

[0007] Acquire device startup data and device information of the home device to be connected;

[0008] According to the device startup data and the device information, determining whether the home device to be connected meets a preset discoverable configuration condition;

[0009] If yes, the reply information of the home appliance to be connected is obtained and forwarded to the mobile device, so that the mobile device and the home appliance to be connected establish a TCP long link.

[0010] As an optional embodiment, in the first aspect of the present invention, the discoverable configuration condition includes at least one of a first time period after restart, a second time period after a physical button is pressed to enter a configuration mode, and a third time period after disconnection; and / or, the device startup data includes startup time, startup mode, and post-startup operations; and / or, the device information includes a device identifier, a device name, and an identifier of the area where the device is located.

[0011] As an optional implementation, in the first aspect of the present invention, judging whether the home device to be connected meets a preset discoverable configuration condition according to the device startup data and the device information includes:

[0012] Determine a device startup scenario corresponding to the home device to be connected according to a neural network algorithm and the device startup data;

[0013] Determine, according to the device startup scenario, a configuration condition set corresponding to the home device to be connected;

[0014] According to the device information, filter out discoverable configuration conditions that match the home device to be connected from the configuration condition set;

[0015] According to the current time and the device startup data, it is determined whether the home device to be connected meets the discoverable configuration condition.

[0016] As an optional implementation, in the first aspect of the present invention, the device startup data includes a plurality of startup data; the determining, based on the neural network algorithm and the device startup data, the device startup scene corresponding to the home device to be connected includes:

[0017] For each of the startup data, the startup data is input into a trained startup validity classifier model to obtain a validity parameter corresponding to the startup data; the startup validity classifier model is trained by a training data set including a plurality of training startup data and corresponding validity annotations;

[0018] Sorting all the startup data from large to small according to the validity parameter to obtain a startup data sequence, and determining all the startup data whose validity parameters are greater than a first parameter threshold in the first first number of the startup data sequence as target startup data;

[0019] All the target startup data are input into the trained device startup scenario prediction neural network to obtain multiple device startup scenarios corresponding to the home devices to be connected whose prediction probabilities are greater than the probability confidence levels; the device startup scenario prediction neural network is trained using a training data set including multiple training startup data and corresponding device startup scenario annotations.

[0020] As an optional implementation, in the first aspect of the present invention, determining, according to the device startup scenario, a set of configuration conditions corresponding to the home device to be connected includes:

[0021] For each of the device startup scenarios, determining multiple configuration conditions corresponding to the device startup scenario according to a correspondence between preset scenarios and configuration conditions;

[0022] According to a preset configuration condition conflict rule, a configuration condition that conflicts with at least two other configuration conditions among the multiple configuration conditions corresponding to the device startup scenario is eliminated; the configuration condition conflict rule is used to limit the conflict between two configuration conditions;

[0023] Determine the remaining configuration conditions corresponding to the device startup scenario as a scenario condition set corresponding to the device startup scenario;

[0024] A union calculation is performed on the scene condition sets corresponding to all the device startup scenes to obtain a configuration condition set corresponding to the home device to be connected.

[0025] As an optional implementation manner, in the first aspect of the present invention, the filtering out, from the configuration condition set according to the device information, a discoverable configuration condition matching the home device to be connected, includes:

[0026] For each configuration condition in the configuration condition set, determining a historical application device record of the configuration condition from a historical database;

[0027] Calculating an average value of information similarity between the device information and the device information of each application device in the historical application device record to obtain a device matching degree corresponding to the configuration condition;

[0028] All the configuration conditions are sorted from large to small according to the device matching degree to obtain a condition sequence, and all the configuration conditions in the first second number of the condition sequence whose device matching degree is greater than a second parameter threshold are determined as a plurality of discoverable configuration conditions that match the home device to be connected.

[0029] As an optional implementation, in the first aspect of the present invention, judging whether the home device to be connected meets the discoverable configuration condition according to the current time and the device startup data includes:

[0030] Calculating an average of the conditional required time periods in a plurality of discoverable configuration conditions matching the home device to be connected, to obtain an average time period;

[0031] Calculate the average of the startup time corresponding to all the target startup data to obtain the device startup time;

[0032] Calculate the time difference between the current time and the device startup time;

[0033] It is determined whether the time difference is within the average time period to determine whether the home device to be connected meets the discoverable configuration condition.

[0034] A second aspect of the present invention discloses a home appliance configuration system based on KNX, the system comprising:

[0035] A search module is used to search for home appliances in a target area through a smart home local area network based on KNX technology to obtain a plurality of discovered home appliances to be connected;

[0036] An acquisition module, used to acquire device startup data and device information of the home device to be connected;

[0037] A judgment module, used for judging whether the home device to be connected meets a preset discoverable configuration condition according to the device startup data and the device information;

[0038] The forwarding module is used to obtain the reply information of the home appliance to be connected and forward it to the mobile device when the judgment result of the judgment module is yes, so that the mobile device and the home appliance to be connected establish a TCP long link.

[0039] As an optional embodiment, in the second aspect of the present invention, the discoverable configuration condition includes at least one of a first time period after restart, a second time period after a physical button is pressed to enter a configuration mode, and a third time period after disconnection; and / or, the device startup data includes startup time, startup mode, and post-startup operations; and / or, the device information includes a device identifier, a device name, and an identifier of the area where the device is located.

[0040] As an optional implementation, in the second aspect of the present invention, the specific manner in which the judgment module judges whether the home device to be connected meets the preset discoverable configuration condition according to the device startup data and the device information includes:

[0041] Determine a device startup scenario corresponding to the home device to be connected according to a neural network algorithm and the device startup data;

[0042] Determine, according to the device startup scenario, a configuration condition set corresponding to the home device to be connected;

[0043] According to the device information, filter out discoverable configuration conditions that match the home device to be connected from the configuration condition set;

[0044] According to the current time and the device startup data, it is determined whether the home device to be connected meets the discoverable configuration condition.

[0045] As an optional implementation, in the second aspect of the present invention, the device startup data includes multiple startup data; the judgment module determines the specific manner of the device startup scene corresponding to the home device to be connected according to the neural network algorithm and the device startup data, including:

[0046] For each of the startup data, the startup data is input into a trained startup validity classifier model to obtain a validity parameter corresponding to the startup data; the startup validity classifier model is trained by a training data set including a plurality of training startup data and corresponding validity annotations;

[0047] Sorting all the startup data from large to small according to the validity parameter to obtain a startup data sequence, and determining all the startup data whose validity parameters are greater than a first parameter threshold in the first first number of the startup data sequence as target startup data;

[0048] All the target startup data are input into the trained device startup scenario prediction neural network to obtain multiple device startup scenarios corresponding to the home devices to be connected whose prediction probabilities are greater than the probability confidence levels; the device startup scenario prediction neural network is trained using a training data set including multiple training startup data and corresponding device startup scenario annotations.

[0049] As an optional implementation, in the second aspect of the present invention, the judgment module determines the specific manner of the configuration condition set corresponding to the home device to be connected according to the device startup scenario, including:

[0050] For each of the device startup scenarios, determining multiple configuration conditions corresponding to the device startup scenario according to a correspondence between preset scenarios and configuration conditions;

[0051] According to a preset configuration condition conflict rule, a configuration condition that conflicts with at least two other configuration conditions among the multiple configuration conditions corresponding to the device startup scenario is eliminated; the configuration condition conflict rule is used to limit the conflict between two configuration conditions;

[0052] Determine the remaining configuration conditions corresponding to the device startup scenario as a scenario condition set corresponding to the device startup scenario;

[0053] A union calculation is performed on the scene condition sets corresponding to all the device startup scenes to obtain a configuration condition set corresponding to the home device to be connected.

[0054] As an optional implementation, in the second aspect of the present invention, the specific manner in which the judgment module selects, according to the device information, a discoverable configuration condition that matches the home device to be connected from the configuration condition set includes:

[0055] For each configuration condition in the configuration condition set, determining a historical application device record of the configuration condition from a historical database;

[0056] Calculating an average value of information similarity between the device information and the device information of each application device in the historical application device record to obtain a device matching degree corresponding to the configuration condition;

[0057] All the configuration conditions are sorted from large to small according to the device matching degree to obtain a condition sequence, and all the configuration conditions in the first second number of the condition sequence whose device matching degree is greater than a second parameter threshold are determined as a plurality of discoverable configuration conditions that match the home device to be connected.

[0058] As an optional implementation, in the second aspect of the present invention, the specific manner in which the judgment module judges whether the home device to be connected meets the discoverable configuration condition according to the current time and the device startup data includes:

[0059] Calculating an average of the conditional required time periods in a plurality of discoverable configuration conditions matching the home device to be connected, to obtain an average time period;

[0060] Calculate the average of the startup time corresponding to all the target startup data to obtain the device startup time;

[0061] Calculate the time difference between the current time and the device startup time;

[0062] It is determined whether the time difference is within the average time period to determine whether the home device to be connected meets the discoverable configuration condition.

[0063] The third aspect of the present invention discloses another KNX-based home appliance configuration system, the system comprising:

[0064] A memory storing executable program code;

[0065] a processor coupled to the memory;

[0066] The processor calls the executable program code stored in the memory to execute part or all of the steps in the KNX-based home appliance configuration method disclosed in the first aspect of the present invention.

[0067] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the KNX-based home appliance configuration method disclosed in the first aspect of the present invention.

[0068] Compared with the prior art, the present invention has the following beneficial effects:

[0069] The present invention can combine the device startup data and device information of multiple home appliances to be connected, judge whether the configuration conditions are met, and connect the devices that meet the conditions, thereby effectively ensuring the security and stability of the discovery connection of home appliances in the KNX network, reducing the working cost of the network cluster as a whole, and improving the efficiency of device discovery connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0071] Figure 1 It is a flowchart of a KNX-based household equipment configuration method disclosed in an embodiment of the present invention;

[0072] Figure 2 It is a structural schematic diagram of a KNX-based home appliance configuration system disclosed in an embodiment of the present invention;

[0073] Figure 3 It is a structural schematic diagram of another KNX-based home appliance configuration system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0074] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0075] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or terminal including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or terminals.

[0076] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0077] The present invention discloses a home appliance configuration method and system based on KNX, which can combine the device startup data and device information of multiple home appliances to be connected, judge whether the configuration conditions are met, and connect the devices that meet the conditions, thereby effectively ensuring the security and stability of the discovery connection of home appliances in the KNX network, reducing the working cost of the network cluster as a whole, and improving the efficiency of device discovery connection. The following are detailed descriptions.

[0078] Embodiment 1

[0079] See also Figure 1 , Figure 1 : is a flow chart of a KNX-based home appliance configuration method disclosed in an embodiment of the present invention. Figure 1 The described method can be applied to corresponding data processing devices, data processing terminals, and data processing servers, and the server can be a local server or a cloud server, and the embodiments of the present invention are not limited to the following. Figure 1 As shown, the KNX-based home device configuration method may include the following operations:

[0080] 101. Search for home appliances in a target area through a smart home local area network based on KNX technology to obtain multiple discovered home appliances to be connected.

[0081] 102. Obtain device startup data and device information of the home device to be connected.

[0082] Optionally, the device startup data includes startup time, startup mode, and post-startup operations.

[0083] Optionally, the device information includes a device identifier, a device name, and an identifier of the area where the device is located.

[0084] 103. According to the device startup data and device information, determine whether the home device to be connected meets the preset discoverable configuration conditions.

[0085] Optionally, the discoverable configuration condition includes at least one of a first time period after restart, a second time period after a physical button is pressed to enter a configuration mode, and a third time period after a disconnection.

[0086] 104. If it is in compliance, the reply information of the home appliance to be connected is obtained and forwarded to the mobile device, so that the mobile device and the home appliance to be connected establish a TCP long link.

[0087] It can be seen that the method described in the embodiment of the present invention can combine the device startup data and device information of multiple home appliances to be connected to judge whether the configuration conditions are met, so as to connect the devices that meet the conditions, thereby effectively ensuring the security and stability of the discovery connection of home appliances in the KNX network, reducing the working cost of the network cluster as a whole, and improving the efficiency of device discovery connection.

[0088] As an optional embodiment, in the above steps, judging whether the home device to be connected meets the preset discoverable configuration condition according to the device startup data and the device information includes:

[0089] Determine the device startup scenario corresponding to the home device to be connected based on the neural network algorithm and device startup data;

[0090] According to the device startup scenario, determine the configuration condition set corresponding to the home device to be connected;

[0091] According to the device information, select a discoverable configuration condition that matches the home device to be connected from the configuration condition set;

[0092] Based on the current time and device startup data, determine whether the home device to be connected meets the discoverable configuration conditions.

[0093] Through the above embodiments, the discoverable configuration conditions can be determined by calculating the combination of the device startup scenario and the configuration conditions, so as to further judge whether the home device to be connected meets the discoverable configuration conditions, provide a judgment basis for the subsequent establishment of the link, and effectively ensure the security and stability of the discovery connection of home devices in the KNX network, thereby reducing the working cost of the network cluster as a whole and improving the efficiency of device discovery connection.

[0094] As an optional embodiment, the device startup data includes multiple startup data, for example, multiple startup data of the device acquired in a short period of time, some of which may be mis-touch startup data or abnormal self-starting data and need to be screened.

[0095] Accordingly, in the above steps, determining the device startup scenario corresponding to the home device to be connected according to the neural network algorithm and the device startup data includes:

[0096] For each start-up data, the start-up data is input into a trained start-up validity classifier model to obtain validity parameters corresponding to the start-up data; the start-up validity classifier model is trained by a training data set including a plurality of training start-up data and corresponding validity annotations;

[0097] Sorting all the startup data from large to small according to the validity parameter to obtain a startup data sequence, and determining all the startup data whose validity parameters are greater than a first parameter threshold in the first first number of the startup data sequence as target startup data;

[0098] All target startup data are input into the trained device startup scenario prediction neural network to obtain multiple device startup scenarios whose prediction probabilities corresponding to the home devices to be connected are greater than the probability confidence levels; the device startup scenario prediction neural network is trained using a training data set including multiple training startup data and corresponding device startup scenario annotations.

[0099] Optionally, the startup effectiveness classifier model can be implemented by an existing classifier algorithm model, or by a more complex neural network algorithm model.

[0100] Optionally, the neural network in the present invention can be a neural network algorithm with a CNN structure, an RNN structure or a LTSM structure, and is trained until convergence through a corresponding gradient descent algorithm and a loss function.

[0101] Through the above-mentioned embodiments, the startup data can be screened through the startup validity classifier model, and the startup scene can be determined according to the effective startup data obtained through the screening through the device startup scene prediction neural network, so as to determine the discoverable configuration conditions based on this in the future, provide a judgment basis for the subsequent establishment of links, and effectively ensure the security and stability of the discovery connection of home devices in the KNX network, reduce the working cost of the network cluster as a whole, and improve the efficiency of device discovery connection.

[0102] As an optional embodiment, in the above steps, determining the configuration condition set corresponding to the home device to be connected according to the device startup scenario includes:

[0103] For each device startup scenario, determine multiple configuration conditions corresponding to the device startup scenario according to the correspondence between the preset scenarios and configuration conditions;

[0104] According to a preset configuration condition conflict rule, a configuration condition that conflicts with at least two other configuration conditions among the multiple configuration conditions corresponding to the device startup scenario is eliminated; the configuration condition conflict rule is used to limit the conflict between two configuration conditions;

[0105] Determine the remaining configuration conditions corresponding to the device startup scenario as a scenario condition set corresponding to the device startup scenario;

[0106] The scene condition sets corresponding to all device startup scenes are combined to obtain the configuration condition sets corresponding to the home devices to be connected.

[0107] Optionally, the correspondence between scenarios and configuration conditions can be set by operators based on experience or experimental data or historical data. It can be a correspondence table between fixed categories, a mathematical polynomial relationship, or a trained neural network algorithm model.

[0108] Optionally, the preset configuration condition conflict rule can be set by the operator based on experience or experimental data, such as setting a condition where the gap between two required time periods is too large as a conflict condition, or setting a conflict between two different types of configuration conditions.

[0109] Through the above embodiments, the configuration conditions corresponding to the device startup scene can be determined through the correspondence between the scene and the configuration conditions, and the configuration conditions can be filtered through the configuration condition contradiction rules. Finally, the configuration condition set corresponding to the home device to be connected is obtained through union calculation, so as to determine the discoverable configuration conditions based on this in the future, provide a judgment basis for the subsequent establishment of links, and effectively ensure the security and stability of the discovery connection of home devices in the KNX network, reduce the working cost of the network cluster as a whole, and improve the efficiency of device discovery connection.

[0110] As an optional embodiment, in the above step, according to the device information, the discoverable configuration conditions matching the home device to be connected are screened out from the configuration condition set, including:

[0111] For each configuration condition in the configuration condition set, determining a historical application device record of the configuration condition from a historical database;

[0112] Calculate the average value of the information similarity between the device information and the device information of each application device in the historical application device record to obtain the device matching degree corresponding to the configuration condition;

[0113] All configuration conditions are sorted from large to small according to the device matching degree to obtain a condition sequence, and all configuration conditions in the first second number of the condition sequence whose device matching degree is greater than the second parameter threshold are determined as multiple discoverable configuration conditions that match the home device to be connected.

[0114] Optionally, information similarity can be achieved through a vector distance algorithm.

[0115] Through the above embodiments, the discoverable configuration conditions can be determined according to the configuration condition set through the calculation of device matching degree and the sorting threshold algorithm, providing a data basis for subsequent link establishment judgment, and effectively ensuring the security and stability of the discovery connection of home devices in the KNX network, thereby reducing the overall working cost of the network cluster and improving the efficiency of device discovery connection.

[0116] As an optional embodiment, in the above steps, judging whether the home device to be connected meets the discoverable configuration condition according to the current time and the device startup data includes:

[0117] Calculate an average of the conditional requirement time periods in a plurality of discoverable configuration conditions matching the home device to be connected, and obtain an average time period;

[0118] Calculate the average startup time corresponding to all target startup data to obtain the device startup time;

[0119] Calculate the time difference between the current time and the device startup time;

[0120] It is determined whether the time difference is within the average time period to determine whether the home device to be connected meets the discoverable configuration condition.

[0121] Through the above-mentioned embodiments, it is possible to determine whether the home appliance to be connected meets the discoverable configuration conditions through calculation and judgment of the time difference and the average time period, thereby providing a data basis for the subsequent establishment of a link, and effectively ensuring the security and stability of the discovery connection of home appliances in the KNX network, thereby reducing the overall working cost of the network cluster and improving the efficiency of device discovery connection.

[0122] Embodiment 2

[0123] See also Figure 2 , Figure 2 : is a schematic diagram of a KNX-based home appliance configuration system disclosed in an embodiment of the present invention. Figure 2 The described system can be applied to corresponding data processing devices, data processing terminals, and data processing servers, and the server can be a local server or a cloud server, which is not limited in the embodiments of the present invention. Figure 2 As shown, the system may include:

[0124] The search module 201 is used to search for home appliances in a target area through a smart home local area network based on KNX technology to obtain a plurality of discovered home appliances to be connected;

[0125] An acquisition module 202 is used to acquire device startup data and device information of a home device to be connected;

[0126] The judgment module 203 is used to judge whether the home device to be connected meets the preset discoverable configuration condition according to the device startup data and the device information;

[0127] The forwarding module 204 is used to obtain the reply information of the home appliance to be connected and forward it to the mobile device when the judgment result of the judgment module 203 is yes, so that the mobile device and the home appliance to be connected establish a TCP long link.

[0128] As an optional embodiment, the configuration conditions that can be discovered include at least one of the conditions within a first time period after restart, within a second time period after a physical button is pressed to enter a configuration mode, and within a third time period after a disconnection; and / or, the device startup data includes startup time, startup method, and post-startup operations; and / or, the device information includes a device identifier, a device name, and an identifier of the area where the device is located.

[0129] As an optional embodiment, the specific manner in which the judgment module 203 judges whether the home device to be connected meets the preset discoverable configuration condition according to the device startup data and the device information includes:

[0130] Determine the device startup scenario corresponding to the home device to be connected based on the neural network algorithm and device startup data;

[0131] According to the device startup scenario, determine the configuration condition set corresponding to the home device to be connected;

[0132] According to the device information, select a discoverable configuration condition that matches the home device to be connected from the configuration condition set;

[0133] Based on the current time and device startup data, determine whether the home device to be connected meets the discoverable configuration conditions.

[0134] As an optional embodiment, the device startup data includes multiple startup data; the judgment module 203 determines the specific method of the device startup scene corresponding to the home device to be connected according to the neural network algorithm and the device startup data, including:

[0135] For each start-up data, the start-up data is input into a trained start-up validity classifier model to obtain validity parameters corresponding to the start-up data; the start-up validity classifier model is trained by a training data set including a plurality of training start-up data and corresponding validity annotations;

[0136] Sorting all the startup data from large to small according to the validity parameter to obtain a startup data sequence, and determining all the startup data whose validity parameters are greater than a first parameter threshold in the first first number of the startup data sequence as target startup data;

[0137] All target startup data are input into the trained device startup scenario prediction neural network to obtain multiple device startup scenarios whose prediction probabilities corresponding to the home devices to be connected are greater than the probability confidence levels; the device startup scenario prediction neural network is trained using a training data set including multiple training startup data and corresponding device startup scenario annotations.

[0138] As an optional embodiment, the determination module 203 determines the specific manner of the configuration condition set corresponding to the home device to be connected according to the device startup scenario, including:

[0139] For each device startup scenario, determine multiple configuration conditions corresponding to the device startup scenario according to the correspondence between the preset scenarios and configuration conditions;

[0140] According to a preset configuration condition conflict rule, a configuration condition that conflicts with at least two other configuration conditions among the multiple configuration conditions corresponding to the device startup scenario is eliminated; the configuration condition conflict rule is used to limit the conflict between two configuration conditions;

[0141] Determine the remaining configuration conditions corresponding to the device startup scenario as a scenario condition set corresponding to the device startup scenario;

[0142] The scene condition sets corresponding to all device startup scenes are combined to obtain the configuration condition sets corresponding to the home devices to be connected.

[0143] As an optional embodiment, the determination module 203 selects a specific manner of finding a discoverable configuration condition that matches the home device to be connected from the configuration condition set according to the device information, including:

[0144] For each configuration condition in the configuration condition set, determining a historical application device record of the configuration condition from a historical database;

[0145] Calculate the average value of the information similarity between the device information and the device information of each application device in the historical application device record to obtain the device matching degree corresponding to the configuration condition;

[0146] All configuration conditions are sorted from large to small according to the device matching degree to obtain a condition sequence, and all configuration conditions in the first second number of the condition sequence whose device matching degree is greater than the second parameter threshold are determined as multiple discoverable configuration conditions that match the home device to be connected.

[0147] As an optional embodiment, the specific manner in which the judgment module 203 judges whether the home device to be connected meets the discoverable configuration condition according to the current time and the device startup data includes:

[0148] Calculate an average of the conditional requirement time periods in a plurality of discoverable configuration conditions matching the home device to be connected, and obtain an average time period;

[0149] Calculate the average startup time corresponding to all target startup data to obtain the device startup time;

[0150] Calculate the time difference between the current time and the device startup time;

[0151] It is determined whether the time difference is within the average time period to determine whether the home device to be connected meets the discoverable configuration condition.

[0152] The module details and technical effects in the embodiment of the present invention can be referred to the description in the first embodiment, and will not be repeated here.

[0153] Embodiment 3

[0154] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram of another KNX-based home appliance configuration system disclosed in an embodiment of the present invention. Figure 3 As shown, the system may include:

[0155] A memory 301 storing executable program codes;

[0156] a processor 302 coupled to the memory 301;

[0157] The processor 302 calls the executable program code stored in the memory 301 to execute part or all of the steps in the KNX-based home appliance configuration method disclosed in the first embodiment of the present invention.

[0158] Embodiment 4

[0159] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all steps of the KNX-based home appliance configuration method disclosed in Embodiment 1 of the present invention.

[0160] The system embodiment described above is only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without paying creative labor.

[0161] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0162] Finally, it should be noted that the KNX-based household appliance configuration method and system disclosed in the embodiment of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for configuring home appliances based on KNX, characterized in that: The method comprises: Searching for home devices in the target area through the smart home LAN based on KNX technology to obtain multiple discovered home devices to be connected; Acquire device startup data and device information of the home device to be connected; According to the device startup data and the device information, judging whether the home device to be connected meets the preset discoverable configuration condition; judging whether the home device to be connected meets the preset discoverable configuration condition according to the device startup data and the device information includes: Determining a device startup scene corresponding to the home device to be connected according to a neural network algorithm and the device startup data; the device startup data includes a plurality of startup data; determining a device startup scene corresponding to the home device to be connected according to the neural network algorithm and the device startup data includes: For each of the startup data, the startup data is input into a trained startup validity classifier model to obtain a validity parameter corresponding to the startup data; the startup validity classifier model is trained by a training data set including a plurality of training startup data and corresponding validity annotations; Sorting all the startup data from large to small according to the validity parameter to obtain a startup data sequence, and determining all the startup data whose validity parameters are greater than a first parameter threshold in the first first number of the startup data sequence as target startup data; Inputting all the target startup data into the trained device startup scenario prediction neural network to obtain multiple device startup scenarios whose prediction probabilities corresponding to the home devices to be connected are greater than the probability confidence; the device startup scenario prediction neural network is trained by a training data set including multiple training startup data and corresponding device startup scenario annotations; Determine, according to the device startup scenario, a configuration condition set corresponding to the home device to be connected; According to the device information, filter out discoverable configuration conditions that match the home device to be connected from the configuration condition set; According to the current time and the device startup data, determining whether the home device to be connected meets the discoverable configuration condition; If yes, the reply information of the home appliance to be connected is obtained and forwarded to the mobile device, so that the mobile device and the home appliance to be connected establish a TCP long link.

2. The KNX-based home appliance configuration method according to claim 1, characterized in that: The discoverable configuration condition includes at least one of a first time period after restart, a second time period after a physical button is pressed to enter a configuration mode, and a third time period after disconnection; and / or, the device startup data includes startup time, startup mode, and post-startup operations; and / or, the device information includes a device identifier, a device name, and an identifier of the area where the device is located.

3. The KNX-based home appliance configuration method according to claim 1, characterized in that: The step of determining, according to the device startup scenario, a set of configuration conditions corresponding to the home device to be connected comprises: For each of the device startup scenarios, determining multiple configuration conditions corresponding to the device startup scenario according to a correspondence between preset scenarios and configuration conditions; According to a preset configuration condition conflict rule, a configuration condition that conflicts with at least two other configuration conditions among the multiple configuration conditions corresponding to the device startup scenario is eliminated; the configuration condition conflict rule is used to limit the conflict between two configuration conditions; Determine the remaining configuration conditions corresponding to the device startup scenario as a scenario condition set corresponding to the device startup scenario; A union calculation is performed on the scene condition sets corresponding to all the device startup scenes to obtain a configuration condition set corresponding to the home device to be connected.

4. The KNX-based home appliance configuration method according to claim 1, characterized in that: The step of filtering out, from the configuration condition set according to the device information, a discoverable configuration condition that matches the home device to be connected, includes: For each configuration condition in the configuration condition set, determining a historical application device record of the configuration condition from a historical database; Calculating an average value of information similarity between the device information and the device information of each application device in the historical application device record to obtain a device matching degree corresponding to the configuration condition; All the configuration conditions are sorted from large to small according to the device matching degree to obtain a condition sequence, and all the configuration conditions in the first second number of the condition sequence whose device matching degree is greater than a second parameter threshold are determined as a plurality of discoverable configuration conditions that match the home device to be connected.

5. The KNX-based home appliance configuration method according to claim 4, characterized in that: The determining, based on the current time and the device startup data, whether the home device to be connected meets the discoverable configuration condition includes: Calculating an average of the conditional required time periods in a plurality of discoverable configuration conditions matching the home device to be connected, to obtain an average time period; Calculate the average of the startup time corresponding to all the target startup data to obtain the device startup time; Calculate the time difference between the current time and the device startup time; It is determined whether the time difference is within the average time period to determine whether the home device to be connected meets the discoverable configuration condition.

6. A home equipment configuration system based on KNX, characterized in that: The system comprises: A search module is used to search for home appliances in a target area through a smart home local area network based on KNX technology to obtain a plurality of discovered home appliances to be connected; An acquisition module, used to acquire device startup data and device information of the home device to be connected; A judgment module, used to judge whether the home device to be connected meets the preset discoverable configuration condition according to the device startup data and the device information; the judgment module judges whether the home device to be connected meets the preset discoverable configuration condition according to the device startup data and the device information, including: According to the neural network algorithm and the device startup data, determining the device startup scene corresponding to the home device to be connected; the device startup data includes multiple startup data; the judgment module determines the device startup scene corresponding to the home device to be connected according to the neural network algorithm and the device startup data, including: For each of the startup data, the startup data is input into a trained startup validity classifier model to obtain a validity parameter corresponding to the startup data; the startup validity classifier model is trained by a training data set including a plurality of training startup data and corresponding validity annotations; Sorting all the startup data from large to small according to the validity parameter to obtain a startup data sequence, and determining all the startup data whose validity parameters are greater than a first parameter threshold in the first first number of the startup data sequence as target startup data; Inputting all the target startup data into the trained device startup scenario prediction neural network to obtain multiple device startup scenarios whose prediction probabilities corresponding to the home devices to be connected are greater than the probability confidence; the device startup scenario prediction neural network is trained by a training data set including multiple training startup data and corresponding device startup scenario annotations; Determine, according to the device startup scenario, a configuration condition set corresponding to the home device to be connected; According to the device information, filter out discoverable configuration conditions that match the home device to be connected from the configuration condition set; According to the current time and the device startup data, determining whether the home device to be connected meets the discoverable configuration condition; The forwarding module is used to obtain the reply information of the home appliance to be connected and forward it to the mobile terminal device when the judgment result of the judgment module is yes, so that the mobile terminal device and the home appliance to be connected establish a TCP long link.

7. A home equipment configuration system based on KNX, characterized in that: The system comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the KNX-based home device configuration method as described in any one of claims 1 to 5.

8. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the KNX-based home device configuration method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Mobile terminal and intelligent household appliance interconnecting method and device

    CN104113458A

  • Smart home control method and smart home system

    CN106094558A

  • Method for configuring and / or controlling home automation terminals

    CN111869166A

  • Household equipment network distribution method and device based on indoor cruise

    CN115442168A

  • Self-adaptive networking method and device for home equipment, electronic equipment and storage medium

    CN116708207A