Self-adaptive network switching method and device for mobile phone Internet of Things equipment

The system addresses the challenge of managing data security and network reliability in complex environments by dynamically switching to suitable networks, ensuring secure and efficient data transmission.

CN120321728AActive Publication Date: 2025-07-15JIANGSU ZHIXIN TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When IoT devices face complex and changeable network environments and different levels of data security needs, it is difficult to intelligently identify and automatically select the most suitable network for switching, resulting in the impact of the stability and security of data transmission.

Method used

Through the mobile Internet of Things devices, the matching degree of data security requirements and the current network environment is analyzed dynamically, and the network switching is performed automatically using the preset network matching model and network status evaluation system to ensure that data transmission is carried out in a network environment with security level matching.

Benefits of technology

It improves the data security and stability of the Internet of Things system, optimizes the efficiency of network resources, enhances the system's autonomous adaptability and flexibility, reduces human intervention, and ensures the immediacy and continuity of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321728A_ABST
    Figure CN120321728A_ABST
Patent Text Reader

Abstract

The invention provides a self-adaptive network switching method and device for mobile phone Internet of Things equipment. The method comprises the following steps: acquiring a first data request of first Internet of Things equipment in an Internet of Things equipment cluster through mobile phone Internet of Things equipment, acquiring first network state information of a current network, then determining a first network matching state by utilizing a preset network matching model according to first data security level information and first network security level information, and sending the first network matching state to the first Internet of Things equipment cluster. And when the first network matching state is a first preset matching state, the mobile phone Internet of Things equipment performs available network scanning to obtain an available network set, determines a target network from the available network set, and switches the mobile phone Internet of Things equipment from the current network to the target network. Therefore, by dynamically analyzing the matching degree of the security requirement of the data and the current network environment, automatic and efficient network switching is realized, and the data transmission security is ensured, so that the stability and data security of the whole Internet of Things system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of Internet of Things technologies, a large number of Internet of Things devices are connected through various networks, forming a huge Internet of Things ecosystem. These devices include, but are not limited to, smart homes, industrial automation sensors, remote monitoring cameras, etc. They continuously generate and exchange data to achieve information sharing and remote control between devices. In this process, data security and network reliability become crucial factors.

[0003] Traditional Internet of Things systems often rely on a single network connection, but this model is unable to cope when faced with complex and changing network environments and increasing data security requirements. On the one hand, there are significant differences in the security levels of data in different scenarios. For example, device control instructions require highly secure network guarantees, while regular status reports may have lower security requirements. On the other hand, the uncertainty of the network environment, such as signal strength fluctuations, network congestion, or temporary interruptions, can all affect the stability and security of data transmission.

[0004] Therefore, how to enable Internet of Things devices to intelligently identify the security requirements of data 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 Internet of Things technology field. Summary of the Invention

[0005] This application provides a method and device for adaptive network switching of mobile phone Internet of Things devices, which can achieve automatic and efficient network switching by dynamically analyzing the matching degree between the security requirements of data 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, this application provides a method for adaptive network switching of mobile phone Internet of Things devices, which is applied to an Internet of Things management device. The Internet of Things management device includes a mobile phone Internet of Things device and an Internet of Things device cluster, and each Internet of Things device in the Internet of Things device cluster is communicatively connected to the mobile phone Internet of Things device. The method includes: The mobile phone Internet of Things device obtains a first data request of a first Internet of Things device in the Internet of Things device cluster, and the first data request includes first data security level information; The mobile phone 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; The mobile Internet of Things device utilizes 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; If the first network matching status is a first preset matching status, the mobile Internet of Things 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 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 a second preset matching status.

[0007] In the above solution, by the mobile Internet of Things device monitoring the data requests in the Internet of Things device cluster in real time and combining with the current network status information, it can dynamically determine whether the data security requirements match the network environment. When it is found that the data security level is higher than the security level provided by the network, it automatically performs a network scan and switches to a more secure network to ensure that the data transmission process meets the security requirements, effectively improving the security and reliability of the Internet of Things system.

[0008] Optionally, the mobile Internet of Things device utilizes 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, 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 status is the first preset matching status; 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 status is the second preset matching status.

[0009] In the above solution, by comparing the data security level and the network security level, it automatically triggers the network switching process or maintains the current connection. This mechanism strengthens the intelligent allocation of network resources, ensures that the data transmission is carried out in a network environment with a matching security level, improves the autonomous adaptation ability of the system, reduces human intervention, and improves the data processing efficiency.

[0010] Optionally, after determining the first network matching status based on the first data security level information and the first network security level information, it further includes: If the first network matching status is the second preset matching status, 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.

[0011] In the above solution, in the second preset matching state, when the network matching data security requirements are met, the device directly responds to the data request and sends data, which reflects that while ensuring security, the system also takes into account the real-time and continuity of data transmission. This design avoids unnecessary network switching, optimizes resource usage, and enhances the practicality and flexibility of the IoT system.

[0012] Optionally, it is characterized in that determining the target network from the available network set includes: The mobile IoT device obtains the available network set and the network characteristic parameters of each available network in the available network set, where the available network is the nth available network in the available network set, and the network characteristic parameters include network transmission rate , network latency and packet loss rate ; The mobile IoT device uses Formula 1 and determines the network status score according to the network transmission rate and the network latency and the packet loss rate to generate a network status score set corresponding to the available network set , where Formula 1 is: where

[0013] is a first preset positive number, is a second preset positive number, is a first weight value, is a second weight value, is a third weight value; The mobile IoT device determines the target network in the available network set according to the network status score set, where the target network is the available network with the highest network status score in the available network set

[0014] ​​​​​​In the above solution, by obtaining network characteristic parameters and calculating a network status score, this technical effect can scientifically evaluate the quality of available networks, ensuring that the selection of the target network is based on the principle of optimal comprehensive performance. This not only improves the decision-making quality of network switching but also ensures the speed and stability of data transmission, effectively enhancing the user experience and network service quality.

