Adaptive network switching method and device for mobile Internet of Things devices

Through the mobile Internet of Things devices dynamically analyze the degree of matching data security requirements with the network environment, and automatically select and switch to the most suitable network, solving the data transmission stability and security problems of traditional Internet of Things systems in complex environments, and achieving efficient network resource allocation and data transmission security.

CN120321728BActive Publication Date: 2025-08-19JIANGSU ZHIXIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510788242.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-13
Publication Date
2025-08-19
Estimated Expiration
2045-06-13

AI Technical Summary

Technical Problem

When traditional IoT systems face complex and changing network environments and growing data security requirements, it is difficult to intelligently identify data security needs and automatically select or switch to the most suitable network, resulting in the impact of the stability and security of data transmission.

Method used

The data request and current network status information of the IoT device cluster are obtained through mobile Internet of Things devices, and the preset network matching model is used to dynamically analyze the degree of matching between the data security level and the network security level, scan the network and switch to the target network to ensure the security and stability of data transmission.

Benefits of technology

It realizes automatic and efficient network switching of the Internet of Things system during data transmission, improves the stability and data security of the system, reduces human intervention, and improves data processing efficiency and system's autonomous adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321728B_ABST
    Figure CN120321728B_ABST
Patent Text Reader

Abstract

The present application provides a method and apparatus for adaptive network switching of a mobile phone IoT device. The method obtains a first data request from a first IoT device in an IoT device cluster through a mobile phone IoT device, and obtains first network status information of the current network. Then, using a preset network matching model, the method determines the first network matching status based on first data security level information and first network security level information. When the first network matching status is a first preset matching status, the mobile phone IoT device scans available networks to obtain a set of available networks, and determines a target network from the set of available networks to switch the mobile phone IoT device from the current network to the target network. This method achieves automatic and efficient network switching by dynamically analyzing the degree of matching between data security requirements and the current network environment, ensuring data transmission security, and improving the stability and data security of the entire IoT system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to data processing technology, and in particular to a method and device for adaptive network switching of mobile Internet of Things devices. Background Art

[0002] With the rapid development of IoT technology, a vast number of IoT devices are connected through various networks, forming a vast IoT ecosystem. These devices, including but not limited to smart homes, industrial automation sensors, and remote surveillance cameras, continuously generate and exchange data, enabling information sharing and remote control between devices. In this process, data security and network reliability become crucial factors.

[0003] Traditional IoT systems often rely on a single network connection, but this model struggles with complex and volatile network environments and growing data security requirements. On the one hand, data security levels vary significantly across different scenarios. For example, device control instructions require highly secure networks, while routine status reports may have lower security requirements. On the other hand, network uncertainties, such as signal strength fluctuations, network congestion, or temporary outages, can impact the stability and security of data transmission.

[0004] Therefore, how to enable IoT devices to intelligently identify data security requirements and automatically select or switch to the most suitable network under various network conditions has become an urgent problem to be solved in the current field of IoT technology. Summary of the Invention

[0005] The present application provides a method and apparatus for adaptive network switching of mobile Internet of Things devices, which is used to achieve automatic and efficient network switching by dynamically analyzing the degree of match between data security requirements and the current network environment, ensuring that data transmission is both fast and secure, thereby improving the stability and data security of the entire Internet of Things system.

[0006] In a first aspect, the present application provides a method for adaptive network switching of a mobile phone IoT device, which is applied to an IoT management device, wherein the IoT management device includes a mobile phone IoT device and an IoT device cluster, wherein each IoT device in the IoT device cluster is communicatively connected to the mobile phone IoT device; the method includes:

[0007] The mobile Internet of Things device obtains a first data request from a first Internet of Things device in the Internet of Things device cluster, where the first data request includes first data security level information;

[0008] The mobile Internet of Things device obtains first network status information of the current network, where the first network status information includes first network security level information;

[0009] The mobile phone IoT device uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information, where the first network matching status is used to represent a matching relationship between the first data security level information and the first network security level information;

[0010] If the first network matching status is the first preset matching status, the mobile phone Internet of Things device performs an available network scan to obtain an available network set, and determines a target network from the available network set to switch the mobile phone Internet of Things device from the current network to the target network. The second network matching status between the second network security level information corresponding to the target network and the first data security level information is the second preset matching status.

[0011] In this solution, mobile IoT devices monitor data requests from a cluster of IoT devices in real time. Combined with current network status information, they can dynamically determine whether data security requirements match the network environment. If the data security level exceeds the network's provided security level, a network scan is automatically performed and a switch to a more secure network is initiated, ensuring that data transmission meets security requirements, effectively improving the security and reliability of the IoT system.

[0012] Optionally, the mobile phone IoT device uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information, including:

[0013] If the mobile Internet of Things device determines that the first data security level information is higher than the first network security level information, the first network matching state is the first preset matching state;

[0014] If the mobile phone Internet of Things device determines that the first data security level information is equal to or lower than the first network security level information, the first network matching state is the second preset matching state.

[0015] In the above solution, by comparing the data security level with the network security level, the network switching process is automatically triggered or the current connection is maintained. This mechanism strengthens the intelligent allocation of network resources, ensures that data transmission is carried out in a network environment with matching security levels, enhances the system's autonomous adaptability, reduces human intervention, and improves data processing efficiency.

[0016] Optionally, after determining the first network matching status according to the first data security level information and the first network security level information, the method further includes:

[0017] If the first network matching state is the second preset matching state, the mobile phone Internet of Things device sends the first data to the first Internet of Things device through the target network in response to the first data request.

[0018] In the above scheme, in the second preset matching state, when the network matches the data security requirements, the device directly responds to the data request and sends the data, which reflects that the system not only ensures security, but also takes into account the real-time and continuity of data transmission. This design avoids unnecessary network switching, optimizes resource utilization, and enhances the practicality and flexibility of the Internet of Things system.

[0019] Optionally, the determining of the target network from the set of available networks includes:

[0020] The mobile Internet of Things device obtains the available network set Each available network in Network characteristic parameters , the available network The available network set Middle Available networks, the network characteristic parameters Including network transmission rate , network delay and packet loss rate ;

[0021] The mobile Internet of Things device uses formula 1 and according to the network transmission rate , the network delay And the packet loss rate Determining the Network Status Score , to generate the available network set The corresponding network status score set , wherein the formula 1 is:

[0022]

[0023] in, is the first preset positive number, is the second preset positive number, is the first weight value, is the second weight value, is the third weight value;

[0024] The mobile Internet of Things device is based on the network status score set Determine the set of available networks The target network in the set of available networks The available network with the highest network status score.

[0025] In the above solution, by acquiring network characteristic parameters and calculating a network status score, this technology can scientifically assess the quality of available networks, ensuring that the target network is selected based on the principle of optimal overall performance. This not only improves the quality of network switching decisions, but also ensures the speed and stability of data transmission, effectively enhancing user experience and network service quality.

[0026] Optionally, in the network transmission rate , the network delay And the packet loss rate Determining the Network Status Score Previously, it also included:

[0027] If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a device control instruction based on the first data type in the first data request, the network status score is determined using Formula 2. The corresponding weight value sequence includes the first weight value , the second weight value And the third weight value , the formula 2 is:

[0028]

[0029] in, is the preset first weight initial value, To preset the second weight initial value, is the first weight correction value, is the second weight correction value, Preset characteristic correlation coefficient for network transmission rate, Preset characteristic correlation coefficient for network delay, is the preset minimum network transmission rate corresponding to the first data type, The preset maximum network delay corresponding to the first data type;

[0030] If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a data backup instruction based on the first data type in the first data request, the network status score is determined using Formula 3. The corresponding weight value sequence, Formula 3 is:

[0031]

[0032] in, is the preset third weight initial value, is the third weight correction value, Preset characteristic correlation coefficient for packet loss rate, The preset maximum packet loss rate corresponding to the first data type.

[0033] In this solution, the network status score weighting sequence is dynamically adjusted based on the type of data request, ensuring that the score better reflects actual application needs. Specifically, for device control instructions, the emphasis is placed on network transmission rate and latency; for data backup instructions, the emphasis is placed on packet loss rate. This dynamic adjustment mechanism improves the targeting of network selection and ensures the most efficient use of network resources in different application scenarios.

[0034] Optionally, if the feedback data type corresponding to the first data request is the data backup instruction, after determining the target network from the set of available networks, the method further includes:

[0035] If the number of times the mobile IoT device detects abnormal packet loss rate exceeds the preset threshold within the preset time period, the network status score corresponding to the target network is updated using Formula 4 , the packet loss rate exception is a communication state where the packet loss rate exceeds a preset packet loss rate threshold, and the formula 4 is:

[0036]

[0037] in, 、 、 are respectively the first weight value, the second weight value, and the third weight value in the weight value sequence corresponding to the target network, determined according to Formula 2; 、 、 are respectively the current transmission rate, current network delay and current packet loss rate of the target network; The number of times the abnormal packet loss rate is detected within the preset time period; The target network is the first The packet loss rate when the monitored packet loss rate is abnormal; is the preset smoothing weight factor;

[0038] The mobile Internet of Things device scores the updated network status of the target network Update the set of available networks The corresponding network status score set , to score the set based on the updated network status Determine a new target network, the new target network being the set of available networks The available network with the highest network status score.

[0039] In the above solution, when processing data backup instructions, if the target network experiences an abnormal packet loss rate, the network status score is updated and a new network is selected, effectively responding to real-time changes in network conditions. This mechanism enhances the system's dynamic adaptability, reduces errors during data transmission, ensures the reliable completion of data backup tasks, and thus improves the overall system robustness and data integrity.

[0040] Optionally, after switching the mobile phone Internet of Things device from the current network to the target network, the method further includes:

[0041] The mobile Internet of Things device generates a network management event log file, and the network management event log file is used to record network switching events;

[0042] Correspondingly, after the mobile phone IoT device sends the first data to the first IoT device through the target network in response to the first data request, the method further includes:

[0043] The mobile Internet of Things device records data information of the first data in the network management event log file.

[0044] In the above solution, a network management event log file is generated after a successful network switch, and relevant data information is recorded. This measure provides a detailed operation record and data analysis basis, which helps system administrators track network switching behavior, evaluate the stability of the network environment, and perform troubleshooting and performance optimization, thereby improving the system's maintainability and management efficiency.

[0045] In a second aspect, the present application provides an Internet of Things management device, comprising: a mobile Internet of Things device and an Internet of Things device cluster, wherein each Internet of Things device in the Internet of Things device cluster is communicatively connected to the mobile Internet of Things device;

[0046] The mobile Internet of Things device obtains a first data request from a first Internet of Things device in the Internet of Things device cluster, where the first data request includes first data security level information;

[0047] The mobile Internet of Things device obtains first network status information of the current network, where the first network status information includes first network security level information;

[0048] The mobile phone IoT device uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information, where the first network matching status is used to represent a matching relationship between the first data security level information and the first network security level information;

[0049] If the first network matching status is the first preset matching status, the mobile phone Internet of Things device performs an available network scan to obtain an available network set, and determines a target network from the available network set to switch the mobile phone Internet of Things device from the current network to the target network. The second network matching status between the second network security level information corresponding to the target network and the first data security level information is the second preset matching status.

[0050] Optionally, if the mobile Internet of Things device determines that the first data security level information is higher than the first network security level information, the first network matching state is the first preset matching state;

[0051] If the mobile phone Internet of Things device determines that the first data security level information is equal to or lower than the first network security level information, the first network matching state is the second preset matching state.

[0052] Optionally, if the first network matching status is the second preset matching status, the mobile phone Internet of Things device responds to the first data request and sends the first data to the first Internet of Things device through the target network.

[0053] Optionally, the mobile Internet of Things device obtains the available network set Each available network in Network characteristic parameters , the available network The available network set Middle Available networks, the network characteristic parameters Including network transmission rate , network delay and packet loss rate ;

[0054] The mobile Internet of Things device uses formula 1 and according to the network transmission rate , the network delay And the packet loss rate Determining the Network Status Score , to generate the available network set The corresponding network status score set , wherein the formula 1 is:

[0055]

[0056] in, is the first preset positive number, is the second preset positive number, is the first weight value, is the second weight value, is the third weight value;

[0057] The mobile Internet of Things device is based on the network status score set Determine the set of available networks The target network in the set of available networks The available network with the highest network status score.

[0058] Optionally, if the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a device control instruction based on the first data type in the first data request, the network status score is determined using Formula 2. The corresponding weight value sequence includes the first weight value , the second weight value And the third weight value , the formula 2 is:

[0059]

[0060] in, is the preset first weight initial value, To preset the second weight initial value, is the first weight correction value, is the second weight correction value, Preset characteristic correlation coefficient for network transmission rate, Preset characteristic correlation coefficient for network delay, is the preset minimum network transmission rate corresponding to the first data type, The preset maximum network delay corresponding to the first data type;

[0061] If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a data backup instruction based on the first data type in the first data request, the network status score is determined using Formula 3. The corresponding weight value sequence, Formula 3 is:

[0062]

[0063] in, is the preset third weight initial value, is the third weight correction value, Preset characteristic correlation coefficient for packet loss rate, The preset maximum packet loss rate corresponding to the first data type.

