Access method of smart mobile router equipment in smart mobile router heterogeneous network

By mapping the communication module of the SMR device into a unified interface and monitoring network availability, the cross-platform deployment of the SMR device network access method and unreliable hardware return data in the prior art is solved, and stable and fast network access is achieved and monitoring.

CN119497185APending Publication Date: 2025-02-21BEIJING JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411624904.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The network access method of SMR devices in the existing smart mobile router heterogeneous network cannot be implemented cross-platform deployment, and it is easy to fail or slow to access due to unreliable hardware return data, and it is impossible to effectively detect the availability of wireless networks and connect the network converged channel. sex.

Method used

By mapping various communication modules on SMR devices into a unified usage interface, monitoring and reconnecting unavailable networks, a network availability detection mechanism that is more suitable for smart converged networks is adopted to ensure the effectiveness and timeliness of network monitoring.

Benefits of technology

It realizes cross-platform deployment of the SMR device network access mechanism, avoids access problems caused by unreliable hardware return data, effectively detects and reconnects to the wireless network, and is suitable for smart converged network application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497185A_ABST
    Figure CN119497185A_ABST
Patent Text Reader

Abstract

The invention provides an access method of SMR equipment in a smart mobile router heterogeneous network. The method comprises the following steps: mapping various communication modules on SMR equipment in a smart mobile router heterogeneous network into a unified use interface; accessing all communication modules on the SMR equipment to a network; and monitoring whether a network accessed by the communication module on the SMR equipment is available or not, and if not, reconnecting the communication module to the network. According to the method provided by the invention, an SMR network access mechanism can adapt to rapid cross-platform deployment, access failure or slow access caused by unreliability of data returned by hardware when the SMR equipment accesses the network can be avoided, and the availability of a connected wireless network and the availability of a network convergence channel can be effectively detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless network communications, and in particular to an access method for an SMR (Smart Mobile Router) device in a heterogeneous network of smart mobile routers. Background Art

[0002] With the development of high-speed rail technology and changes in the international situation, the search for safer communication network technologies that can adapt to high-speed mobile environments and provide better protection has become a development need today. However, there are many problems with the current mobile Internet, and a single wireless heterogeneous network cannot meet people's Internet access and communication needs. Therefore, solutions such as heterogeneous network collaborative transmission and component fusion networks have emerged.

[0003] At present, the smart converged network proposed by the National Engineering Research Center for Mobile Private Networks of Beijing Jiaotong University is one of the network construction solutions. The system realizes the converged transmission of multiple wireless heterogeneous networks through smart mobile routers. However, the network access solutions of existing equipment cannot be implemented across platforms for multiple scenarios, and the scope of application is limited, which cannot achieve satisfactory results.

[0004] In order to solve the network access problem of multiple heterogeneous networks integrated by smart mobile routers, the prior art proposes a heterogeneous network access method based on a clustering algorithm of grey correlation analysis. This method sends AT (Attention, scheduled task command line) instructions to the SAR (Smart Aggregation Router) device integrating multiple communication modules to control the communication module to interact with the mobile network operator, thereby achieving SAR network access, and finally using a clustering analysis algorithm based on grey correlation to achieve the selection of network groups.

[0005] The disadvantages of the heterogeneous network access method based on the clustering algorithm of grey relational analysis in the above prior art include:

[0006] 1. This method is designed on a single platform. Since SAR devices may use different platforms such as x86 and ARM in different application scenarios, and the hardware design of SAR devices on different platforms is different, this solution cannot be universal, which brings difficulties to development management and maintenance.

[0007] The above reasons make the deployment of this method on different platforms very limited and cannot adapt well to various scenarios.

[0008] 2. This method uses AT commands to access the communication module network. In the actual deployment process, this method often causes the AT commands to fail or be unrecognized due to problems with the communication module, resulting in network access failure, and the SMR cannot access the network in time to provide services to users.

[0009] 3. This method uses IP detection to guard the dial-up status of the virtual network card of the communication module. This method cannot detect whether the network connected to a certain communication module is available in time. At the same time, since the intelligent converged network realizes the integration of multiple basic wireless heterogeneous networks, the IP detection method cannot realize the connectivity detection of both ends of the converged network tunnel. Summary of the invention