[0015] Optionally, before determining the network status score based on the network transmission rate, the network latency, and the packet loss rate, it further includes: If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a device control instruction according to the first data type in the first data request, then the network status score is determined using Formula 2 for the corresponding weight value sequence, and the weight value sequence includes the first weight value the second weight value, and the third weight value.

[0016] Wherein, is the preset initial value of the first weight, is the preset initial value of the second weight, is the first weight correction value, is the second weight correction value, is the preset characteristic correlation coefficient of the network transmission rate, is the preset characteristic correlation coefficient of the network latency, is the preset minimum network transmission rate corresponding to the first data type, is the preset maximum network latency corresponding to the first data type; If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a data backup instruction according to the first data type in the first data request, then the network status score is determined using Formula 3 for the corresponding weight value sequence, and the formula 3 is:

[0017] Wherein, is the preset initial value of the third weight, is the third weight correction value, is the preset characteristic correlation coefficient of the packet loss rate, is the preset maximum packet loss rate corresponding to the first data type.

[0018] In the above solution, the weight value sequence of the network status score is dynamically adjusted according to the type of data request, so that the score can better reflect the actual application requirements. Specifically, for device control instructions, more emphasis is placed on network transmission rate and network latency; for data backup instructions, more emphasis is placed on packet loss rate. This dynamic adjustment mechanism improves the pertinence of network selection and ensures the most effective utilization of network resources in different application scenarios.

[0019] Optionally, if the feedback data type corresponding to the first data request is the data backup instruction, after determining the target network from the available network set, it further includes: If the mobile Internet of Things device detects that the number of times of abnormal packet loss rate exceeds the preset number threshold within the preset duration, the network status score corresponding to the target network is updated using Formula 4 , where the abnormal packet loss rate is a communication state where the packet loss rate exceeds the preset packet loss rate threshold, and Formula 4 is:

[0020] Where, , , 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, and are determined according to Formula 2; , , are respectively the current transmission rate, the current network latency, and the current packet loss rate of the target network; is the number of times of detecting abnormal packet loss rate within the preset duration; is the packet loss rate when the target network detects abnormal packet loss rate for the th time within the preset duration; is the preset smoothing weight factor; The mobile Internet of Things device updates the network status score set corresponding to the available network set according to the updated network status score of the target network , so as to determine a new target network according to the updated network status score set , and the new target network is the available network with the highest network status score in the available network set .

[0021] In the above solution, when processing a data backup instruction, if the packet loss rate of the target network is abnormal, the network status score is updated and a network is reselected, effectively coping with the real-time changes in the network conditions. This mechanism enhances the dynamic adaptability of the system, reduces errors during data transmission, ensures the reliable completion of the data backup task, and thus improves the overall robustness of the system and data integrity.

[0022] Optionally, after switching the mobile Internet of Things device from the current network to the target network, the following is further included: The mobile Internet of Things device generates a network management event log file, which is used to record network switching events; Correspondingly, after the mobile 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, the following is further included: The mobile Internet of Things device records the data information of the first data in the network management event log file.

[0023] In the above solution, generating a network management event log file and recording relevant data information after successfully switching the network. This measure provides a detailed operation record and a basis for data analysis, helps system administrators track network switching behaviors, evaluate the stability of the network environment, and perform fault troubleshooting and performance optimization, improving the maintainability and management efficiency of the system.

[0024] In a second aspect, the present application provides an Internet of Things management device, including: a mobile Internet of Things device and an Internet of Things device cluster, and each Internet of Things device in the Internet of Things device cluster is communicatively connected to the mobile Internet of Things device; The mobile Internet of Things device obtains a first data request of a first Internet of Things device in the Internet of Things device cluster, and 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, and the first network status information includes first network security level information; 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, and the first network matching status is used to represent the matching relationship between the first data security level information and the first network security level information; If the first network matching status is the first preset matching status, the mobile Internet of Things device performs an available network scan to obtain a set of available networks, and determines a target network from the set of available networks, so as to switch the mobile Internet of Things 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 the second preset matching status.

[0025] 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 status is the first preset matching status; 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 status is the second preset matching status.

[0026] Optionally, if the first network matching status is the second preset matching status, 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.

[0027] Optionally, the mobile Internet of Things device obtains the network characteristic parameters of each available network in the set of available networks , where the available network is the th available network in the set of available networks , and the network characteristic parameters include network transmission rate , network latency , and packet loss rate ; The mobile Internet of Things device uses Formula 1 and determines the network status score according to the network transmission rate , the network latency , and the packet loss rate , so as to generate a network status score set corresponding to the set of available networks , where Formula 1 is:

[0028] Where is a first preset positive number, is a second preset positive number, is a first weight value, is a second weight value, is a third weight value; The mobile Internet of Things device determines the available network set based on the network status score set and determines the target network in the available network set, where the target network is the available network with the highest network status score in the set.

[0029] 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 according to the first data type in the first data request, the network status score is determined using Formula 2 to obtain the corresponding weight value sequence, where the weight value sequence includes the first weight value , the second weight value and the third weight value , and Formula 2 is:

[0030] where is the preset initial value of the first weight, is the preset initial value of the second weight, is the first weight correction value, is the second weight correction value, is the preset characteristic correlation coefficient of the network transmission rate, is the preset characteristic correlation coefficient of the network delay, is the preset minimum network transmission rate corresponding to the first data type, is the preset maximum network delay corresponding to the first data type; If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a data backup instruction according to the first data type in the first data request, the network status score is determined using Formula 3 to obtain the corresponding weight value sequence, and Formula 3 is:

[0031] where is the preset initial value of the third weight, is the third weight correction value, is the preset characteristic correlation coefficient of the packet loss rate, is the preset maximum packet loss rate corresponding to the first data type.

[0032] Optionally, if the mobile Internet of Things device detects that the number of times of abnormal packet loss rate exceeds the preset number threshold within the preset duration, the network status score corresponding to the target network is updated using Formula 4 , the packet loss rate anomaly is a communication state where the packet loss rate exceeds a preset packet loss rate threshold, and the formula 4 is:

[0033] wherein, and and are the first weight value, the second weight value, and the third weight value in the weight value sequence corresponding to the target network, respectively, and are determined according to the formula 2; and and are the current transmission rate, the current network latency, and the current packet loss rate of the target network, respectively; is the number of times of detecting a packet loss rate anomaly within the preset time period; is the packet loss rate when the target network has a packet loss rate anomaly at the rd monitoring within the preset time period; is a preset smoothing weight factor; The mobile Internet of Things device updates the available network set according to the updated network status score of the target network in the corresponding network status score set , so as to determine a new target network according to the updated network status score set , and the new target network is the available network with the highest network status score in the available network set .

[0034] 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; Correspondingly, after the mobile 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, it further includes: The mobile Internet of Things device records the data information of the first data in the network management event log file.

[0035] In a third aspect, the present application provides an electronic device, including: a processor; and, a memory for storing executable instructions of the processor; wherein, the processor is configured to execute any possible method described in the first aspect by executing the executable instructions.

[0036] Fourthly, the present application provides a computer-readable storage medium storing computer-executable instructions, which are used to implement any possible method described in the first aspect when executed by a processor.

[0037] The mobile phone Internet of Things device adaptive network switching method and device provided by the present application obtain a first data request of a first Internet of Things device in an Internet of Things device cluster through the mobile phone Internet of Things device, and obtain first network status information of the current network. Then, using a preset network matching model, a 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 Internet of Things device scans for 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, thereby realizing automatic and efficient network switching by dynamically analyzing the matching degree between the security requirements of the data and the current network environment, ensuring the security of data transmission, and improving the stability and data security of the entire Internet of Things system. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.

[0039] Figure 1 is a flowchart showing a mobile phone Internet of Things device adaptive network switching method according to an exemplary embodiment of the present application; Figure 2 is a flowchart showing a mobile phone Internet of Things device adaptive network switching method according to another exemplary embodiment of the present application; Figure 3 is a schematic structural diagram of an Internet of Things management device according to an exemplary embodiment of the present application; Figure 4 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.

[0040] Through the above accompanying drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0041] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0042] In the context of the rapid development of current Internet of Things (IoT) technology, mobile IoT devices, as a bridge connecting the physical world and the digital world, play a crucial role. However, IoT devices face diverse network environments and different levels of data security requirements when transmitting data, which poses higher requirements for the network's adaptability and security.

[0043] The inventive concept of this application aims to solve the problem of how mobile IoT devices can intelligently select the optimal network adaptively according to the matching of the security level of data and the current network state when processing data requests from an IoT device cluster, so as to ensure the security and efficiency of data transmission.

[0044] Specifically, the inventive concept focuses on the following key points: Dynamic monitoring and intelligent matching: By constructing a real-time monitoring mechanism, mobile IoT devices can dynamically obtain data requests from an IoT device cluster and their security level information, and at the same time monitor the security level of the current network. Through a preset network matching model, it is judged whether the data security requirements match the network security capabilities, which is used as a trigger condition for network switching. This requires the model to be able to intelligently evaluate the security level differences between data and the network to ensure that sensitive data is transmitted in a sufficiently secure network environment.

[0045] Comprehensive evaluation of network status: To determine the target network for switching, a network status evaluation system is designed. By obtaining key parameters such as the transmission rate, latency, and packet loss rate of the network, and using a specific formula to calculate the network status score, the performance of available networks can be evaluated scientifically and comprehensively. This scoring mechanism dynamically adjusts the weight values according to different data types (such as device control instructions or data backup instructions) to ensure that the score can accurately reflect the specific requirements of data transmission.

[0046] Dynamic adjustment and optimization: For applications such as data backup instructions that are sensitive to packet loss rate, a monitoring and processing mechanism for abnormal packet loss rate is further designed. When the packet loss rate of the target network is abnormal within a preset time, the network status score will be smoothed according to the packet loss situation, and the network will be reselected accordingly to ensure the reliability of data transmission. This dynamic adjustment process reflects the rapid response and optimization to network state changes.

[0047] Management and Recording: This application also records and analyzes network management events. That is, after each network switch, the mobile IoT device automatically generates a log file to record the network switch event and data transmission details. This not only helps with subsequent network performance analysis and optimization but also provides detailed evidence for system maintenance and fault troubleshooting.

[0048] In summary, the concept of this invention aims to improve the adaptability and data security of mobile IoT devices in a network environment. Through dynamic monitoring, intelligent matching, status evaluation, and optimization adjustment, it ensures that data is transmitted in the most suitable network environment, thus meeting the urgent requirements for efficient and secure communication in the IoT era.

[0049] In addition, it is worth noting that the above-mentioned mobile IoT devices refer to smartphones or other mobile devices that can communicate and exchange data with other devices through an Internet connection. Based on traditional mobile phone functions, they integrate IoT technology. This enables the mobile phone not only to be used as an independent intelligent terminal but also to serve as a control center or node in the IoT ecosystem, interacting with other intelligent devices such as smart home products (such as smart bulbs, smart door locks), wearable devices, health monitors, cars, or other IoT sensors.

[0050] Figure 1 is a schematic flowchart of a method for adaptive network switching of a mobile IoT device according to an exemplary embodiment of this application. As Figure 1 shown, the method for adaptive network switching of the mobile IoT device provided in this embodiment includes: S101. The mobile IoT device obtains a first data request of a first IoT device in the IoT device cluster.

