Frequency band planning method, system, device and storage medium for intelligent multi-gateway
Through the intelligent frequency band planning method of Internet gateway, the frequency band interference problem between IoT devices is solved, communication efficiency is improved and power consumption is reduced, and multi-protocol communication is suitable for home environments.
Patent Information
- Application Number
- CN202411560956.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2044-11-04
AI Technical Summary
In an environment where high-density multiple IoT protocols coexist, the prior art cannot effectively solve the frequency band interference problem between different IoT devices, resulting in low communication efficiency and serious power consumption.
Channel scanning is carried out through the Internet gateway, global and local communication link quality indicators are obtained, and the frequency band range and communication time slots are allocated to realize the frequency band planning of intelligent multi-gateways, reducing inter-device interference and improving communication efficiency.
It effectively reduces frequency band interference between IoT devices, improves communication efficiency, reduces switching consumption of channel availability checks, reduces power consumption, and makes full use of wireless resources.
Smart Images

Figure CN119450487B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology for the Internet of Things, and more specifically, to a frequency band planning method, system, device, and storage medium for intelligent multi-gateway. Background Art
[0002] Many current IoT protocols utilize the 2.4 GHz frequency band for communication. Consequently, in real-world scenarios, multiple communications using the 2.4 GHz band can interfere with each other. Although many IoT protocols provide methods to mitigate interference, such as adaptive frequency hopping (AFH), power control, and channel selection, these interferences inevitably impact communication quality in complex environments where multiple protocols coexist in high density. This not only reduces user experience but also significantly increases power consumption in IoT devices. Summary of the Invention
[0003] To overcome the drawback of the prior art that different IoT devices interfere with each other within a preset frequency band, resulting in low communication efficiency, the present invention provides a frequency band planning method, system, device and storage medium for intelligent multi-gateway.
[0004] In order to solve the above technical problems, the technical solutions of the present invention are as follows:
[0005] The present invention provides a frequency band planning method for intelligent multi-gateway, comprising:
[0006] The Internet gateway performs channel scanning to obtain a global communication link quality indicator within a preset frequency band, and determines the current Internet of Things gateway to be connected based on the global communication link quality indicator;
[0007] Scan the channel of the IoT gateway to be connected, obtain the corresponding local communication link quality index, and report the local communication link quality index when accessing the Internet gateway;
[0008] Setting the capability value and service quality parameters of the current Internet of Things gateway; the Internet gateway allocates the frequency band range and communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameters of the Internet of Things gateway under the current Internet of Things protocol;
[0009] After the Internet gateway processes the access request of the current IoT gateway, the IoT gateway caches the information uploaded by the connected IoT device and uploads the information cached by the current IoT gateway when reconnecting to the Internet gateway;
[0010] The Internet gateway reallocates the next communication time and time slot to other Internet of Things gateways after completing the communication, and switches to other Internet of Things protocols to perform frequency band planning for other Internet of Things gateways after the current Internet of Things gateway is disconnected.
[0011] Preferably, the Internet gateway allocates a frequency band usage range and a communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameter of the Internet of Things gateway under the current Internet of Things protocol, including:
[0012] Get all available frequency bands and communication time slots, and initialize the allocated frequency band list and time slot list;
[0013] Calculate a comprehensive score based on the local communication link quality indicators, capability values, and service quality parameters of the IoT gateways under the current IoT protocol, sort the currently connected IoT gateways in descending order based on the comprehensive score, and generate a sorted list;
[0014] Allocate the frequency band range and communication time slot to the currently connected IoT gateway according to the sorted list.
[0015] Preferably, the comprehensive scoring formula is:
[0016] R i =w1Q i +w2C i +w3S i
[0017] Among them, w1 is the first weight; w2 is the second weight; w3 is the third weight; Q i is the local communication link quality indicator; C i is the ability value; S i is the service quality parameter.
[0018] Preferably, the Internet of Things protocol includes a first Internet of Things protocol and a second Internet of Things protocol.
[0019] Preferably, the Internet gateway includes an Internet access unit, a third cache unit, a first communication unit, and a second communication unit; the Internet access unit and the third cache unit are connected via a first Internet of Things protocol; the third cache unit and the first communication unit are connected via a first Internet of Things protocol; and the third cache unit and the second communication unit are connected via a second Internet of Things protocol.
[0020] Preferably, the Internet of Things gateway includes a first Internet of Things gateway and a second Internet of Things gateway; the Internet gateway is connected to the first Internet of Things gateway through a first Internet of Things protocol; the Internet gateway is connected to the second Internet of Things gateway through a second Internet of Things protocol; the first Internet of Things gateway includes a second cache unit and a third communication unit; the first communication unit is connected to the third communication unit through the first Internet of Things protocol; the second Internet of Things gateway includes a third cache unit and a fourth communication unit; the second communication unit is connected to the fourth communication unit through the second Internet of Things protocol.
[0021] Preferably, the first Internet of Things gateway is connected to several first Internet of Things devices through a first Internet of Things protocol; the first Internet of Things device includes a fifth communication unit; the third communication unit is connected to the fifth communication unit through the first Internet of Things protocol; the second Internet of Things gateway is connected to several second Internet of Things devices through a second Internet of Things protocol; the second Internet of Things protocol includes a sixth communication unit; the fourth communication unit is connected to the sixth communication unit through the second Internet of Things protocol.
[0022] The present invention also provides an intelligent multi-gateway frequency band planning system, comprising:
[0023] The first channel scanning module, the Internet gateway performs channel scanning to obtain a global communication link quality indicator within a preset frequency band, and determines the current Internet of Things gateway to be connected based on the global communication link quality indicator;
[0024] The second channel scanning module performs channel scanning on the IoT gateway to be connected, obtains the corresponding local communication link quality indicator, and reports the local communication link quality indicator when accessing the Internet gateway;
[0025] The frequency band allocation module sets the capability value and service quality parameters of the current Internet of Things gateway; the Internet gateway allocates the frequency band range and communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameters of the Internet of Things gateway under the current Internet of Things protocol;
[0026] An information caching module, which caches the information uploaded by the connected IoT device after the Internet gateway processes the access request of the current IoT gateway, and uploads the information cached by the current IoT gateway when reconnecting to the Internet gateway;
[0027] The frequency band planning module reallocates the next communication time and time slot to other IoT gateways after completing the communication, and switches to other IoT protocols to perform frequency band planning for other IoT gateways after the current IoT gateway is disconnected.
[0028] The present invention also provides an electronic device, comprising:
[0029] one or more processors;
[0030] a memory for storing one or more programs;
[0031] When the one or more programs are executed by the one or more processors, the processors are caused to implement the above method.
[0032] The present invention provides a computer-readable storage medium containing a computer program, on which the computer program is stored, and is characterized in that the program implements the above method when executed by one or more processors.
[0033] Compared with the prior art, the beneficial effects of the technical solution of the present invention are:
[0034] The present invention proposes a frequency band planning method, system, device and storage medium for intelligent multi-gateway, which aims to reduce mutual interference between communications using 2.4GHz channel resources among densely populated multiple IoT protocols; separate different IoT device groups from the frequency domain to reduce mutual interference and improve communication efficiency; IoT devices communicate within the planned frequency band, which can reduce the switching cost of channel availability checks and reduce power consumption; the entire system actually uses a wider frequency domain resources and fully utilizes wireless resources; all communications use wireless protocols, suitable for deployment in a home environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a flow chart of the frequency band planning method for the intelligent multi-gateway described in Example 1;
[0036] Figure 2 This is a structural diagram of the frequency band planning method for the intelligent multi-gateway described in Example 2;
[0037] Figure 3 This is a flow chart of the frequency band planning method for the intelligent multi-gateway described in Example 2;
[0038] Figure 4 This is a structural diagram of the frequency band planning method for the intelligent multi-gateway described in Example 2;
[0039] Figure 5 This is a structural diagram of the task scheduling system for multi-target motion perception described in Example 3. DETAILED DESCRIPTION
[0040] The accompanying drawings are for illustrative purposes only and are not to be construed as limiting this patent;
[0041] In order to better illustrate this embodiment, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product size;
[0042] It is understandable to those skilled in the art that some well-known structures and descriptions thereof may be omitted in the drawings.
[0043] The technical solution of the present invention is further described below with reference to the accompanying drawings and embodiments.
[0044] Example 1
[0045] This embodiment provides a frequency band planning method for intelligent multi-gateway, such as Figure 1 As shown, including:
[0046] The Internet gateway performs channel scanning to obtain a global communication link quality indicator within a preset frequency band, and determines the current Internet of Things gateway to be connected based on the global communication link quality indicator;
[0047] Scan the channel of the IoT gateway to be connected, obtain the corresponding local communication link quality index, and report the local communication link quality index when accessing the Internet gateway;
[0048] Setting the capability value and service quality parameters of the current Internet of Things gateway; the Internet gateway allocates the frequency band range and communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameters of the Internet of Things gateway under the current Internet of Things protocol;
[0049] After the Internet gateway processes the access request of the current IoT gateway, the IoT gateway caches the information uploaded by the connected IoT device and uploads the information cached by the current IoT gateway when reconnecting to the Internet gateway;
[0050] The Internet gateway reallocates the next communication time and time slot to other Internet of Things gateways after completing the communication, and switches to other Internet of Things protocols to perform frequency band planning for other Internet of Things gateways after the current Internet of Things gateway is disconnected.
[0051] This embodiment aims to reduce mutual interference between communications using 2.4GHz channel resources among a dense variety of IoT protocols; separate different IoT device groups from the frequency domain to reduce mutual interference and improve communication efficiency; IoT devices communicate within a planned frequency band, which can reduce switching costs for channel availability checks and reduce power consumption; the entire system actually uses a wider frequency domain resource and fully utilizes wireless resources; all communications use wireless protocols, making it suitable for deployment in a home environment.
[0052] Example 2
[0053] This embodiment provides a frequency band planning method for intelligent multi-gateway, including:
[0054] The Internet gateway performs channel scanning to obtain a global communication link quality indicator within a preset frequency band, and determines the current Internet of Things gateway to be connected based on the global communication link quality indicator;
[0055] Scan the channel of the IoT gateway to be connected, obtain the corresponding local communication link quality index, and report the local communication link quality index when accessing the Internet gateway;
[0056] Setting the capability value and service quality parameters of the current Internet of Things gateway; the Internet gateway allocates the frequency band range and communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameters of the Internet of Things gateway under the current Internet of Things protocol;
[0057] After the Internet gateway processes the access request of the current IoT gateway, the IoT gateway caches the information uploaded by the connected IoT device and uploads the information cached by the current IoT gateway when reconnecting to the Internet gateway;
[0058] The Internet gateway reallocates the next communication time and time slot to other Internet of Things gateways after completing the communication, and switches to other Internet of Things protocols to perform frequency band planning for other Internet of Things gateways after the current Internet of Things gateway is disconnected.
[0059] Preferably, the Internet gateway allocates a frequency band usage range and a communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameter of the Internet of Things gateway under the current Internet of Things protocol, including:
[0060] Get all available frequency bands and communication time slots, and initialize the allocated frequency band list and time slot list;
[0061] Calculate a comprehensive score based on the local communication link quality indicators, capability values, and service quality parameters of the IoT gateways under the current IoT protocol, sort the currently connected IoT gateways in descending order based on the comprehensive score, and generate a sorted list;
[0062] Allocate the frequency band range and communication time slot to the currently connected IoT gateway according to the sorted list.
[0063] The formula for the comprehensive score is:
[0064] R i =w1Q i +w2C i +w3S i
[0065] Among them, w1 is the first weight; w2 is the second weight; w3 is the third weight; Q i is the local communication link quality indicator; C i is the ability value; S i is the service quality parameter.
[0066] The Internet of Things protocol includes a first Internet of Things protocol and a second Internet of Things protocol.
[0067] like Figure 2As shown, the Internet gateway includes an Internet access unit, a third cache unit, a first communication unit, and a second communication unit; the Internet access unit and the third cache unit are connected via a first Internet of Things protocol; the third cache unit and the first communication unit are connected via a first Internet of Things protocol; and the third cache unit and the second communication unit are connected via a second Internet of Things protocol.
[0068] The Internet of Things gateway includes a first Internet of Things gateway and a second Internet of Things gateway; the Internet gateway is connected to the first Internet of Things gateway through a first Internet of Things protocol; the Internet gateway is connected to the second Internet of Things gateway through a second Internet of Things protocol; the first Internet of Things gateway includes a second cache unit and a third communication unit; the first communication unit is connected to the third communication unit through the first Internet of Things protocol; the second Internet of Things gateway includes a third cache unit and a fourth communication unit; the second communication unit is connected to the fourth communication unit through the second Internet of Things protocol.
[0069] The first Internet of Things gateway is connected to several first Internet of Things devices through a first Internet of Things protocol; the first Internet of Things device includes a fifth communication unit; the third communication unit is connected to the fifth communication unit through the first Internet of Things protocol; the second Internet of Things gateway is connected to several second Internet of Things devices through a second Internet of Things protocol; the second Internet of Things protocol includes a sixth communication unit; the fourth communication unit is connected to the sixth communication unit through the second Internet of Things protocol.
[0070] In a specific embodiment, Figure 3 As shown, S10: the Internet gateway performs channel scanning to obtain a global communication link quality indicator in the 2.4 GHz frequency band.
[0071] S11: The IoT gateway performs channel scanning to obtain local communication link quality indicators within the IoT gateway protocol.
[0072] S20: The IoT gateway reports the local communication link quality indicators, capability values, and service quality parameters obtained when accessing the Internet gateway.
[0073] S21: After the Internet gateway is connected to the Internet of Things gateway, the Internet gateway allocates a frequency band usage range and a communication time slot to the Internet of Things gateway based on the obtained local communication link quality indicators, capability values, and service quality parameters required by the Internet of Things gateway.
[0074] S30: After processing this access request, the Internet gateway device enters the waiting state or continues to process the access or information upload of other IoT gateways.
[0075] S31: The IoT gateway caches the information uploaded by the connected IoT device in the cache area.
[0076] S40: When the agreed communication time is about to arrive, the Internet gateway switches to the protocol mode corresponding to the Internet of Things gateway.
[0077] S41: The IoT gateway reconnects to the Internet gateway and uploads the cached information.
[0078] S50: The Internet gateway reallocates the next communication time and time slot to the IoT gateway.
[0079] S51: The IoT gateway disconnects and enters a loop, and the Internet gateway switches to other protocol modes to perform other tasks.
[0080] Multiple frequency bands can be allocated simultaneously. The following scheme only describes the process for allocating a single frequency band. This method designs a multi-protocol interference avoidance method for home use. The Internet gateway is also a multi-mode IoT gateway, supporting the switching and use of multiple IoT protocols. The IoT gateway is a single-mode gateway, supporting only one IoT protocol. After powering on, the Internet gateway scans the 2.4 GHz frequency band to obtain global communication link quality indicators. Before connecting to the Internet gateway, the IoT gateway performs a channel scan within the protocol and obtains local communication link quality indicators after processing. Upon connecting to the Internet gateway, the IoT gateway reports the communication link quality indicators, capability values, and required quality of service parameters. Based on the global communication link quality indicators, local communication link quality indicators, and the capability values and quality of service parameters reported by the IoT gateway, the Internet gateway assigns a frequency domain, a reconnection key, and agrees on the next communication time and duration. After completing the above process, the Internet gateway disconnects from the IoT gateway and switches to another protocol mode to perform other tasks. The IoT gateway receives information uploaded by connected IoT devices, processes it, and caches it. After the agreed time is reached, the Internet gateway switches to the corresponding IoT protocol mode and communicates with the agreed IoT gateway to receive the data cached by the IoT gateway.
[0081] In a specific embodiment, Figure 4 As shown, this embodiment includes a Zigbee smart home system, a mesh router network, and an Internet gateway.
[0082] After powering on, the internet gateway performs a scan to obtain information such as signal strength (RSSI), channel occupancy, interference source identification, and adjacent channel interference (ACI / CCI). During subsequent operation, it also collects information that requires communication, such as bit error rate, latency, and packet loss rate. This provides a table describing the global communication link quality.
[0083] After power-on, if the Internet gateway has no connected devices, it will switch the protocol mode. For example, in this embodiment, it will first switch to the Zigbee protocol mode, monitor the agreed default channel 11, and continuously monitor the Zigbee broadcast message for 500ms.
[0084] Upon detecting a message containing private fields from a ZigBee gateway, the authentication process begins. After authentication, the ZigBee gateway reports a table describing the local communication link quality, capability values, and required transmission rate. Capabilities primarily include supported channels, security, and data rates. The required transmission rate is calculated by the ZigBee gateway. The required transmission rate is typically determined by the amount of information to be uploaded and the bandwidth required for communication within the network.
[0085] After performing an algorithmic calculation, the internet gateway allocates a frequency band suitable for the ZigBee smart home system, such as the 2405MHz to 2415MHz band, from a global communication link quality description table. Based on the upload data volume (e.g., 5 KB) and minimum interval (e.g., 30 minutes) reported by the ZigBee gateway, the internet gateway assigns the gateway a 50ms time slot for information transmission after 200 seconds.
[0086] During this 200-second period, the internet gateway will switch to other protocol modes, such as the default WiFi protocol channel 3 in this example, to receive broadcast packets from the mesh router master. After confirming that the broadcast packet contains private fields, the authentication process begins. Following a similar process as described above, the internet gateway allocates the 2432MHz to 2462MHz frequency band to the mesh router for free use. Information transmission is permitted for up to 180 seconds after the 0.5-second interval. The mesh router, however, must buffer information during the communication interval.
[0087] After completing the above steps, subnets within the home can be divided by frequency domain to avoid mutual interference. This can effectively reduce power consumption for IoT devices, especially because the frequency bands within controllable scenarios are planned, which can reduce the communication link quality detection overhead, ensure communication quality, and reduce retransmissions. Furthermore, all wireless communication is used, making it easy to deploy and use in a home environment.
[0088] Example 3
[0089] This embodiment also provides a frequency band planning system for intelligent multi-gateway, such as Figure 5 As shown, including:
[0090] The first channel scanning module, the Internet gateway performs channel scanning to obtain a global communication link quality indicator within a preset frequency band, and determines the current Internet of Things gateway to be connected based on the global communication link quality indicator;
[0091] The second channel scanning module performs channel scanning on the IoT gateway to be connected, obtains the corresponding local communication link quality indicator, and reports the local communication link quality indicator when accessing the Internet gateway;
[0092] The frequency band allocation module sets the capability value and service quality parameters of the current Internet of Things gateway; the Internet gateway allocates the frequency band range and communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameters of the Internet of Things gateway under the current Internet of Things protocol;
[0093] An information caching module, which caches the information uploaded by the connected IoT device after the Internet gateway processes the access request of the current IoT gateway, and uploads the information cached by the current IoT gateway when reconnecting to the Internet gateway;
[0094] The frequency band planning module reallocates the next communication time and time slot to other IoT gateways after completing the communication, and switches to other IoT protocols to perform frequency band planning for other IoT gateways after the current IoT gateway is disconnected.
[0095] The present invention also provides an electronic device, comprising:
[0096] one or more processors;
[0097] a memory for storing one or more programs;
[0098] When the one or more programs are executed by the one or more processors, the processors are enabled to implement the method of the above-mentioned embodiment 1 or embodiment 2.
[0099] The present invention provides a computer-readable storage medium containing a computer program, on which a computer program is stored, characterized in that when the program is executed by one or more processors, the method of the above-mentioned embodiment 1 or embodiment 2 is implemented.
[0100] The same or similar reference numerals correspond to the same or similar components;
[0101] The terms used in the drawings to describe positional relationships are for illustrative purposes only and should not be construed as limiting this patent;
[0102] Obviously, the above embodiments of the present invention are merely examples for the purpose of clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Those skilled in the art will appreciate that other variations or modifications can be made based on the above description. It is not necessary and impossible to enumerate all embodiments here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the claims of the present invention.
Claims
1. A frequency band planning method for intelligent multi-gateway, characterized in that: include: The Internet gateway performs channel scanning to obtain a global communication link quality indicator within a preset frequency band, and determines the current Internet of Things gateway to be connected based on the global communication link quality indicator; Scan the channel of the IoT gateway to be connected, obtain the corresponding local communication link quality index, and report the local communication link quality index when accessing the Internet gateway; Set the capability value and service quality parameters of the current IoT gateway; The Internet gateway allocates a frequency band range and a communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameters of the Internet of Things gateway under the current Internet of Things protocol; include: Get all available frequency bands and communication time slots, and initialize the allocated frequency band list and time slot list; Calculate a comprehensive score based on the local communication link quality indicators, capability values, and service quality parameters of the IoT gateways under the current IoT protocol, sort the currently connected IoT gateways in descending order based on the comprehensive score, and generate a sorted list; Allocate the frequency band range and communication time slot to the currently connected IoT gateway according to the sorted list; The formula for the comprehensive score is: R i =w1Q i +w2C i +w3S i Among them, w1 is the first weight; w2 is the second weight; w3 is the third weight; Q i is the local communication link quality indicator; C i is the ability value; S i is the service quality parameter; After the Internet gateway processes the access request of the current IoT gateway, the IoT gateway caches the information uploaded by the connected IoT device and uploads the information cached by the current IoT gateway when reconnecting to the Internet gateway; The Internet gateway reallocates the next communication time and time slot to other Internet of Things gateways after completing the communication, and switches to other Internet of Things protocols to perform frequency band planning for other Internet of Things gateways after the current Internet of Things gateway is disconnected.
2. The frequency band planning method for intelligent multi-gateway according to claim 1, characterized in that: The Internet of Things protocol includes a first Internet of Things protocol and a second Internet of Things protocol.
3. The frequency band planning method for intelligent multi-gateway according to claim 2, characterized in that: The Internet gateway includes an Internet access unit, a third cache unit, a first communication unit, and a second communication unit; the Internet access unit and the third cache unit are connected via a first Internet of Things protocol; the third cache unit and the first communication unit are connected via a first Internet of Things protocol; and the third cache unit and the second communication unit are connected via a second Internet of Things protocol.
4. The frequency band planning method for intelligent multi-gateway according to claim 3, characterized in that: The Internet of Things gateway includes a first Internet of Things gateway and a second Internet of Things gateway; The Internet gateway is connected to the first Internet of Things gateway via a first Internet of Things protocol; The Internet gateway is connected to the second Internet of Things gateway via a second Internet of Things protocol; the first Internet of Things gateway includes a second cache unit and a third communication unit; the first communication unit is connected to the third communication unit via the first Internet of Things protocol; the second Internet of Things gateway includes a third cache unit and a fourth communication unit; the second communication unit is connected to the fourth communication unit via the second Internet of Things protocol.
5. The frequency band planning method for intelligent multi-gateway according to claim 4, characterized in that: The first Internet of Things gateway is connected to several first Internet of Things devices through a first Internet of Things protocol; the first Internet of Things device includes a fifth communication unit; the third communication unit is connected to the fifth communication unit through the first Internet of Things protocol; the second Internet of Things gateway is connected to several second Internet of Things devices through a second Internet of Things protocol; the second Internet of Things protocol includes a sixth communication unit; the fourth communication unit is connected to the sixth communication unit through the second Internet of Things protocol.
6. An intelligent multi-gateway frequency band planning system, characterized in that: include: The first channel scanning module, the Internet gateway performs channel scanning to obtain a global communication link quality indicator within a preset frequency band, and determines the current Internet of Things gateway to be connected based on the global communication link quality indicator; The second channel scanning module performs channel scanning on the IoT gateway to be connected, obtains the corresponding local communication link quality indicator, and reports the local communication link quality indicator when accessing the Internet gateway; Frequency band allocation module, which sets the capability value and service quality parameters of the current IoT gateway; The Internet gateway allocates a frequency band range and a communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameters of the Internet of Things gateway under the current Internet of Things protocol; The Internet gateway allocates a frequency band usage range and a communication time slot to the current Internet of Things gateway according to the local communication link quality index, capability value and service quality parameter of the Internet of Things gateway under the current Internet of Things protocol, including: Get all available frequency bands and communication time slots, and initialize the allocated frequency band list and time slot list; Calculate a comprehensive score based on the local communication link quality indicators, capability values, and service quality parameters of the IoT gateways under the current IoT protocol, sort the currently connected IoT gateways in descending order based on the comprehensive score, and generate a sorted list; Allocate the frequency band range and communication time slot to the currently connected IoT gateway according to the sorted list; The formula for the comprehensive score is: R i =w1Q i +w2C i +w3S i Among them, w1 is the first weight; w2 is the second weight; w3 is the third weight; Q i is the local communication link quality indicator; C i is the ability value; S i is the service quality parameter; An information caching module, which caches the information uploaded by the connected IoT device after the Internet gateway processes the access request of the current IoT gateway, and uploads the information cached by the current IoT gateway when reconnecting to the Internet gateway; The frequency band planning module reallocates the next communication time and time slot to other IoT gateways after completing the communication, and switches to other IoT protocols to perform frequency band planning for other IoT gateways after the current IoT gateway is disconnected.
7. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the processors are enabled to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium containing a computer program, wherein the computer program is stored thereon, characterized in that: When the program is executed by one or more processors, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Frequency allocation method for Internet of Things and access gateway of Internet of Things
CN102595608A
Gateway for supporting merging work of various kinds of radio frequency communication
CN103874241A