[0064] Optionally, if the number of times the mobile IoT device detects abnormal packet loss rate exceeds a preset threshold within a preset time period, the network status score corresponding to the target network is updated using Formula 4. , the packet loss rate exception is a communication state where the packet loss rate exceeds a preset packet loss rate threshold, and the formula 4 is:

[0065]

[0066] in, 、 、 are respectively the first weight value, the second weight value, and the third weight value in the weight value sequence corresponding to the target network, determined according to Formula 2; 、 、 are respectively the current transmission rate, current network delay and current packet loss rate of the target network; The number of times the abnormal packet loss rate is detected within the preset time period; The target network is the first The packet loss rate when the monitored packet loss rate is abnormal; is the preset smoothing weight factor;

[0067] The mobile Internet of Things device scores the updated network status of the target network Update the set of available networks The corresponding network status score set , to score the set based on the updated network status Determine a new target network, the new target network being the set of available networks The available network with the highest network status score.

[0068] Optionally, the mobile Internet of Things device generates a network management event log file, and the network management event log file is used to record network switching events;

[0069] Correspondingly, after the mobile phone IoT device sends the first data to the first IoT device through the target network in response to the first data request, the method further includes:

[0070] The mobile Internet of Things device records data information of the first data in the network management event log file.

[0071] In a third aspect, the present application provides an electronic device, comprising:

[0072] processor; and,

[0073] a memory for storing executable instructions of the processor;

[0074] The processor is configured to perform any possible method described in the first aspect by executing the executable instructions.

[0075] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement any possible method described in the first aspect.

[0076] The present application provides a method and apparatus for adaptive network switching of a mobile phone Internet of Things device, which obtains a first data request of a first Internet of Things device in an Internet of Things device cluster through a mobile phone Internet of Things device, and obtains first network status information of the current network. Then, a preset network matching model is used, and the first network matching status is determined according to the first data security level information and the first network security level information. When the first network matching status is the first preset matching status, the mobile phone Internet of Things device scans available networks to obtain a set of available networks, and determines a target network from the set of available networks to switch the mobile phone Internet of Things device from the current network to the target network. Thus, by dynamically analyzing the degree of matching between the security requirements of the data and the current network environment, automatic and efficient network switching is achieved, ensuring data transmission security, thereby improving the stability and data security of the entire Internet of Things system. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0078] Figure 1 This is a flow chart of a method for adaptive network switching of a mobile Internet of Things device according to an exemplary embodiment of the present application;

[0079] Figure 2 This is a flow chart of a method for adaptive network switching of a mobile phone IoT device according to another exemplary embodiment of the present application;

[0080] Figure 3 1 is a schematic structural diagram of an Internet of Things management device according to an exemplary embodiment of the present application;

[0081] Figure 4 2 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.

[0082] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0083] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0084] With the rapid development of IoT technology, mobile IoT devices play a vital role as a bridge between the physical and digital worlds. However, IoT devices face diverse network environments and varying levels of data security when transmitting data, placing higher demands on network adaptability and security.

[0085] The invention concept of this application is to solve the problem of how to enable mobile Internet of Things devices to intelligently and adaptively select the optimal network based on the matching of the data security level and the current network status when processing data requests from an Internet of Things device cluster, so as to ensure the security and efficiency of data transmission.

[0086] Specifically, the present invention is conceived around the following core points:

[0087] Dynamic Monitoring and Intelligent Matching: By building a real-time monitoring mechanism, mobile IoT devices can dynamically obtain data requests and their security level information from the IoT device cluster, while also monitoring the current network security level. Using a pre-set network matching model, the system determines whether data security requirements match network security capabilities, using this as a trigger for network switching. This requires the model to intelligently assess the difference in data and network security levels, ensuring that sensitive data is transmitted within a sufficiently secure network environment.

[0088] Comprehensive Network Status Assessment: To determine the target network for handover, a network status assessment system is designed. This system obtains key parameters such as transmission rate, latency, and packet loss rate, and uses a specific formula to calculate a network status score. This system provides a scientific and comprehensive assessment of available network performance. This scoring mechanism dynamically adjusts weights based on different data types (such as device control commands or data backup commands) to ensure that the score accurately reflects the specific needs of data transmission.

[0089] Dynamic Adjustment and Optimization: For applications sensitive to packet loss, such as data backup commands, a mechanism has been designed to monitor and handle abnormal packet loss rates. If the target network experiences abnormal packet loss within a preset timeframe, the network status score is smoothly adjusted based on the packet loss situation, and a new network is selected accordingly to ensure data transmission reliability. This dynamic adjustment process demonstrates rapid response and optimization to changing network conditions.

[0090] Management and Logging: This application also records and analyzes network management events. After each network switch, the mobile IoT device automatically generates a log file, recording the network switch event and data transmission details. This not only facilitates subsequent network performance analysis and optimization, but also provides a detailed basis for system maintenance and troubleshooting.

[0091] In summary, the concept of the present invention aims to improve the adaptability and data security of mobile Internet of Things devices in the network environment. Through dynamic monitoring, intelligent matching, status evaluation and optimization adjustment, it ensures that data is transmitted in the most appropriate network environment, thereby meeting the urgent need for efficient and secure communication in the Internet of Things era.

[0092] It's also worth noting that the aforementioned mobile IoT devices refer to smartphones or other mobile devices capable of communicating and exchanging data with other devices via the internet. These devices integrate IoT technology alongside traditional mobile phone functionality. This allows mobile phones to function not only as standalone smart terminals, but also as control centers or nodes within the IoT ecosystem, interacting with other smart devices such as smart home products (e.g., smart light bulbs and smart door locks), wearable devices, health monitors, cars, and other IoT sensors.

[0093] Figure 1 This is a flow chart of a method for adaptive network switching of a mobile phone IoT device according to an exemplary embodiment of the present application. Figure 1 As shown, the method for adaptive network switching of a mobile Internet of Things device provided in this embodiment includes:

[0094] S101. A mobile Internet of Things device obtains a first data request from a first Internet of Things device in an Internet of Things device cluster.

[0095] The adaptive network switching method for mobile phone IoT devices provided in this application can be applied to an IoT management device, which includes a mobile phone IoT device and an IoT device cluster. Each IoT device in the IoT device cluster is communicated with the mobile phone IoT device.

[0096] In this step, the mobile Internet of Things device obtains a first data request from a first Internet of Things device in the Internet of Things device cluster, where the first data request includes first data security level information.

[0097] Specifically, in actual operation, the mobile IoT device continuously monitors the activities of each device in the IoT device cluster through the established communication interface. Once a first data request is received from a first IoT device, the request explicitly includes information about the security level of the first data. For example, the data may be labeled "highly sensitive," "sensitive," or "non-sensitive," reflecting the degree of protection required during data transmission.

[0098] S102. The mobile Internet of Things device obtains first network status information of the current network.

[0099] In this step, the mobile Internet of Things device obtains first network status information of the current network, and the first network status information includes first network security level information.

[0100] Specifically, the mobile IoT device then queries and collects first network status information of the currently connected network. This information specifically focuses on the first network security level, which reflects the current network environment's ability to ensure data security. This network status information can be obtained through a network interface controller or by interacting with a network service provider's network data interface.

[0101] S103: The mobile Internet of Things device uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information.

[0102] In this step, the mobile Internet of Things device uses a preset network matching model and determines a first network matching status based on the first data security level information and the first network security level information. The first network matching status is used to characterize the matching relationship between the first data security level information and the first network security level information.

[0103] Specifically, the mobile IoT device uses a preset network matching model to analyze the acquired first data security level and first network security level information. The model is designed based on logical judgment. For example, if the data security level is higher than the network's security protection level, the network is deemed unsuitable for data transmission and is marked as a first preset matching state, indicating a need to switch networks. Conversely, if the data security level is equal to or lower than the network's protection level, the current network is deemed sufficient to meet security requirements and is marked as a second preset matching state.

[0104] In a possible implementation, if the mobile phone Internet of Things device determines that the first data security level information is higher than the first network security level information, the first network matching state is the first preset matching state.

[0105] If the mobile phone Internet of Things device determines that the first data security level information is equal to or lower than the first network security level information, the first network matching state is the second preset matching state.

[0106] Specifically, during implementation, the mobile IoT device first establishes a communication connection with the first IoT device in the IoT device cluster via an internal communication module, such as Bluetooth, Wi-Fi, or a cellular network interface. When the first IoT device in the cluster sends a data request, it embeds data security level information in the request packet. This information is typically a numerical rating or classification label, such as Level 1 (low security), Level 2 (medium security), or Level 3 (high security). Upon receiving this request, the mobile IoT device immediately parses the data security level information.

[0107] At the same time, mobile IoT devices use network status detection to monitor the status of the currently connected network, focusing on obtaining information about the network's security level. Network security levels are also categorized based on factors such as network encryption protocols, authentication mechanisms, and historical security records.

[0108] Next, the processor of the mobile IoT device executes the preset network matching model algorithm. The model compares the data security level information with the network security level in the network status information:

[0109] If the first data security level is higher than the first network security level, meaning the data security requirements exceed the protection level provided by the current network, the mobile IoT device will determine the first network matching status as the first preset matching status. This status indicates that the current network is not suitable for transmitting data with this security level and that a more secure network environment is needed.

[0110] Conversely, if the first data security level is equal to or lower than the first network security level, the current network can meet the data security transmission requirements, and the network matching status is marked as the second preset matching status. In this case, the mobile IoT device believes that there is no need to switch networks and can continue to use the current network to transmit data.

[0111] When the network matching status is determined to be the second preset matching status, the mobile IoT device will directly respond to the first data request and send the required first data to the first IoT device that initiated the request via the current network. This step ensures the immediacy and efficiency of data transmission when the security level matches, avoids unnecessary network switching operations, and reduces data transmission delays.

[0112] Through the above implementation, the mobile IoT device can intelligently make a decision on whether to switch networks based on the security level of the data and the security capabilities of the current network, thereby optimizing the efficiency of network resource utilization while ensuring data security.

[0113] S104. The mobile Internet of Things device performs an available network scan to obtain an available network set, and determines a target network from the available network set.

[0114] In this step, if the first network matching status is the first preset matching status, the mobile phone Internet of Things device performs an available network scan to obtain an available network set, and determines a target network from the available network set to switch the mobile phone Internet of Things device from the current network to the target network. The second network matching status between the second network security level information corresponding to the target network and the first data security level information is the second preset matching status.

[0115] Specifically, if the result of the determination is the first preset match, the mobile IoT device initiates an available network scanning process, searching for available network resources in the surrounding area to form a set of available networks. Based on factors such as the network's security level, transmission speed, and latency, it selects a target network that best matches the first data security level (i.e., the network's second network security level meets the second preset match with the first data security level). The mobile IoT device then performs a network switching operation to ensure that subsequent data transmission occurs in a more secure or suitable network environment.

[0116] Based on the above embodiment, if the first network matching state is the second preset matching state, the mobile Internet of Things device responds to the first data request and sends the first data to the first Internet of Things device through the target network.

[0117] Specifically, when the mobile IoT device recognizes that the first network matching state is the second preset matching state, it means that the current network environment has met the data security level requirement of the first data request. At this time, the device does not need to switch networks, but directly enters the data transmission preparation stage.

[0118] Before responding to data requests, mobile IoT devices perform a security check before data transmission. This includes, but is not limited to, encrypting the data being sent to ensure it cannot be illegally intercepted or tampered with during transmission. Encryption can use international standard encryption algorithms to ensure data privacy and integrity.

[0119] The mobile IoT device uses the currently connected network (i.e., the target network) to send the first data to the first IoT device through its communication interface (e.g., Wi-Fi, 4G / 5G network). The sending process may include data fragmentation, packaging, serialization, and data encapsulation through the TCP / IP protocol stack to ensure that the data reaches the destination correctly.

[0120] During data transmission, the mobile IoT device monitors the data packet's status in real time, checking its progress, packet loss rate, and retransmissions. Once data is successfully transmitted to the first IoT device, the mobile IoT device waits for a confirmation reply confirming the data has been received. If no confirmation is received or a data transmission error is detected, the device automatically triggers a retransmission mechanism to ensure data transmission reliability.

[0121] After the data transmission is completed, the mobile IoT device will also generate a network management event log file locally or in the cloud to record key information of this data transmission, such as transmission time, data volume, network status, transmission time, etc., to facilitate subsequent network performance evaluation, troubleshooting and optimization decisions.

[0122] Through the above-mentioned specific implementation methods, mobile Internet of Things devices efficiently respond to data requests while ensuring data security, optimize the data transmission process, and improve the overall stability and data processing efficiency of the Internet of Things system.

[0123] Optionally, after switching the mobile IoT device from the current network to the target network, the mobile IoT device generates a network management event log file, which is used to record the network switching event. Furthermore, after the mobile IoT device sends the first data to the first IoT device via the target network in response to the first data request, the mobile IoT device records data information about the first data in the network management event log file.

[0124] Specifically, when the mobile IoT device successfully switches from its current network to the target network, the network management module within the system receives a confirmation signal. This signal, which may be sent by the operating system or the network interface controller, indicates that the new network connection has been established and is running stably.

[0125] The mobile IoT device's control software then initiates the logging process, creating a file called the "Network Management Event Log." This file is typically saved to the device's non-volatile storage area, such as flash memory or an external memory card, to ensure log records are retained even during power outages. Log files can be formatted in text (e.g., .txt), CSV, or more complex structured formats (e.g., .json) to facilitate subsequent analysis and retrieval.

[0126] In the log file, a network switching event is first recorded. This entry contains at least the following key information:

[0127] Timestamp: records the exact time when the network switch occurs.

[0128] Source network ID and target network ID: Identify the network types before and after the switch.

[0129] Reason Code: A short code or description explaining why the network switch occurred, such as "Data Security Level Mismatch."

[0130] Switch result: Status flag of success or failure.

[0131] Other related parameters: such as network switching time, signal strength comparison between new and old networks, etc.

[0132] Then, after the mobile IoT device successfully responds to the data request from the first IoT device through the target network, it will append detailed information about the data transmission to the same log file:

[0133] Data transfer start and end time: records the start and end time of the data transfer operation.

[0134] Data type and size: Clearly indicate the type of data being transmitted (such as device control instructions, data backup, etc.) and its data volume.

[0135] Transmission status: whether it is successful, whether there is packet loss or retransmission.

[0136] Target device identification: The unique identification of the first IoT device, which facilitates tracking of data flow.

[0137] Network performance parameters: The actual performance of the target network during data transmission, such as transmission rate, latency, and packet loss rate.

[0138] To ensure orderly log file management, mobile IoT devices may also periodically archive logs. For example, they may segment log files by date or size, or automatically delete the oldest log records when storage space is insufficient. Furthermore, the device may provide a user interface or remote management interface that allows administrators to view, search, and export these log files for network performance monitoring, troubleshooting, and compliance auditing.

[0139] Through the above specific implementation methods, mobile IoT devices can record key information of network switching and data transmission in detail, providing a reliable basis for system operation and maintenance management and troubleshooting, while also meeting the high standards of IoT systems for data security and network performance monitoring.

[0140] In this embodiment, a first data request of a first IoT device in an IoT device cluster is obtained through a mobile phone IoT device, and first network status information of the current network is obtained. Then, a preset network matching model is used, and the first network matching status is determined according to the first data security level information and the first network security level information. When the first network matching status is a first preset matching status, the mobile phone IoT device performs an available network scan to obtain an available network set, and determines a target network from the available network set to switch the mobile phone IoT device from the current network to the target network. Thus, by dynamically analyzing the degree of matching between the security requirements of the data and the current network environment, automatic and efficient network switching is achieved, ensuring data transmission security, thereby improving the stability and data security of the entire IoT system.

[0141] Figure 2 This is a flow chart of a method for adaptive network switching of a mobile phone IoT device according to another exemplary embodiment of the present application. Figure 2 As shown, the method for adaptive network switching of a mobile Internet of Things device provided in this embodiment includes:

[0142] S201. A mobile Internet of Things device obtains a first data request from a first Internet of Things device in an Internet of Things device cluster.

[0143] In this step, the mobile Internet of Things device obtains a first data request from a first Internet of Things device in the Internet of Things device cluster, where the first data request includes first data security level information.

[0144] Specifically, in actual operation, the mobile IoT device continuously monitors the activities of each device in the IoT device cluster through the established communication interface. Once a first data request is received from a first IoT device, the request explicitly includes information about the security level of the first data. For example, the data may be labeled "highly sensitive," "sensitive," or "non-sensitive," reflecting the degree of protection required during data transmission.

[0145] S202. The mobile Internet of Things device obtains first network status information of the current network.

[0146] In this step, the mobile Internet of Things device obtains first network status information of the current network, and the first network status information includes first network security level information.

[0147] Specifically, the mobile IoT device then queries and collects first network status information of the currently connected network. This information specifically focuses on the first network security level, which reflects the current network environment's ability to ensure data security. This network status information can be obtained through a network interface controller or by interacting with a network service provider's network data interface.

[0148] S203: The mobile Internet of Things device uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information.

[0149] In this step, the mobile Internet of Things device uses a preset network matching model and determines a first network matching status based on the first data security level information and the first network security level information. The first network matching status is used to characterize the matching relationship between the first data security level information and the first network security level information.

[0150] Specifically, the mobile IoT device uses a preset network matching model to analyze the acquired first data security level and first network security level information. The model is designed based on logical judgment. For example, if the data security level is higher than the network's security protection level, the network is deemed unsuitable for data transmission and is marked as a first preset matching state, indicating a need to switch networks. Conversely, if the data security level is equal to or lower than the network's protection level, the current network is deemed sufficient to meet security requirements and is marked as a second preset matching state.

[0151] In a possible implementation, if the mobile phone Internet of Things device determines that the first data security level information is higher than the first network security level information, the first network matching state is the first preset matching state.

[0152] If the mobile phone Internet of Things device determines that the first data security level information is equal to or lower than the first network security level information, the first network matching state is the second preset matching state.

[0153] Specifically, during implementation, the mobile IoT device first establishes a communication connection with the first IoT device in the IoT device cluster via an internal communication module, such as Bluetooth, Wi-Fi, or a cellular network interface. When the first IoT device in the cluster sends a data request, it embeds data security level information in the request packet. This information is typically a numerical rating or classification label, such as Level 1 (low security), Level 2 (medium security), or Level 3 (high security). Upon receiving this request, the mobile IoT device immediately parses the data security level information.

[0154] At the same time, mobile IoT devices use network status detection to monitor the status of the currently connected network, focusing on obtaining information about the network's security level. Network security levels are also categorized based on factors such as network encryption protocols, authentication mechanisms, and historical security records.

[0155] Next, the processor of the mobile IoT device executes the preset network matching model algorithm. The model compares the data security level information with the network security level in the network status information:

[0156] If the first data security level is higher than the first network security level, meaning the data security requirements exceed the protection level provided by the current network, the mobile IoT device will determine the first network matching status as the first preset matching status. This status indicates that the current network is not suitable for transmitting data with this security level and that a more secure network environment is needed.

[0157] Conversely, if the first data security level is equal to or lower than the first network security level, the current network can meet the data security transmission requirements, and the network matching status is marked as the second preset matching status. In this case, the mobile IoT device believes that there is no need to switch networks and can continue to use the current network to transmit data.

[0158] When the network matching status is determined to be the second preset matching status, the mobile IoT device will directly respond to the first data request and send the required first data to the first IoT device that initiated the request via the current network. This step ensures the immediacy and efficiency of data transmission when the security level matches, avoids unnecessary network switching operations, and reduces data transmission delays.

[0159] Through the above implementation, the mobile IoT device can intelligently make a decision on whether to switch networks based on the security level of the data and the security capabilities of the current network, thereby optimizing the efficiency of network resource utilization while ensuring data security.

[0160] S204: The mobile IoT device scans available networks to obtain a set of available networks.

[0161] In this step, if the first network matching state is the first preset matching state, the mobile Internet of Things device performs an available network scan to obtain an available network set.

[0162] S205. The mobile Internet of Things device obtains network characteristic parameters of each available network in the available network set.

[0163] In this step, the mobile IoT device obtains the available network set Each available network in Network characteristic parameters , available network Set of available networks Middle Available networks, network characteristic parameters Including network transmission rate , network delay and packet loss rate .

[0164] Specifically, when a mobile IoT device needs to switch networks, it first performs a scan to discover and collect information about all available networks in its vicinity. These networks may include, but are not limited to, Wi-Fi and cellular data networks (such as 4G and 5G). For each available network, the mobile IoT device obtains key network characteristics, primarily including network transmission rate, network latency, and packet loss rate. The network transmission rate measures the speed of data transmission, network latency reflects the time difference between the transmission and reception of a data packet, and the packet loss rate indicates the proportion of data packets lost during the data transmission process.

[0165] S206. The mobile IoT device determines a network status score based on the network transmission rate, network delay, and packet loss rate to generate a set of available networks.

[0166] In this step, the mobile IoT device uses formula 1 and calculates the network transmission rate. , network delay and packet loss rate Determining the Network Status Score , to generate a set of available networks The corresponding network status score set , where Formula 1 is:

[0167]

[0168] in, is the first preset positive number, is the second preset positive number, is the first weight value, is the second weight value, is the third weight value.

[0169] Optionally, the weights above reflect the importance of network characteristics in different application scenarios. For example, in a real-time video transmission scenario, network latency may be given a higher weight, while in a large-scale data backup task, network transmission rate and packet loss rate may be more important.

[0170] S207. The mobile Internet of Things device determines a target network in the available network set according to the network status score set.

[0171] In this step, the mobile IoT device scores according to the network status Determine the set of available networks The target network in , where the target network is the set of available networks The available network with the highest network status score.

[0172] Specifically, based on the calculated network status scores, the mobile IoT device generates a network status score set containing all available networks and their corresponding scores. Then, by comparing these scores, the network with the highest score is selected as the target network. This means the target network best meets data transmission requirements under the current environmental conditions, offering the best performance in terms of speed, latency, and data integrity.

[0173] Once a target network is determined, the mobile IoT device automatically switches from its current network to the target network based on this decision, provided that the target network's security level matches the security requirements of the data being transmitted. This adaptive network switching mechanism ensures smooth and secure data transmission, significantly improving system reliability and user experience, especially for IoT applications that are sensitive to network environments.

[0174] Based on the above embodiment, according to the network transmission rate , network delay and packet loss rate Determining the Network Status Score Previously, it also included:

[0175] If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a device control instruction based on the first data type in the first data request, the network status score is determined using Formula 2 The corresponding weight value sequence includes the first weight value , the second weight value And the third weight value , Formula 2 is:

[0176]

[0177] in, is the preset first weight initial value, To preset the second weight initial value, is the first weight correction value, is the second weight correction value, Preset characteristic correlation coefficient for network transmission rate, Preset characteristic correlation coefficient for network delay, is the preset minimum network transmission rate corresponding to the first data type, The preset maximum network delay corresponding to the first data type;

[0178] If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a data backup instruction based on the first data type in the first data request, the network status score is determined using Formula 3 The corresponding weight value sequence, formula 3 is:

[0179]

[0180] in, is the preset third weight initial value, is the third weight correction value, Preset characteristic correlation coefficient for packet loss rate, The preset maximum packet loss rate corresponding to the first data type.

[0181] Specifically, when a mobile IoT device receives a first data request from a device in the IoT device cluster, it first parses the request and identifies the type of the first data. This step may involve analyzing specific fields in the request header or payload, such as by examining the tag or protocol information in the data packet to distinguish between device control instructions and data backup instructions.

[0182] If the first data request is identified as a device control instruction, the mobile IoT device uses Formula 2 to determine the weighted value sequence for the network status score. Formula 2 is adjusted based on the preset initial weight values and the network requirements specific to the data type (such as the minimum network transmission rate and the maximum network latency). The final weighted value sequence is calculated by calculating the first and second weighted correction values, combined with the correlation coefficients for network transmission rate and network latency. The weight for packet loss rate may remain at the default or be set according to a general rule.

[0183] If the first data request is a data backup instruction, Formula 3 is used to determine the weight value sequence, focusing on the impact of packet loss rate. Here, the preset initial value of the third weight is modified based on the data backup's tolerance for packet loss (i.e., the preset maximum packet loss rate) to generate a weight value sequence suitable for data backup scenarios. The weights for network transmission rate and network latency may be relatively low, as data backup tasks do not require as strict real-time and continuity as control instructions.

[0184] After obtaining a weighted sequence appropriate for the current data type, the mobile IoT device further obtains characteristic parameters such as transmission rate, network latency, and packet loss rate for each network in the available network set. Using Formula 1 and the dynamically adjusted weights, it calculates a network status score for each network. This score reflects the network's overall ability to meet specific data transmission requirements.

[0185] Based on the network status score, mobile IoT devices will select the highest-scoring network as their target network to ensure efficient and secure data transmission. If multiple networks have the same score, additional factors, such as historical connection stability or signal strength, can be considered to determine the final target network. By dynamically adjusting the weights described above, mobile IoT devices can more flexibly and accurately match network resources, ensuring the security and efficiency of different types of data transmission. This demonstrates the technical solution's meticulous consideration and optimization of data transmission requirements in IoT environments.

[0186] Furthermore, if the feedback data type corresponding to the first data request is a data backup instruction, after determining the target network from the set of available networks, the method further includes:

[0187] If the number of times the mobile IoT device detects abnormal packet loss rate exceeds the preset threshold within the preset time period, the network status score corresponding to the target network is updated using Formula 4 , the packet loss rate anomaly is the communication state where the packet loss rate exceeds the preset packet loss rate threshold, and Formula 4 is:

[0188]

[0189] in, 、 、 are respectively the first weight value, the second weight value, and the third weight value in the weight value sequence corresponding to the target network, determined according to Formula 2; 、 、 They are the current transmission rate, current network delay, and current packet loss rate of the target network; The number of times the abnormal packet loss rate is detected within the preset time period; The target network is the first The packet loss rate when the monitored packet loss rate is abnormal; is the preset smoothing weight factor;

[0190] Mobile IoT devices score the network status based on the updated target network Update the set of available networks The corresponding network status score set , to score the set based on the updated network status Determine the new target network, which is a set of available networks. The available network with the highest network status score.

