A network switching method and system for an Internet of Things terminal

By initiating network switching in the IoT terminal only under specific conditions, and issuing switching instructions from the root node, the problem of high power consumption of mobile terminals in the existing technology is solved, and network switching with lower power consumption is realized, adapting to the Internet of Things. application requirements.

CN116347540BActive Publication Date: 2024-08-23BEIJING TAIYUE TIANCHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310567879.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-19
Publication Date
2024-08-23
Estimated Expiration
2043-05-19

AI Technical Summary

Technical Problem

Existing IoT terminal network switching methods consume high power and cannot meet the ultra-low power consumption requirements of the IoT.

Method used

When the mobile terminal detects that the signal resident at the site meets specific conditions, it starts monitoring nearby sites and triggers network switching, and the root node completes and issues switching instructions, reducing the interaction steps and power consumption of the mobile terminal.

Benefits of technology

By reducing the power consumption of mobile terminals, better low-power applications in the Internet of Things are achieved and adapted to the power-saving needs of the Internet of Things.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116347540B
    Figure CN116347540B
Patent Text Reader

Abstract

The present application provides a network switching method and system for an Internet of Things terminal. The method includes: when the mobile terminal detects that the signal of the resident site meets the monitoring start condition, it starts to monitor the signals of each site in the neighboring area, and when it detects that the signal of the resident site meets the switching trigger condition, it triggers the network switching, and responds to the first instruction issued by the root node after selecting the pouring node with the largest signal strength from each site, pours out from the resident site and connects to the pouring site. In the whole method, the mobile terminal can complete the switching with the least steps, and only starts monitoring when the resident site meets certain conditions. It is more power-saving and has low overall power consumption, which can better meet the low power consumption requirements of the Internet of Things.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a network switching method and system for an Internet of Things terminal. Background Art

[0002] The Internet of things (IOT) is an important part of the new generation of information technology and has been widely used in daily life, such as smart public transportation, smart subway, etc. The Internet of things adopts a multi-node networking mode, mainly including a root node, multiple aggregation nodes and multiple terminal devices. Multiple aggregation nodes are connected to the root node. The root node is connected to the main station through the network, and the terminal device can access the Internet of things through a certain aggregation node. For mobile terminals with unfixed locations, the need to switch access sites (i.e., resident aggregation nodes) will arise during the movement as the network status changes.

[0003] The mobile terminal switches access sites, which is currently mainly implemented by referring to the network switching method in the public network or using the LwM2M (Lightweight M2M) Internet of Things protocol. Mobile terminals in the public network usually implement network switching based on the 3GPP (3rd Generation Partnership Project) wireless protocol or based on the AT (Attention) command to control the SIM card (Subscriber Identification Module) status in the mobile terminal. The mobile terminal will exchange information with the wireless base station in the public network at a fixed time interval and trigger the network switching process when the network needs to be switched.

[0004] However, the network switching method of the above-mentioned mobile terminal mainly relies on the existing standard protocol. Since each step in the switching process relies on the request and response of the mobile terminal, the frequent requests and responses will cause the mobile terminal to consume a lot of power, and thus cannot adapt to the ultra-low power consumption requirements of the Internet of Things, and thus cannot be effectively used in the Internet of Things. Summary of the invention

[0005] The present application provides a network switching method and system for an Internet of Things terminal, which can be used to solve the technical problem that the mobile terminal in the existing network switching method is extremely power-consuming and cannot meet the ultra-low power consumption requirements of the Internet of Things.

[0006] In a first aspect, an embodiment of the present application provides a network switching method for an Internet of Things terminal, which is applied to a mobile terminal with a non-fixed position, and the method includes:

[0007] When it is detected that the signal of the resident site meets the monitoring start condition, the signal strength of each first site is obtained, and a beacon message is sent to each second site, the resident site is a sink node currently accessed by the mobile terminal, the first site is a sink node with a broadcast function in a neighboring area of ​​the resident site, and the second site is a sink node without a broadcast function in a neighboring area of ​​the resident site;

[0008] When it is detected that the signal of the resident site meets the switching triggering condition, determining the first site with the largest signal strength as the candidate site;

[0009] Sending a first message to the resident site, where the first message carries the signal strength of the candidate site;

[0010] receiving a first instruction sent by the resident site, wherein the first instruction is an instruction for instructing switching sent by the root node to the resident site and the pouring site respectively after the root node selects a sink node with the largest signal strength from the candidate sites and each second site in response to the first message sent by the resident site, and determines the sink node with the largest signal strength as the pouring site, wherein the signal strength of the second site is the signal strength of the beacon message measured by the second site and reported to the root node;

[0011] In response to the first instruction, pour out from the resident site and access the pouring site.

[0012] In combination with the first aspect, in an implementable manner of the first aspect, in response to the first instruction, pouring out from the resident site and accessing the pouring site includes:

[0013] In response to the first instruction, a second message is sent to the pouring site, and a third message is sent to the resident site, wherein the second message is used to request a reply message from the pouring site, and the third message is used to respond to the first instruction;

[0014] If a response message is received from the pouring site within a preset time period, a service message is sent to the service channel of the pouring site, so that the pouring site sends a fourth message to the root node to indicate confirmation of the switch. The fourth message is also used to drive the root node to send a fifth message to the resident site to indicate completion of the switch.

[0015] In combination with the first aspect, in an implementation manner of the first aspect, the method further includes:

[0016] If no response message sent by the pouring site is received within the preset time period, resending the second message to the pouring site;

[0017] If the response message sent by the input site is not received within the preset time period for multiple times, it is determined that the switching has failed.

[0018] In combination with the first aspect, in an implementation manner of the first aspect, the monitoring start condition includes that the signal strength of the resident site is less than a first threshold, or the signal-to-noise ratio of the resident site is less than a second threshold;

[0019] The switching triggering condition includes that the signal strength of the resident site is less than a third threshold, and the third threshold is less than the first threshold.

[0020] In combination with the first aspect, in an implementation manner of the first aspect, before detecting the signal of the resident site, the mobile terminal determines the neighboring area information of the resident site in the following manner:

