Bluetooth multi-master self-service access method and system based on KNX
Through neural network algorithm, the access records and data transmission records of Bluetooth devices are analyzed, combined with signal strength information, and independent access strategies are formulated, which solves the problems of Bluetooth devices access risks and strategies in the KNX system, and improves the security and efficiency of the system .
Patent Information
- Application Number
- CN202410452049.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-16
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-04-16
AI Technical Summary
The prior art fails to fully consider the access risks and access strategies during Bluetooth devices access in the KNX system, resulting in the inability to achieve more secure Bluetooth access control, affecting the working efficiency and security of the system.
Using a neural network algorithm-based method, the access risk and access strategy are determined by analyzing the historical access records and data transmission records of Bluetooth devices, and combining signal strength information, computing device priority and risk weight, to formulate autonomous access strategy To achieve fine and secure multi-Bluetooth access control.
It improves the working efficiency and security of the KNX system, reduces access accidents of Bluetooth devices, and achieves more refined and secure multi-Bluetooth access control.
Smart Images

Figure CN118338278B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a KNX-based Bluetooth multi-master self-service access method and system. Background Art
[0002] With the widespread application of KNX technology and the involvement of Bluetooth technology in these KNX application scenarios, how to improve the advantages of the combination of the two based on the transmission characteristics of Bluetooth devices is an important issue. The existing technology does not fully consider the access risks and access strategies when Bluetooth devices are connected to the KNX system to control Bluetooth access, so it is impossible to achieve safer Bluetooth access control. It can be seen that the existing technology has defects that need to be solved urgently. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a KNX-based Bluetooth multi-master self-service access method and system, which can achieve more sophisticated and secure multi-Bluetooth access control, improve the working efficiency and security of the KNX system, and reduce access accidents of Bluetooth devices.
[0004] In order to solve the above technical problems, the first aspect of the present invention discloses a KNX-based Bluetooth multi-master self-service access method, the method comprising:
[0005] Get multiple Bluetooth devices to be connected to the target KNX system;
[0006] Obtaining access records and post-access data transmission records of each of the Bluetooth devices in a historical time period;
[0007] Determine the access risk and access strategy of each Bluetooth device based on the access record and the data transmission record after access according to the trained neural network algorithm;
[0008] According to the access risk and access strategy, and the signal strength information of the Bluetooth device, the autonomous access strategy corresponding to all the Bluetooth devices is determined.
[0009] As an optional implementation, in the first aspect of the present invention, the access record includes access information at multiple historical time points; the access information includes access port, access time, access time point and access protocol mode.
[0010] As an optional embodiment, in the first aspect of the present invention, the post-access data transmission record includes multiple data transmission records within a historical time period after multiple accesses to the target KNX system; the data transmission record includes transmission data content, transmission data frequency, transmission data average speed, transmission average packet loss rate and data transmission object.
[0011] As an optional implementation, in the first aspect of the present invention, the access risk and access strategy of each Bluetooth device are determined based on the access record and the data transmission record after access according to the trained neural network algorithm, including:
[0012] The access record and the data transmission record after access of each Bluetooth device are input into a trained risk prediction neural network model to obtain the predicted risk type and risk probability of each Bluetooth device; the risk prediction neural network model is trained by a training data set including a plurality of training access records and data transmission records and corresponding access risk type annotations;
[0013] Inputting the access record of each Bluetooth device into a trained mode type prediction neural network model to obtain the access mode type of each Bluetooth device; the mode type prediction neural network model is trained by a training data set including a plurality of training access records and corresponding mode type annotations; the access mode type is wired direct access, wireless direct access, wired-to-wireless access, wireless-to-wired access, wired-to-wired access or wireless-to-wireless access;
[0014] According to the corresponding relationship between the preset access mode type and the access policy, and according to the access mode type of each Bluetooth device, the access policy of each Bluetooth device is determined.
[0015] As an optional implementation, in the first aspect of the present invention, the predicted risk type includes at least one of a device backdoor risk, a device data Trojan risk, a device protocol vulnerability risk, and a device performance failure risk.
[0016] As an optional implementation, in the first aspect of the present invention, the access strategy includes an access selection protocol, an access selection port, a transit node parameter type, and a connection node mode.
[0017] As an optional implementation manner, in the first aspect of the present invention, determining the autonomous access strategy corresponding to all the Bluetooth devices according to the access risk and the access strategy, and the signal strength information of the Bluetooth device, includes:
[0018] For each of the Bluetooth devices, calculating a priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and a preset device priority calculation rule;
[0019] Calculating a first risk weight proportional to the risk probability corresponding to the Bluetooth device;
[0020] Calculate the second risk weight corresponding to the predicted risk type corresponding to the Bluetooth device according to the preset correspondence between the type and the weight;
[0021] Calculate the priority parameter and the product of the first risk weight and the second risk weight to obtain an order parameter corresponding to the Bluetooth device;
[0022] All the Bluetooth devices are sorted according to the sequence parameter to obtain a device sequence, and an access sequence of all the Bluetooth devices is determined as the device sequence.
[0023] As an optional implementation, in the first aspect of the present invention, calculating the priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and a preset device priority calculation rule includes:
[0024] Acquire multiple signal strength parameters of the Bluetooth device broadcasted by multiple BLE hosts through the bus of the target KNX system; the signal strength parameter is an average value of the signal strength of the Bluetooth device received by the BLE host in a historical time period;
[0025] Filter out the BLE host with the highest signal strength parameter as the access BLE host for the Bluetooth device to access the target KNX system;
[0026] A parameter average value of the plurality of signal strength parameters is calculated, and according to a correspondence between a preset parameter value and a device priority, a priority parameter of the Bluetooth device corresponding to the parameter average value is calculated.
[0027] A second aspect of an embodiment of the present invention discloses a KNX-based Bluetooth multi-master self-service access system, the system comprising:
[0028] The first acquisition module is used to acquire multiple Bluetooth devices to be connected to the target KNX system;
[0029] A second acquisition module is used to acquire access records and data transmission records after access of each Bluetooth device in a historical time period;
[0030] A first determination module is used to determine the access risk and access strategy of each of the Bluetooth devices based on the access record and the data transmission record after access according to the trained neural network algorithm;
[0031] The second determination module is used to determine the autonomous access strategy corresponding to all the Bluetooth devices according to the access risk and access strategy, and the signal strength information of the Bluetooth devices.
[0032] As an optional implementation, in the second aspect of the present invention, the access record includes access information at multiple historical time points; the access information includes access port, access time, access time point and access protocol mode.
[0033] As an optional embodiment, in the second aspect of the present invention, the post-access data transmission record includes multiple data transmission records within a historical time period after multiple accesses to the target KNX system; the data transmission record includes transmission data content, transmission data frequency, transmission data average speed, transmission average packet loss rate and data transmission object.
[0034] As an optional implementation, in the second aspect of the present invention, the first determination module determines the access risk and access strategy of each Bluetooth device based on the access record and the data transmission record after access according to the trained neural network algorithm, including:
[0035] The access record and the data transmission record after access of each Bluetooth device are input into a trained risk prediction neural network model to obtain the predicted risk type and risk probability of each Bluetooth device; the risk prediction neural network model is trained by a training data set including a plurality of training access records and data transmission records and corresponding access risk type annotations;
[0036] Inputting the access record of each Bluetooth device into a trained mode type prediction neural network model to obtain the access mode type of each Bluetooth device; the mode type prediction neural network model is trained by a training data set including a plurality of training access records and corresponding mode type annotations; the access mode type is wired direct access, wireless direct access, wired-to-wireless access, wireless-to-wired access, wired-to-wired access or wireless-to-wireless access;
[0037] According to the corresponding relationship between the preset access mode type and the access policy, and according to the access mode type of each Bluetooth device, the access policy of each Bluetooth device is determined.
[0038] As an optional implementation, in the second aspect of the present invention, the predicted risk type includes at least one of a device backdoor risk, a device data Trojan risk, a device protocol vulnerability risk, and a device performance failure risk.
[0039] As an optional implementation, in the second aspect of the present invention, the access strategy includes an access selection protocol, an access selection port, a transit node parameter type, and a connection node mode.
[0040] As an optional implementation, in the second aspect of the present invention, the second determination module determines the specific manner of the autonomous access strategy corresponding to all the Bluetooth devices according to the access risk and the access strategy, and the signal strength information of the Bluetooth device, including:
[0041] For each of the Bluetooth devices, calculating a priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and a preset device priority calculation rule;
[0042] Calculating a first risk weight proportional to the risk probability corresponding to the Bluetooth device;
[0043] Calculate the second risk weight corresponding to the predicted risk type corresponding to the Bluetooth device according to the preset correspondence between the type and the weight;
[0044] Calculate the priority parameter and the product of the first risk weight and the second risk weight to obtain an order parameter corresponding to the Bluetooth device;
[0045] All the Bluetooth devices are sorted according to the sequence parameter to obtain a device sequence, and an access sequence of all the Bluetooth devices is determined as the device sequence.
[0046] As an optional implementation, in the second aspect of the present invention, the second determination module calculates the priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and the preset device priority calculation rule, including:
[0047] Acquire multiple signal strength parameters of the Bluetooth device broadcasted by multiple BLE hosts through the bus of the target KNX system; the signal strength parameter is an average value of the signal strength of the Bluetooth device received by the BLE host in a historical time period;
[0048] Filter out the BLE host with the highest signal strength parameter as the access BLE host for the Bluetooth device to access the target KNX system;
[0049] A parameter average value of the plurality of signal strength parameters is calculated, and according to a correspondence between a preset parameter value and a device priority, a priority parameter of the Bluetooth device corresponding to the parameter average value is calculated.
[0050] The third aspect of the present invention discloses another KNX-based Bluetooth multi-master self-service access system, the system comprising:
[0051] A memory storing executable program code;
[0052] a processor coupled to the memory;
[0053] The processor calls the executable program code stored in the memory to execute part or all of the steps in the KNX-based Bluetooth multi-master self-service access method disclosed in the first aspect of the present invention.
[0054] 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 Bluetooth multi-master self-service access method disclosed in the first aspect of the present invention.
[0055] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0056] The present invention can utilize the historical access records and data transmission records of Bluetooth devices in combination with neural networks to determine access risks and access strategies, and then comprehensively determine the autonomous access strategies of multiple devices, thereby achieving more sophisticated and secure multi-Bluetooth access control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] 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.
[0058] Figure 1 The invention discloses a KNX-based Bluetooth multi-master self-service access method.
[0059] Figure 2 The invention discloses a KNX-based Bluetooth multi-master self-service access system.
[0060] Figure 3 It is a structural schematic diagram of another KNX-based Bluetooth multi-master self-service access system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0061] 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.
[0062] 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, device, product or equipment that includes 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 that are inherent to these processes, methods, products or equipment.
[0063] 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.
[0064] The present invention discloses a KNX-based Bluetooth multi-master self-service access method and system, which can utilize the historical access records and data transmission records of Bluetooth devices to combine with neural networks to determine access risks and access strategies, and then comprehensively determine the autonomous access strategies of multiple devices, thereby achieving more sophisticated and secure multi-Bluetooth access control, improving the work efficiency and security of the KNX system, and reducing Bluetooth device access accidents. The following are detailed descriptions.
[0065] Embodiment 1
[0066] See also Figure 1 , Figure 1 1 is a flow chart of a KNX-based Bluetooth multi-master self-service access method disclosed in an embodiment of the present invention. Figure 1 The described KNX-based Bluetooth multi-master self-service access method can be applied to a data processing system / data processing device / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 1 As shown, the KNX-based Bluetooth multi-master self-service access method may include the following operations:
[0067] 101. Acquire multiple Bluetooth devices to be connected to the target KNX system.
[0068] 102. Obtain access records and post-access data transmission records of each Bluetooth device in a historical time period.
[0069] 103. According to the trained neural network algorithm, based on the access records and data transmission records after access, the access risk and access strategy of each Bluetooth device are determined.
[0070] 104. Determine the autonomous access strategy corresponding to all Bluetooth devices according to the access risk and access strategy, and the signal strength information of the Bluetooth device.
[0071] Optionally, the autonomous access policy is used to determine the firewall authentication method and access order of Bluetooth devices.
[0072] It can be seen that the above-mentioned embodiments of the invention can utilize the historical access records and data transmission records of Bluetooth devices to combine with neural networks to determine access risks and access strategies, and then comprehensively determine the autonomous access strategies of multiple devices, thereby achieving more refined and secure multi-Bluetooth access control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0073] As an optional embodiment, in the above steps, the access record includes access information at multiple historical time points; the access information includes the access port, access time, access time point and access protocol mode.
[0074] It can be seen that through the above optional embodiments, the content of the access record is clarified, which can be used to more accurately predict the access risk and access strategy of the device in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0075] As an optional embodiment, in the above steps, the post-access data transmission record includes multiple data transmission records in a historical time period after multiple accesses to the target KNX system; the data transmission record includes the transmission data content, transmission data frequency, transmission data average speed, transmission average packet loss rate and data transmission object.
[0076] It can be seen that through the above optional embodiments, the content of the data transmission record after access is clarified, so as to be used to more accurately predict the access risk and access strategy of the device in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0077] As an optional embodiment, in the above steps, determining the access risk and access strategy of each Bluetooth device based on the access record and the data transmission record after access according to the trained neural network algorithm includes:
[0078] Input the access record and data transmission record after access of each Bluetooth device into the trained risk prediction neural network model to obtain the predicted risk type and risk probability of each Bluetooth device; optionally, the risk prediction neural network model is trained by a training data set including multiple training access records and data transmission records and corresponding access risk type annotations;
[0079] Input the access record of each Bluetooth device into the trained mode type prediction neural network model to obtain the access mode type of each Bluetooth device; optionally, the mode type prediction neural network model is trained by a training data set including a plurality of training access records and corresponding mode type annotations; the access mode type is wired direct access, wireless direct access, wired-to-wireless access, wireless-to-wired access, wired-to-wired access, or wireless-to-wireless access;
[0080] According to the corresponding relationship between the preset access mode type and the access strategy, the access strategy of each Bluetooth device is determined according to the access mode type of each Bluetooth device.
[0081] It can be seen that through the above optional embodiments, the access risk and access strategy of each Bluetooth device can be accurately determined through the neural network model and the preset corresponding relationship, thereby assisting in achieving more sophisticated and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0082] As an optional embodiment, in the above steps, the predicted risk type includes at least one of device backdoor risk, device data Trojan risk, device protocol vulnerability risk and device performance failure risk.
[0083] It can be seen that through the above optional embodiments, the content of the predicted risk type is clarified, so as to be used to more accurately determine the autonomous access strategy in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0084] As an optional embodiment, in the above steps, the access policy includes an access selection protocol, an access selection port, a transit node parameter type, and a connection node mode.
[0085] It can be seen that through the above optional embodiments, the content of the access strategy is clarified, so as to determine the autonomous access strategy more accurately in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0086] As an optional embodiment, in the above steps, determining the autonomous access strategy corresponding to all Bluetooth devices according to the access risk and access strategy, and the signal strength information of the Bluetooth device includes:
[0087] For each Bluetooth device, calculating the priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and a preset device priority calculation rule;
[0088] Calculating a first risk weight proportional to the risk probability corresponding to the Bluetooth device;
[0089] Calculate the second risk weight corresponding to the predicted risk type corresponding to the Bluetooth device according to the preset correspondence between the type and the weight;
[0090] Calculate the product of the priority parameter, the first risk weight and the second risk weight to obtain the order parameter corresponding to the Bluetooth device;
[0091] All Bluetooth devices are sorted according to the sequence parameter to obtain a device sequence, and the access sequence of all Bluetooth devices is determined as the device sequence.
[0092] It can be seen that through the above optional embodiments, it is possible to determine the access risk and access order of Bluetooth devices based on Bluetooth signal strength information and weight sorting algorithm, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0093] As an optional embodiment, in the above step, calculating the priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and a preset device priority calculation rule includes:
[0094] Obtain multiple signal strength parameters of the Bluetooth device broadcasted by multiple BLE hosts through the bus of the target KNX system; optionally, the signal strength parameter is an average value of the signal strength of the Bluetooth device received by the BLE host in a historical time period;
[0095] Filter out the BLE host with the highest signal strength parameter as the access BLE host for the Bluetooth device to access the target KNX system;
[0096] The parameter average values of the plurality of signal strength parameters are calculated, and the priority parameter of the Bluetooth device corresponding to the parameter average value is calculated according to the correspondence between the preset parameter value and the device priority.
[0097] It can be seen that through the above optional embodiments, it is possible to determine the priority of Bluetooth devices and access host selection based on the received signal strength information of multiple BLE hosts, thereby assisting in achieving more sophisticated and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0098] Embodiment 2
[0099] See also Figure 2 , Figure 2 : is a schematic diagram of a KNX-based Bluetooth multi-master self-service access system disclosed in an embodiment of the present invention. Figure 2The described KNX-based Bluetooth multi-master self-service access system can be applied to a data processing system / data processing device / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 2 As shown, the KNX-based Bluetooth multi-master self-service access system may include:
[0100] The first acquisition module 201 is used to acquire multiple Bluetooth devices to be connected to the target KNX system.
[0101] The second acquisition module 202 is used to acquire the access record and post-access data transmission record of each Bluetooth device in a historical time period.
[0102] The first determination module 203 is used to determine the access risk and access strategy of each Bluetooth device based on the trained neural network algorithm, access records and post-access data transmission records.
[0103] The second determination module 204 is used to determine the autonomous access strategy corresponding to all Bluetooth devices according to the access risk and access strategy, and the signal strength information of the Bluetooth devices.
[0104] Optionally, the autonomous access policy is used to determine the firewall authentication method and access order of Bluetooth devices.
[0105] It can be seen that the above-mentioned embodiments of the invention can utilize the historical access records and data transmission records of Bluetooth devices to combine with neural networks to determine access risks and access strategies, and then comprehensively determine the autonomous access strategies of multiple devices, thereby achieving more refined and secure multi-Bluetooth access control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0106] As an optional embodiment, the access record includes access information at multiple historical time points; the access information includes access port, access time, access time point and access protocol mode.
[0107] It can be seen that through the above optional embodiments, the content of the access record is clarified, which can be used to more accurately predict the access risk and access strategy of the device in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0108] As an optional embodiment, the post-access data transmission record includes multiple data transmission records in a historical time period after multiple accesses to the target KNX system; the data transmission record includes the transmission data content, transmission data frequency, transmission data average speed, transmission average packet loss rate and data transmission object.
[0109] It can be seen that through the above optional embodiments, the content of the data transmission record after access is clarified, so as to be used to more accurately predict the access risk and access strategy of the device in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0110] As an optional embodiment, the first determination module determines the access risk and access strategy of each Bluetooth device based on the trained neural network algorithm, access records and post-access data transmission records, including:
[0111] Input the access record and data transmission record after access of each Bluetooth device into the trained risk prediction neural network model to obtain the predicted risk type and risk probability of each Bluetooth device; optionally, the risk prediction neural network model is trained by a training data set including multiple training access records and data transmission records and corresponding access risk type annotations;
[0112] Input the access record of each Bluetooth device into the trained mode type prediction neural network model to obtain the access mode type of each Bluetooth device; optionally, the mode type prediction neural network model is trained by a training data set including a plurality of training access records and corresponding mode type annotations; the access mode type is wired direct access, wireless direct access, wired-to-wireless access, wireless-to-wired access, wired-to-wired access, or wireless-to-wireless access;
[0113] According to the corresponding relationship between the preset access mode type and the access strategy, the access strategy of each Bluetooth device is determined according to the access mode type of each Bluetooth device.
[0114] It can be seen that through the above optional embodiments, the access risk and access strategy of each Bluetooth device can be accurately determined through the neural network model and the preset corresponding relationship, thereby assisting in achieving more sophisticated and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0115] As an optional embodiment, the predicted risk type includes at least one of a device backdoor risk, a device data Trojan risk, a device protocol vulnerability risk, and a device performance failure risk.
[0116] It can be seen that through the above optional embodiments, the content of the predicted risk type is clarified, so as to be used to more accurately determine the autonomous access strategy in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0117] As an optional embodiment, the access policy includes an access selection protocol, an access selection port, a transit node parameter type, and a connection node mode.
[0118] It can be seen that through the above optional embodiments, the content of the access strategy is clarified, so as to determine the autonomous access strategy more accurately in the future, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0119] As an optional embodiment, the second determination module determines the specific manner of the autonomous access strategy corresponding to all Bluetooth devices according to the access risk and access strategy, and the signal strength information of the Bluetooth device, including:
[0120] For each Bluetooth device, calculating the priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and a preset device priority calculation rule;
[0121] Calculating a first risk weight proportional to the risk probability corresponding to the Bluetooth device;
[0122] Calculate the second risk weight corresponding to the predicted risk type corresponding to the Bluetooth device according to the preset correspondence between the type and the weight;
[0123] Calculate the product of the priority parameter, the first risk weight and the second risk weight to obtain the order parameter corresponding to the Bluetooth device;
[0124] All Bluetooth devices are sorted according to the sequence parameter to obtain a device sequence, and the access sequence of all Bluetooth devices is determined as the device sequence.
[0125] It can be seen that through the above optional embodiments, it is possible to determine the access risk and access order of Bluetooth devices based on Bluetooth signal strength information and weight sorting algorithm, thereby assisting in achieving more refined and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0126] As an optional embodiment, the second determination module calculates the priority parameter of the Bluetooth device according to the signal strength information of the Bluetooth device and the preset device priority calculation rule, including:
[0127] Obtain multiple signal strength parameters of the Bluetooth device broadcasted by multiple BLE hosts through the bus of the target KNX system; optionally, the signal strength parameter is an average value of the signal strength of the Bluetooth device received by the BLE host in a historical time period;
[0128] Filter out the BLE host with the highest signal strength parameter as the access BLE host for the Bluetooth device to access the target KNX system;
[0129] The parameter average values of the plurality of signal strength parameters are calculated, and the priority parameter of the Bluetooth device corresponding to the parameter average value is calculated according to the correspondence between the preset parameter value and the device priority.
[0130] It can be seen that through the above optional embodiments, it is possible to determine the priority of Bluetooth devices and access host selection based on the received signal strength information of multiple BLE hosts, thereby assisting in achieving more sophisticated and secure multi-Bluetooth access management and control, improving the work efficiency and security of the KNX system, and reducing access accidents of Bluetooth devices.
[0131] Embodiment 3
[0132] See also Figure 3 , Figure 3 It is another KNX-based Bluetooth multi-master self-service access system disclosed in an embodiment of the present invention. Figure 3 The described KNX-based Bluetooth multi-master self-service access system is applied to a data processing system / data processing device / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 3 As shown, the KNX-based Bluetooth multi-master self-service access system may include:
[0133] A memory 301 storing executable program codes;
[0134] a processor 302 coupled to the memory 301;
[0135] The processor 302 calls the executable program code stored in the memory 301 to execute the steps of the KNX-based Bluetooth multi-master self-service access method described in the first embodiment.
[0136] Embodiment 4
[0137] The embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the KNX-based Bluetooth multi-master self-service access method described in the first embodiment.
[0138] Embodiment 5
[0139] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the KNX-based Bluetooth multi-master self-service access method described in the first embodiment.
[0140] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0141] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0142] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0143] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0144] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0145] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0147] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0148] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0149] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0150] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0151] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0152] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0153] Finally, it should be noted that the KNX-based Bluetooth multi-master self-service access method and system disclosed in the embodiment of the present invention discloses only the preferred embodiment of the present invention, which is 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 KNX-based Bluetooth multi-master self-service access method, characterized in that: The method comprises: Get multiple Bluetooth devices to be connected to the target KNX system; Obtaining access records and data transmission records after access of each of the Bluetooth devices in a historical time period; According to the trained neural network algorithm, based on the access record and the data transmission record after access, the access risk and access strategy of each Bluetooth device are determined, including: The access record and the data transmission record after access of each Bluetooth device are input into a trained risk prediction neural network model to obtain the predicted risk type and risk probability of each Bluetooth device; the risk prediction neural network model is trained by a training data set including a plurality of training access records and data transmission records and corresponding access risk type annotations; Inputting the access record of each Bluetooth device into a trained mode type prediction neural network model to obtain the access mode type of each Bluetooth device; the mode type prediction neural network model is trained by a training data set including a plurality of training access records and corresponding mode type annotations; the access mode type is wired direct access, wireless direct access, wired-to-wireless access, wireless-to-wired access, wired-to-wired access or wireless-to-wireless access; According to the correspondence between the preset access mode type and the access strategy, and according to the access mode type of each Bluetooth device, determining the access strategy of each Bluetooth device; Determining autonomous access strategies corresponding to all the Bluetooth devices according to the access risk and access strategy, and the signal strength information of the Bluetooth devices, including: For each of the Bluetooth devices, multiple signal strength parameters of the Bluetooth device broadcasted by multiple BLE hosts through the bus of the target KNX system are obtained; the signal strength parameter is an average value of the signal strength of the Bluetooth device received by the BLE host in a historical time period; Filter out the BLE host with the highest signal strength parameter as the access BLE host for the Bluetooth device to access the target KNX system; Calculating a parameter average value of the multiple signal strength parameters, and calculating a priority parameter of the Bluetooth device corresponding to the parameter average value according to a preset correspondence relationship between the parameter value and the device priority; Calculating a first risk weight proportional to the risk probability corresponding to the Bluetooth device; Calculate the second risk weight corresponding to the predicted risk type corresponding to the Bluetooth device according to the preset correspondence between the type and the weight; Calculate the priority parameter and the product of the first risk weight and the second risk weight to obtain an order parameter corresponding to the Bluetooth device; All the Bluetooth devices are sorted according to the sequence parameter to obtain a device sequence, and an access sequence of all the Bluetooth devices is determined as the device sequence.
2. The KNX-based Bluetooth multi-master self-service access method according to claim 1, characterized in that: The access record includes access information at multiple historical time points; the access information includes access port, access time, access time point and access protocol mode.
3. The KNX-based Bluetooth multi-master self-service access method according to claim 1, characterized in that: The post-access data transmission record includes multiple data transmission records in a historical time period after multiple accesses to the target KNX system; the data transmission record includes transmission data content, transmission data frequency, transmission data average speed, transmission average packet loss rate and data transmission object.
4. The KNX-based Bluetooth multi-master self-service access method according to claim 1, characterized in that: The predicted risk type includes at least one of a device backdoor risk, a device data Trojan risk, a device protocol vulnerability risk, and a device performance failure risk.
5. The KNX-based Bluetooth multi-master self-service access method according to claim 1, characterized in that: The access strategy includes access selection protocol, access selection port, transfer node parameter type and connection node mode.
6. A KNX-based Bluetooth multi-master self-service access system, characterized in that: The system comprises: The first acquisition module is used to acquire multiple Bluetooth devices to be connected to the target KNX system; A second acquisition module is used to acquire access records and data transmission records after access of each Bluetooth device in a historical time period; The first determination module is used to determine the access risk and access strategy of each Bluetooth device based on the access record and the data transmission record after access according to the trained neural network algorithm, including: The access record and the data transmission record after access of each Bluetooth device are input into a trained risk prediction neural network model to obtain the predicted risk type and risk probability of each Bluetooth device; the risk prediction neural network model is trained by a training data set including a plurality of training access records and data transmission records and corresponding access risk type annotations; Inputting the access record of each Bluetooth device into a trained mode type prediction neural network model to obtain the access mode type of each Bluetooth device; the mode type prediction neural network model is trained by a training data set including a plurality of training access records and corresponding mode type annotations; the access mode type is wired direct access, wireless direct access, wired-to-wireless access, wireless-to-wired access, wired-to-wired access or wireless-to-wireless access; According to the correspondence between the preset access mode type and the access strategy, and according to the access mode type of each Bluetooth device, determining the access strategy of each Bluetooth device; The second determination module is used to determine the autonomous access strategy corresponding to all the Bluetooth devices according to the access risk and the access strategy, and the signal strength information of the Bluetooth devices, including: For each of the Bluetooth devices, multiple signal strength parameters of the Bluetooth device broadcasted by multiple BLE hosts through the bus of the target KNX system are obtained; the signal strength parameter is an average value of the signal strength of the Bluetooth device received by the BLE host in a historical time period; Filter out the BLE host with the highest signal strength parameter as the access BLE host for the Bluetooth device to access the target KNX system; Calculating a parameter average value of the multiple signal strength parameters, and calculating a priority parameter of the Bluetooth device corresponding to the parameter average value according to a preset correspondence relationship between the parameter value and the device priority; Calculating a first risk weight proportional to the risk probability corresponding to the Bluetooth device; Calculate the second risk weight corresponding to the predicted risk type corresponding to the Bluetooth device according to the preset correspondence between the type and the weight; Calculate the priority parameter and the product of the first risk weight and the second risk weight to obtain an order parameter corresponding to the Bluetooth device; All the Bluetooth devices are sorted according to the sequence parameter to obtain a device sequence, and an access sequence of all the Bluetooth devices is determined as the device sequence.
7. A KNX-based Bluetooth multi-master self-service access system, 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 Bluetooth multi-master self-service access method according to any one of claims 1 to 5.
