A flexible Internet of Things gateway control method and control system
By analyzing the communication protocol and access type of IoT devices to the Internet of Things gateway devices, determining the elastic defect gateway devices and formulating access control strategies, the problem of poor elasticity in the access management of IoT devices is solved, and the reliability and flexibility of communication processing are improved.
Patent Information
- Application Number
- CN202411901156.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-23
AI Technical Summary
In the prior art, when access management of IoT gateway devices, due to the differences in communication protocols of different devices, the elasticity of the Internet of Things becomes worse. How to improve the access elasticity of IoT devices has become a technical problem that needs to be solved urgently.
By obtaining access to IoT devices to IoT gateway devices in a specified area, using different communication protocols and access types to IoT devices, we determine elastic defect gateway devices and other gateway devices. Then, based on the communication data analysis of the elastic defect gateway device, the matching access gateway device of the device to be optimized is determined, and an elastic access control strategy is formulated.
It realizes comprehensive consideration of the complexity of access data of IoT devices, accurately screens out elastic defect gateway devices, improves the reliability and flexibility of communication processing, and avoids the problem of insufficient access reliability.
Smart Images

Figure CN119341915B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of Internet of Things, and in particular relates to a flexible Internet of Things gateway control method and control system. Background Art
[0002] In order to achieve access management of the Internet of Things, the existing technical solutions often manage the settings of the Internet of Things gateway devices in a unified manner. Specifically, in the invention patent application CN202410565898.0 "A communication method and system based on an Internet of Things gateway", the Internet of Things gateway is used to achieve device access, edge computing node settings and data connection relationship establishment, as well as data processing and transmission through edge computing nodes and cloud platforms, to achieve efficient, secure and scalable Internet of Things data processing and transmission, but there are the following technical problems:
[0003] When managing the access of IoT gateway devices, due to the differences in the communication protocols of different IoT devices, once the communication protocol of an IoT device accessed by an IoT gateway device is more complicated, it will inevitably lead to the deterioration of the elasticity of the IoT. Therefore, how to improve the access elasticity of IoT devices has become a technical problem that needs to be solved urgently.
[0004] In response to the above technical problems, the present invention provides a flexible Internet of Things gateway control method and control system. Summary of the invention
[0005] To achieve the purpose of the present invention, the present invention adopts the following technical solutions:
[0006] According to one aspect of the present invention, a flexible Internet of Things gateway control method is provided.
[0007] A flexible Internet of Things gateway control method, specifically comprising:
[0008] Obtain access IoT devices of IoT gateway devices in a specified area, and determine elasticity-deficient gateway devices and other gateway devices in the IoT gateway devices by using different communication protocols of the access IoT devices and access types of the access IoT devices;
[0009] Based on the access IoT device of the elastic defect gateway device, the deviation of the communication protocol between the access IoT device and other access IoT devices is determined, and the device to be optimized in the access IoT device is determined in combination with the access types of different access IoT devices;
[0010] Other gateway devices that have a communication protocol with the device to be optimized are selected as the selected devices, and the matching access gateway device of the device to be optimized is determined based on the access data of the IoT devices of different selected devices;
[0011] The elastic access control strategy of the device to be optimized is determined by utilizing the analysis results of the communication data of the matching access gateway device and the elastic defect gateway device.
[0012] A further technical solution is that the access Internet of Things device is determined according to the corresponding relationship between the Internet of Things device and the Internet of Things gateway device.
[0013] A further technical solution is that the access type to the Internet of Things device includes real-time communication, periodic communication and control communication.
[0014] A further technical solution is that the control communication is to control the accessed Internet of Things device to send communication data when the accessed Internet of Things device receives a control signal.
[0015] A further technical solution is that the method for determining the elastic access control strategy of the device to be optimized is:
[0016] The data volume of the communication data of the elastic defect gateway device is determined based on the analysis result of the communication data of the elastic defect gateway device. When the data volume of the communication data of the elastic defect gateway device is not greater than the preset data volume, it is not necessary to perform elastic access control on the device to be optimized.
[0017] When the amount of communication data of the elastic defect gateway device is greater than the preset amount of data:
[0018] Whether elastic access control needs to be performed on the device to be optimized is determined based on the data volume of the communication data of the matching access gateway device and the data volume of the communication data of the elastic defective gateway device.
[0019] A further technical solution is to determine whether elastic access control is required for the device to be optimized based on the data volume of the communication data of the matching access gateway device and the data volume of the communication data of the elastic defective gateway device, specifically including:
[0020] When the amount of communication data of the matching access gateway device is less than the amount of communication data of the elastic defect gateway device, it is determined that elastic access control needs to be performed on the device to be optimized, and the device to be optimized is switched to the matching access gateway device.
[0021] In a second aspect, the present invention provides a flexible Internet of Things gateway control system, which adopts the above-mentioned flexible Internet of Things gateway control method, specifically comprising:
[0022] Gateway device classification module, optimized device determination module, matching gateway screening module, access control module;
[0023] The gateway device classification module is responsible for obtaining the access IoT devices of the IoT gateway devices in the specified area, and determining the elastic defect gateway devices and other gateway devices in the IoT gateway devices by using different communication protocols of the access IoT devices and access types of the access IoT devices;
[0024] The optimization device determination module is responsible for determining the deviation of the communication protocol between the access IoT device and other access IoT devices based on the access IoT device of the elastic defect gateway device, and determining the device to be optimized in the access IoT device in combination with the access types of different access IoT devices;
[0025] The matching gateway screening module is responsible for selecting other gateway devices that have a communication protocol with the device to be optimized as candidate devices, and determining a matching access gateway device for the device to be optimized based on the access data of the IoT devices of different candidate devices;
[0026] The access control module is responsible for determining the elastic access control strategy of the device to be optimized by utilizing the analysis results of the communication data of the matching access gateway device and the elastic defect gateway device.
[0027] The beneficial effects of the present invention are:
[0028] By utilizing different communication protocols for accessing IoT devices and access types of accessing IoT devices, elastic defect gateway devices among IoT gateway devices are determined, thereby realizing the difference in difficulty of parsing and processing the communication protocols for accessing IoT devices caused by the number of accessing IoT devices and the deviation of the communication protocols for accessing IoT devices. At the same time, by further combining the access types of accessing IoT devices, a comprehensive consideration of the complexity of the access data of IoT devices is achieved, thereby achieving accurate screening of elastic defect gateway devices.
[0029] By utilizing the analysis results of the communication data of the matching access gateway device and the elastic defect gateway device, the elastic access control strategy of the device to be optimized is determined, thereby avoiding the technical problem of insufficient access reliability caused by the large amount of communication data of the elastic defect gateway device. By matching the settings of the access gateway device, elastic access control of the gateway device of the device to be optimized is achieved, thereby improving the reliability and flexibility of communication processing.
[0030] Other features and advantages will be described in the following description. The objects and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and drawings.
[0031] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0033] Figure 1 is a flow chart of a method for controlling a flexible IoT gateway;
[0034] Figure 2 is a flow chart of a method for determining a resiliency defective gateway device in an Internet of Things gateway device;
[0035] Figure 3 It is a flow chart of a method for determining a device to be optimized among devices connected to the Internet of Things;
[0036] Figure 4 It is a flow chart of a method for determining an access optimization solution for a device to be optimized;
[0037] Figure 5 It is a framework diagram of a flexible Internet of Things gateway control system. DETAILED DESCRIPTION
[0038] When managing the access of IoT gateway devices, if the communication protocol of an IoT device connected to an IoT gateway device is relatively complex, it will inevitably lead to poor elasticity of the IoT.
[0039] Elastic defect gateway device: It is determined based on the number of devices connected to the Internet of Things. Specifically, the Internet of Things gateway devices with a number of devices greater than the preset number are used as elastic defect gateway devices.
[0040] Devices to be optimized: The communication protocol with the connected IoT devices is regarded as the protocol deviation device. The device deviation coefficient of the connected IoT devices is determined by the proportion of the number of protocol deviation devices in the connected IoT devices of the elastic defect gateway device. The connected IoT devices with a device deviation coefficient greater than 0.6 are regarded as devices to be optimized.
[0041] Matching access gateway devices: A candidate device whose access number of IoT devices is less than a preset access number is used as a matching access gateway device for the device to be optimized.
[0042] The elastic access control strategy of the device to be optimized: the data volume of the communication data of the elastic defective gateway device is determined based on the analysis result of the communication data of the elastic defective gateway device. When the data volume of the communication data of the elastic defective gateway device is not greater than the preset data volume, it is not necessary to perform elastic access control on the device to be optimized;
[0043] When the amount of communication data of the elastic defect gateway device is greater than the preset amount of data:
[0044] Whether elastic access control needs to be performed on the device to be optimized is determined based on the data volume of the communication data of the matching access gateway device and the data volume of the communication data of the elastic defective gateway device.
[0045] Embodiment 1 To solve the above-mentioned problem, according to one aspect of the present invention, Figure 1 As shown, a flexible Internet of Things gateway control method is provided, which specifically includes:
[0046] Obtain access IoT devices of IoT gateway devices in a specified area, and determine elasticity-deficient gateway devices and other gateway devices in the IoT gateway devices by using different communication protocols of the access IoT devices and access types of the access IoT devices;
[0047] Based on the access IoT device of the elastic defect gateway device, the deviation of the communication protocol between the access IoT device and other access IoT devices is determined, and the device to be optimized in the access IoT device is determined in combination with the access types of different access IoT devices;
[0048] Other gateway devices that have a communication protocol with the device to be optimized are selected as the selected devices, and the matching access gateway device of the device to be optimized is determined based on the access data of the IoT devices of different selected devices;
[0049] The elastic access control strategy of the device to be optimized is determined by utilizing the analysis results of the communication data of the matching access gateway device and the elastic defect gateway device.
[0050] Furthermore, the access IoT device is determined based on the corresponding relationship between the IoT device and the IoT gateway device.
[0051] Specifically, the access type of the IoT device includes real-time communication, periodic communication and control communication.
[0052] It should be noted that the control communication is to control the accessed IoT device to send communication data when the accessed IoT device receives a control signal.
[0053] Optional, such as Figure 2 As shown, the method for determining the elastic defective gateway device in the Internet of Things gateway device is:
[0054] Based on the analysis result of the communication protocol of the access IoT devices, the access IoT devices using the same communication protocol are divided into different device groups;
[0055] Based on different access types of the access IoT devices, determine the access IoT devices of different access types in different device groups;
[0056] The data processing complexity coefficients of different device groups are determined by using access Internet of Things devices of different access types, and whether the Internet of Things gateway device is an elastic defect gateway device is determined according to the data processing complexity coefficients of different device groups.
[0057] Furthermore, the data processing complexity coefficient of the device group is determined according to the weight sum of preset complexity coefficients corresponding to the access Internet of Things devices of different access types of the device group.
[0058] It should also be noted that determining whether the IoT gateway device is an elastic defect gateway device according to the data processing complexity coefficient of different device groups specifically includes:
[0059] The complex processing device groups in the device group are determined by using data processing complexity coefficients of different device groups, and whether the Internet of Things gateway device is an elastic defect gateway device is determined according to the number of complex processing device groups.
[0060] Optionally, the method for determining the elasticity-deficient gateway device in the Internet of Things gateway device is:
[0061] Based on the analysis results of the communication protocols of the access IoT devices, the access IoT devices using the same communication protocol are divided into different device groups, and the device groups are screened and determined according to the number of access IoT devices in different device groups;
[0062] Determine the elasticity-deficient gateway device in the Internet of Things gateway device according to the number of the screened device groups.
[0063] Optionally, the method for determining the elasticity-deficient gateway device in the Internet of Things gateway device is:
[0064] S11 determines the number of access IoT devices of different access types in the IoT gateway device using access IoT devices of different access types, and determines the basic processing complexity coefficient of the IoT gateway device according to the number of access IoT devices of different access types;
[0065] Optionally, the above step S11 includes the following contents:
[0066] S111 determines the number of access IoT devices of different access types in the IoT gateway device using access IoT devices of different access types. When the number of access IoT devices in the IoT gateway device is greater than the preset number of IoT devices, the IoT gateway device is determined to be an elastic defect gateway device. When the number of access IoT devices in the IoT gateway device is not greater than the preset number of IoT devices, the process proceeds to step S112.
[0067] S112: When the number of connected IoT devices is within the preset IoT device number range, the process proceeds to step S113; when the number of connected IoT devices is not within the preset IoT device number range, the process proceeds to step S114;
[0068] S113 obtains the number of access IoT devices of different access types. When the number of access IoT devices of the preset access type does not meet the requirement, the IoT gateway device is determined to be an elastic defect gateway device. When the number of access IoT devices of the preset access type meets the requirement, the process proceeds to step S114.
[0069] S114 determines the basic processing complexity coefficient of the Internet of Things gateway device according to the number of accessed Internet of Things devices of different access types. When the basic processing complexity coefficient of the Internet of Things gateway device does not meet the requirements, the Internet of Things gateway device is determined to be an elastic defect gateway device. When the basic processing complexity coefficient of the Internet of Things gateway device does not meet the requirements, proceed to step S12.
[0070] S12, based on the analysis result of the communication protocol of the access IoT device, divides the access IoT devices using the same communication protocol into different device groups, and determines the data processing complexity coefficients of different device groups according to the number of access IoT devices in different device groups and the access types of different access IoT devices;
[0071] Optionally, the above step S12 includes the following contents:
[0072] S121 divides the access IoT devices using the same communication protocol into different device groups based on the analysis result of the communication protocol of the access IoT devices. When the number of device groups is greater than the preset number of groups, the process proceeds to step S122. When the number of device groups is not greater than the preset number of groups, it is determined that the IoT gateway device does not belong to the elastic defect gateway device.
[0073] S122 determines the data processing complexity coefficients of different device groups according to the number of connected IoT devices in different device groups and the access types of different connected IoT devices. When there is a device group whose data processing complexity coefficient does not meet the requirements, the process proceeds to step S123. When there is no device group whose data processing complexity coefficient does not meet the requirements, the process proceeds to step S13.
[0074] S123: The device group whose data processing complexity coefficient does not meet the requirement is regarded as a complex device group. When the number of complex device groups does not meet the requirement, it is determined that the IoT gateway device belongs to an elastic defective gateway device. When the number of complex device groups meets the requirement, the process proceeds to step S124.
[0075] S124 determines the group complexity coefficient based on the data processing complexity coefficient of the complex device group. When the group complexity coefficient does not meet the requirements, it is determined that the Internet of Things gateway device is an elastic defect gateway device. When the group complexity coefficient meets the requirements, it proceeds to step S13.
[0076] S13 determines the comprehensive complexity coefficient of the Internet of Things gateway device according to the data processing complexity coefficients and basic processing complexity coefficients of different device groups, and uses the comprehensive complexity coefficient to determine whether the Internet of Things gateway device is an elastic defect gateway device.
[0077] Furthermore, the other gateway devices are Internet of Things gateway devices excluding the elasticity-deficient gateway device.
[0078] Specifically, Figure 3 As shown, the method for determining the device to be optimized in the connected IoT device is:
[0079] Based on the deviation of the communication protocol between the access IoT device and other access IoT devices, determine the access IoT device that has a deviation in the communication protocol with the access IoT device, and use it as a protocol deviation device;
[0080] Determine a preset complexity coefficient corresponding to the access Internet of Things device according to the access type of the access Internet of Things device;
[0081] Determine whether the connected Internet of Things device is a device to be optimized based on the preset complexity coefficient and the number of protocol deviation devices.
[0082] It should be noted that determining whether the IoT device connected is a device to be optimized according to the preset complexity coefficient and the number of devices with protocol deviation specifically includes:
[0083] Determine the protocol deviation coefficient according to the number of the protocol deviation devices, and determine the optimization demand coefficient of the access Internet of Things device according to the protocol deviation coefficient and the weight of the preset complexity coefficient;
[0084] Determine whether the connected Internet of Things device is a device to be optimized according to the optimization demand coefficient.
[0085] It can be understood that when the optimization demand coefficient of the connected Internet of Things device is within a preset coefficient range, it is determined that the connected Internet of Things device does not belong to the device to be optimized.
[0086] Optionally, the method for determining the device to be optimized in the connected IoT device is:
[0087] Based on the deviation of the communication protocol between the access IoT device and other access IoT devices, determine the access IoT device that has a deviation in the communication protocol with the access IoT device, and use it as a protocol deviation device;
[0088] Determine the deviation complexity coefficient by the weight of the preset complexity coefficient corresponding to the protocol deviation device;
[0089] Determine whether the connected Internet of Things device is a device to be optimized according to the deviation complexity coefficient.
[0090] Optionally, the method for determining the device to be optimized in the connected IoT device is:
[0091] Optionally, before entering step S21, the following contents are also included:
[0092] When it is determined based on the communication protocol of the access Internet of Things device that there is no access Internet of Things device with a consistent communication protocol, it is determined that the access Internet of Things device belongs to the device to be optimized. When there is an access Internet of Things device with a consistent communication protocol, the process proceeds to step S22.
[0093] S21 divides the connected IoT devices into different device groups according to differences in communication protocols, and determines data processing complexity coefficients of different device groups by using the number of connected IoT devices in different device groups and different access types of the connected IoT devices;
[0094] S22 determines the deviation of the data processing complexity coefficient of the device group corresponding to the connected IoT device from the data processing complexity coefficient of other device groups based on the data processing complexity coefficient, and uses it as the deviation coefficient;
[0095] S23 determines the optimization requirement coefficient of the IoT device according to the deviation coefficient with other device groups, and uses the optimization requirement coefficient to determine whether the IoT device is a device to be optimized.
[0096] Specifically, Figure 4 As shown, the method for determining the access optimization solution of the device to be optimized is:
[0097] Using the access data of the IoT devices of different selected devices, determine an IoT device with the same communication protocol as the device to be optimized among the different selected devices, and use it as a matching IoT device;
[0098] The device matching coefficients between different candidate devices and the device to be optimized are determined according to the proportion of access quantity in the matching IoT devices in different candidate devices, and the matching access gateway device of the device to be optimized is determined using the device matching coefficients.
[0099] Further, determining a matching access gateway device for the device to be optimized by using the device matching coefficient specifically includes:
[0100] The candidate device with the largest device matching coefficient is used as the matching access gateway device of the device to be optimized.
[0101] Optionally, the method for determining the matching access gateway device of the device to be optimized is:
[0102] Determine the number of IoT devices in the selected devices by using the access data of IoT devices of different selected devices, and when the number of IoT devices in the selected devices is greater than a preset device number threshold: determine that the selected device does not belong to a matching access gateway device;
[0103] When the number of IoT devices in the selected devices is not greater than the preset device number threshold:
[0104] Determine the device processing complexity coefficient of the device to be selected based on the number of IoT devices in the device to be selected and the access types of different IoT devices. When the device processing complexity coefficient of the device to be selected does not meet the requirement, determine that the device to be selected does not belong to the matching access gateway device.
[0105] When the equipment processing complexity coefficient of the candidate equipment meets the requirements:
[0106] Determine an IoT device with the same communication protocol as the device to be optimized among different devices to be selected, and use it as a matching IoT device;
[0107] When the number of matching IoT devices in the selected devices is less than the preset number of matching devices:
[0108] It is determined that the device to be selected does not belong to the matching access gateway device;
[0109] When the number of matching IoT devices in the selected devices is not less than the preset number of matching devices:
[0110] Determine the device matching coefficients of different candidate devices and the device to be optimized according to the proportion of access quantity of matching IoT devices in different candidate devices, and when the device matching coefficient is less than the preset matching coefficient, determine that the candidate device does not belong to the matching access gateway device;
[0111] When the device matching coefficient is not less than the preset matching coefficient:
[0112] The device matching coefficient and the device processing complexity coefficient are used to determine a comprehensive matching coefficient, and the matching access gateway device of the device to be optimized is determined according to the comprehensive matching coefficient.
[0113] Specifically, the method for determining the elastic access control strategy of the device to be optimized is:
[0114] The data volume of the communication data of the elastic defect gateway device is determined based on the analysis result of the communication data of the elastic defect gateway device. When the data volume of the communication data of the elastic defect gateway device is not greater than the preset data volume, it is not necessary to perform elastic access control on the device to be optimized.
[0115] When the amount of communication data of the elastic defect gateway device is greater than the preset amount of data:
[0116] Whether elastic access control needs to be performed on the device to be optimized is determined based on the data volume of the communication data of the matching access gateway device and the data volume of the communication data of the elastic defective gateway device.
[0117] Further, determining whether elastic access control is required for the device to be optimized based on the data volume of the communication data of the matching access gateway device and the data volume of the communication data of the elastic defective gateway device specifically includes:
[0118] When the amount of communication data of the matching access gateway device is less than the amount of communication data of the elastic defect gateway device, it is determined that elastic access control needs to be performed on the device to be optimized, and the device to be optimized is switched to the matching access gateway device.
[0119] Optionally, the above step S21 includes the following contents:
[0120] S211 divides the connected IoT devices into different device groups according to the difference in communication protocols. When the proportion of the number of connected IoT devices in the device group corresponding to the connected IoT device is greater than the preset proportion, it is determined that the connected IoT device does not belong to the device to be optimized. When the proportion of the number of connected IoT devices in the device group corresponding to the connected IoT device is not greater than the preset proportion, the process proceeds to step S212.
[0121] S212: the device group corresponding to the connected IoT device is used as the matching device group. When the number ratio of the matching device group is within the preset number ratio interval, the process proceeds to step S213. When the number ratio of the matching device group is not within the preset number ratio interval, the process proceeds to step S214.
[0122] S213: When there is no device group with a larger proportion than the matching device group, it is determined that the connected IoT device does not belong to the device to be optimized; when there is a device group with a larger proportion than the matching device group, the process proceeds to step S214;
[0123] S214 determines the data processing complexity coefficients of different device groups by using the number of connected IoT devices in different device groups and the access types of different connected IoT devices. When the data processing complexity coefficient of the matching device group is the largest, it is determined that the connected IoT device does not belong to the device to be optimized. When the data processing complexity coefficient of the matching device group is not the largest, proceed to step S22.
[0124] Optionally, the above step S22 includes the following contents:
[0125] S221 determines the deviation of the data processing complexity coefficients of the device group corresponding to the connected IoT device from the data processing complexity coefficients of other device groups based on the data processing complexity coefficients, and uses it as the deviation coefficient. When the deviation coefficients of the device group corresponding to the connected IoT device are all greater than the preset deviation coefficients, the process proceeds to step S222. When the deviation coefficients of the device group corresponding to the connected IoT device are not all greater than the preset deviation coefficients, the process proceeds to step S23.
[0126] S222: When the data processing complexity coefficient of the matching device group is less than the preset processing complexity coefficient threshold, it is determined that the connected IoT device belongs to the device to be optimized; when the data processing complexity coefficient of the matching device group is not less than the preset processing complexity coefficient threshold, proceed to step S23.
[0127] Embodiment 2 In the second aspect, as Figure 5 As shown, the present invention provides a flexible Internet of Things gateway control system, which adopts the above-mentioned flexible Internet of Things gateway control method, specifically including:
[0128] Gateway device classification module, optimized device determination module, matching gateway screening module, access control module;
[0129] The gateway device classification module is responsible for obtaining the access IoT devices of the IoT gateway devices in the specified area, and determining the elastic defect gateway devices and other gateway devices in the IoT gateway devices by using different communication protocols of the access IoT devices and access types of the access IoT devices;
[0130] The optimization device determination module is responsible for determining the deviation of the communication protocol between the access IoT device and other access IoT devices based on the access IoT device of the elastic defect gateway device, and determining the device to be optimized in the access IoT device in combination with the access types of different access IoT devices;
[0131] The matching gateway screening module is responsible for selecting other gateway devices that have a communication protocol with the device to be optimized as candidate devices, and determining a matching access gateway device for the device to be optimized based on the access data of the IoT devices of different candidate devices;
[0132] The access control module is responsible for determining the elastic access control strategy of the device to be optimized by utilizing the analysis results of the communication data of the matching access gateway device and the elastic defect gateway device.
[0133] 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 device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0134] The above is a description of a specific embodiment of the specification. 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 drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0135] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims
1. A flexible Internet of Things gateway control method, characterized in that: Specifically include: Obtain access IoT devices of IoT gateway devices in a specified area, and determine elasticity-deficient gateway devices and other gateway devices in the IoT gateway devices by using different communication protocols of the access IoT devices and access types of the access IoT devices; Based on the access IoT device of the elastic defect gateway device, the deviation of the communication protocol between the access IoT device and other access IoT devices is determined, and the device to be optimized in the access IoT device is determined in combination with the access types of different access IoT devices; Other gateway devices that have a communication protocol with the device to be optimized are selected as the selected devices, and the matching access gateway device of the device to be optimized is determined based on the access data of the IoT devices of different selected devices; Determine the elastic access control strategy of the device to be optimized by using the analysis results of the communication data of the matching access gateway device and the elastic defect gateway device; The method for determining the device to be optimized in the connected IoT device is: Based on the deviation of the communication protocol between the access IoT device and other access IoT devices, determine the access IoT device that has a deviation in the communication protocol with the access IoT device, and use it as a protocol deviation device; Determine a preset complexity coefficient corresponding to the access Internet of Things device according to the access type of the access Internet of Things device; Determine whether the connected IoT device is a device to be optimized according to the preset complexity coefficient and the number of devices with protocol deviation; The method for determining the elastic access control strategy of the device to be optimized is: The data volume of the communication data of the elastic defect gateway device is determined based on the analysis result of the communication data of the elastic defect gateway device. When the data volume of the communication data of the elastic defect gateway device is not greater than the preset data volume, it is not necessary to perform elastic access control on the device to be optimized. When the amount of communication data of the elastic defect gateway device is greater than the preset amount of data: Whether elastic access control needs to be performed on the device to be optimized is determined based on the data volume of the communication data of the matching access gateway device and the data volume of the communication data of the elastic defective gateway device.
2. The elastic Internet of Things gateway control method according to claim 1, characterized in that: The access Internet of Things device is determined according to the corresponding relationship between the Internet of Things device and the Internet of Things gateway device.
3. The elastic Internet of Things gateway control method according to claim 1, characterized in that: The access types of the IoT devices include real-time communication, periodic communication and control communication.
4. The elastic Internet of Things gateway control method according to claim 3, characterized in that: The control communication is to control the accessed Internet of Things device to send communication data when the accessed Internet of Things device receives a control signal.
5. The elastic Internet of Things gateway control method according to claim 1, characterized in that: The method for determining the elasticity defective gateway device in the Internet of Things gateway device is: Based on the analysis result of the communication protocol of the access IoT devices, the access IoT devices using the same communication protocol are divided into different device groups; Based on different access types of the access IoT devices, determine the access IoT devices of different access types in different device groups; The data processing complexity coefficients of different device groups are determined by using access Internet of Things devices of different access types, and whether the Internet of Things gateway device is an elastic defect gateway device is determined according to the data processing complexity coefficients of different device groups.
6. The elastic Internet of Things gateway control method according to claim 5, characterized in that: Determining whether the IoT gateway device is an elastic defect gateway device according to the data processing complexity coefficients of different device groups specifically includes: The complex processing device groups in the device group are determined by using data processing complexity coefficients of different device groups, and whether the Internet of Things gateway device is an elastic defect gateway device is determined according to the number of complex processing device groups.
7. The elastic Internet of Things gateway control method according to claim 1, characterized in that: The other gateway devices are Internet of Things gateway devices excluding the elasticity-deficient gateway devices.
8. The elastic Internet of Things gateway control method according to claim 1, characterized in that: Determining whether elastic access control needs to be performed on the device to be optimized based on the data volume of the communication data of the matching access gateway device and the data volume of the communication data of the elastic defective gateway device specifically includes: When the amount of communication data of the matching access gateway device is less than the amount of communication data of the elastic defect gateway device, it is determined that elastic access control needs to be performed on the device to be optimized, and the device to be optimized is switched to the matching access gateway device.
9. A flexible Internet of Things gateway control system, using a flexible Internet of Things gateway control method according to any one of claims 1 to 8, characterized in that: Specifically include: Gateway device classification module, optimized device determination module, matching gateway screening module, access control module; The gateway device classification module is responsible for obtaining the access IoT devices of the IoT gateway devices in the specified area, and determining the elastic defect gateway devices and other gateway devices in the IoT gateway devices by using different communication protocols of the access IoT devices and access types of the access IoT devices; The optimization device determination module is responsible for determining the deviation of the communication protocol between the access IoT device and other access IoT devices based on the access IoT device of the elastic defect gateway device, and determining the device to be optimized in the access IoT device in combination with the access types of different access IoT devices; The matching gateway screening module is responsible for selecting other gateway devices that have a communication protocol with the device to be optimized as candidate devices, and determining a matching access gateway device for the device to be optimized based on the access data of the IoT devices of different candidate devices; The access control module is responsible for determining the elastic access control strategy of the device to be optimized by utilizing the analysis results of the communication data of the matching access gateway device and the elastic defect gateway device.
Citation Information
Patent Citations
A communication method and system based on Internet of Things gateway
CN118158218B