[0021] If the resident site has a broadcast function, obtaining neighboring information of the resident site from a broadcast message of the resident site, the neighboring information including information of each first site and information of each second site;

[0022] If the resident site does not have a broadcast function, sending a sixth message to the resident site, where the sixth message is used to request neighboring information of the resident site and information of the resident site;

[0023] After the resident site responds to the sixth message and sends the neighboring area information to the mobile terminal, the neighboring area information of the resident site is saved as current neighboring area information.

[0024] In combination with the first aspect, in an implementation manner of the first aspect, after the mobile terminal responds to the first instruction, pours out from the resident site, and accesses the pouring site, the method further includes:

[0025] Obtaining neighboring area information of the pouring site;

[0026] Based on the neighboring area information of the pouring site, the pouring site is determined as the current resident site, and the current neighboring area information is updated.

[0027] In a second aspect, an embodiment of the present application provides a network switching method for an Internet of Things terminal, which is applied to a root node in the Internet of Things, and the method includes:

[0028] Receiving signal strength reported by each second site after measuring the beacon message, the second site is a sink node without broadcast function in a neighboring area of ​​the resident site of the mobile terminal, the beacon message is sent by the mobile terminal to the second site when detecting that the signal of the resident site meets the monitoring start condition, and the resident site is the sink node currently accessed by the mobile terminal;

[0029] If a first message sent by the resident site is received, in response to the first message, a sink node with the largest signal strength is selected from the candidate site and each second site selected by the mobile terminal, and the sink node with the largest signal strength is determined as the pouring site, the first message carries the signal strength of the candidate site, the candidate site is the first site with the largest signal strength selected from each first site by the mobile terminal when it is detected that the signal of the resident site meets the switching trigger condition, and the first site is a sink node with a broadcast function in a neighboring area of ​​the resident site;

[0030] A first instruction is sent to the resident site and the pouring site respectively, wherein the first instruction is used to instruct the resident site and the pouring site to switch the resident of the mobile terminal.

[0031] In conjunction with the second aspect, in an implementation manner of the second aspect, the method further includes:

[0032] After receiving the fourth message sent by the dumping site to indicate confirmation of the switching, a fifth message to indicate completion of the switching is sent to the resident site.

[0033] In conjunction with the second aspect, in an implementation manner of the second aspect, the method further includes:

[0034] If the first message sent by the resident site is not received, detecting whether the signal strength of the resident site is less than a fourth threshold;

[0035] If the signal strength of the resident site is less than the fourth threshold, detecting whether the difference between the signal strength of each aggregation node in the neighborhood of the resident site and the signal strength of the resident site is greater than a fifth threshold;

[0036] If it is detected for multiple consecutive times that the difference between the signal strength of each sink node in the neighborhood of the resident site and the signal strength of the resident site is greater than a fifth threshold, then the sink node with the largest signal strength among the sink nodes in the neighborhood of the resident site is determined as the target site;

[0037] A second instruction is sent to the resident site and the target site respectively, where the second instruction is used to instruct the resident site and the target site to switch the resident state of the mobile terminal.

[0038] In a third aspect, an embodiment of the present application provides a network switching system for an IoT terminal, including a mobile terminal with a non-fixed position and a root node;

[0039] The mobile terminal is configured to obtain the signal strength of each first site and send a beacon message to each second site when it is detected that the signal of the resident site meets the monitoring start condition, the resident site is a sink node currently accessed by the mobile terminal, the first site is a sink node with a broadcast function in a neighborhood of the resident site, and the second site is a sink node without a broadcast function in a neighborhood of the resident site; and, when it is detected that the signal of the resident site meets the switching trigger condition, determine the first site with the largest signal strength as a candidate site; and send a first message to the resident site, the first message carrying the signal strength of the candidate site;

[0040] The root node is configured to receive the signal strength reported by each second site after measuring the beacon message; and, if the first message sent by the resident site is received, in response to the first message, select a sink node with the largest signal strength from the candidate site selected by the mobile terminal and each second site, and determine the sink node with the largest signal strength as the pour-in site; and send a first instruction to the resident site and the pour-in site respectively; the first instruction is used to instruct the resident site and the pour-in site to switch the resident of the mobile terminal;

[0041] The mobile terminal is further configured to receive the first instruction sent by the resident site; and, in response to the first instruction, pour out from the resident site and access the pouring site.

[0042] In combination with the third aspect, in an implementation manner of the third aspect, the mobile terminal is configured to pour out from the resident site and access the pouring site in response to the first instruction, including:

[0043] In response to the first instruction, a second message is sent to the pouring site, and a third message is sent to the resident site, wherein the second message is used to request a reply message from the pouring site, and the third message is used to respond to the first instruction;

[0044] If a response message is received from the pouring site within a preset time period, a service message is sent to the service channel of the pouring site, so that the pouring site sends a fourth message to the root node to indicate confirmation of the switch. The fourth message is also used to drive the root node to send a fifth message to the resident site to indicate completion of the switch.

[0045] In combination with the third aspect, in an implementation manner of the third aspect, the mobile terminal is further configured to:

[0046] If no response message sent by the pouring site is received within the preset time period, resending the second message to the pouring site;

[0047] If the response message sent by the input site is not received within the preset time period for multiple times, it is determined that the switching has failed.

[0048] In combination with the third aspect, in an implementation manner of the third aspect, the monitoring start condition includes that the signal strength of the resident site is less than a first threshold, or the signal-to-noise ratio of the resident site is less than a second threshold;

[0049] The switching triggering condition includes that the signal strength of the resident site is less than a third threshold, and the third threshold is less than the first threshold.

[0050] In combination with the third aspect, in an implementation manner of the third aspect, the mobile terminal is configured to determine the neighboring area information of the resident site in the following manner before detecting the signal of the resident site:

[0051] If the resident site has a broadcast function, obtaining neighboring information of the resident site from a broadcast message of the resident site, the neighboring information including information of each first site and information of each second site;

[0052] If the resident site does not have a broadcast function, sending a sixth message to the resident site, where the sixth message is used to request neighboring information of the resident site and information of the resident site;

