CN112822735B - Gateway switching management method, device, equipment and storage medium based on Internet of things - Google Patents
Gateway switching management method, device, equipment and storage medium based on Internet of things Download PDFInfo
- Publication number
- CN112822735B CN112822735B CN202011639742.0A CN202011639742A CN112822735B CN 112822735 B CN112822735 B CN 112822735B CN 202011639742 A CN202011639742 A CN 202011639742A CN 112822735 B CN112822735 B CN 112822735B
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- gateway
- terminal
- load
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
- H04W36/0085—Hand-off measurements
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/12—Reselecting a serving backbone network switching or routing node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/22—Performing reselection for specific purposes for handling the traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the application discloses a gateway switching management method, device, equipment and storage medium based on the Internet of things. The technical scheme that this application embodiment provided collects through the current information load volume to each thing networking gateway, when the current information load volume of thing networking gateway exceeded the load volume threshold value of settlement, according to the signal strength information that each thing of thing networking gateway current connection allies oneself with the terminal and other thing networking gateways that detect correspond, confirm the thing networking gateway that can supply each thing to ally oneself with the terminal switching, and confirm the receivable load volume of these thing networking gateways, confirm the thing that needs to carry out the gateway switching according to the receivable load volume allies oneself with the terminal and the thing networking gateway that corresponds, and inform corresponding thing and ally oneself with the terminal switching to the thing networking gateway that corresponds, in distributing the thing networking gateway that has data transmission residual power with thing networking equipment, promote the data transmission quality to thing networking equipment.
Description
Technical Field
The embodiment of the application relates to the technical field of the Internet of things, in particular to a gateway switching management method, device, equipment and storage medium based on the Internet of things.
Background
With the rapid development of the internet of things, a large number of internet of things devices appear in daily life. The internet of things equipment serving as a node in the internet of things network is generally connected with the internet of things gateway through a wireless channel provided by the internet of things gateway, is accessed into the internet of things network through the internet of things gateway, and is communicated with the cloud server through the internet of things gateway. Due to the increase of the internet of things equipment, the data volume needing to be borne by the internet of things gateway is more and more, and when the bearing capacity of the internet of things gateway is exceeded, the data transmission quality of the internet of things equipment is difficult to guarantee.
Disclosure of Invention
The embodiment of the application provides a gateway switching management method, device, equipment and storage medium based on the Internet of things, so as to improve the data transmission quality of the equipment of the Internet of things.
In a first aspect, an embodiment of the present application provides a gateway handover management method based on the internet of things, including:
acquiring the current information load capacity of each Internet of things gateway, and comparing the current information load capacity with a set load capacity threshold;
based on the internet of things gateway with the current information load exceeding the load threshold, informing the internet of things gateway to initiate a signal detection request to each connected internet of things terminal so that each internet of things terminal determines signal intensity information corresponding to the detected internet of things gateway and returns corresponding signal detection information based on the signal intensity information;
determining the Internet of things gateways for switching of the Internet of things terminals according to the signal detection information, and determining corresponding receivable load amounts based on current information load amounts corresponding to the Internet of things gateways;
according to the receivable load amount corresponding to each Internet of things gateway, the Internet of things terminal and the corresponding Internet of things gateway which need to be switched are determined, and the Internet of things terminal is informed to be switched to the corresponding Internet of things gateway.
Further, the notifying, based on the internet of things gateway whose current information load amount exceeds the load amount threshold, that the internet of things gateway initiates a signal detection request to each internet of things terminal connected to the internet of things gateway includes:
and based on the condition that the current information load exceeds the load threshold value or the current information transmission efficiency does not reach the set transmission efficiency threshold value, the Internet of things gateway informs the Internet of things gateway to initiate a signal detection request to each Internet of things terminal connected with the Internet of things gateway.
Further, the determining, according to the signal detection information, the internet of things gateway that can be switched by each internet of things terminal includes:
determining a gateway corresponding relation between the Internet of things terminal and the Internet of things gateway according to the signal detection information, and comparing the signal detection information with a set signal intensity threshold value to obtain a signal comparison result;
and screening out the Internet of things gateways of which the signal detection information exceeds the signal intensity threshold value based on the signal comparison result, and determining the Internet of things gateways for switching the Internet of things terminals based on the gateway corresponding relation.
Further, the determining a corresponding receivable load amount based on the current information load amount corresponding to each internet of things gateway includes:
screening out the Internet of things gateways located in the same Internet of things network from the Internet of things gateways for switching;
and determining the corresponding receivable load capacity based on the screened current information load capacity corresponding to each gateway of the Internet of things.
Further, the determining the internet of things terminal and the corresponding internet of things gateway that need to be switched according to the receivable load amount corresponding to each internet of things gateway includes:
determining the Internet of things terminal corresponding to the screened Internet of things gateway, and acquiring the information transmission quantity of the corresponding Internet of things terminal;
and determining the Internet of things terminal and the corresponding Internet of things gateway which need to be switched according to the receivable load amount corresponding to each Internet of things gateway and the corresponding information transmission amount of the Internet of things terminal.
Further, after notifying that the internet of things terminal is switched to the corresponding internet of things gateway, the method further includes:
determining downlink data which needs to be sent to the internet of things terminal, and sending the downlink data to the internet of things gateway which needs to be switched by the internet of things terminal, so that the internet of things gateway sends the downlink data to the internet of things terminal after accessing the internet of things terminal.
Further, after the internet of things gateway that needs to be switched to the internet of things terminal sends the downlink data, the method further includes:
determining whether the Internet of things terminal is successfully switched to the Internet of things gateway;
and if the gateway switching of the Internet of things terminal fails, re-determining the Internet of things gateway switched by the Internet of things terminal, and sending the downlink data to the Internet of things gateway to be switched by the Internet of things terminal again.
In a second aspect, an embodiment of the present application provides a gateway handover management device based on the internet of things, including a load detection module, a handover response module, a gateway detection module, and a handover execution module, where:
the load detection module is used for acquiring the current information load capacity of each Internet of things gateway and comparing the current information load capacity with a set load capacity threshold value;
the switching response module is used for informing the internet of things gateway to initiate a signal detection request to each connected internet of things terminal based on the internet of things gateway with the current information load exceeding the load threshold so that each internet of things terminal determines signal intensity information corresponding to the detected internet of things gateway and returns corresponding signal detection information based on the signal intensity information;
the gateway detection module is used for determining the Internet of things gateways for switching the Internet of things terminals according to the signal detection information and determining corresponding receivable load amounts based on current information load amounts corresponding to the Internet of things gateways;
and the switching execution module is used for determining the Internet of things terminal and the corresponding Internet of things gateway which need to be switched according to the receivable load amount corresponding to each Internet of things gateway, and informing the Internet of things terminal to switch to the corresponding Internet of things gateway.
In a third aspect, an embodiment of the present application provides a gateway handover management device based on the internet of things, including: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for gateway handover management based on the internet of things according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for handover management of an internet of things based gateway according to the first aspect.
The embodiment of the application collects the current information load capacity of each Internet of things gateway, when the current information load capacity of the Internet of things gateway exceeds the set load capacity threshold value, the signal intensity information corresponding to each Internet of things terminal and other detected Internet of things gateways connected currently by the Internet of things gateway is determined, the Internet of things gateway capable of being switched by each Internet of things terminal is determined, the load capable of being accepted by the Internet of things gateways is determined, the Internet of things terminal and the corresponding Internet of things gateway which need to be switched by the gateway are determined according to the load capable of being accepted, the corresponding Internet of things terminal is notified to be switched to the corresponding Internet of things gateway, the Internet of things equipment is distributed to the Internet of things gateway with data transmission residual force, and the data transmission quality of the Internet of things equipment is improved.
Drawings
Fig. 1 is a flowchart of a gateway handover management method based on the internet of things according to an embodiment of the present application;
fig. 2 is a flowchart of another gateway handover management method based on the internet of things according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a gateway handover management device based on the internet of things according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a gateway handover management device based on the internet of things according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a gateway switching management method based on the internet of things according to an embodiment of the present disclosure, where the gateway switching management method based on the internet of things according to the embodiment of the present disclosure may be executed by a gateway switching management device based on the internet of things, and the gateway switching management device based on the internet of things may be implemented in a hardware and/or software manner and integrated in a gateway switching management device (e.g., a cloud server) based on the internet of things.
The gateway switching management method executed by the gateway switching management device based on the internet of things is described as an example. Referring to fig. 1, the gateway handover management method based on the internet of things includes:
s101: and acquiring the current information load capacity of each Internet of things gateway, and comparing the current information load capacity with a set load capacity threshold value.
The gateway switching management device (hereinafter referred to as switching management device) based on the internet of things provided by this embodiment is integrated in a cloud server, and the switching management device is in communication connection with different internet of things networks through an internet network, and a plurality of internet of things gateways are configured in each internet of things network and are connected to the cloud server through the internet network. Each internet of things gateway of the same internet of things network is connected with a plurality of internet of things terminals (such as sensing equipment, intelligent household equipment, community intelligent access control equipment, community security equipment and other internet of things equipment) in a wireless communication mode, and the internet of things terminals can communicate with the cloud server through the internet of things gateways. And the overlapping parts exist among the signal coverage ranges of a plurality of adjacent Internet of things gateways, one Internet of things terminal can detect the wireless signals of the plurality of Internet of things gateways at the installation position of the Internet of things terminal, and one wireless channel can be selected to be connected with the corresponding Internet of things gateway.
Illustratively, each internet of things gateway detects a data transmission amount (for example, a data amount transmitted within a set time period) corresponding to data uploaded to the cloud server by the gateway in real time, and uploads the corresponding data transmission amount as a current information load amount to the switching management device.
After receiving the current information load amount uploaded by each Internet of things gateway, comparing the corresponding current information load amount with a set load amount threshold value aiming at each Internet of things gateway, and generating a corresponding load amount comparison result.
S102: and based on the internet of things gateway with the current information load exceeding the load threshold, informing the internet of things gateway to initiate a signal detection request to each internet of things terminal connected with the internet of things gateway, so that each internet of things terminal determines signal intensity information corresponding to the detected internet of things gateway and returns corresponding signal detection information based on the signal intensity information.
Illustratively, when the load comparison result indicates that the current information load exceeds the load threshold, the internet of things gateway corresponding to the current information load is determined, and the internet of things gateway is notified to initiate a signal detection request to each internet of things terminal connected to the internet of things gateway.
After receiving the notification of the signal detection request initiated by the switching management device, the gateway of the internet of things determines all the terminals of the internet of things connected with the gateway of the internet of things, and initiates the signal detection request to the terminals of the internet of things. The method comprises the steps that after receiving a signal detection request, the terminal of the Internet of things determines all currently detected Internet of things gateways, determines gateway identification information of the Internet of things gateways and signal strength information corresponding to the Internet of things gateways, and returns signal detection information reflecting the gateway identification information and the signal strength information corresponding to the detected Internet of things gateways to a currently connected switching management device. After the internet of things gateway receives the signal detection information returned by each internet of things terminal, the internet of things gateway forwards each signal detection information to the switching management device.
In a possible embodiment, when the internet of things gateway notifies the internet of things gateway to initiate a signal detection request to each internet of things terminal connected to the internet of things gateway based on the fact that the current information load exceeds the load threshold, the method specifically includes: and based on the condition that the current information load exceeds the load threshold value or the current information transmission efficiency does not reach the set transmission efficiency threshold value, the Internet of things gateway informs the Internet of things gateway to initiate a signal detection request to each Internet of things terminal connected with the Internet of things gateway.
Specifically, whether a signal detection request is initiated to each currently connected internet of things terminal is determined according to a comparison result of a current information load and a load threshold, and whether an internet of things gateway is notified to initiate a signal detection request to each currently connected internet of things terminal is determined according to a comparison result of current information transmission efficiency and a transmission efficiency threshold. For example, the switching management device calculates current information transmission efficiency corresponding to data uploaded by each internet of things gateway in real time, and when the current information efficiency (e.g., 0.2Mb/s) is less than a set transmission efficiency threshold (e.g., 2Mb/s), it is considered that the connection with the corresponding internet of things gateway is abnormal, and the internet of things terminal needs to be notified to switch the gateway, and then the internet of things gateway is notified to initiate a signal detection request to each connected internet of things terminal.
S103: and determining the Internet of things gateways which can be switched by the Internet of things terminals according to the signal detection information, and determining corresponding receivable load amounts based on current information load amounts corresponding to the Internet of things gateways.
Illustratively, after receiving signal detection information corresponding to each internet of things terminal, analyzing the signal detection information to obtain gateway identification information and signal strength information corresponding to the internet of things gateway detected by each internet of things terminal.
Further, for each internet of things terminal connected with the internet of things gateway (the internet of things gateway with the current information load exceeding the load threshold), according to the identification information of each gateway and the corresponding signal strength information reflected by the signal detection information, determining other internet of things gateways for the internet of things terminal to switch. It can be understood that one internet of things terminal may correspond to one or more internet of things gateways for switching, that is, the location of the internet of things gateway may be located within the signal coverage of one or more internet of things gateways. It can be understood that, when one internet of things terminal only detects a wireless signal of a switching management device initiating a signal detection request, the returned signal detection information only reflects gateway identification information and signal strength information corresponding to the switching management device, and it is determined that there is no internet of things gateway for the internet of things terminal to switch.
After determining all the internet of things gateways for switching, initiating load detection requests to the internet of things gateways through the internet network. After receiving the load detection request, the gateway of the internet of things detects the data transmission amount corresponding to the data transmitted to the switching management device by the gateway of the internet of things, compares the corresponding data transmission amount with a set load threshold (smaller than the maximum load amount of the gateway of the internet of things and consistent with the set load amount threshold), determines the receivable load amount which can be increased on the basis of the data transmission amount (for example, the difference between the set load threshold and the data transmission amount is used as the receivable load amount), and returns the corresponding receivable load amount to the switching management device which sends the load detection request.
S104: according to the receivable load amount corresponding to each Internet of things gateway, the Internet of things terminal and the corresponding Internet of things gateway which need to be switched are determined, and the Internet of things terminal is informed to be switched to the corresponding Internet of things gateway.
Exemplarily, after the receivable load amount corresponding to each internet of things gateway is determined, the information transmission amount of each internet of things terminal currently connected to the internet of things gateway with the current information load amount exceeding the load amount threshold is determined, the internet of things gateway capable of being switched is allocated to each internet of things terminal according to the receivable load amount corresponding to each internet of things gateway and the information transmission amount of the corresponding internet of things terminal, a gateway switching indication is sent to the internet of things gateway with the current information load amount exceeding the load amount threshold, the internet of things gateway informs the internet of things terminals of being switched to the corresponding allocated internet of things gateway based on the gateway switching indication, the internet of things terminals are switched and connected to the allocated internet of things gateway, and the switched internet of things gateway is accessed into the same internet of things network.
In one possible embodiment, in the step of determining the internet of things terminals and the corresponding internet of things gateways which need to be switched, according to receivable load amounts corresponding to the internet of things gateways and information transmission amounts of the corresponding internet of things terminals, when the internet of things terminals are allocated with the internet of things gateways which can be switched, the information transmission amounts corresponding to the internet of things terminals allocated with the switchable internet of things gateways are accumulated, when the accumulated amount obtained by subtracting the information transmission amount from the current information load amount is smaller than a load amount threshold value, the internet of things gateways used for switching can be stopped being allocated to the remaining internet of things terminals, and only the internet of things terminals allocated with the internet of things gateways are notified to switch the gateways.
In one possible embodiment, in the step of determining the internet of things terminals and the corresponding internet of things gateways which need to be switched, when the internet of things terminals which can be switched are allocated for each internet of things terminal according to receivable load amounts corresponding to each internet of things gateway and information transmission amounts of the corresponding internet of things terminals, the corresponding internet of things terminals are synchronously notified to be switched to the corresponding internet of things gateways, current information load amounts are updated in real time, and when the internet of things terminals which are switched to be corresponding are switched to be smaller than a set load amount threshold value, the internet of things gateways which are used for switching can be stopped being allocated for the remaining internet of things terminals.
The above-mentioned, collect through the current information load volume to each thing networking gateway, when the current information load volume of thing networking gateway exceeded the load volume threshold value of settlement, according to the signal strength information that each thing networking terminal of thing networking gateway current connection corresponds with other thing networking gateways that detect, confirm the thing networking gateway that can supply each thing networking terminal to switch, and confirm the receivable load volume of these thing networking gateways, confirm the thing networking terminal that needs to carry out the gateway switching and the thing networking gateway that corresponds according to the receivable load volume, and inform corresponding thing networking terminal and switch to the thing networking gateway that corresponds, distribute the thing networking equipment to the thing networking gateway that has data transmission residual power, promote the data transmission quality to the thing networking equipment.
On the basis of the foregoing embodiment, fig. 2 is a flowchart of another gateway handover management method based on the internet of things according to an embodiment of the present application, which is a concrete implementation of the gateway handover management method based on the internet of things. Referring to fig. 2, the gateway handover management method based on the internet of things includes:
s201: and acquiring the current information load capacity of each Internet of things gateway, and comparing the current information load capacity with a set load capacity threshold value.
S202: and based on the internet of things gateway with the current information load exceeding the load threshold, informing the internet of things gateway to initiate a signal detection request to each internet of things terminal connected with the internet of things gateway, so that each internet of things terminal determines signal intensity information corresponding to the detected internet of things gateway and returns corresponding signal detection information based on the signal intensity information.
S203: and determining a gateway corresponding relation between the Internet of things terminal and the Internet of things gateway according to the signal detection information, and comparing the signal detection information with a set signal intensity threshold value to obtain a signal comparison result.
Specifically, after signal detection information returned by each internet of things terminal is received, gateway identification information and signal strength information carried by the signal detection information are determined, and the terminal identification information of the internet of things terminal and corresponding gateway identification information are recorded in a terminal gateway recording table, so that a gateway corresponding relation between the internet of things terminal and the internet of things gateway is established. It can be understood that one internet of things terminal may correspond to one or more internet of things gateways, that is, the location of the internet of things gateway may be located within the signal coverage of the one or more internet of things gateways, and the terminal identification information corresponds to one or more gateway identification information. And the internet of things gateways corresponding to different internet of things terminals can be completely or partially overlapped.
Further, for the signal detection information returned by each internet of things terminal, the signal strength information in the signal detection information is compared with a set signal strength threshold value to obtain a signal comparison result. It can be understood that if the signal strength information reaches the signal strength threshold, it is considered that the corresponding internet of things gateway can be stably accessed by the internet of things terminal and stably communicates with the internet of things terminal, otherwise, it is considered that the communication quality of the internet of things terminal after accessing the corresponding internet of things gateway cannot be guaranteed.
S204: and screening out the Internet of things gateways of which the signal detection information exceeds the signal intensity threshold value based on the signal comparison result, and determining the Internet of things gateways for switching the Internet of things terminals based on the gateway corresponding relation.
Specifically, the internet of things gateways (excluding the internet of things gateways to which the internet of things terminals are currently connected) with signal detection information exceeding the signal intensity threshold are screened out according to the signal comparison results corresponding to each internet of things terminal, and the internet of things gateways are internet of things gateways for stable access of the internet of things gateways.
Further, in the terminal gateway record table, for each internet of things terminal, the corresponding relationship between the internet of things terminal and the screened internet of things gateway is deleted, and the internet of things gateway still recorded in the terminal gateway record table at this time is the internet of things gateway which can be stably accessed by the internet of things gateway. It can be understood that when the signal strength information corresponding to other internet of things gateways detected by the internet of things terminal does not reach the signal strength threshold value, the internet of things gateways corresponding to the terminal gateway record table are deleted, that is, there is no internet of things gateway for the internet of things terminal to switch.
S205: screening out all the internet of things gateways for switching, wherein the internet of things gateways are located in the same internet of things network, and determining corresponding receivable load capacity based on the screened out all the current information load capacity corresponding to the internet of things gateways.
Specifically, the internet of things gateways where all the internet of things gateways recorded in the terminal gateway record table are located are determined, the internet of things gateways located in the same internet of things network as the internet of things gateways with the current information load exceeding the load threshold are screened out, and the corresponding relations between the rest of the internet of things gateways and the corresponding internet of things terminals are further deleted in the terminal gateway record table.
Further, the internet of things gateways screened out from the current terminal gateway record table are determined, and load detection requests are sent to the screened internet of things gateways based on the internet network, so that the internet of things gateways return corresponding receivable load amounts based on the current gateway load amounts.
S206: and determining the Internet of things terminal corresponding to the screened Internet of things gateway, and acquiring the information transmission quantity of the corresponding Internet of things terminal.
Specifically, after the internet of things gateways are screened in the terminal gateway record table, the internet of things terminals corresponding to the internet of things gateways are determined, and the information transmission quantity of the internet of things terminals is obtained. The information transmission quantity can be determined according to the average information quantity uploaded to the internet of things gateway by the internet of things terminal in a set time period.
S207: and determining the Internet of things terminal and the corresponding Internet of things gateway which need to be switched according to the receivable load amount corresponding to each Internet of things gateway and the corresponding information transmission amount of the Internet of things terminal.
Specifically, the internet of things gateways are subjected to bubbling sequencing according to the size of receivable load, the internet of things terminals which are not distributed with the internet of things gateways and correspond to each internet of things gateway are sequentially determined, when the receivable load is larger than the information transmission quantity according to the receivable load and the information transmission quantity of the corresponding internet of things terminals, the internet of things gateways are distributed to the corresponding internet of things terminals, the receivable load of the internet of things gateways is updated (the original receivable load is subtracted from the corresponding information transmission quantity to serve as a new receivable load), and the internet of things gateways used for switching are distributed to the internet of things terminals according to the mode.
In one possible embodiment, in the process of allocating the internet of things gateway for switching to the internet of things terminal, information transmission amount corresponding to the internet of things terminal allocated to the switchable internet of things gateway is accumulated, and when the accumulated amount obtained by subtracting the information transmission amount from the current information load amount is smaller than a load amount threshold value, the internet of things gateway for switching to the remaining internet of things terminal can be stopped being allocated.
S208: and informing the Internet of things terminal to switch to the corresponding Internet of things gateway.
S209: determining downlink data which needs to be sent to the internet of things terminal, and sending the downlink data to the internet of things gateway which needs to be switched by the internet of things terminal, so that the internet of things gateway sends the downlink data to the internet of things terminal after accessing the internet of things terminal.
Specifically, when downlink data which needs to be sent to the internet of things terminal which is disconnected for switching the gateway is generated or received, the downlink data is sent to the internet of things terminal which needs to be switched because the original internet of things gateway is disconnected from the internet of things terminal and the internet of things terminal does not have access to a new internet of things gateway. The gateway of the Internet of things receives downlink data, determines the terminal of the Internet of things corresponding to the downlink data, and sends the corresponding downlink data to the terminal of the Internet of things after the terminal of the Internet of things is successfully accessed, so that the downlink data generated in the switching process of the gateway can be correctly transmitted to the corresponding terminal of the Internet of things.
S211: and determining whether the Internet of things terminal is successfully switched to the Internet of things gateway or not, if the switching of the Internet of things terminal to the Internet of things gateway fails, re-determining the Internet of things gateway switched by the Internet of things terminal, and sending the downlink data to the Internet of things gateway to be switched by the Internet of things terminal again.
Specifically, in a set time period, the internet of things gateway switched by the internet of things terminal is continuously inquired whether the internet of things terminal is successfully switched to the internet of things gateway, and whether the internet of things terminal is successfully switched to the gateway is determined according to a reply of the internet of things gateway. And if the gateway is successfully switched by the Internet of things terminal, the transmission of the downloaded data is completed, and if a reply indicating that the gateway is successfully switched by the Internet of things terminal is not received within a set time period, the gateway switching failure of the Internet of things terminal is considered.
Further, when it is determined that the switching gateway of the internet of things terminal fails and is reconnected to the original internet of things gateway, other internet of things gateways for switching are determined again according to receivable load amounts of other internet of things gateways in the same internet of things network and the information transmission amount of the internet of things terminal, the internet of things terminal is informed to switch to the newly determined internet of things gateway, and downlink data are sent to the internet of things gateway which needs to be switched by the internet of things terminal again.
The above-mentioned, collect through the current information load volume to each thing networking gateway, when the current information load volume of thing networking gateway exceeded the load volume threshold value of settlement, according to the signal strength information that each thing networking terminal of thing networking gateway current connection corresponds with other thing networking gateways that detect, confirm the thing networking gateway that can supply each thing networking terminal to switch, and confirm the receivable load volume of these thing networking gateways, confirm the thing networking terminal that needs to carry out the gateway switching and the thing networking gateway that corresponds according to the receivable load volume, and inform corresponding thing networking terminal and switch to the thing networking gateway that corresponds, distribute the thing networking equipment to the thing networking gateway that has data transmission residual power, promote the data transmission quality to the thing networking equipment. Meanwhile, in the process of switching the gateway of the Internet of things terminal, downlink data needing to be sent to the Internet of things terminal is stored firstly, the downlink data are sent to the Internet of things terminal needing to be switched, and the received downlink data are sent to the Internet of things terminal after the Internet of things terminal detects the access of the Internet of things terminal, so that the data can be correctly sent to the Internet of things terminal after the gateway is switched, the situation that the downlink data cannot be correctly sent in the process of switching the gateway of the Internet of things terminal is reduced, and the data transmission quality is improved.
Fig. 3 is a schematic structural diagram of a gateway handover management device based on the internet of things according to an embodiment of the present application. Referring to fig. 3, the gateway handover management apparatus based on the internet of things includes a load detection module 31, a handover response module 32, a gateway detection module 33, and a handover execution module 34.
The load detection module 31 is configured to obtain a current information load amount of each internet of things gateway, and compare the current information load amount with a set load amount threshold; the switching response module 32 is configured to notify the internet of things gateway to initiate a signal detection request to each internet of things terminal connected to the internet of things gateway based on the internet of things gateway whose current information load exceeds the load threshold, so that each internet of things terminal determines signal strength information corresponding to the detected internet of things gateway, and returns corresponding signal detection information based on the signal strength information; the gateway detection module 33 is configured to determine, according to the signal detection information, the internet of things gateways that can be switched by the internet of things terminals, and determine, based on current information load amounts corresponding to the internet of things gateways, corresponding receivable load amounts; the switching execution module 34 is configured to determine the internet of things terminal and the corresponding internet of things gateway that need to be switched according to the receivable load amount corresponding to each internet of things gateway, and notify the internet of things terminal to switch to the corresponding internet of things gateway.
The above-mentioned, collect through the current information load volume to each thing networking gateway, when the current information load volume of thing networking gateway exceeded the load volume threshold value of settlement, according to the signal strength information that each thing networking terminal of thing networking gateway current connection corresponds with other thing networking gateways that detect, confirm the thing networking gateway that can supply each thing networking terminal to switch, and confirm the receivable load volume of these thing networking gateways, confirm the thing networking terminal that needs to carry out the gateway switching and the thing networking gateway that corresponds according to the receivable load volume, and inform corresponding thing networking terminal and switch to the thing networking gateway that corresponds, distribute the thing networking equipment to the thing networking gateway that has data transmission residual power, promote the data transmission quality to the thing networking equipment.
The embodiment of the application also provides gateway switching management equipment based on the Internet of things, and the gateway switching management equipment based on the Internet of things can integrate the gateway switching management device based on the Internet of things provided by the embodiment of the application. Fig. 4 is a schematic structural diagram of a gateway handover management device based on the internet of things according to an embodiment of the present application. Referring to fig. 4, the gateway handover management apparatus based on the internet of things includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 are enabled to implement the gateway handover management method based on the internet of things as provided in the above embodiments. Wherein the input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, for example, in fig. 4.
The memory 42 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the gateway handover management method based on the internet of things according to any embodiment of the present application (for example, the load detection module 31, the handover response module 32, the gateway detection module 33, and the handover execution module 34 in the gateway handover management apparatus based on the internet of things). The memory 42 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 44 may include a display device such as a display screen.
The processor 41 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 42, so as to implement the gateway switching management method based on the internet of things.
The gateway switching management device, the equipment and the computer based on the internet of things can be used for executing the gateway switching management method based on the internet of things provided by any embodiment, and have corresponding functions and beneficial effects.
An embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for gateway handover management based on internet of things provided in the foregoing embodiment, where the method for gateway handover management based on internet of things includes: acquiring the current information load capacity of each Internet of things gateway, and comparing the current information load capacity with a set load capacity threshold; based on the internet of things gateway with the current information load exceeding the load threshold, informing the internet of things gateway to initiate a signal detection request to each connected internet of things terminal so that each internet of things terminal determines signal intensity information corresponding to the detected internet of things gateway and returns corresponding signal detection information based on the signal intensity information; determining the Internet of things gateways for switching of the Internet of things terminals according to the signal detection information, and determining corresponding receivable load amounts based on current information load amounts corresponding to the Internet of things gateways; according to the receivable load amount corresponding to each Internet of things gateway, the Internet of things terminal and the corresponding Internet of things gateway which need to be switched are determined, and the Internet of things terminal is informed to be switched to the corresponding Internet of things gateway.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the above-described gateway handover management method based on the internet of things, and may also perform related operations in the gateway handover management method based on the internet of things provided in any embodiments of the present application.
The gateway switching management apparatus, device, and storage medium based on the internet of things provided in the foregoing embodiments may execute the gateway switching management method based on the internet of things provided in any embodiment of the present application, and refer to the gateway switching management method based on the internet of things provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.
Claims (8)
1. A gateway switching management method based on the Internet of things is characterized by comprising the following steps:
acquiring the current information load capacity of each Internet of things gateway, and comparing the current information load capacity with a set load capacity threshold;
based on the internet of things gateway with the current information load exceeding the load threshold, informing the internet of things gateway to initiate a signal detection request to each connected internet of things terminal so that each internet of things terminal determines signal intensity information corresponding to the detected internet of things gateway and returns corresponding signal detection information based on the signal intensity information;
determining the Internet of things gateways for switching of the Internet of things terminals according to the signal detection information, and determining corresponding receivable load amounts based on current information load amounts corresponding to the Internet of things gateways;
determining the Internet of things terminals needing gateway switching and the corresponding Internet of things gateways according to the receivable load amounts corresponding to the Internet of things gateways, and informing the Internet of things terminals of switching to the corresponding Internet of things gateways;
determining downlink data which needs to be sent to the internet of things terminal, and sending the downlink data to the internet of things gateway which needs to be switched by the internet of things terminal, so that the internet of things gateway sends the downlink data to the internet of things terminal after accessing the internet of things terminal;
determining whether the Internet of things terminal is successfully switched to the Internet of things gateway; and if the gateway switching of the Internet of things terminal fails, re-determining the Internet of things gateway switched by the Internet of things terminal, and sending the downlink data to the Internet of things gateway to be switched by the Internet of things terminal again.
2. The gateway switching management method based on the internet of things according to claim 1, wherein the notifying, based on the internet of things gateway whose current information capacity exceeds the capacity threshold, the internet of things gateway to initiate a signal detection request to each of the terminals of the internet of things to which the gateway of the internet of things is connected includes:
and based on the condition that the current information load exceeds the load threshold value or the current information transmission efficiency does not reach the set transmission efficiency threshold value, the Internet of things gateway informs the Internet of things gateway to initiate a signal detection request to each Internet of things terminal connected with the Internet of things gateway.
3. The gateway switching management method based on the internet of things according to claim 1, wherein the determining the gateway of the internet of things for switching each terminal of the internet of things according to the signal detection information includes:
determining a gateway corresponding relation between the Internet of things terminal and the Internet of things gateway according to the signal detection information, and comparing the signal detection information with a set signal intensity threshold value to obtain a signal comparison result;
and screening out the Internet of things gateways of which the signal detection information exceeds the signal intensity threshold value based on the signal comparison result, and determining the Internet of things gateways for switching the Internet of things terminals based on the gateway corresponding relation.
4. The method for gateway handover management based on the internet of things of claim 1, wherein the determining of the corresponding admissible load amount based on the current information load amount corresponding to each gateway of the internet of things comprises:
screening out the Internet of things gateways located in the same Internet of things network from the Internet of things gateways for switching;
and determining the corresponding receivable load capacity based on the screened current information load capacity corresponding to each gateway of the Internet of things.
5. The gateway switching management method based on the internet of things as claimed in claim 4, wherein the determining the terminal of the internet of things and the corresponding gateway of the internet of things which need to perform gateway switching according to the receivable load amount corresponding to each gateway of the internet of things comprises:
determining the Internet of things terminal corresponding to the screened Internet of things gateway, and acquiring the information transmission quantity of the corresponding Internet of things terminal;
and determining the Internet of things terminal and the corresponding Internet of things gateway which need to be switched according to the receivable load amount corresponding to each Internet of things gateway and the corresponding information transmission amount of the Internet of things terminal.
6. The utility model provides a gateway switches management device based on thing networking which characterized in that, includes load detection module, switches response module, gateway detection module and switches the execution module, wherein:
the load detection module is used for acquiring the current information load capacity of each Internet of things gateway and comparing the current information load capacity with a set load capacity threshold value;
the switching response module is used for informing the internet of things gateway to initiate a signal detection request to each connected internet of things terminal based on the internet of things gateway with the current information load exceeding the load threshold so that each internet of things terminal determines signal intensity information corresponding to the detected internet of things gateway and returns corresponding signal detection information based on the signal intensity information;
the gateway detection module is used for determining the Internet of things gateways for switching the Internet of things terminals according to the signal detection information and determining corresponding receivable load amounts based on current information load amounts corresponding to the Internet of things gateways;
the switching execution module is used for determining the Internet of things terminal needing gateway switching and the corresponding Internet of things gateway according to the receivable load amount corresponding to each Internet of things gateway, and informing the Internet of things terminal of switching to the corresponding Internet of things gateway; determining downlink data which needs to be sent to the internet of things terminal, and sending the downlink data to the internet of things gateway which needs to be switched by the internet of things terminal, so that the internet of things gateway sends the downlink data to the internet of things terminal after accessing the internet of things terminal; determining whether the Internet of things terminal is successfully switched to the Internet of things gateway; and if the gateway switching of the Internet of things terminal fails, re-determining the Internet of things gateway switched by the Internet of things terminal, and sending the downlink data to the Internet of things gateway to be switched by the Internet of things terminal again.
7. The utility model provides a gateway switches management equipment based on thing networking which characterized in that includes: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for gateway handover management based on the internet of things of any of claims 1-5.
8. A storage medium containing computer-executable instructions for performing the internet of things based gateway handover management method of any one of claims 1 to 5 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011639742.0A CN112822735B (en) | 2020-12-31 | 2020-12-31 | Gateway switching management method, device, equipment and storage medium based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011639742.0A CN112822735B (en) | 2020-12-31 | 2020-12-31 | Gateway switching management method, device, equipment and storage medium based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112822735A CN112822735A (en) | 2021-05-18 |
CN112822735B true CN112822735B (en) | 2022-02-01 |
Family
ID=75858064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011639742.0A Active CN112822735B (en) | 2020-12-31 | 2020-12-31 | Gateway switching management method, device, equipment and storage medium based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112822735B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473421B (en) * | 2021-07-07 | 2023-02-21 | 上海顺舟智能科技股份有限公司 | Method, device, equipment and medium for measuring installation position of intelligent gateway of Internet of things |
CN114221862A (en) * | 2021-12-08 | 2022-03-22 | 深圳绿米联创科技有限公司 | Network configuration method and device of equipment, electronic equipment and storage medium |
CN114079672B (en) * | 2022-01-07 | 2022-04-15 | 广州市成格信息技术有限公司 | Multifunctional gateway multi-channel data intelligent distribution method and system |
CN114827199B (en) * | 2022-04-08 | 2024-06-14 | 深圳市欧瑞博科技股份有限公司 | Device migration method, device, computer device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223677A (en) * | 2011-07-04 | 2011-10-19 | 重庆邮电大学 | Switching method and switching system based on IASA (inter access system anchor) load balancing device |
CN110838991A (en) * | 2019-11-05 | 2020-02-25 | 深圳前海达闼云端智能科技有限公司 | Gateway connection method, device, storage medium, electronic device and gateway device |
CN111212109A (en) * | 2019-12-13 | 2020-05-29 | 东软集团股份有限公司 | Internet of things communication method, server, terminal and equipment |
CN111836277A (en) * | 2019-04-19 | 2020-10-27 | 武汉所为科技有限公司 | Lora communication method, Lora node and Lora communication system |
CN112040463A (en) * | 2020-08-04 | 2020-12-04 | 广州旋坤信息科技有限公司 | Wireless communication network networking method and system based on LoRa equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8027680B2 (en) * | 2005-12-30 | 2011-09-27 | United States Cellular Corporation | Selective handoff between access gateways |
CN107466079B (en) * | 2017-08-17 | 2020-11-13 | 深圳市盛路物联通讯技术有限公司 | Automatic relay switching method and device |
CN111901898B (en) * | 2020-05-08 | 2021-04-09 | 广州技象科技有限公司 | Terminal attachment method and device based on narrowband Internet of things |
CN111918368A (en) * | 2020-06-19 | 2020-11-10 | 深圳市有方科技股份有限公司 | Internet of things wireless communication networking transmission method and device and computer equipment |
-
2020
- 2020-12-31 CN CN202011639742.0A patent/CN112822735B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223677A (en) * | 2011-07-04 | 2011-10-19 | 重庆邮电大学 | Switching method and switching system based on IASA (inter access system anchor) load balancing device |
CN111836277A (en) * | 2019-04-19 | 2020-10-27 | 武汉所为科技有限公司 | Lora communication method, Lora node and Lora communication system |
CN110838991A (en) * | 2019-11-05 | 2020-02-25 | 深圳前海达闼云端智能科技有限公司 | Gateway connection method, device, storage medium, electronic device and gateway device |
CN111212109A (en) * | 2019-12-13 | 2020-05-29 | 东软集团股份有限公司 | Internet of things communication method, server, terminal and equipment |
CN112040463A (en) * | 2020-08-04 | 2020-12-04 | 广州旋坤信息科技有限公司 | Wireless communication network networking method and system based on LoRa equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112822735A (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112822735B (en) | Gateway switching management method, device, equipment and storage medium based on Internet of things | |
US20210337046A1 (en) | Intelligent scheduling method, terminal device, edge node cluster and intelligent scheduling system | |
CN102917425B (en) | Operator network switching method and device | |
CN107533094B (en) | Method and system for optimizing execution of user commands related to power management | |
CN111447660B (en) | Network roaming control method and device of terminal equipment and cloud control equipment | |
CN113891277B (en) | General sense fusion method and system | |
CN110234132B (en) | Method, system, server, terminal and storage medium for recovering network | |
US20140307574A1 (en) | Communication connection control method and electronic apparatus supporting the same | |
CN103052110A (en) | Cell outage detection and compensation method and cell outage detection and compensation device | |
CN103823727B (en) | A kind of backup method of live recording and device | |
CN111405627A (en) | Network switching method and device of mobile terminal, electronic equipment and storage medium | |
CN112367412B (en) | Equipment connection management method and device based on Internet of things | |
CN109429302B (en) | Recovery method and device after off-line of multi-card terminal | |
CN108632355B (en) | Routing method for household appliance network, control terminal, readable storage medium and equipment | |
CN112583875A (en) | Asset scanning method and device | |
CN112788153B (en) | Internet of things equipment upgrading management method, device, equipment and storage medium | |
CN112312425B (en) | Internet access method and device for household electrical appliance | |
CN110650135B (en) | Node processing method, related equipment and computer readable storage medium | |
CN113258679A (en) | Power grid monitoring system channel distribution method based on server instance capacity reduction | |
CN105704701A (en) | Method, device, and system for sharing cloud SIM card | |
CN112119566A (en) | Power supply method, device, system and storage medium | |
CN112398954B (en) | Connection management method and device based on narrowband Internet of things | |
CN113316100B (en) | Client terminal equipment and power failure reporting method of client terminal equipment | |
CN103220627B (en) | Do not connect group call processing method and monitor terminal | |
CN114189929B (en) | Network registration method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |