Network keep-alive method and device for communication module, equipment and medium

By performing preset Internet access tasks and calling the switch radio frequency interface to restart the module RF when the vehicle is in the network keep-alive state, the network-free problem caused by changes in the network injection environment is solved, and network connections are quickly restored and the impact on customer use is reduced.

CN119967379APending Publication Date: 2025-05-09SIMCOM WIRELESS SOLUTIONS SHANGHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411993100.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

The prior art is difficult to quickly recover the network-free problem caused by changes in the network injection environment of vehicles in a complex dial-up network environment.

Method used

By initializing the timer and performing preset Internet access tasks when the vehicle computer is in the network keep-alive state, if it fails, the switch radio frequency interface is called to restart the module RF, re-initiate a dial-up request to the operator base station and exit the network keep-alive state.

Benefits of technology

It realizes rapid recovery of network connections without the vehicle network, avoids affecting the normal operation of other functions of the vehicle, and reduces the impact of customer use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119967379A_ABST
    Figure CN119967379A_ABST
Patent Text Reader

Abstract

The invention relates to the field of network data transmission, and discloses a network keep-alive method and device for a communication module, equipment and a medium. In the application, when the vehicle machine is in a network keep-alive state, a first timer is initialized; after the countdown of the first timer is finished, executing a preset internet surfing task; if the preset internet surfing task fails, detecting whether the vehicle machine is still in the network keep-alive state or not; and if the vehicle machine is still in the network keep-alive state, calling a switch radio frequency interface to restart module radio frequency, re-initiating a dialing request to an operator base station and exiting the network keep-alive state. According to the method and the device, the radio frequency state is adjusted, the wireless communication module is triggered to restay in the network, and the dialing process is matched, so that the function of reconfiguring the equipment network is achieved, and the equipment is switched from a network-free state to a normal state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of network data transmission, and in particular to a network keep-alive method, device, equipment and medium for a communication module. Background Art

[0002] With the rise of 4G and 5G networks, more and more vehicles have achieved networking functions through a certain vehicle terminal. Network keep-alive usually exists in devices that need to maintain an efficient and stable network. Especially in today's society, IoT devices, new energy vehicles, etc., need to communicate with the background regularly, or they themselves need a stable network to support device functions.

[0003] In the vehicle equipment, the vehicle wireless communication module may fail to register or connect to the network due to the environment, equipment status, operator network deployment, tariff package adjustment, etc. In addition, the vehicle is not allowed to initiate the re-registration (re-dial) operation in the SOS state; and the vehicle can dial but has no network.

[0004] The existing technology mostly uses ping packets to check whether the current device network status supports normal use of the device, and confirms whether the current device network is normal by pinging a specified IP address or domain name. After detection, it cannot restore the network through effective means, and has not designed a corresponding network recovery method for the above scenario. It cannot solve the network problem caused by changes in the network environment.

[0005] Therefore, it is necessary to improve the existing network keep-alive function to adapt to the complex dial-up network environment. Summary of the invention

[0006] The purpose of the implementation mode of the present application is to provide a network keep-alive method, device, equipment and medium for a communication module, through a detection means with a wider range of usage scenarios, especially for the current automotive vehicle usage scenarios, so that the vehicle can be quickly restored when there is no network problem due to changes in the network environment.

[0007] To solve the above technical problems, an implementation of the present application provides a network keep-alive method for a communication module, including: when the vehicle computer is in a network keep-alive state, initializing a first timer; after the countdown of the first timer ends, executing a preset Internet access task; if the preset Internet access task fails, detecting whether the vehicle computer is still in the network keep-alive state; if the vehicle computer is still in the network keep-alive state, calling the switch RF interface to restart the module RF, re-initiating a dial-up request to the operator base station and exiting the network keep-alive state.

[0008] An embodiment of the present application also provides a network keep-alive device for a communication module, the device comprising a first processing module and a second processing module; wherein the first processing module is used to initialize a first timer when the vehicle computer is in a network keep-alive state; after the countdown of the first timer ends, execute a preset Internet access task; the second processing module restarts the module RF by calling the switch RF interface, re-initiates a dial-up request to the operator base station and exits the network keep-alive state.

[0009] An embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the network keep-alive method of the communication module mentioned above when executing the computer program.

[0010] The embodiments of the present application further provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the network keep-alive method of the communication module.

[0011] Compared with the prior art, the implementation method of the present application is that only the vehicle computer is in the network keep-alive state to execute the preset Internet access task in a preset time period. According to the preset execution result of the Internet access and whether the vehicle computer is still in the network keep-alive state, the switch RF interface is further called to restart the module RF, re-initiate the dial-up request to the operator base station and exit the network keep-alive state. The above method is used to regularly check whether the network is normal, and only perform operations in the network keep-alive state to avoid affecting the normal operation of other functions of the vehicle and minimize the impact on customer use; by switching the RF, all dial-ups on the device will be completely restarted, and routing and firewall configurations will be reconfigured. It can solve network data connection abnormalities caused by changes in the network environment, changes in the operator background, and special customized SIM card packages of some users.

[0012] In addition, before initializing the first timer, the method also includes: detecting whether the vehicle computer is in a dialing success state; if the vehicle computer is in the dialing success state, initializing a second timer; after the countdown of the second timer ends, detecting whether the vehicle computer is in the network keep-alive state; if the vehicle computer is not in the network keep-alive state, resetting the second timer until it is detected that the vehicle computer is in the network keep-alive state.

[0013] In addition, the preset Internet access task includes: using CURL instructions to access the domain name.

[0014] In addition, the execution of the preset Internet access task includes: using the CURL instruction to access at least one domain name in the preset configuration file, and resolving the accessed domain name; obtaining the return value corresponding to the accessed domain name, and detecting whether the return value contains a preset field; if the return value does not contain the preset field, it is determined that the preset Internet access task has failed; if the return value contains the preset field, it is determined that the preset Internet access task has succeeded. Among them, the CURL command can better reflect whether the device network is normal during the interaction between the IoT device and the background compared to the ping command. Currently, most IoT devices communicate data with the background through http / https / mqtt and other methods. Compared with the mechanism of the ping command, the interaction process of the CURL command is closer to the actual usage scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0016] Figure 1 is a flow chart of a network keep-alive method of a communication module provided by an embodiment of the present application;

[0017] Figure 2 is another flow chart of a network keep-alive method of a communication module provided by an embodiment of the present application;

[0018] Figure 3 is a flowchart of a preset Internet access task provided by an embodiment of the present application;

[0019] Figure 4 is another flow chart of a network keep-alive method of a communication module provided by an embodiment of the present application;

[0020] Figure 5 is another flow chart of a network keep-alive method of a communication module provided by an embodiment of the present application;

[0021] Figure 6 It is a structural diagram of a network keep-alive device of a communication module provided in one embodiment of the present application;

[0022] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0023] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be limited in any way, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0024] One embodiment of the present application relates to a network keep-alive method for a communication module. The network keep-alive method for a communication module provided in this embodiment can be executed by a network keep-alive device of the communication module. The method can also be implemented by software and / or hardware, and can generally be integrated in a client. More specifically, the client can be a vehicle computer. For details, see Figure 1 As shown, the method comprises the following steps:

[0025] Step S101: Initialize a first timer, and after the countdown of the first timer ends, execute a preset Internet access task.

[0026] Specifically, when the vehicle computer is in a network keep-alive state, a first timer is initialized, and after the countdown of the first timer ends, a preset Internet access task is executed.

[0027] Among them, this method starts to check whether the network connection is normal 20S after the network keep-alive is started.

[0028] Specifically, a timer is set to periodically detect whether the network connection is normal, and the network connection is detected by executing a preset Internet access task.

[0029] Among them, the Internet access task is preset, which can be to use the curl command to access a specific domain name (for example: curl--connect-timeout 1-IsS www.baidu.com), including public domain names and private domain names. The specific domain names to be accessed are defined by the customer. In general, accessing at least one domain name can effectively avoid the misjudgment of the network status caused by a domain name server failure. As long as one domain name is successfully accessed, it means that the network connection is normal and no subsequent steps are required.

[0030] Step S102: Obtain the Internet access task result and detect whether the vehicle computer is still in the network keep-alive state.

[0031] Specifically, when the Internet access task fails, it is detected whether the vehicle computer is still in the network keep-alive state.

[0032] Among them, the failure of the Internet access task means that there is a problem with the vehicle network status. Since the timer has counted down for 20 seconds, it will take a long time to further execute the Internet access task to access the preset domain name, and if the domain name access fails, it will take more time to wait. Considering the time taken by the above steps, various situations may be encountered for vehicle driving, that is, there may be scenarios in which the switch RF action cannot be triggered in the customer's usage scenario. Therefore, it is necessary to further detect whether the network is in a keep-alive state, so as to avoid triggering the switch RF module action and affecting the normal use of the user.

[0033] Step S103: Restart the module radio frequency, re-initiate the dial-up request and exit the network keep-alive state.

[0034] Specifically, when the vehicle computer is still in the network keep-alive state, the switch RF interface is called to restart the module RF, re-initiate a dial-up request to the operator base station and exit the network keep-alive state.

[0035] Among them, the car computer is still in the network active state, which means that the state of the car computer has not changed and the user has not used other functions. At this time, triggering the switch RF module action will not affect the normal use of the user. It is safe to re-initiate a dial-up request to the operator base station to re-enter the network.

[0036] Among them, by turning on and off the radio frequency, all dial-ups on the device will be completely restarted, and the routing and firewall configurations will be reconfigured. This can solve network data connection anomalies caused by changes in the network environment, changes in the operator's background, and special customized SIM card packages for some users.

[0037] Compared with the prior art, the embodiment of the present application is that only the vehicle computer is in the network keep-alive state to execute the preset Internet access task in a preset time period. According to the preset execution result of the Internet access and whether the vehicle computer is still in the network keep-alive state, the switch RF interface is further called to restart the module RF, re-initiate the dial-up request to the operator base station and exit the network keep-alive state. The above method is used to regularly check whether the network is normal, and only perform operations in the network keep-alive state to avoid affecting the normal operation of other functions of the vehicle and minimize the impact on customer use; by switching the RF, all dial-ups on the device will be completely restarted, and routing and firewall configurations will be reconfigured. It can solve network data connection abnormalities caused by changes in the network environment, changes in the operator background, and special customized SIM card packages of some users.

[0038] Another embodiment of the present application relates to a network keep-alive method for a communication module. The specific flow chart is as follows: Figure 2 As shown, the network keep-alive method of the communication module includes the following steps:

[0039] Step S200: Detect whether the vehicle computer is in a dialing success state.

[0040] Specifically, detect whether the vehicle computer is in a dial-up successful state; if the vehicle computer is in a dial-up successful state, initialize the second timer; after the countdown of the second timer ends, detect whether the vehicle computer is in a network keep-alive state; if the vehicle computer is not in a network keep-alive state, reset the second timer until it is detected that the vehicle computer is in a network keep-alive state.

[0041] After the user device is turned on, the detection thread is started while dialing to start the network. The premise of using the network detection thread is that the current dial has been made. 20 seconds after the detection thread is started, it starts to detect whether the vehicle computer has entered the network keep-alive state, and then starts to check whether the network connection is normal. Furthermore, if the network keep-alive state is not activated, the timer will be reset to regularly detect whether the vehicle computer has entered the network keep-alive state.

[0042] Step S201: Initialize a first timer, and after the countdown of the first timer ends, execute a preset Internet access task.

[0043] Furthermore, in some embodiments, after the countdown of the first timer ends, it is detected again whether the vehicle computer is in a state of successful dialing. If the vehicle computer is still in a state of successful dialing, the subsequent contents of step S201 are continued to be executed.

[0044] Step S202: Obtain the Internet access task result and detect whether the vehicle computer is still in the network keep-alive state.

[0045] Step S203: Restart the module radio frequency, re-initiate the dial-up request and exit the network keep-alive state.

[0046] Step S201 and step S203 of this embodiment are similar to steps S101 and S103 and are not described again here.

[0047] Through the above steps, one embodiment of the present application can be implemented, which relates to a network keep-alive method for a communication module.

[0048] Compared with the prior art, this embodiment only performs the preset Internet access task for a preset time period when the vehicle computer is in the network keep-alive state. If the network keep-alive state is not activated, the timer will be reset to regularly detect whether the vehicle computer enters the network keep-alive state. This method is only executed after the vehicle computer network is in the keep-alive state. By performing the above method only in the network keep-alive state, it can avoid affecting the normal operation of other functions of the vehicle and minimize the impact on user use.

[0049] Another embodiment of the present application relates to a method for implementing a preset Internet access task, the specific process is as follows: Figure 3 As shown, steps S301 to S302 are specific implementations of the preset Internet access task in step S101 or step S201:

[0050] Step S301: Use the CURL instruction to access at least one domain name in a preset configuration file, and resolve the accessed domain name.

[0051] Specifically, use the curl command to access a specific domain name (for example: curl --connect-timeout 1-Is-Swww.baidu.com), including public domain names and private domain names, and the domain names are defined by the customer.

[0052] Among them, the curl command is used to access the public and private domain names to detect the public and private dial-up network status on the device, so as to determine whether the current device network dial-up is normal. Compared with the ping command, the curl command can better reflect whether the device network is normal during the interaction between the IoT device and the background. Currently, most IoT devices communicate with the background through http / https / mqtt and other methods. Compared with the mechanism of the ping command, the interaction process of the curl command is closer to the actual usage scenario.

[0053] It is worth noting that in some scenarios, the car computer may be in a situation where it can maintain dialing and can make calls, but cannot access the Internet. Therefore, it can only be checked by accessing certain domain names to check whether the car computer network is normal. This method uses the curl command to access the public or private network domain name to detect the public and private network dial-up network status on the device, thereby determining whether the current device network dial-up is normal. This can effectively avoid the problem in this scenario.

[0054] Step S302: Obtain the return value corresponding to the accessed domain name, and detect whether the return value contains a preset field.

[0055] Specifically, the return value corresponding to the accessed domain name is obtained, and whether the return value contains a preset field is detected; if the return value does not contain the preset field, it is determined that the preset Internet access task has failed; if the return value contains the preset field, it is determined that the preset Internet access task has succeeded.

[0056] The preset field is the "HTTP" field. When the network is normal, accessing the preset domain name can obtain the return value of the relevant field. If one domain name is successfully accessed, it means that the current network is normal. If all detected domain names return failure, it is considered that the Internet access task has failed.

[0057] Through the above steps, one embodiment of the present application can be implemented, which relates to a network keep-alive method for a communication module.

[0058] In some scenarios, the car computer may be in a situation where it keeps dialing and can make calls, but cannot access the Internet. Therefore, it can only be checked by accessing certain domain names to check whether the car computer network is normal. This method uses the curl command to access the public and private domain names to detect the public and private dial-up network status on the device, thereby determining whether the current device network dial-up is normal. This can well avoid the problem of this scenario. Compared with the prior art, the embodiment of the present application only executes the preset Internet access task for a preset time period when the car computer is in a network keep-alive state.

[0059] By judging the execution result of the preset Internet access and whether the vehicle is still in the network keep-alive state, the switch RF interface is further called to restart the module RF, re-initiate a dial-up request to the operator base station and exit the network keep-alive state. The above method is used to regularly check whether the network is normal, and only operate in the network keep-alive state to avoid affecting the normal operation of other functions of the vehicle and minimize the impact on customer use; by switching the RF, all dial-ups on the device will be completely restarted, and routing and firewall configurations will be reconfigured. It can solve network data connection abnormalities caused by changes in the network environment, changes in the operator background, and special customized SIM card packages for some users.

[0060] Another embodiment of the present application relates to a network keep-alive method for a communication module. The specific method is as follows: Figure 4 As shown, the method comprises the following steps:

[0061] Step S400: Detect whether the vehicle computer is in a dialing success state.

[0062] Step S401: Initialize a first timer, and after the countdown of the first timer ends, execute a preset Internet access task.

[0063] Step S402: Obtain the Internet access task result and detect whether the vehicle computer is still in the network keep-alive state.

[0064] Specifically, if the Internet access task result is a failure and the vehicle computer is in a network keep-alive state, step S403 is executed; if the Internet access result is a success, step S401 is executed, and the detection can be restarted, and the next cycle is entered.

[0065] Step S403: Initialize the third timer; after the third timer counts down, detect whether the vehicle computer is in a network keep-alive state.

[0066] Specifically, if the vehicle computer is in the network keep-alive state, step S401 is executed, and detection can be restarted, and the next cycle is entered.

[0067] In the embodiment of the present application, only the vehicle computer is in the network keep-alive state to execute the preset Internet access task in a preset time period. According to the preset execution result of the Internet access and whether the vehicle computer is still in the network keep-alive state, the switch RF interface is further called to restart the module RF, re-initiate the dial-up request to the operator base station and exit the network keep-alive state. The above method is used to regularly check whether the network is normal, and only perform operations in the network keep-alive state to avoid affecting the normal operation of other functions of the vehicle and minimize the impact on customer use; by switching the RF, all dial-ups on the device will be completely restarted, and routing and firewall configurations will be reconfigured. It can solve network data connection abnormalities caused by changes in the network environment, changes in the operator background, and special customized SIM card packages for some users.

[0068] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0069] Another embodiment of the present application relates to a network keep-alive method for a communication module. The flowchart of the specific method is as follows: Figure 5 As shown, the method comprises the following steps:

[0070] First, it is checked whether keep-alive is currently activated. In this embodiment, an interface is provided for the user to freely control whether to trigger the network restart in this embodiment, because there may be scenarios in which the switch RF action cannot be triggered in the customer's usage scenario.

[0071] If the keepalive detection time count is not activated, it will be reset to 20S. In the activated state, the keepalive detection time count will be automatically decremented. When the keepalive detection time count is 0, it will start to determine whether to dial up. If not dialed up, it will exit the detection. If the dial-up is normal, use the curl command to access a specific domain name (for example: curl--connect-timeout 1-Is-Swww.baidu.com). The domain name to be accessed can be a public domain name or a private domain name, and the domain name is pre-defined by the user. Then check whether the return value of each domain name contains the word "HTTP". If the network is normal, the relevant words can be read, otherwise it cannot. If one domain name is successfully accessed, it means that the current network is normal. If all detected domain names return failure, it will be determined again whether the keepalive is currently activated. If not activated, the keepalive detection time will be counted again. If activated, the switch RF interface will be called to restart the module RF and exit the keepalive state. After that, the dial-up service on the device will dial again, and call the detection thread after dialing, so that the detection can be restarted.

[0072] Another embodiment of the present application relates to a network keep-alive device of a communication module, such as Figure 6 As shown, the device includes a first processing module and a second processing module; wherein,

[0073] The first processing module is used to initialize the first timer when the vehicle computer is in a network keep-alive state, and execute a preset Internet access task after the countdown of the timer ends;

[0074] The second processing module restarts the module radio frequency by calling the switch radio frequency interface, re-initiates a dial-up request to the operator base station and exits the network keep-alive state.

[0075] The network keep-alive device of the communication module further includes a third processing module, a fourth processing module, and an instruction module; wherein the third processing module is used to initialize a second timer after the vehicle computer successfully dials, and after the second timer counts down, detect whether the vehicle computer is in the network keep-alive state;

[0076] The fourth processing module is used to detect whether the vehicle computer is in a dialing success state;