[0053] After the resident site responds to the sixth message and sends the neighboring area information to the mobile terminal, the neighboring area information of the resident site is saved as current neighboring area information.

[0054] In combination with the third aspect, in an implementation manner of the third aspect, after the mobile terminal responds to the first instruction, pours out from the resident site, and accesses the pouring site, the mobile terminal is further configured to:

[0055] Obtaining neighboring area information of the pouring site;

[0056] Based on the neighboring area information of the pouring site, the pouring site is determined as the current resident site, and the current neighboring area information is updated.

[0057] In combination with the third aspect, in an implementation manner of the third aspect, the root node is further configured as:

[0058] After receiving the fourth message sent by the dumping site to indicate confirmation of the switching, a fifth message to indicate completion of the switching is sent to the resident site.

[0059] In combination with the third aspect, in an implementation manner of the third aspect, the root node is further configured as:

[0060] If the first message sent by the resident site is not received, detecting whether the signal strength of the resident site is less than a fourth threshold;

[0061] If the signal strength of the resident site is less than the fourth threshold, detecting whether the difference between the signal strength of each aggregation node in the neighborhood of the resident site and the signal strength of the resident site is greater than a fifth threshold;

[0062] If it is detected for multiple consecutive times that the difference between the signal strength of each sink node in the neighborhood of the resident site and the signal strength of the resident site is greater than a fifth threshold, then the sink node with the largest signal strength among the sink nodes in the neighborhood of the resident site is determined as the target site;

[0063] A second instruction is sent to the resident site and the target site respectively, where the second instruction is used to instruct the resident site and the target site to switch the resident state of the mobile terminal.

[0064] The embodiment of the present application provides a network switching method and system for an Internet of Things terminal. In the network switching method, the mobile terminal will start monitoring of adjacent sites and trigger network switching only when the signal of the resident site meets the monitoring start condition, thereby greatly reducing power consumption. In addition, the work of determining the node to be poured into and issuing the switching instruction are all completed by the root node, which can enable the mobile terminal to complete the switching with the least steps, further reducing the power consumption of the mobile terminal. Since the overall power consumption of the mobile terminal is relatively small, it can better adapt to the low power consumption requirements of the Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A schematic diagram of the structure of the Internet of Things applicable to the embodiments of the present application;

[0066] Figure 2 A schematic diagram of a workflow of a network switching method for an Internet of Things terminal provided in an embodiment of the present application;

[0067] Figure 3 A schematic diagram of data interaction between a mobile terminal in response to a first instruction and a resident site, a root node and an import site in an embodiment of the present application;

[0068] Figure 4 A schematic diagram of the workflow of another network switching method for an Internet of Things terminal provided in an embodiment of the present application;

[0069] Figure 5 A data interaction diagram of a network switching system for an Internet of Things terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0071] Let's first combine Figure 1 Possible scenarios to which the embodiments of the present application are applicable are introduced.

[0072] Figure 1 Schematic diagram of the structure of the Internet of Things applicable to the embodiment of the present application. Figure 1 As shown, the Internet of Things in a multi-node networking mode may include nodes and multiple terminal devices (for example: terminal 1, terminal 2, terminal 3, ..., terminal 9), the nodes include a root node (also referred to as an access node) and multiple aggregation nodes (for example: aggregation node 1, aggregation node 2, aggregation node 3 and aggregation node 4), the root node is connected to each aggregation node, the root node can access the main station through a network (for example: a wired network), and the terminal device can access the Internet of Things through a certain aggregation node. The aggregation node where the terminal device accesses the Internet of Things is called the resident site of the terminal device, for example: the resident sites of terminal 1, terminal 2, and terminal 3 are all aggregation node 1, the resident sites of terminal 4, terminal 5, and terminal 6 are all aggregation node 2, the resident sites of terminal 7, terminal 8, and terminal 9 are all aggregation node 3, and aggregation node 4 currently has no resident terminal device.

[0073] Terminal devices can be divided into mobile terminals and fixed terminals according to whether their locations are fixed or not. Fixed terminals are mostly micro-power wireless terminals, which usually have stronger dormancy and power saving requirements. Mobile terminals are mostly low-power terminals. The property of not having a fixed location requires mobile terminals to quickly switch networks. Each aggregation node can access the network through the root node and forward the messages of the resident terminal devices to the root node. The root node is a regional autonomous management center concept. For root nodes with wireless functions, broadcast instructions can be sent to aggregation nodes periodically. Both the root node and the aggregation node can interact directly with the resident terminal devices. For root nodes without wireless functions, they do not interact directly with the resident terminal devices, but manage the terminal switching function within the scope of regional autonomy. Among them, each node and terminal device is not limited to a single protocol and a single frequency band.

[0074] In the above IoT scenarios, there is a problem of cross-node switching when the mobile terminal moves between nodes. Currently, the mobile terminal still refers to the standard protocol in the public network when switching networks, which causes the mobile terminal to be extremely power-consuming and unable to adapt to the ultra-low power consumption requirements of the IoT. In addition, there is currently a lack of mobile terminal network switching methods that can meet low power consumption requirements in the IoT field.

[0075] In order to solve the existing technical problems, the present application discloses a network switching method for an IoT terminal through the following embodiments, which is applicable to any mobile terminal with a non-fixed position. Since only mobile terminals support network switching, and only when the signal of the resident site meets certain conditions, the mobile terminal will start monitoring the adjacent site and trigger the switching process, which can greatly reduce power consumption. In addition, part of the network switching work can be completed by the root node, so that the mobile terminal does not need to interact frequently, which can further reduce the power consumption of the mobile terminal. See Figure 2 As shown in the workflow diagram, a network switching method for an Internet of Things terminal provided in an embodiment of the present application specifically includes the following steps:

[0076] 101: When it is detected that the signal of the resident site meets the monitoring start condition, the signal strength of each first site is obtained, and a beacon message is sent to each second site.

[0077] The resident site is the aggregation node currently accessed by the mobile terminal. The first site is an aggregation node with broadcast function in the neighborhood of the resident site. The second site is an aggregation node without broadcast function in the neighborhood of the resident site. In normal use, only the resident site where the mobile terminal resides interacts with the mobile terminal. Other nodes only collect the signal strength of the mobile terminal that needs to be switched, and neither report the collected data nor interact with the mobile terminal.

[0078] It should be noted that the sites mentioned in the embodiments of the present application, unless otherwise specified, all represent nodes in the Internet of Things and will not be described separately later.

[0079] In some embodiments, before executing step 101, the mobile terminal may first determine the neighboring information of the resident site through the following steps, that is, determine each adjacent site adjacent to the resident site, and the first site and the second site in each adjacent site:

[0080] The first step is to detect whether the resident site has the broadcast function.

[0081] For example, WIFI (wireless network communication technology) sites, TDMA (Time Division Multiple Access) LoRa (Long Range Radio) sites, etc. are sites with broadcasting functions. Bluetooth sites, 2.4G LoRa sites, etc. are sites without broadcasting functions.

[0082] In the second step, if the resident site has a broadcast function, the neighboring area information of the resident site is obtained from the broadcast message of the resident site.

[0083] The neighboring cell information includes information of each first site and information of each second site. The information of the first site and the information of the second site may include frequency information, protocol specification, modulation mode, and time division multiple access (TDMA) information.

[0084] In some embodiments, a resident station with a broadcast function can regularly broadcast frequency information, protocol specifications, modulation methods, TDMA information, and other access-related information of adjacent stations or resident stations in the network. The mobile terminal can obtain neighboring information of the resident station and signal information of the resident station from the broadcast message.

[0085] In the third step, if the resident site does not have a broadcast function, a sixth message is sent to the resident site.

[0086] The sixth message is used to request the neighboring cell information of the resident site. The sixth message may be a control request message.

[0087] In the fourth step, after the resident site responds to the sixth message and sends the neighboring cell information to the mobile terminal, the neighboring cell information of the resident site is saved as the current neighboring cell information.

[0088] Specifically, after receiving the sixth message, the resident station without a broadcast function can respond to the mobile terminal with neighboring cell information and its own signal information. In this way, the mobile terminal only interacts with the resident station, which can better reduce the power consumption of the mobile terminal.

[0089] After obtaining the neighboring cell information, the mobile terminal with switching capability will record the neighboring cell information of the resident site in the network, and send a beacon message to the control channel of the second site without broadcast function in the network after sending a service message to the resident site each time, or regularly send a beacon message with a fixed signal strength to the resident site and the second site. The frequency of sending beacon messages can be determined according to the power of the mobile terminal itself. Among them, the service message will be sent to the service channel of the corresponding site, and the beacon message will be sent to the control channel of the corresponding site.

[0090] In the embodiment of the present application, there are three situations for the neighboring information of the resident site, namely: all adjacent sites are first sites with broadcasting function, all adjacent sites are second sites without broadcasting function, and all adjacent sites include both first sites and second sites. The following takes the example that all adjacent sites include both first sites and second sites to explain the content of the embodiment of the present application.

[0091] In some embodiments, the monitoring start condition may include that the signal strength of the resident site is less than a first threshold, or the signal-to-noise ratio of the resident site is less than a second threshold. Among them, the first threshold can be set to 80dBm (decibel milliwatts), and the second threshold can be set to 20dB (decibel). In addition, the first threshold and the second threshold can also be set according to experience and actual conditions, and the embodiments of the present application do not specifically limit this. In this way, the mobile terminal can decide whether to regularly monitor the broadcast signal strength of the adjacent site based on the signal strength of the current resident site. When the signal strength of the resident site is greater than or equal to the first threshold, and the signal-to-noise ratio is greater than or equal to the second threshold, the signal of the adjacent site is not monitored, which is extremely power-saving and can also maximize the power-saving needs of the Internet of Things.

[0092] In some embodiments, obtaining the signal strength of each first site can be achieved by measuring the signal strength of the broadcast message of each first site. After sending a beacon message to the control channel of each second site, each second site will first detect the attributes of the mobile terminal, such as whether it supports the network switching function and whether it is a mobile terminal with a non-fixed position. After detecting that the attributes of the mobile terminal meet the requirements, the second site will measure the signal strength of the received beacon message, and then report the measured signal strength of the beacon message to the root node. In this way, the mobile terminal can adopt different actions according to the different wireless resources of the adjacent sites, so as to be compatible with different types of nodes, with stronger adaptability and more intelligence. Among them, the second site can detect the attributes of the mobile terminal by detecting whether the registration information of the mobile terminal meets the requirements, or by detecting whether the mobile terminal is in the whitelist, and the embodiment of the present application does not specifically limit this. When the terminal is a fixed terminal, the network switching function is not supported, and only the mobile terminal in the Internet of Things needs to support the switching function.

[0093] Exemplarily, when all neighboring stations are second stations without broadcasting function, the mobile terminal sends a beacon message to each second station when detecting that the signal of the resident station meets the monitoring start condition. When all neighboring stations are first stations with broadcasting function, the mobile terminal obtains the signal strength of each first station when detecting that the signal of the resident station meets the monitoring start condition.

[0094] In this way, the mobile terminal can measure the broadcast channels of each nearby site in the neighborhood on the basis of meeting the sleep power saving requirements. The neighboring broadcast channel will be measured only when the signal of the resident site meets the monitoring start conditions, thereby greatly reducing its own power consumption. In addition, for situations where beacon messages need to be sent, the frequency of sending beacon messages can also be determined according to its own power consumption, so that it can better adapt to the low-power consumption scenario of the Internet of Things.

[0095] 102: When it is detected that the signal of the resident site meets the switching triggering condition, determine the first site with the largest signal strength as a candidate site.

[0096] Specifically, since the second station measures the signal strength of the beacon message, it will report the signal strength directly to the root node without feeding it back to the mobile terminal. Therefore, the mobile terminal can only directly measure the signal strength of the broadcast message of the first station and select the candidate station with the largest signal strength. It should be noted that the signal strength of the selected candidate station should be greater than the signal strength of the resident station.

[0097] Exemplarily, in the case where all neighboring sites are second sites without a broadcast function, when the mobile terminal detects that the signal of the resident site meets the switching triggering condition, the mobile terminal directly executes step 103 to trigger the network switching.