[0010] An embodiment of the present invention provides a method for accessing an SMR device in a heterogeneous network of an intelligent mobile router, so as to effectively access the SMR device in the heterogeneous network of an intelligent mobile router.

[0011] In order to achieve the above object, the present invention adopts the following technical scheme.

[0012] A method for accessing a smart mobile router SMR device in a smart mobile router heterogeneous network, comprising:

[0013] Mapping various communication modules on SMR devices in the heterogeneous network of smart mobile routers into a unified user interface;

[0014] Connecting all communication modules on the SMR device to the network;

[0015] Monitor whether the network to which the communication module on the SMR device is connected is available; if unavailable, reconnect the communication module to the network.

[0016] Preferably, the mapping of various communication modules on the SMR devices in the heterogeneous network of intelligent mobile routers into a unified usage interface includes:

[0017] Detect the original virtual network card name of each communication module on the SMR device through the detection module;

[0018] Detect the bus number of the communication module according to the original virtual network card name of the communication module;

[0019] Detect the serial port number of the communication module;

[0020] Map the serial port names of the communication modules into a unified format;

[0021] Remap and rename the virtual network card of the communication module.

[0022] Preferably, the step of connecting all communication modules on the SMR device to the network includes:

[0023] Step B1: read the virtual network card name, bus number and serial port number of each communication module on the SMR device, integrate the read information into a device information set, and add all communication modules into a communication module list;

[0024] Step B2: Calculate the length L of the communication module list, calculate the number N of modules marked as processed in the communication module list, compare the list length L with the number N of processed modules, if the list length L is not equal to the number N of processed modules, the communication modules in the device have not been processed, and execute step B3; if the list length L is equal to the number N of processed modules, the communication modules in the device have been processed, and execute step B4;

[0025] Step B3: Take out an unprocessed module from the communication module list, mark the taken out module as processed, and use the virtual network card name and serial port number information of the taken out module to generate an object gsm for managing the module network access behavior;

[0026] Step B4: Access the communication module network management object, start the user identification SIM card status monitoring thread, and start the network access operation process;

[0027] Step B5: The communication module network access management object starts the dial-up parameter update perception thread;

[0028] Step B6: The communication module network access management object starts the network access thread to connect the communication module to the Internet, and then returns to step B2.

[0029] Preferably, the starting of the SIM card status monitoring thread includes:

[0030] B4-1: Open the serial port device of the current module in read mode;

[0031] B4-2: Read the content returned by the hardware from the current module;

[0032] B4-3: Obtain information about SIM card status changes from the read return content;

[0033] B4-4: Determine changes in the SIM card in the module;

[0034] B4-4-1: If the SIM card status change information is 0, the SIM card is removed, and the module card insertion status INSERT of the network access management object gsm is set to False, and then return to step B4-2;

[0035] B4-4-2: If the SIM card status change information is 1, the SIM card is inserted, and the module card insertion status INSERT of the network access management object gsm is set to True;

[0036] B4-4-3: Set the module SIM card change flag CHANGE of the network access management object gsm to True, and then return to step B4-2.

[0037] Preferably, the communication module network access management object starts a dial-up parameter update perception thread, including:

[0038] B5-1: Read the value of the module SIM card change flag CHANGE;

[0039] B5-2: Determine the value of the flag CHANGE. If the value is False, return to step B5-1; if the value is True, go to step B5-3;

[0040] B5-3: Read the International Mobile Subscriber Identity (IMSI) of the SIM card in the module;

[0041] B5-4: Get the mobile country code MCC and mobile network code MNC of the SIM card based on the IMSI;

[0042] B5-5: Read the default access authentication information of the SIM card according to MCC and MNC, and obtain the access point APN, username username and password password;

[0043] B5-6: Reset the module SIM card change flag CHANGE to False.

[0044] Preferably, the monitoring of whether the network to which the communication module on the SMR device is connected is available, and if unavailable, reconnecting the communication module to the network comprises:

[0045] Step C1: Read the virtual network card name and IP address of the current communication module of the SMR device;

[0046] Step C2: read the Zhirong channel configuration file of the SMR device, and obtain the Zhirong channel peer address of the current network card from the Zhirong channel configuration file according to the virtual network card name of the current communication module;

[0047] Step C3: Check the connectivity between the current network card and the other end of the Zhirong channel. If it is connected, go to step C1; if it is not connected, report and go to step C4;

[0048] Step C4: Detect the connectivity between the current network card and the Internet. If it is connected, go to step C1; if it is not connected, go to step C5;

[0049] Step C5: remove the IP address of the current network card, so that the dial-up process re-accesses the current network card to the network, and then enters step C1.

[0050] Preferably, the step C3: detecting the connectivity between the current network card and the other end of the Zhirong channel, if it returns connected, then entering step C1; if it returns disconnected, then reporting and entering step C4, includes:

[0051] C3-1: Use the current network card to send ICMP data packets to the peer end of the Zhirong channel and obtain the returned data;

[0052] C3-2: If the return data is received, the current network card is connected to the other end of the Zhirong channel, and the process goes to step C1;

[0053] C3-3: If no return data is received, the current network card is not connected to the Zhirong channel, and the user is informed that the current network card is not connected to the Zhirong channel, and the process goes to step C4.

[0054] Preferably, the step C4: detecting the connectivity between the current network card and the Internet, if connected, proceeding to step C1; if not connected, proceeding to step C5, includes:

[0055] C4-1: Send ICMP data packets to pre-configured Internet nodes using the current network card and obtain return data;

[0056] C4-2: If the returned data is received, the current network card is connected to the Internet, and go to step C1;

[0057] C4-3: If no return data is received, the current network card is not connected to the Internet, and a report is sent to the user that the current network card is not connected to the Internet, and the process goes to step C5.

[0058] It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the method of the present invention can make the SMR network access mechanism adapt to rapid cross-platform deployment, and can avoid access failure or slow access due to unreliable hardware return data when the SMR device accesses the network. It can effectively detect the availability of the connected wireless network and the availability of the network fusion channel, and is more suitable for smart fusion network application scenarios.

[0059] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0061] Figure 1A topological structure diagram of a heterogeneous network of intelligent mobile routers provided in an embodiment of the present invention;

[0062] Figure 2 A flowchart of a hardware compatibility process provided by an embodiment of the present invention;

[0063] Figure 3 A flowchart of a dialing process provided by an embodiment of the present invention;

[0064] Figure 4 A flow chart of a judgment algorithm provided by an embodiment of the present invention;

[0065] Figure 5 A SIM card status monitoring thread operation logic diagram provided by an embodiment of the present invention;

[0066] Figure 6 A dial parameter update perception thread operation logic diagram provided by an embodiment of the present invention;

[0067] Figure 7 A network access thread operation logic diagram provided by an embodiment of the present invention;

[0068] Figure 8 A flow chart of a network monitoring process provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0069] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.

[0070] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items.

[0071] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.

[0072] To facilitate understanding of the embodiments of the present invention, several specific embodiments will be further explained below with reference to the accompanying drawings, and each embodiment does not constitute a limitation on the embodiments of the present invention.

[0073] The topology structure of a heterogeneous network of intelligent mobile routers provided by an embodiment of the present invention is as follows: Figure 1 As shown, it includes the following main functional bodies: user equipment, SMR (Smart Mobile Router) equipment and SAR equipment. The user equipment communicates through multiple heterogeneous network fusion channels constructed by SMR-SAR.

[0074] The embodiment of the present invention provides a method for accessing SMR devices in a heterogeneous network of cross-platform intelligent mobile routers, which enables SMR devices to access 5G, 4G and other networks. The implementation process of the method is as follows:

[0075] Step A: Hardware compatibility process. This is the process of connecting the communication module in different ways using SMR devices of different platforms. After the SMR device is turned on, the module is detected and the different communication modules on the SMR device are mapped into a unified usage interface.

[0076] Step B: dial-up process. This is the process of connecting all communication modules on the SMR device to the network so that the communication modules of the SMR device can communicate with the Internet;