[0077] The instruction module is used to use the CURL instruction to access at least one domain name in a preset configuration file, and to resolve the accessed domain name, obtain a return value corresponding to the accessed domain name, and detect whether the return value has a preset field.

[0078] It is not difficult to find that this embodiment is a system embodiment corresponding to other method embodiments, and this embodiment can be implemented in conjunction with other method embodiments. The relevant technical details mentioned in other method embodiments are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied to other method embodiments.

[0079] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.

[0080] Another embodiment of the present application relates to an electronic device, such as Figure 7 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and is characterized in that the network keep-alive method of the communication module mentioned above is implemented when the processor executes the computer program.

[0081] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.

[0082] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.

[0083] Another embodiment of the present application relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0084] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0085] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.

Claims

1. A network keep-alive method for a communication module, characterized in that: include: When the vehicle computer is in a network keep-alive state, a first timer is initialized; after the countdown of the first timer ends, a preset Internet access task is executed; If the preset Internet access task fails, detecting whether the vehicle computer is still in the network keep-alive state; If the vehicle computer is still in the network keep-alive state, the switch radio frequency interface is called to restart the module radio frequency, re-initiate a dial-up request to the operator base station and exit the network keep-alive state.

2. The network keep-alive method of the communication module according to claim 1, characterized in that: Before initializing the first timer, the method further includes: Detecting whether the vehicle computer is in a dialing success state; If the vehicle computer is in the dial-up success state, initializing a second timer; after the second timer counts down, detecting whether the vehicle computer is in the network keep-alive state; If the vehicle computer is not in the network keep-alive state, the second timer is reset until it is detected that the vehicle computer is in the network keep-alive state.

3. The method for keeping a network alive of a communication module according to claim 1, characterized in that: Before executing the preset Internet access task, the method further includes: Detecting whether the vehicle computer is in a dialing success state; If the vehicle computer is still in the dial-up successful state, the step of "executing the preset Internet access task" is executed.

4. The method for keeping a network alive of a communication module according to claim 1, characterized in that: The preset Internet access tasks include: Use CURL command to access the domain name.

5. The method for keeping a network alive of a communication module according to claim 4, characterized in that: The executing of the preset Internet access task includes: Use CURL command to access at least one domain name in the preset configuration file and resolve the accessed domain name; Obtaining a return value corresponding to the accessed domain name, and detecting whether the return value contains a preset field; If the return value does not include the preset field, it is determined that the preset Internet access task has failed; If the return value includes the preset field, it is determined that the preset Internet access task is successful.

6. The method for keeping a network alive of a communication module according to claim 1, characterized in that: After detecting whether the vehicle computer is still in the network keep-alive state, the method further includes: If the preset Internet access task fails and the vehicle computer is not in the network keep-alive state, or the preset Internet access task succeeds, a third timer is initialized; after the countdown of the third timer ends, whether the vehicle computer is in the network keep-alive state is detected; If the vehicle computer is in the network keep-alive state, execute the step of "initializing the first timer".

7. A network keep-alive device for a communication module, characterized in that: The device comprises a first processing module and a second processing module; wherein, The first processing module is used to initialize a first timer when the vehicle computer is in a network keep-alive state; after the countdown of the first timer ends, execute a preset Internet access task; The second processing module restarts the module radio frequency by calling the switch radio frequency interface, re-initiates a dial-up request to the operator base station and exits the network keep-alive state.

8. The network keep-alive device of the communication module according to claim 7, characterized in that: The device further includes a third processing module, a fourth processing module, and an instruction module; wherein, The third processing module is used to initialize the second timer; after the second timer counts down, detect whether the vehicle computer is in the network keep-alive state; The fourth processing module is used to detect whether the vehicle computer is in a dialing success state; The instruction module is used to use the CURL instruction to access at least one domain name in a preset configuration file, and to resolve the accessed domain name, obtain a return value corresponding to the accessed domain name, and detect whether the return value has a preset field.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the network keep-alive method of the communication module according to claims 1 to 6 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the network keep-alive method of the communication module according to any one of claims 1 to 6 is implemented.