[0191] Specifically, when a mobile IoT device receives a data backup instruction and has selected a target network for data transmission based on the network status score, it will continuously monitor the communication quality of the target network. Specifically, over a preset period of time, such as one minute, the device will periodically check whether the network packet loss rate exceeds a preset packet loss rate threshold. An abnormal packet loss rate is defined as a state where the packet loss rate exceeds this preset threshold, indicating unstable network transmission, which may compromise data integrity during the data backup process.

[0192] If, during monitoring, the mobile IoT device detects an abnormal packet loss rate exceeding a preset threshold, such as five consecutive times or ten times cumulatively within an hour, this indicates a severe and frequent packet loss problem. The device will record the exact packet loss rate at each occurrence for subsequent analysis and resolution.

[0193] When a packet loss anomaly is detected, the mobile IoT device updates the target network's network status score using Equation 4. The weight sequence involved in this formula (i.e., the first, second, and third weights) was previously calculated using Equation 2 based on the characteristics of the data backup instruction. The occurrence of an anomaly in packet loss prompts the device to adjust these weights to reflect the severity of the packet loss issue. Equation 4 also incorporates a smoothing weight factor to balance the relationship between a single anomaly and the overall score, preventing excessive fluctuations in the score caused by a single extreme anomaly.

[0194] After updating the target network's network status score, the mobile IoT device recalculates the network status scores for the entire set of available networks. Because the target network's score has been adjusted based on the packet loss anomaly, it may no longer be the highest-scoring network. Therefore, the mobile IoT device reselects a network based on the updated score set. If necessary, it may trigger another network switch, selecting the new, highest-scoring network as the new target for data backup, ensuring the quality and efficiency of data transmission.

[0195] After completing the above steps, the mobile IoT device will continuously monitor the communication status of the new target network to ensure that the data backup instructions can be successfully executed. Furthermore, for easier management, the device will generate and update a network management event log file every time a network switch occurs or a significant network event occurs. This log records the reason and time of the network switch, the target network information, and related data transmission details, providing a detailed record for subsequent analysis and troubleshooting.

[0196] Figure 3 This is a schematic diagram of the structure of an Internet of Things management device according to an exemplary embodiment of the present application. Figure 3As shown, the Internet of Things management device 300 provided in this embodiment includes: a mobile Internet of Things device 310 and an Internet of Things device cluster 320, and each Internet of Things device in the Internet of Things device cluster 320 is communicatively connected with the mobile Internet of Things device 310;

[0197] The mobile Internet of Things device 310 obtains a first data request from a first Internet of Things device in the Internet of Things device cluster 320, where the first data request includes first data security level information;

[0198] The mobile Internet of Things device 310 obtains first network status information of the current network, where the first network status information includes first network security level information;

[0199] The mobile phone IoT device 310 uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information, where the first network matching status is used to represent a matching relationship between the first data security level information and the first network security level information;

[0200] If the first network matching status is the first preset matching status, the mobile phone Internet of Things device 310 performs an available network scan to obtain an available network set, and determines a target network from the available network set to switch the mobile phone Internet of Things device 310 from the current network to the target network. The second network matching status between the second network security level information corresponding to the target network and the first data security level information is the second preset matching status.

[0201] Optionally, if the mobile phone IoT device 310 determines that the first data security level information is higher than the first network security level information, the first network matching state is the first preset matching state;

[0202] If the mobile phone IoT device 310 determines that the first data security level information is equal to or lower than the first network security level information, the first network matching state is the second preset matching state.

[0203] Optionally, if the first network matching status is the second preset matching status, the mobile phone IoT device 310 sends the first data to the first IoT device through the target network in response to the first data request.

[0204] Optionally, the mobile Internet of Things device 310 obtains the available network set Each available network in Network characteristic parameters , the available network The available network set Middle Available networks, the network characteristic parameters Including network transmission rate , network delay and packet loss rate ;

[0205] The mobile Internet of Things device 310 uses formula 1 and according to the network transmission rate , the network delay And the packet loss rate Determining the Network Status Score , to generate the available network set The corresponding network status score set , wherein the formula 1 is:

[0206]

[0207] in, is the first preset positive number, is the second preset positive number, is the first weight value, is the second weight value, is the third weight value;

[0208] The mobile Internet of Things device 310 is configured according to the network status score set Determine the set of available networks The target network in the set of available networks The available network with the highest network status score.

[0209] Optionally, if the mobile Internet of Things device 310 determines that the feedback data type corresponding to the first data request is a device control instruction based on the first data type in the first data request, the network status score is determined using Formula 2. The corresponding weight value sequence includes the first weight value , the second weight value And the third weight value , the formula 2 is:

[0210]

[0211] in, is the preset first weight initial value, To preset the second weight initial value, is the first weight correction value, is the second weight correction value, Preset characteristic correlation coefficient for network transmission rate, Preset characteristic correlation coefficient for network delay, is the preset minimum network transmission rate corresponding to the first data type, The preset maximum network delay corresponding to the first data type;

[0212] If the mobile Internet of Things device 310 determines that the feedback data type corresponding to the first data request is a data backup instruction based on the first data type in the first data request, the network status score is determined using Formula 3. The corresponding weight value sequence, Formula 3 is:

[0213]

[0214] in, is the preset third weight initial value, is the third weight correction value, Preset characteristic correlation coefficient for packet loss rate, The preset maximum packet loss rate corresponding to the first data type.

[0215] Optionally, if the mobile IoT device 310 detects that the number of packet loss rate anomalies exceeds a preset threshold within a preset time period, the network status score corresponding to the target network is updated using Formula 4. , the packet loss rate exception is a communication state where the packet loss rate exceeds a preset packet loss rate threshold, and the formula 4 is:

[0216]

[0217] in, 、 、 are respectively the first weight value, the second weight value, and the third weight value in the weight value sequence corresponding to the target network, determined according to Formula 2; 、 、 are respectively the current transmission rate, current network delay and current packet loss rate of the target network; The number of times the abnormal packet loss rate is detected within the preset time period; The target network is the first The packet loss rate when the monitored packet loss rate is abnormal; is the preset smoothing weight factor;

[0218] The mobile Internet of Things device 310 scores the updated network status of the target network Update the set of available networks The corresponding network status score set , to score the set based on the updated network status Determine a new target network, the new target network being the set of available networks The available network with the highest network status score.

[0219] Optionally, the mobile Internet of Things device 310 generates a network management event log file, and the network management event log file is used to record network switching events;

[0220] Correspondingly, after the mobile phone IoT device 310 sends the first data to the first IoT device through the target network in response to the first data request, the method further includes:

[0221] The mobile Internet of Things device 310 records the data information of the first data in the network management event log file.