[0077] Step C: Network monitoring process. This is the process of monitoring the network accessed by the communication module to see if the network is available and reconnecting to the network if it is not available.

[0078] The hardware compatibility process flow chart in step A above is as follows Figure 2 As shown, the processing steps include the following:

[0079] Step A1: The detection module detects the original virtual network card name of each communication module on the SMR device;

[0080] Step A2: Detecting the bus number of the communication module according to the original virtual network card name of the communication module;

[0081] Step A3: Detect the serial port number of the communication module;

[0082] Step A4: Map the serial port name of the communication module into a unified format;

[0083] Note: The communication modules are named in the form of M* in the order of detection, and the naming number starts from 1; a communication module generates 4 serial ports in the system, and the numbering starts from 0. Naming examples: M1P0, M1P1, M1P2, M1P3;

[0084] Step A5: Remap and name the virtual network card of the communication module.

[0085] Note: The virtual network card remapping names of the communication module start from 1 in the order of detection and are named in the form of ppp*;

[0086] The dialing process flow chart in step B above is as follows Figure 3 As shown, the processing steps include the following:

[0087] Step B1: Obtain the number of communication modules in the SMR device and their respective hardware information, and generate a communication module list;

[0088] Scan the number of communication modules in the system, read the virtual network card name, bus number and serial port number of each communication module, integrate the read information into a device information set [VNICName, BusID, SerialID], and add all communication modules into a communication module list [Module1, Module2, ...].

[0089] Step B2: Determine whether the communication module in the SMR device has been processed. If it returns yes, then end; if it returns no, then enter step B3; the judgment algorithm of this step is as follows Figure 4 As shown, the specific processing process includes: calculating the length L of the communication module list, calculating the number N of modules marked as processed in the communication module list, comparing the list length L with the number N of processed modules, if the list length L is not equal to the number N of processed modules, the communication modules in the device have not been processed, and returning no; if the list length L is equal to the number N of processed modules, the communication modules in the device have been processed, and returning yes;

[0090] Step B3: Take out an unprocessed module from the communication module list, mark the taken out module as processed, and generate an object gsm for managing the module network access behavior using the virtual network card name, serial port number and other information of the taken out module;

[0091] Step B4: The communication module network access management object starts the SIM (Subscriber Identity Module) card status monitoring thread and starts the network access operation process;

[0092] The embodiment of the present invention provides a SIM card status monitoring thread operation logic as follows Figure 5 As shown, the processing includes the following:

[0093] B4-1: Open the serial port device of the current module in read mode;

[0094] B4-2: Read the content returned by the hardware from the current module;

[0095] B4-3: Obtain information about SIM card status changes from the read return content;

[0096] B4-4: Determine changes in the SIM card in the module;

[0097] B4-4-1: If the SIM card status change information is 0, the SIM card is removed, and the module card insertion status INSERT of the network access management object gsm is set to False, and then return to step B4-2;

[0098] B4-4-2: If the SIM card status change information is 1, the SIM card is inserted, and the module card insertion status INSERT of the network access management object gsm is set to True;

[0099] B4-4-3: Set the module SIM card change flag CHANGE of the network access management object gsm to True, and then return to step B4-2;

[0100] Step B5: The communication module network access management object starts the dial-up parameter update perception thread;

[0101] The embodiment of the present invention provides a dial parameter update perception thread operation logic as follows Figure 6 As shown, the processing includes the following:

[0102] B5-1: Read the value of the module SIM card change flag CHANGE;

[0103] B5-2: Determine the value of the flag CHANGE. If the value is False, return to step B5-1; if the value is True, go to step B5-3;

[0104] B5-3: Read the International Mobile Subscriber Identity (IMSI) of the SIM card in the module;

[0105] B5-4: Get the mobile country code MCC and mobile network code MNC of the SIM card based on the IMSI;

[0106] B5-5: Read the default access authentication information of the SIM card according to MCC and MNC, and obtain the access point APN, username username and password password;

[0107] B5-6: reset the module SIM card change flag CHANGE to False;

[0108] Step B6: the communication module network access management object starts the network access thread to connect the communication module to the Internet, and then returns to step B2;

[0109] The network access thread operation logic provided by the embodiment of the present invention is as follows Figure 7 As shown, the processing includes the following:

[0110] B6-1: Read the IP address of the module virtual network card;

[0111] B6-2: Determine whether the IP address exists. If so, there is no need to reapply for the IP address and return to step B6-1. If not, go to step B6-3.

[0112] B6-3: Determine the card insertion status of the module. If the card insertion status flag INSERT value is False, there is no card inserted in the module, and return to step B6-1; if the card insertion status flag INSERT value is True, go to step B6-4:

[0113] B6-4: Call the NDIS protocol dialing tool, using the APN, username, and password of the SIM card in the module as parameters to apply to the operator for an IP address to access the network;

[0114] B6-5: Use the dhclient tool to assign the requested IP address to the virtual network card;

[0115] A flow chart of a network monitoring process in step C provided by an embodiment of the present invention is as follows: Figure 8 As shown, the processing steps include the following:

[0116] Step C1: Read the virtual network card name and IP address of the current communication module of the SMR device;

[0117] Step C2: Read the peer address of the Zhirong channel of the current network card of the SMR device;

[0118] C2-1: Read the Zhirong channel configuration file;

[0119] C2-2: Obtain the Zhirong channel peer address of the current network card from the Zhirong channel configuration file according to the current module network card name;

[0120] Step C3: Check the connectivity between the current network card and the other end of the Zhirong channel. If it is connected, go to step C1; if it is not connected, report and go to step C4;

[0121] C3-1: Use the current network card to send ICMP data packets to the peer end of the Zhirong channel and obtain the returned data;

[0122] C3-2: If the return data is received, the current network card is connected to the other end of the Zhirong channel, and the process goes to step C1;

[0123] C3-3: If no return data is received, the current network card is not connected to the Zhirong channel, and the user is informed that the current network card is not connected to the Zhirong channel, and the process goes to step C4;

[0124] Step C4: Detect the connectivity between the current network card and the Internet. If it is connected, go to step C1; if it is not connected, go to step C5;

[0125] C4-1: Send ICMP data packets to pre-configured Internet nodes using the current network card and obtain return data;

[0126] C4-2: If the returned data is received, the current network card is connected to the Internet, and go to step C1;

[0127] C4-3: If no return data is received, the current network card is not connected to the Internet, and the user is informed that the current network card is not connected to the Internet, and the process goes to step C5;

[0128] Step C5: remove the IP address of the current network card, so that the dial-up process re-accesses the current network card to the network, and then enters step C1.

[0129] In summary, the method of the present invention enables the SMR network access mechanism to be directly deployed across platforms, avoids the garbled code problem that may be caused by using AT commands, and enables the SMR device to access the network more stably and quickly.

[0130] The present invention uses a network availability detection mechanism that is more suitable for intelligent fusion networks, ensuring the effectiveness and timeliness of network monitoring of SMR equipment.

[0131] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.

[0132] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0133] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0134] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for accessing a smart mobile router SMR device in a smart mobile router heterogeneous network, characterized in that: include: Mapping various communication modules on SMR devices in the heterogeneous network of smart mobile routers into a unified user interface; Connecting all communication modules on the SMR device to the network; Monitor whether the network to which the communication module on the SMR device is connected is available; if unavailable, reconnect the communication module to the network.

2. The method according to claim 1, characterized in that The mapping of various communication modules on the SMR devices in the heterogeneous network of intelligent mobile routers into a unified usage interface includes: The detection module detects the original virtual network card name of each communication module on the SMR device; Detect the bus number of the communication module according to the original virtual network card name of the communication module; Detect the serial port number of the communication module; Map the serial port names of the communication modules into a unified format; Remap and rename the virtual network card of the communication module.