[0051] The method for adaptive network switching of the mobile IoT device provided in this application can be applied to an IoT management device. The IoT management device includes a mobile IoT device and an IoT device cluster, and each IoT device in the IoT device cluster is communicatively connected to the mobile IoT device.

[0052] In this step, the mobile IoT device obtains a first data request of a first IoT device in the IoT device cluster, and the first data request includes first data security level information.

[0053] 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 it receives the first data request sent by the first IoT device, the request clearly contains the security level information of the first data. For example, the data may be labeled as "highly sensitive", "sensitive", or "non-sensitive", and these labels reflect the degree of protection required for the data during transmission.

[0054] S102. The mobile IoT device obtains the first network status information of the current network.

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

[0056] Specifically, the mobile IoT device randomly queries and collects the first network status information of the currently connected network. What is particularly concerned about in this information is the first network security level, which reflects the security guarantee ability of the current network environment for data transmission. The network status information can be obtained through a network interface controller or through interaction with the network data interface of the network service provider.

[0057] S103. The mobile IoT device uses a preset network matching model and determines the first network matching status according to the first data security level information and the first network security level information.

[0058] In this step, the mobile IoT device uses a preset network matching model and determines the first network matching status according to the first data security level information and the first network security level information. The first network matching status is used to represent the matching relationship between the first data security level information and the first network security level information.

[0059] Specifically, the mobile IoT device analyzes according to the obtained first data security level information and the first network security level information by using a preset network matching model. The design of the model is based on logical judgment. For example, if the data security level is higher than the security protection level of the network, it is determined that the network is not suitable for transmitting this data, and it is marked as the first preset matching status that requires network switching. On the contrary, if the data security level is equal to or lower than the network protection level, it is considered that the current network is sufficient to meet the security requirements, and it is marked as the second preset matching status.

[0060] In a possible implementation manner, if the mobile IoT device determines that the first data security level information is higher than the first network security level information, the first network matching status is the first preset matching status.

[0061] If the mobile IoT 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 status is the second preset matching status.

[0062] Specifically, in the specific implementation process, the mobile Internet of Things device first establishes a communication connection with the first Internet of Things device in the Internet of Things device cluster through an internal communication module, such as Bluetooth, Wi-Fi, or a cellular network interface. When the first Internet of Things device in the device cluster sends a data request, it embeds data security level information in the request packet, which is usually a numerical level or classification label, such as level 1 (low security), level 2 (medium security), level 3 (high security), etc. After receiving this request, the mobile Internet of Things device immediately parses out the data security level information.

[0063] Meanwhile, the mobile Internet of Things device uses the network status detection function to monitor the status of the currently connected network, with a focus on obtaining the network security level information. The network security level may be comprehensively evaluated based on factors such as network encryption protocols, authentication mechanisms, and historical security records, and is also divided into different levels.

[0064] Next, the processor of the mobile Internet of Things device executes a preset network matching model algorithm. This model compares the data security level information with the network security level in the network status information: If the first data security level is higher than the first network security level, it means that the security requirements of the data exceed the protection level provided by the current network. At this time, the mobile Internet of Things device will determine that the first network matching state is the first preset matching state. This state indicates that the current network is not suitable for transmitting data with such a high level of security requirements, and a more secure network environment needs to be found.

[0065] Conversely, if the first data security level is equal to or lower than the first network security level, it indicates that the current network can meet the data security transmission requirements, and the network matching state is marked as the second preset matching state. In this case, the mobile Internet of Things device believes that there is no need to switch the network and can continue to use the current network to transmit data.

[0066] When determining that the network matching state is the second preset matching state, the mobile Internet of Things device will directly respond to the first data request and send the required first data to the first Internet of Things device that initiated the request through the current network. This step ensures the immediacy and efficiency of data transmission when the security levels match, avoids unnecessary network switching operations, and reduces data transmission latency.

[0067] Through the above implementation method, the mobile Internet of Things device can intelligently make a decision on whether to switch the network based on the data security level and the security capabilities of the current network, thereby optimizing the usage efficiency of network resources while ensuring data security.

[0068] S104. The mobile Internet of Things device scans for available networks to obtain a set of available networks and determines a target network from the set of available networks.

[0069] In this step, if the first network matching status is the first preset matching status, the mobile 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 IoT 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.

[0070] Specifically, when the determination result is the first preset matching status, the mobile IoT device starts the available network scan program to search for available network resources around and form a set of available networks. Based on factors such as the security level, transmission speed, and latency of the network, a target network with the best matching degree with the first data security level is selected (that is, the second network security level of this network and the first data security level meet the second preset matching status). Subsequently, the mobile IoT device performs a network switching operation to ensure that subsequent data transmission is carried out in a more secure or more suitable network environment.

[0071] Based on the above embodiments, if the first network matching status is the second preset matching status, the mobile IoT device responds to the first data request and sends the first data to the first IoT device through the target network.

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

[0073] Before responding to the data request, the mobile IoT device will perform security verification before data transmission. This includes, but is not limited to, encrypting the data to be sent to ensure that the data will not be illegally intercepted or tampered with during transmission. The encryption method can adopt international standard encryption algorithms to ensure the privacy and integrity of the data.

[0074] 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 (such as Wi-Fi, 4G / 5G network). The sending process may include steps such as data fragmentation, packaging, serialization, and data encapsulation through the TCP / IP protocol stack to ensure that the data arrives at the destination correctly and without error.

[0075] During the data transmission process, the mobile IoT device performs real-time monitoring, checking the transmission status of data packets, such as transmission progress, packet loss rate, retransmission situation, etc. Once the data is successfully transmitted to the first IoT device, the mobile IoT device will wait to receive the confirmation reply from the other party, confirming that the data has been correctly received. If no confirmation is received or a data transmission error is detected, the device will automatically trigger the retransmission mechanism to ensure the reliability of data transmission.

[0076] After the data transmission is completed, the mobile IoT device will also generate a network management event log file locally or in the cloud, recording the key information of this data transmission, such as transmission time, data volume, network status, transmission duration, etc., for subsequent network performance evaluation, fault troubleshooting, and optimization decision-making.

[0077] Through the above specific implementation methods, on the premise of ensuring data security, the mobile IoT device efficiently responds to data requests, optimizes the data transmission process, and improves the overall stability and data processing efficiency of the IoT system.

[0078] Optionally, after the mobile IoT device switches 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. And, after the mobile IoT device responds to the first data request and sends the first data to the first IoT device through the target network, the mobile IoT device records the data information of the first data in the network management event log file.

[0079] Specifically, when the mobile IoT device successfully switches from the current network to the target network, the network management module inside the system will receive a confirmation signal of successful network switching. This signal may be sent by the operating system or the network interface controller, indicating that the new network connection has been established and is running stably.

[0080] The control software of the mobile IoT device then starts the log recording process and creates a file named "Network Management Event Log". This file is usually stored in the non-volatile storage area of the device, such as flash memory or an external memory card, to ensure that the log records can be retained even in the event of a power outage. The log file format can be text (such as.txt), CSV, or a more complex structured format (such as.json) for subsequent analysis and retrieval.

[0081] In the log file, first record a log entry for the network switching event. This entry should at least contain the following key information: Timestamp: Record the exact time when the network switching occurred.

[0082] Source Network ID and Target Network ID: Identify the network types before and after the switch.

[0083] Cause code: A short code or description that explains why the network switch is made, e.g., "Data security level mismatch".

[0084] Switching result: A status flag indicating success or failure.

[0085] Other relevant parameters: Such as the time taken for network switching, comparison of signal strengths between the old and new networks, etc.

[0086] Then, after the mobile IoT device successfully responds to the data request of the first IoT device through the target network, detailed information about this data transmission will be appended to the same log file: Start and end times of data transmission: Record the start and end time points of the data transmission operation.

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

[0088] Transmission status: Whether it is successful, whether there are packet losses or retransmissions.

[0089] Target device identifier: The unique identifier of the first IoT device, facilitating the tracing of data flow.

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

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

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

[0093] In this embodiment, the mobile Internet of Things device obtains the first data request of the first Internet of Things device in the Internet of Things device cluster, and obtains the first network status information of the current network. Then, using a preset network matching model, and based on the first data security level information and the first network security level information, the first network matching status is determined. When the first network matching status is the first preset matching status, the mobile Internet of Things device performs an available network scan to obtain a set of available networks, and determines a target network from the set of available networks, so as to switch the mobile Internet of Things device from the current network to the target network. Thus, by dynamically analyzing the matching degree between the security requirements of the data and the current network environment, automatic and efficient network switching is achieved, ensuring data transmission security, and improving the stability and data security of the entire Internet of Things system.

[0094] Figure 2 It is a schematic flowchart of the method for the mobile Internet of Things device to adaptively switch networks according to another exemplary embodiment of the present application. As Figure 2 shown, the method for the mobile Internet of Things device to adaptively switch networks provided in this embodiment includes: S201. The mobile Internet of Things device obtains the first data request of the first Internet of Things device in the Internet of Things device cluster.

[0095] In this step, the mobile Internet of Things device obtains the first data request of the first Internet of Things device in the Internet of Things device cluster, and the first data request includes the first data security level information.

[0096] Specifically, in actual operation, the mobile Internet of Things device continuously monitors the activities of each device in the Internet of Things device cluster through the established communication interface. Once the first data request sent by the first Internet of Things device is received, the request clearly contains the security level information of the first data. For example, the data may be marked as "highly sensitive", "sensitive", or "non-sensitive", and these tags reflect the degree of protection required for the data during transmission.

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

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

[0099] Specifically, the mobile Internet of Things device immediately queries and collects the first network status information of the currently connected network. The information that is particularly concerned about is the first network security level, which reflects the security guarantee ability of the current network environment for data transmission. The network status information can be obtained through the network interface controller or through interaction with the network data interface of the network service provider.

[0100] S203. The mobile Internet of Things device uses a preset network matching model and determines the first network matching status based on the first data security level information and the first network security level information.

[0101] In this step, the mobile Internet of Things device uses a preset network matching model and determines the 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 represent the matching relationship between the first data security level information and the first network security level information.

[0102] Specifically, the mobile Internet of Things device analyzes according to the obtained first data security level information and the first network security level information by using a preset network matching model. The design of the model is based on logical judgment. For example, if the data security level is higher than the security protection level of the network, it is determined that the network is not suitable for transmitting this data, and it is marked as the first preset matching status that requires network switching. On the contrary, if the data security level is equal to or lower than the network protection level, it is considered that the current network is sufficient to meet the security requirements, and it is marked as the second preset matching status.

[0103] In a possible implementation manner, 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 status is the first preset matching status.

[0104] 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 status is the second preset matching status.

[0105] Specifically, in the specific implementation process, the mobile Internet of Things device first establishes a communication connection with the first Internet of Things device in the Internet of Things device cluster through an internal communication module, such as Bluetooth, Wi-Fi, or a cellular network interface. When the first Internet of Things device in the device cluster sends a data request, it will embed data security level information in the request packet, which is usually a numerical level or classification label, such as level 1 (low security), level 2 (medium security), level 3 (high security), etc. After receiving this request, the mobile Internet of Things device immediately parses out the data security level information.

[0106] At the same time, the mobile Internet of Things device uses the network status detection function to monitor the status of the currently connected network, and focuses on obtaining the security level information of the network. The network security level may be comprehensively evaluated according to factors such as network encryption protocols, authentication mechanisms, and historical security records, and is also divided into different levels.

[0107] Next, the processor of the mobile Internet of Things device executes the preset network matching model algorithm. This model compares the data security level information with the network security level in the network status information: If the first data security level is higher than the first network security level, it means that the security requirements of the data exceed the protection level provided by the current network. At this time, the mobile IoT device will determine that the first network matching state is the first preset matching state. This state indicates that the current network is not suitable for transmitting data with such a high security requirement, and a more secure network environment needs to be found.

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

[0109] When determining that the network matching state is the second preset matching state, 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 through the current network. This step ensures the immediacy and efficiency of data transmission when the security levels match, avoids unnecessary network switching operations, and reduces the latency of data transmission.

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

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

[0112] In this step, if the first network matching state is the first preset matching state, the mobile IoT device scans for available networks to obtain a set of available networks.

[0113] S205. The mobile IoT device obtains the network characteristic parameters of each available network in the set of available networks.

[0114] In this step, the mobile IoT device obtains the set of available networks in which each available network has network characteristic parameters , and the available network is the nth available network in the set of available networks. The network characteristic parameters include the network transmission rate , network latency , and packet loss rate .

[0115] Specifically, when a mobile Internet of Things device needs to switch networks, it will first perform a scanning operation to discover and collect all available network information around it. These networks may include, but are not limited to, Wi-Fi and cellular data networks (such as 4G, 5G), etc. For each available network, the mobile Internet of Things device will obtain its key network characteristic parameters, mainly including network transmission rate, network latency, and packet loss rate. The network transmission rate measures the speed of data transmission, the network latency reflects the time difference between the sending and receiving of data packets, and the packet loss rate indicates the proportion of lost data packets during data transmission.

[0116] S206. The mobile Internet of Things device determines a network status score based on the network transmission rate, network latency, and packet loss rate to generate a set of available networks.

[0117] In this step, the mobile Internet of Things device uses Formula 1 and determines the network status score based on the network transmission rate , network latency and packet loss rate to generate a set of network status scores corresponding to the set of available networks , where Formula 1 is:

[0118] where 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.

[0119] Optionally, the above weight values reflect the degree of emphasis on network characteristics in different application scenarios. For example, in the real-time video transmission scenario, a higher weight value may be given to network latency, while in the large-scale data backup task, more attention may be paid to the network transmission rate and packet loss rate.

[0120] S207. The mobile Internet of Things device determines the target network in the set of available networks according to the set of network status scores.

[0121] In this step, the mobile Internet of Things device determines the target network in the set of available networks according to the set of network status scores , where the target network is the available network with the highest network status score in the set of available networks .

[0122] Specifically, based on the calculated network status score above, the mobile IoT device will generate a network status score set that contains 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 that the target network can best meet the data transmission requirements under the current environmental conditions and has the best performance in terms of speed, latency, or data integrity.

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

[0124] Based on the above embodiments, before determining the network status score according to the network transmission rate , network latency and packet loss rate , the following steps are also included: If the mobile IoT device determines that the feedback data type corresponding to the first data request is a device control instruction according to the first data type in the first data request, the weight value sequence corresponding to the network status score is determined using Formula 2. The weight value sequence includes the first weight value , the second weight value and the third weight value . Formula 2 is as follows:

[0125] where is the preset initial value of the first weight, is the preset initial value of the second weight, is the first weight correction value, is the second weight correction value, is the preset feature correlation coefficient related to the network transmission rate, is the preset feature correlation coefficient related to the network latency, is the preset minimum network transmission rate corresponding to the first data type, is the preset maximum network latency corresponding to the first data type; If the mobile IoT device determines that the feedback data type corresponding to the first data request is a data backup instruction according to the first data type in the first data request, the weight value sequence corresponding to the network status score is determined using Formula 3. Formula 3 is as follows: ​​

[0126] Among them, is the preset initial value of the third weight, is the correction value of the third weight, is the correlation coefficient related to the preset characteristics of the packet loss rate, is the preset maximum packet loss rate corresponding to the first data type.

[0127] Specifically, when the mobile phone Internet of Things device receives a first data request sent by a certain device in the Internet of Things device cluster, it first parses the request to identify the type of the first data. This step may involve analyzing specific fields in the request header or request payload. For example, by checking the tags or protocol information in the data packet to distinguish whether it is a device control instruction or a data backup instruction.

[0128] If it is identified that the first data request corresponds to a device control instruction, the mobile phone Internet of Things device will use Formula 2 to determine the weight value sequence of the network status score. Formula 2 is adjusted according to the preset initial weight value and the network requirements specific to the data type (such as the minimum network transmission rate and the longest network delay). By calculating the first weight correction value and the second weight correction value, and combining the correlation of the network transmission rate and the correlation coefficient of the network delay, the final weight value sequence is obtained, where the weight of the packet loss rate may remain default or be set according to general rules.

[0129] If the first data request is a data backup instruction, Formula 3 is used to determine the weight value sequence, with emphasis on considering the impact of the packet loss rate. Here, the preset initial value of the third weight will be corrected according to the tolerance of the data backup for packet loss (i.e., the preset maximum packet loss rate) to generate a weight value sequence suitable for the data backup scenario, while the weights of the network transmission rate and the network delay may be relatively low because the data backup task has less strict requirements for real-time performance and continuity than the control instruction.

[0130] After obtaining the weight value sequence applicable to the current data type, the mobile phone Internet of Things device will further obtain the characteristic parameters such as the transmission rate, network delay, and packet loss rate of each network in the available network set. Using Formula 1 and combining the dynamically adjusted weight values, the network status score of each network is calculated. This score reflects the comprehensive ability of the network to meet specific data transmission requirements.