[0098] In some embodiments, the switching trigger condition may include that the signal strength of the resident site is less than a third threshold. The third threshold is less than the first threshold. In this way, when the signal of the resident site is further lower than the third threshold, the mobile terminal selects a candidate site and triggers the switching process, which can not only realize the automatic triggering of network switching, but also save power.

[0099] 103: Send a first message to the resident site.

[0100] Among them, the first message is a switching preparation message. The first message may carry the signal strength of the candidate site. Exemplarily, when all adjacent sites are second sites without broadcasting function, the candidate site carried in the first message may be empty. In addition, the first message may also carry the electronic identity (Electronic Identity, eID) of the resident site, the signal strength of the resident site, the eID of the target site, the signal strength of the target site, and other switching related information.

[0101] After receiving the first message, the resident site will forward the first message to the root node to wait for the root node to send a final switching instruction.

[0102] After receiving the first message sent by the resident site, the root node is configured to perform the following steps:

[0103] In the first step, in response to the first message, a sink node with the largest signal strength is selected from the candidate site and each second site, and the sink node with the largest signal strength is determined as the sink site. The signal strength of the second site is the signal strength of the beacon message measured by the second site and reported to the root node.

[0104] It should be noted that the pouring site and the candidate site may not be the same aggregation node. The root node will comprehensively select the pouring site based on the candidate sites selected by the mobile terminal and the signal strength reported by each second site, and control the mobile terminal to finally switch to the pouring site.

[0105] The second step is to send a first instruction for instructing the handover to the resident site and the incoming site respectively. After receiving the first instruction, the resident site will forward the first instruction to the mobile terminal.

[0106] The first instruction carries the eID of the imported site, the control channel frequency information of the imported site, the service channel frequency information of the imported site, etc. The control channel is used to receive beacon messages, and the service channel is used to receive service messages.

[0107] In this way, the root node sends the final switching instruction, which can reduce the steps of the mobile terminal's actions, thereby reducing the power consumption of the mobile terminal and being more suitable for the application scenarios of the Internet of Things.

[0108] 104: Receive a first instruction sent by the resident site.

[0109] 105: In response to the first instruction, pour out from the resident site and access the pouring site.

[0110] Figure 3 Schematic diagram of data interaction between the mobile terminal in response to the first instruction and the resident site, the root node and the dump site in the embodiment of the present application. Figure 3 As shown, in some embodiments, after the mobile terminal triggers network switching and sends a first message to the resident site, the resident site forwards the first message to the root node, and then the root node sends a first instruction to the resident site and the pouring site respectively, the mobile terminal can respond to the first instruction sent by the resident site through the following steps, pour out from the resident site, and access the pouring site:

[0111] Step 1: The mobile terminal sends a second message to the importing site and a third message to the resident site in response to the first instruction.

[0112] The second message is used to request a response message for the site to be added, and the second message may be a handover access message. The third message is used to respond to the first instruction, and the third message may be a handover response message.

[0113] Step 2: If the response message sent by the pouring site is not received within the preset time, the second message is resent to the pouring site.

[0114] Specifically, an access timer T can be started to control the preset duration. If a response message from the incoming site is received before the access timer T expires, it means that the handover is successful, and the mobile terminal sends a service message to the service channel of the incoming site. Otherwise, the terminal resends the second message after the timer T expires.

[0115] If the response message sent by the incoming site is not received within the preset time for multiple times, the switching is determined to have failed. The number of attempts can be set to three. If the switching is unsuccessful for three consecutive times, the switching is determined to have failed. At this time, the resident site still obtains the resident of the mobile terminal.

[0116] Step 3, if the mobile terminal receives the response message sent by the pouring site within the preset duration, the mobile terminal sends a service message to the service channel of the pouring site. At this time, the pouring site obtains the residence of the mobile terminal.

[0117] Step 4: The import site sends a fourth message to the root node.

[0118] The fourth message is used to indicate confirmation of switching, and the fourth message may be a switching confirmation message.

[0119] Step 5: After receiving the fourth message, the root node sends a fifth message to the resident site.

[0120] The fifth message is used to indicate that the handover is completed, that is, to indicate that the mobile terminal has been successfully moved out of the resident site. The fifth message may be a handover result indication message.

[0121] In this way, in the network switching method provided by the embodiment of the present application, only the mobile terminal supports network switching, and the mobile terminal has fewer interactive messages with each node. The monitoring of other adjacent sites will be started only when the signal of the resident site meets certain conditions, thereby greatly reducing power consumption. Different signal acquisition methods are used for different types of adjacent sites, and automatic switching will be triggered only when the signal of the resident site is further reduced. The root node issues the final switching instruction. The whole process is compatible with different types of nodes. The power consumption of the mobile terminal is very small, which can maximize the power saving needs of the Internet of Things, so it can be effectively applied in the Internet of Things.

[0122] In addition, after executing step 105, the network switching method provided by the embodiment of the present application also includes: obtaining the neighboring area information of the poured-in site. Then, based on the neighboring area information of the poured-in site, the poured-in site is determined as the current resident site, and the current neighboring area information is updated. Specifically, if the poured-in site has a broadcast function, the mobile terminal obtains access-related information such as frequency point information, protocol specification, modulation mode, TDMA information, etc. of the adjacent site from the broadcast message of the poured-in site, and updates the relevant information of the current neighboring area. If the poured-in site does not have a broadcast function, the mobile terminal will send a neighboring area information request message to actively obtain and update the current neighboring area information, and complete the switching process. After updating, you can return to step 101, and continue to cycle like this.

[0123] In addition, for fixed terminals with fixed locations, the network switching function is not supported. There is no need to measure the signal strength of the neighboring cells, nor is there a need to send beacon messages to each aggregation node in the neighboring cells. It is only necessary to obtain the neighboring cell information after the first network access, and re-scan the default configuration frequency or the nearby cell frequency after being disconnected from the network to re-enter the network, thereby meeting the requirements of sleep and power saving as much as possible in the Internet of Things.

[0124] The present application also provides another network switching method for an IoT terminal, which is applied to a root node in the IoT. The root node can also trigger a network switching process, and the root node performs part of the network switching work, thereby greatly reducing the power consumption of the mobile terminal. Figure 4 As shown in the workflow diagram, another network switching method for an IoT terminal provided in an embodiment of the present application specifically includes the following steps:

[0125] 201: Receive signal strength reported by each second station after measuring the beacon message.

[0126] The second site is a convergence node without broadcasting function in the vicinity of the resident site of the mobile terminal. The beacon message is sent to the second site by the mobile terminal when it detects that the signal of the resident site meets the monitoring start condition. The resident site is the convergence node currently accessed by the mobile terminal.

[0127] Specifically, the mobile terminal may periodically send beacon messages to the resident site without broadcasting function and the second site in the neighboring area. After each node without broadcasting function measures the signal strength of the beacon message, it will report it to the root node.

[0128] 202: If a first message sent by the resident site is received, in response to the first message, a sink node with the largest signal strength is selected from the candidate sites selected by the mobile terminal and each second site, and the sink node with the largest signal strength is determined as the pouring site.

[0129] The first message carries the signal strength of the candidate site, which is the first site with the largest signal strength selected from various first sites by the mobile terminal when the mobile terminal detects that the signal of the resident site meets the switching trigger condition. The first site is a convergence node with broadcast function in the neighborhood of the resident site.

[0130] It should be noted that if the mobile terminal periodically or irregularly sends beacon messages to the resident site and the second site in the neighboring area that do not have the broadcast function, the root node will receive multiple groups of reported signal strengths. When the root node receives the first message to determine the site to be entered, it can make a judgment based on the latest set of signal strengths obtained.

[0131] 203: Send a first instruction to the resident site and the pouring site respectively.

[0132] Among them, the first instruction is used to instruct the resident site and the pouring site to switch the resident of the mobile terminal. The first instruction carries the eID of the pouring site, the control channel frequency information of the pouring site, and the service channel frequency information of the pouring site. The control channel is used to receive beacon messages, and the service channel is used to receive service messages. In this way, the root node sends the final switching instruction, which can reduce the steps of the mobile terminal action, thereby reducing the power consumption of the mobile terminal and being more suitable for the application scenarios of the Internet of Things.

[0133] In addition, after executing step 203, the method provided by the embodiment of the present application may further include: after the root node receives the fourth message sent by the incoming site to indicate confirmation of the switch, the root node sends a fifth message to the resident site to indicate completion of the switch.

[0134] 204: If the first message sent by the resident site is not received, detect whether the signal strength of the resident site is less than a fourth threshold. If the signal strength of the resident site is less than the fourth threshold, execute step 205; if the signal strength of the resident site is greater than or equal to the fourth threshold, execute step 210.

[0135] Specifically, the fourth threshold value may be different from or the same as the third threshold value.

[0136] 205: Detect whether the difference between the signal strength of each sink node in the neighborhood of the resident site and the signal strength of the resident site is greater than a fifth threshold. If yes, execute step 206, if not, execute step S210.

[0137] The fifth threshold value is not specifically limited in this embodiment of the application.

[0138] 206: Determine the number of times that the difference between the signal strength of each sink node in the neighborhood of the resident site and the signal strength of the resident site is continuously detected to be greater than a fifth threshold.

[0139] 207: Determine whether the number of times that the difference between the signal strength of each sink node in the neighborhood of the resident site and the signal strength of the resident site is continuously detected to be greater than the fifth threshold is greater than a preset value. If so, execute step 208, otherwise execute step 210.

[0140] Among them, the preset value can be set to 2 times, or can also be set to other values, which is not limited in the embodiment of the present application.

[0141] 208: Determine the sink node with the largest signal strength among the sink nodes in the neighboring area of ​​the resident site as the target site.

[0142] For a first site or a resident site with a broadcast function, the root node may also obtain the signal strength of the first site or the resident site according to the broadcast message.

[0143] 209: Send a second instruction to the resident site and the target site respectively.

[0144] The second instruction is used to instruct the resident site and the target site to switch the resident state of the mobile terminal.

[0145] The mobile terminal can respond to the second instruction and perform an action similar to step 105, also pour out from the resident site, and access the target site. At this time, the target site obtains the resident of the mobile terminal.

[0146] In this way, when the mobile terminal does not trigger the switch, the root node will also trigger the network switch by itself according to the actual signal strength of each site, which can further reduce the energy consumption of the mobile terminal and is more suitable for special application scenarios of the Internet of Things.

[0147] 210: Continue to monitor the signal strength of each aggregation node in the neighborhood of the resident site and the signal strength of the resident site.

[0148] In this way, in the network switching method provided in the embodiment of the present application, both the mobile terminal and the root node can trigger network switching, and the root node issues the final switching instruction. The entire process can be compatible with different types of nodes. The mobile terminal does not need to interact frequently, nor does it need to bear all network switching work. The power consumption is very small, which can maximize the power saving needs of the Internet of Things, and can thus be effectively applied in the Internet of Things.

[0149] The following is a system embodiment of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the system embodiment of the present application, please refer to the method embodiment of the present application.

[0150] Figure 5 A data interaction diagram of a network switching system of an Internet of Things terminal provided in an embodiment of the present application. Figure 5As shown, the system provided by the embodiment of the present application has the function of implementing the above-mentioned network switching method, and the function can be implemented by hardware, or by hardware executing corresponding software. The system may include: a mobile terminal 501 and a root node 502 with unfixed positions, and may also include a resident site 503 and a pouring site 504. Among them, the resident site 503 is the aggregation node currently accessed by the mobile terminal 501, and the pouring site 504 is the aggregation node to which the mobile terminal 501 is to be switched. Specifically, the data interaction process between the mobile terminal 501 and the root node 502 is as follows:

[0151] Step 1: When the mobile terminal 501 detects that the signal of the resident site meets the monitoring start condition, it obtains the signal strength of each first site and sends a beacon message to each second site.

[0152] The resident site is the aggregation node currently accessed by the mobile terminal, the first site is an aggregation node with broadcast function in the neighborhood of the resident site, and the second site is an aggregation node without broadcast function in the neighborhood of the resident site.

[0153] Step 2: When the mobile terminal 501 detects that the signal of the station where it is staying meets the handover triggering condition, the mobile terminal 501 determines the first station with the largest signal strength as a candidate station.

[0154] Step 3: The mobile terminal 501 sends a first message to the resident site 503 .

[0155] The first message carries the signal strength of the candidate site.

[0156] Step 4: The resident site 503 sends a first message to the root node 502 .

[0157] Step 5: The root node 502 receives the signal strength reported by each second station after measuring the beacon message.

[0158] Step 6: In response to the first message, the root node 502 selects a sink node with the largest signal strength from the candidate sites selected by the mobile terminal 501 and each second site, and determines the sink node with the largest signal strength as the pouring site 504 .

[0159] Step 7: The root node 502 sends the first instruction to the resident site 503 and the import site 504 respectively.

[0160] The first instruction is used to instruct the resident site 503 and the dump site 504 to switch the resident state of the mobile terminal 501 .

[0161] Step 8: The resident site 503 sends a first instruction to the mobile terminal 501 .

[0162] Step 9: The mobile terminal 501 responds to the first instruction, pours out from the resident site 503 , and accesses the pouring site 504 .

[0163] In an implementable manner, the mobile terminal 501 is configured to pour out from the resident site 503 and access the pouring site 504 in response to the first instruction, including:

[0164] In response to the first instruction, a second message is sent to the pouring site 504, and a third message is sent to the resident site 503, wherein the second message is used to request a reply message from the pouring site 504, and the third message is used to respond to the first instruction.

[0165] If a response message is received from the pouring site 504 within a preset time period, a service message is sent to the service channel of the pouring site 504, so that the pouring site 504 sends a fourth message to the root node 502 to indicate confirmation of the switch. The fourth message is also used to drive the root node 502 to send a fifth message to the resident site 503 to indicate completion of the switch.

[0166] In an implementable manner, the mobile terminal 501 is further configured to:

[0167] If no response message is received from the pouring site 504 within the preset time period, the second message is resent to the pouring site 504 .

[0168] If the response message sent by the pouring site 504 is not received within the preset time period for multiple times, it is determined that the switching has failed.

[0169] In an achievable manner, the monitoring start condition includes that the signal strength of the resident site 503 is less than a first threshold, or the signal-to-noise ratio of the resident site 503 is less than a second threshold.

[0170] The switching triggering condition includes that the signal strength of the resident site 503 is less than a third threshold, and the third threshold is less than the first threshold.

[0171] In an implementable manner, the mobile terminal 501 is configured to determine the neighboring area information of the resident site 503 by the following method before detecting the signal of the resident site 503:

[0172] If the resident site 503 has a broadcast function, the neighboring information of the resident site 503 is acquired from the broadcast message of the resident site 503 , where the neighboring information includes information of each first site and information of each second site.

[0173] If the resident site 503 does not have a broadcast function, a sixth message is sent to the resident site 503 , where the sixth message is used to request neighboring information of the resident site 503 and information of the resident site 503 .

[0174] After the resident site 503 responds to the sixth message and sends the neighboring area information to the mobile terminal 501, the neighboring area information of the resident site 503 is saved as the current neighboring area information.

[0175] In an implementable manner, after the mobile terminal 501 responds to the first instruction, pours out from the resident site 503, and accesses the pouring site 504, the mobile terminal 501 is further configured to:

[0176] The neighboring area information of the pouring site 504 is obtained.

[0177] Based on the neighboring area information of the pour-in site 504, the pour-in site 504 is determined as the current resident site 503, and the current neighboring area information is updated.

[0178] In an implementable manner, the root node 502 is further configured to:

[0179] After receiving the fourth message sent by the incoming site 504 to indicate confirmation of the switching, a fifth message to indicate completion of the switching is sent to the resident site 503 .

[0180] In an implementable manner, the root node 502 is further configured to:

[0181] If the first message sent by the resident site 503 is not received, it is detected whether the signal strength of the resident site 503 is less than a fourth threshold.

[0182] If the signal strength of the resident site 503 is less than the fourth threshold, it is detected whether the differences between the signal strength of each aggregation node in the neighborhood of the resident site 503 and the signal strength of the resident site 503 are all greater than the fifth threshold.

[0183] If it is detected for multiple consecutive times that the difference between the signal strength of each aggregation node in the neighborhood of the resident site 503 and the signal strength of the resident site 503 is greater than the fifth threshold, the aggregation node with the largest signal strength among the aggregation nodes in the neighborhood of the resident site 503 is determined as the target site.

[0184] A second instruction is sent to the resident site 503 and the target site respectively, where the second instruction is used to instruct the resident site 503 and the target site to switch the resident state of the mobile terminal 501.

[0185] In the network switching system of the Internet of Things terminal provided in the embodiment of the present application, the terminal devices are divided into fixed terminals and mobile terminals, so that the number of terminals participating in the switching in the system is as small as possible, thereby reducing the system wireless resource consumption and improving the overall reliability of the Internet of Things. In addition, the node wireless resources are grouped, and different switching methods are adopted for micro-power wireless terminals with high power saving requirements and low-power wireless terminals with low power saving requirements. A more intelligent switching strategy is adopted for different node wireless resource types to be compatible with different types of nodes. Moreover, both the terminal and the node device can trigger the switching action. Therefore, it is more suitable for special application scenarios of the Internet of Things as a whole and can better meet the low power consumption requirements of the Internet of Things.

[0186] The present application is described in detail above in conjunction with specific implementation methods and exemplary examples, but these descriptions cannot be understood as limiting the present application. Those skilled in the art understand that, without departing from the spirit and scope of the present application, a variety of equivalent replacements, modifications or improvements can be made to the technical solution of the present application and its implementation methods, all of which fall within the scope of the present application. The scope of protection of the present application shall be subject to the attached claims.

Claims