3. The method according to claim 2, characterized in that The connecting all the communication modules on the SMR device to the network includes: Step B1: read the virtual network card name, bus number and serial port number of each communication module on the SMR device, integrate the read information into a device information set, and add all communication modules into a communication module list; Step B2: Calculate the length L of the communication module list, calculate the number N of modules marked as processed in the communication module list, compare the list length L with the number N of processed modules, if the list length L is not equal to the number N of processed modules, the communication modules in the device have not been processed, and execute step B3; if the list length L is equal to the number N of processed modules, the communication modules in the device have been processed, and execute step B4; Step B3: Take out an unprocessed module from the communication module list, mark the taken out module as processed, and use the virtual network card name and serial port number information of the taken out module to generate an object gsm for managing the module network access behavior; Step B4: Access the communication module network management object, start the user identification SIM card status monitoring thread, and start the network access operation process; Step B5: The communication module network access management object starts the dial-up parameter update perception thread; Step B6: The communication module network access management object starts the network access thread to connect the communication module to the Internet, and then returns to step B2.

4. The method according to claim 3, characterized in that: The starting SIM card status monitoring thread includes: B4-1: Open the serial port device of the current module in read mode; B4-2: Read the content returned by the hardware from the current module; B4-3: Obtain information about SIM card status changes from the read return content; B4-4: Determine changes in the SIM card in the module; B4-4-1: If the SIM card status change information is 0, the SIM card is removed, and the module card insertion status INSERT of the network access management object gsm is set to False, and then return to step B4-2; B4-4-2: If the SIM card status change information is 1, the SIM card is inserted, and the module card insertion status INSERT of the network access management object gsm is set to True; B4-4-3: Set the module SIM card change flag CHANGE of the network access management object gsm to True, and then return to step B4-2.

5. The method according to claim 3, characterized in that: The communication module network access management object starts a dial-up parameter update perception thread, including: B5-1: Read the value of the module SIM card change flag CHANGE; B5-2: Determine the value of the flag CHANGE. If the value is False, return to step B5-1; if the value is True, go to step B5-3; B5-3: Read the International Mobile Subscriber Identity (IMSI) of the SIM card in the module; B5-4: Get the mobile country code MCC and mobile network code MNC of the SIM card based on the IMSI; B5-5: Read the default access authentication information of the SIM card according to MCC and MNC, and obtain the access point APN, username username and password password; B5-6: Reset the module SIM card change flag CHANGE to False.

6. The method according to claim 1, characterized in that The monitoring of whether the network to which the communication module on the SMR device is connected is available, and if unavailable, reconnecting the communication module to the network includes: Step C1: Read the virtual network card name and IP address of the current communication module of the SMR device; Step C2: read the Zhirong channel configuration file of the SMR device, and obtain the Zhirong channel peer address of the current network card from the Zhirong channel configuration file according to the virtual network card name of the current communication module; Step C3: Check the connectivity between the current network card and the other end of the Zhirong channel. If it is connected, go to step C1; if it is not connected, report and go to step C4; Step C4: Detect the connectivity between the current network card and the Internet. If it is connected, go to step C1; if it is not connected, go to step C5; Step C5: remove the IP address of the current network card, so that the dial-up process re-accesses the current network card to the network, and then enters step C1.

7. The method according to claim 6, characterized in that The step C3: detecting the connectivity between the current network card and the other end of the Zhirong channel, if it returns connected, then entering step C1; if it returns disconnected, then reporting and entering step C4, including: C3-1: Use the current network card to send ICMP data packets to the peer end of the Zhirong channel and obtain the returned data; C3-2: If the return data is received, the current network card is connected to the other end of the Zhirong channel, and the process goes to step C1; C3-3: If no return data is received, the current network card is not connected to the Zhirong channel, and the user is informed that the current network card is not connected to the Zhirong channel, and the process goes to step C4.

8. The method according to claim 6, characterized in that The step C4: detecting the connectivity between the current network card and the Internet, if connected, proceeding to step C1; if not connected, proceeding to step C5, including: C4-1: Send ICMP data packets to pre-configured Internet nodes using the current network card and obtain return data; C4-2: If the returned data is received, the current network card is connected to the Internet, and go to step C1; C4-3: If no return data is received, the current network card is not connected to the Internet, and a report is sent to the user that the current network card is not connected to the Internet, and the process goes to step C5.