[0131] Based on network status scoring, the mobile IoT device will select the network with the highest score as the target network to ensure the efficiency and security of 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 using the method of dynamically adjusting the weight values as described above, the mobile IoT device can more flexibly and accurately match network resources, ensuring the security and efficiency of different types of data transmission, which reflects the careful consideration and optimization of the technical solution for the data transmission requirements in the IoT environment.

[0132] Further, if the feedback data type corresponding to the first data request is a data backup instruction, after determining the target network from the available network set, it further includes: If the mobile IoT device detects that the number of times of abnormal packet loss rate exceeds the preset number threshold within the preset duration, the network status score corresponding to the target network is updated using Formula 4 where the abnormal packet loss rate is a communication state where the packet loss rate exceeds the preset packet loss rate threshold, and Formula 4 is:

[0133] where, 、 、 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, the current network latency, and the current packet loss rate of the target network; is the number of times of detecting abnormal packet loss rate within the preset duration; is the packet loss rate when the target network has the th detection of abnormal packet loss rate within the preset duration; is the preset smoothing weight factor; The mobile IoT device updates the network status score set corresponding to the available network set according to the updated network status score of the target network , so as to determine a new target network according to the updated network status score set , and the new target network is the available network with the highest network status score in the available network set .

[0134] Specifically, when the 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. In particular, within a preset duration, 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 the state where the packet loss rate exceeds this preset threshold, indicating unstable network transmission and potentially compromising data integrity during the data backup process.

[0135] If, during the monitoring period, the mobile IoT device detects that the number of abnormal packet loss rate occurrences exceeds a preset number threshold, such as five consecutive times or ten times in total within a certain hour, this indicates that the packet loss problem is relatively serious and frequent. At this time, the device will record the exact packet loss rate value at the time of each abnormal occurrence for subsequent analysis and processing.

[0136] In response to the detected abnormal packet loss rate, the mobile IoT device will use Formula 4 to update the network status score of the target network. The sequence of weight values involved in the formula (i.e., the first weight value, the second weight value, and the third weight value) was previously calculated through Formula 2 based on the characteristics of the data backup instruction. The occurrence of an abnormal packet loss rate will prompt the device to adjust these weight values to reflect the severity of the packet loss rate problem. A smoothing weight factor is also introduced in Formula 4 to balance the relationship between a single abnormal occurrence and the overall score, avoiding excessive fluctuations in the score due to a single extreme abnormality.

[0137] After updating the network status score of the target network, the mobile IoT device will recalculate the network status score set for the entire available network set. Since the score of the target network has been adjusted based on the abnormal packet loss rate, it may no longer be the network with the highest score. Therefore, the mobile IoT device will reselect a network based on the updated score set and may trigger a network switch again if necessary, selecting a new target network with the highest score for data backup to ensure the quality and efficiency of data transmission.

[0138] After completing the above steps, the mobile IoT device will continuously monitor the communication status of the new target network to ensure the smooth execution of the data backup instruction. Meanwhile, for ease of management, the device will also generate and update a network management event log file each time a network switch occurs or an important network event is encountered, recording the reason for the network switch, the time, the information of the target network, and the relevant data transmission details, providing a detailed record for subsequent analysis and troubleshooting.

[0139] Figure 3 is a schematic structural diagram of an IoT management device shown according to an exemplary embodiment of the present application. As Figure 3As shown in the figure, the Internet of Things management device 300 provided in this embodiment includes: a mobile phone Internet of Things device 310 and an Internet of Things device cluster 320. Each Internet of Things device in the Internet of Things device cluster 320 is communicatively connected to the mobile phone Internet of Things device 310; The mobile phone Internet of Things device 310 obtains a first data request of a first Internet of Things device in the Internet of Things device cluster 320, and the first data request includes first data security level information; The mobile phone Internet of Things device 310 obtains first network status information of the current network, and the first network status information includes first network security level information; The mobile phone Internet of Things 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. The first network matching status is used to represent the 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 Internet of Things device 310 performs an available network scan to obtain a set of available networks, and determines a target network from the set of available networks, so as 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 a second preset matching status.

[0140] Optionally, if the mobile phone Internet of Things device 310 determines that the first data security level information is higher than the first network security level information, the first network matching status is the first preset matching status; If the mobile phone Internet of Things 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 status is the second preset matching status.

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

[0142] Optionally, the mobile phone Internet of Things device 310 obtains each available network in the set of available networks of the set of available networks is the nth available network in the set of available networks, and the network characteristic parameters include network transmission rate , network delay And packet loss rate ; The mobile IoT device 310 uses formula 1 and according to the network transmission rate , the network delay And the packet loss rate Determine the network status score , to generate the available network set The corresponding network status score set , wherein the formula 1 is:

[0143] 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; 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 available network set The available network with the highest network status score.

[0144] 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 according to the first data type in the first data request, the network status score is determined using Formula 2: A corresponding weight value sequence, the weight value sequence including the first weight value The second weight value and the third weight value , the formula 2 is:

[0145] in, is to preset the 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 coefficients for network delay, is a preset minimum network transmission rate corresponding to the first data type, The preset maximum network delay corresponding to the first data type; 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 according to the first data type in the first data request, the network status score is determined using Formula 3 The corresponding weight value sequence, and Formula 3 is:

[0146] Wherein, Is the preset initial value of the third weight, Is the third weight correction value, Is the correlation coefficient related to the preset feature of the packet loss rate, Is the preset maximum packet loss rate corresponding to the first data type.

[0147] Optionally, if the mobile Internet of Things device 310 detects that the number of times of abnormal packet loss rate exceeds the preset number threshold within the preset duration, the network status score corresponding to the target network is updated using Formula 4 The abnormal packet loss rate is a communication state where the packet loss rate exceeds the preset packet loss rate threshold, and Formula 4 is:

[0148] Wherein, , , 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, and are determined according to Formula 2; , , Are respectively the current transmission rate, the current network latency and the current packet loss rate of the target network; Is the number of times of detecting abnormal packet loss rate within the preset duration; Is the packet loss rate of the target network when the packet loss rate is abnormal for the th time of monitoring within the preset duration; Is the preset smoothing weight factor; The mobile Internet of Things device 310 updates the network status score of the available network set According to the updated network status score of the target network Corresponding to the network status score set , so as to determine a new target network according to the updated network status score set , and the new target network is the available network with the highest network status score in the available network set .

[0149] Optionally, the mobile Internet of Things device 310 generates a network management event log file for recording network switching events. Correspondingly, after the mobile Internet of Things device 310 sends the first data to the first Internet of Things device through the target network in response to the first data request, the method further includes: The mobile Internet of Things device 310 records data information of the first data in the network management event log file.

[0150] Figure 4 FIG. is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application. As Figure 4 shown, an electronic device 400 provided in this embodiment includes: a processor 401 and a memory 402; where: The memory 402 is used to store a computer program, and the memory may also be a flash memory.

[0151] The processor 401 is configured to execute an execution instruction stored in the memory to implement each step in the above method. For details, reference may be made to the relevant descriptions in the foregoing method embodiments.

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

[0153] When the memory 402 is a device independent of the processor 401, the electronic device 400 may further include: A bus 403 for connecting the memory 402 and the processor 401.

[0154] This embodiment further provides a readable storage medium storing a computer program, and when at least one processor of the electronic device executes the computer program, the electronic device executes the methods provided by the above various embodiments.

[0155] This embodiment further provides a program product including a computer program stored in a readable storage medium. At least one processor of the electronic device can read the computer program from the readable storage medium, and the execution of the computer program by at least one processor causes the electronic device to implement the methods provided by the above various embodiments.

[0156] Other embodiments of the present application will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include known common knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present application are pointed out by the claims.

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

Claims

1. An adaptive network switching method for 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, and each Internet of Things device in the Internet of Things device cluster is communicatively connected to the mobile Internet of Things device; the method includes: The mobile Internet of Things device obtains a first data request of a first Internet of Things device in the Internet of Things device cluster, and 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, and the first network status information includes first network security level information; 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, and the first network matching status is used to represent the 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 Internet of Things 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 Internet of Things device from the current network to the target network, and a 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.

2. The adaptive network switching method for the mobile phone Internet of Things device according to claim 1, characterized in that 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, 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 status is the first preset matching status; 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 status is the second preset matching status.

3. The method for the mobile Internet of Things device to adaptively switch networks according to claim 2, wherein, After determining the first network matching status according to the first data security level information and the first network security level information, it further includes: If the first network matching status is the second preset matching status, 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.

4. The method for adaptive network switching of the mobile phone Internet of Things device according to any one of claims 1-3, characterized in that, Determining the target network from the set of available networks includes: The mobile Internet of Things device obtains each available network in the set of available networks with network characteristic parameters , where the available network is the nth available network in the set of available networks , and the network characteristic parameters include network transmission rate , network latency , and packet loss rate ; The mobile Internet of Things device determines a network status score based on the network transmission rate , the network latency , and the packet loss rate to generate a network status score set corresponding to the available network set ; The mobile Internet of Things device determines the available network set according to the network status score set to determine the target network in the available network set where the target network is the available network with the highest network status score in the available network set and the available network with the highest network status score.

5. The method for the mobile Internet of Things device to adaptively switch networks according to claim 4, characterized in that, Based on the network transmission rate and the network latency as well as the packet loss rate to determine the network status score Before that, it further includes: If the mobile Internet of Things device determines that the feedback data type corresponding to the first data request is a device control instruction according to the first data type in the first data request, the network status score is determined according to 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 according to the first data type in the first data request, the network status score is determined according to the preset maximum packet loss rate corresponding to the first data type The corresponding weight value sequence.

6. The method for adaptive network switching of a mobile phone Internet of Things device according to claim 5, wherein 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, it further includes: If the number of times of detecting abnormal packet loss rate by the mobile Internet of Things device exceeds the preset number threshold within the preset duration, update the network status score corresponding to the target network. , where the abnormal packet loss rate is a communication state in which the packet loss rate exceeds the preset packet loss rate threshold. The mobile Internet of Things device updates the network status score according to the updated network status of the target network to update the set of available networks and the corresponding set of network status scores so as to determine a new target network according to the updated set of network status scores wherein the new target network is the available network with the highest network status score in the set of available networks .

7. The method for the mobile Internet of Things device to adaptively switch networks according to claim 6, wherein After switching the mobile Internet of Things device from the current network to the target network, it 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 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, it further includes: The mobile Internet of Things device records data information of the first data in the network management event log file.

8. An Internet of Things management device, characterized in that, Comprising: A mobile Internet of Things device and an Internet of Things device cluster, where each Internet of Things device in the Internet of Things device cluster is communicatively connected to the mobile Internet of Things device; The mobile Internet of Things device obtains a first data request of a first Internet of Things device in the Internet of Things device cluster, and 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, and the first network status information includes first network security level information; 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, and the first network matching status is used to represent the 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 Internet of Things 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 Internet of Things device from the current network to the target network, and a 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.

9. An electronic device, characterized in that, Comprising: A processor; And, A memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the method according to any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Network switching method and device and mobile terminal

    CN107277878A

  • Communication system and method based on Internet of Things information technology

    CN119094466A

  • Cross-platform file incremental synchronization method, computer device, medium and product

    CN119254769A

  • Communication transmission management method and system for heterogeneous network, and storage medium

    CN119316863A

  • Satellite internet threat identification method and system and electronic equipment

    CN119922026A