1. A network switching method for an Internet of Things terminal, characterized in that: Applied to a mobile terminal with a non-fixed location, the method comprises: When it is detected that the signal of the resident site meets the monitoring start condition, the signal strength of each first site is obtained, and a beacon message is sent to each second site, the resident site is a sink node currently accessed by the mobile terminal, the first site is a sink node with a broadcast function in a neighboring area of ​​the resident site, and the second site is a sink node without a broadcast function in a neighboring area of ​​the resident site; When it is detected that the signal of the resident site meets the switching triggering condition, determining the first site with the largest signal strength as the candidate site; Sending a first message to the resident site, where the first message carries the signal strength of the candidate site; receiving a first instruction sent by the resident site, wherein the first instruction is an instruction for instructing switching sent by the root node to the resident site and the pouring site respectively after the root node selects a sink node with the largest signal strength from the candidate sites and each second site in response to the first message sent by the resident site, and determines the sink node with the largest signal strength as the pouring site, wherein the signal strength of the second site is the signal strength of the beacon message measured by the second site and reported to the root node; In response to the first instruction, pour out from the resident site and access the pouring site.

2. The method according to claim 1, characterized in that The step of pouring out from the resident site and accessing the pouring site in response to the first instruction comprises: In response to the first instruction, a second message is sent to the pouring site, and a third message is sent to the resident site, wherein the second message is used to request a reply message from the pouring site, and the third message is used to respond to the first instruction; If a response message is received from the pouring site within a preset time period, a service message is sent to the service channel of the pouring site, so that the pouring site sends a fourth message to the root node to indicate confirmation of the switch. The fourth message is also used to drive the root node to send a fifth message to the resident site to indicate completion of the switch.

3. The method according to claim 2, characterized in that The method further comprises: If no response message sent by the pouring site is received within the preset time period, resending the second message to the pouring site; If the response message sent by the input site is not received within the preset time period for multiple times, it is determined that the switching has failed.

4. The method according to claim 1, characterized in that: The monitoring start condition includes that the signal strength of the resident site is less than a first threshold, or the signal-to-noise ratio of the resident site is less than a second threshold; The switching triggering condition includes that the signal strength of the resident site is less than a third threshold, and the third threshold is less than the first threshold.

5. The method according to any one of claims 1 to 4, characterized in that Before detecting the signal of the resident site, the mobile terminal determines the neighboring area information of the resident site in the following manner: If the resident site has a broadcast function, obtaining neighboring information of the resident site from a broadcast message of the resident site, the neighboring information including information of each first site and information of each second site; If the resident site does not have a broadcast function, sending a sixth message to the resident site, where the sixth message is used to request neighboring information of the resident site and information of the resident site; After the resident site responds to the sixth message and sends the neighboring area information to the mobile terminal, the neighboring area information of the resident site is saved as current neighboring area information.

6. The method according to claim 5, characterized in that After the mobile terminal responds to the first instruction, pours out from the resident site, and accesses the pouring site, the method further includes: Obtaining neighboring area information of the pouring site; Based on the neighboring area information of the pouring site, the pouring site is determined as the current resident site, and the current neighboring area information is updated.

7. A network switching method for an Internet of Things terminal, characterized in that: Applied to a root node in the Internet of Things, the method comprises: Receiving signal strength reported by each second site after measuring the beacon message, the second site is a sink node without broadcast function in a neighboring area of ​​the resident site of the mobile terminal, the beacon message is sent by the mobile terminal to the second site when detecting that the signal of the resident site meets the monitoring start condition, and the resident site is the sink node currently accessed by the mobile terminal; If a first message sent by the resident site is received, in response to the first message, a sink node with the largest signal strength is selected from the candidate site and each second site selected by the mobile terminal, and the sink node with the largest signal strength is determined as the pouring site, the first message carries the signal strength of the candidate site, the candidate site is the first site with the largest signal strength selected from each first site by the mobile terminal when it is detected that the signal of the resident site meets the switching trigger condition, and the first site is a sink node with a broadcast function in a neighboring area of ​​the resident site; A first instruction is sent to the resident site and the pouring site respectively, wherein the first instruction is used to instruct the resident site and the pouring site to switch the resident of the mobile terminal.

8. The method according to claim 7, characterized in that The method further comprises: After receiving the fourth message sent by the dumping site to indicate confirmation of the switching, a fifth message to indicate completion of the switching is sent to the resident site.

9. The method according to claim 7 or 8, characterized in that: The method further comprises: If the first message sent by the resident site is not received, detecting whether the signal strength of the resident site is less than a fourth threshold; If the signal strength of the resident site is less than the fourth threshold, detecting whether the difference between the signal strength of each aggregation node in the neighborhood of the resident site and the signal strength of the resident site is greater than a fifth threshold; If it is detected for multiple consecutive times that the difference between the signal strength of each sink node in the neighborhood of the resident site and the signal strength of the resident site is greater than a fifth threshold, then the sink node with the largest signal strength among the sink nodes in the neighborhood of the resident site is determined as the target site; A second instruction is sent to the resident site and the target site respectively, where the second instruction is used to instruct the resident site and the target site to switch the resident state of the mobile terminal.

10. A network switching system for an Internet of Things terminal, characterized in that: Includes mobile terminals and root nodes with unfixed locations; The mobile terminal is configured to obtain the signal strength of each first site and send a beacon message to each second site when it is detected that the signal of the resident site meets the monitoring start condition, the resident site is a sink node currently accessed by the mobile terminal, the first site is a sink node with a broadcast function in a neighborhood of the resident site, and the second site is a sink node without a broadcast function in a neighborhood of the resident site; and, when it is detected that the signal of the resident site meets the switching trigger condition, determine the first site with the largest signal strength as a candidate site; and send a first message to the resident site, the first message carrying the signal strength of the candidate site; The root node is configured to receive the signal strength reported by each second site after measuring the beacon message; and, if the first message sent by the resident site is received, in response to the first message, select a sink node with the largest signal strength from the candidate site selected by the mobile terminal and each second site, and determine the sink node with the largest signal strength as the pour-in site; and send a first instruction to the resident site and the pour-in site respectively; the first instruction is used to instruct the resident site and the pour-in site to switch the resident of the mobile terminal; The mobile terminal is further configured to receive the first instruction sent by the resident site; and, in response to the first instruction, pour out from the resident site and access the pouring site.