[0222] Figure 4 FIG. 1 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. Figure 4 As shown, this embodiment provides an electronic device 400 including: a processor 401 and a memory 402; wherein:

[0223] The memory 402 is used to store computer programs. The memory may also be a flash memory.

[0224] The processor 401 is configured to execute the execution instructions stored in the memory to implement each step in the above method. For details, please refer to the relevant description in the above method embodiment.

[0225] Optionally, the memory 402 may be independent or integrated with the processor 401 .

[0226] When the memory 402 is a device independent of the processor 401, the electronic device 400 may further include:

[0227] The bus 403 is used to connect the memory 402 and the processor 401 .

[0228] This embodiment further provides a readable storage medium, in which a computer program is stored. When at least one processor of an electronic device executes the computer program, the electronic device executes the methods provided in the various aforementioned embodiments.

[0229] This embodiment further provides a program product, which includes a computer program stored in a readable storage medium. At least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor can execute the computer program to cause the electronic device to implement the methods provided in the various embodiments described above.

[0230] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present application are indicated by the claims.

[0231] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for adaptive network switching of mobile Internet of Things devices, characterized in that: Applied to an Internet of Things management device, the Internet of Things management device includes a mobile Internet of Things device and an Internet of Things device cluster, each Internet of Things device in the Internet of Things device cluster is communicatively connected with the mobile Internet of Things device; the method includes: The mobile Internet of Things device obtains a first data request from a first Internet of Things device in the Internet of Things device cluster, where the first data request includes first data security level information; The mobile Internet of Things device obtains first network status information of the current network, where the first network status information includes first network security level information; The mobile phone IoT device uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information, where the first network matching status is used to represent a matching relationship between the first data security level information and the first network security level information; If the first network matching status is a first preset matching status, the mobile phone IoT device performs an available network scan to obtain a set of available networks, and determines a target network from the set of available networks to switch the mobile phone IoT device from the current network to the target network, and the second network matching status between the second network security level information corresponding to the target network and the first data security level information is a second preset matching status; The mobile phone IoT device uses a preset network matching model and determines a first network matching state according to the first data security level information and the first network security level information, including: If the mobile Internet of Things device determines that the first data security level information is higher than the first network security level information, the first network matching state is the first preset matching state; If the mobile Internet of Things device determines that the first data security level information is equal to or lower than the first network security level information, the first network matching state is the second preset matching state; After determining the first network matching status according to the first data security level information and the first network security level information, the method further includes: If the first network matching state is the second preset matching state, the mobile phone Internet of Things device sends the first data to the first Internet of Things device through the target network in response to the first data request.

2. The method for adaptive network switching of mobile Internet of Things devices according to claim 1, characterized in that: The determining of the target network from the set of available networks includes: The mobile Internet of Things device obtains each available network in the available network set Network characteristic parameters , the available network The available network set Middle Available networks, the network characteristic parameters Including network transmission rate , network delay and packet loss rate ; The mobile Internet of Things device is based on the network transmission rate , the network delay And the packet loss rate Determining the Network Status Score , to generate a network status score set corresponding to the available network set ; The mobile Internet of Things device is based on the network status score set Determine the set of available networks The target network in the set of available networks The available network with the highest network status score.

3. The method for adaptive network switching of mobile Internet of Things devices according to claim 2, characterized in that: In the network transmission rate , the network delay And the packet loss rate Determining the Network Status Score Previously, it also included: If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a device control instruction based on the first data type in the first data request, the network status score is determined based on the preset minimum network transmission rate and the preset maximum network delay corresponding to the first data type. The corresponding weight value sequence; If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a data backup instruction based on the first data type in the first data request, the network status score is determined based on the preset maximum packet loss rate corresponding to the first data type. The corresponding weight value sequence.

4. The method for adaptive network switching of mobile Internet of Things devices according to claim 3, characterized in that: If the feedback data type corresponding to the first data request is the data backup instruction, after determining the target network from the set of available networks, the method further includes: If the number of times the mobile IoT device detects abnormal packet loss rate exceeds the preset threshold within the preset time period, the network status score corresponding to the target network is updated. , the packet loss rate abnormality is a communication state in which the packet loss rate exceeds a preset packet loss rate threshold; The mobile Internet of Things device scores the updated network status of the target network Update the set of available networks The corresponding network status score set , to score the set based on the updated network status Determine a new target network, the new target network being the set of available networks The available network with the highest network status score.

5. The method for adaptive network switching of mobile Internet of Things devices according to claim 4, characterized in that: After switching the mobile phone Internet of Things device from the current network to the target network, the method further includes: The mobile Internet of Things device generates a network management event log file, and the network management event log file is used to record network switching events; Correspondingly, after the mobile phone IoT device sends the first data to the first IoT device through the target network in response to the first data request, the method further includes: The mobile Internet of Things device records data information of the first data in the network management event log file.

6. An Internet of Things management device, characterized in that: include: A mobile Internet of Things device and an Internet of Things device cluster, wherein each Internet of Things device in the Internet of Things device cluster is communicatively connected with the mobile Internet of Things device; The mobile Internet of Things device obtains a first data request from a first Internet of Things device in the Internet of Things device cluster, where the first data request includes first data security level information; The mobile Internet of Things device obtains first network status information of the current network, where the first network status information includes first network security level information; The mobile phone IoT device uses a preset network matching model and determines a first network matching status according to the first data security level information and the first network security level information, where the first network matching status is used to represent a matching relationship between the first data security level information and the first network security level information; If the first network matching status is a first preset matching status, the mobile phone IoT device performs an available network scan to obtain a set of available networks, and determines a target network from the set of available networks to switch the mobile phone IoT device from the current network to the target network, and the second network matching status between the second network security level information corresponding to the target network and the first data security level information is a second preset matching status; The mobile phone IoT device uses a preset network matching model and determines a first network matching state according to the first data security level information and the first network security level information, including: If the mobile Internet of Things device determines that the first data security level information is higher than the first network security level information, the first network matching state is the first preset matching state; If the mobile Internet of Things device determines that the first data security level information is equal to or lower than the first network security level information, the first network matching state is the second preset matching state; After determining the first network matching status according to the first data security level information and the first network security level information, the method further includes: If the first network matching state is the second preset matching state, the mobile phone Internet of Things device sends the first data to the first Internet of Things device through the target network in response to the first data request.

7. An electronic device, characterized in that: include: processor; as well as, a memory for storing executable instructions of the processor; The processor is configured to perform the method according to any one of claims 1 to 5 by executing the executable instructions.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.

Citation Information

Patent Citations

  • Network switching method and device and mobile terminal

    CN107277878A

  • Network acceleration method and apparatus

    WO2024082811A1