Network recovery method of vehicle-mounted terminal, vehicle-mounted terminal and storage medium

By introducing timing and interval mechanisms in the vehicle machine, the long interval of APN dialing is optimized, and the problems of waste of resources and high power consumption caused by frequent dialing of the vehicle machine when the vehicle network is disconnected are solved, achieving more efficient network recovery and resource conservation.

CN120050686APending Publication Date: 2025-05-27VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510070851.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In the prior art, when the vehicle is disconnected from the Internet of Vehicles, it frequently performs APN dialing, resulting in waste of computing resources and high power consumption.

Method used

When the vehicle detects that the APN is disconnected, it initiates an APN dialing connection, and starts timing when the number of dialing times is lower than the set threshold. It determines the time interval for the next dialing time according to the interval to which the number of dialing times belongs, until the number of dialing times reaches the set threshold.

Benefits of technology

By optimizing the duration interval of APN dialing, the APN connection can be restored as soon as possible, and the frequent dialing of cars and machines can be avoided, saving computing resources and power consumption, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050686A_ABST
    Figure CN120050686A_ABST
Patent Text Reader

Abstract

The invention provides a network recovery method of an in-vehicle infotainment device, the in-vehicle infotainment device and a storage medium, and relates to the technical field of Internet of Vehicles. Under the condition that the APN dial-up connection fails, determining the number of dialing times of the APN dial-up connection which has been initiated; and when the number of dialing times is lower than a set number of times threshold value, starting timing, and determining a dialing duration interval for initiating the next APN dialing connection according to a number of times interval to which the number of dialing times belongs. The higher the lower limit value of the frequency interval to which the dialing frequency belongs is, the longer the dialing time interval is. And when the timing reaches the dialing time interval, returning to execute the operation of initiating the APN dialing connection until the dialing times reach the set times threshold, so that the situation that the APN dialing connection is frequently initiated by the vehicle-mounted terminal can be avoided under the condition that the APN connection can be recovered as soon as possible. Therefore, computing resources and power consumption can be saved while the user experience feeling is met as much as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle networking, and in particular, to a method for network recovery of a vehicle head unit, a vehicle head unit, and a storage medium. Background Art

[0002] With the development of technology, vehicles are becoming more and more intelligent. For example, a vehicle can connect to a vehicle network to implement various online service functions (such as remote control functions, OTA functions, entertainment functions, intelligent driving functions, etc.), bringing a good user experience. However, during the use of the vehicle, it may be disconnected from the vehicle network, resulting in the inability to use various online service functions. Therefore, it is necessary to restore network connection when the vehicle is disconnected from the vehicle network.

[0003] Currently, one way for a vehicle to restore network connection is to frequently perform APN dialing to attempt to restore network connection, resulting in waste of computing resources and high power consumption. Summary of the Invention

[0004] This application provides a method for network recovery of a vehicle head unit, a vehicle head unit, and a storage medium, which is used to solve the problem in the prior art that frequent APN dialing results in waste of computing resources and high power consumption.

[0005] In a first aspect, this application provides a method for network recovery of a vehicle head unit, which is applied to a vehicle head unit. The method provided by this application includes:

[0006] When the vehicle head unit detects that the APN connection is disconnected, initiate an APN dial-up connection;

[0007] When the APN dial-up connection fails, determine the number of times of the APN dial-up connection that has been initiated;

[0008] When the number of times is lower than a set number threshold, start timing, and determine the dialing duration interval for the next APN dial-up connection according to the number interval to which the number of times belongs, where the lower the lower limit value of the number interval to which the number of times belongs, the longer the dialing duration interval;

[0009] When the timing reaches the dialing duration interval, return to execute the operation of initiating an APN dial-up connection until the number of times reaches the set number threshold.

[0010] In some embodiments, after initiating an APN dial-up connection, the method provided by this application further includes:

[0011] When the APN dial-up connection is successful, request to connect to the DNS server;

[0012] When it is determined that the connection to the DNS server fails, disconnect the APN connection and return to the operation of initiating an APN dial-up connection.

[0013] In some embodiments, determining that the connection to the DNS server fails includes:

[0014] Sending a connection request to the DNS server;

[0015] Performing a count when no acknowledgment packet is received from the DNS server in response to the connection request;

[0016] When the count value is lower than a set count threshold, returning to perform the operation of sending a connection request to the DNS server;

[0017] When the count value reaches the set count threshold, determining that the connection to the DNS server fails.

[0018] In some embodiments, after requesting to connect to the DNS server, the method provided by this application further includes:

[0019] When the request to connect to the DNS server is successful, determining whether the traffic of the network card of the in-vehicle unit within a preset duration is greater than a set traffic threshold;

[0020] If it is greater than the set traffic threshold, clearing the recorded number of dialing attempts.

[0021] In some embodiments, when determining that the connection to the DNS server fails, a preset network fault recovery policy is executed, where the network fault recovery policy is that the corresponding network fault recovery operations are different when the recovery times interval to which the network fault recovery times belong is different, and the lower limit value of the recovery times interval to which it belongs is larger, the corresponding network fault recovery time is longer, and the scope of influence on the services of the in-vehicle unit is wider.

[0022] In some embodiments, when determining that the connection to the DNS server fails, executing a preset network fault recovery policy includes:

[0023] When the network fault recovery times reach the first count threshold, re-initiate an APN dial-up connection;

[0024] When the network fault recovery times reach the first count threshold, perform the operation of restarting the network service of the in-vehicle unit;

[0025] When the network fault recovery times reach the third count threshold, perform the operation of restarting the operating system of the in-vehicle unit.

[0026] In some embodiments, the method provided by this application further includes:

[0027] When the number of dialing attempts is higher than a set number threshold, clearing the recorded number of dialing attempts;

[0028] Wait for the set duration, and return to execute the step of the in-vehicle unit initiating an APN dial-up connection when detecting that the APN is disconnected until it is detected that the APN connection is successful.

[0029] In a second aspect, the present application also provides an in-vehicle unit, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The in-vehicle unit is characterized in that when the processor executes the computer program, the in-vehicle unit executes the method provided in the first aspect of the present application.

[0030] In a third aspect, the present application also provides a storage medium storing a computer program, and when the computer program is executed by a processor, the in-vehicle unit executes the method provided in the first aspect of the present application.

[0031] In a fourth aspect, the present application also provides a computer program product including a computer program, and when the computer program is run, the in-vehicle unit executes the method provided in the first aspect of the present application.

[0032] The present application provides a method for network recovery of an in-vehicle unit, an in-vehicle unit, and a storage medium. When the APN dial-up connection fails, determine the number of times of the APN dial-up connection that has been initiated; when the number of times is lower than the set number threshold, start timing, and determine the dialing duration interval for the next APN dial-up connection according to the number interval to which the number of times belongs. Since the lower limit value of the number interval to which the number of times belongs is higher, the dialing duration interval is longer. When the timing reaches the dialing duration interval, return to execute the operation of initiating an APN dial-up connection until the number of times reaches the set number threshold.

[0033] It can be understood that when the APN is just disconnected, the difficulty of restoring the APN connection is uncertain at this time. In order to restore the APN connection as soon as possible, the above-mentioned dialing duration interval is set to be smaller. As the number of times of dialing increases, the difficulty of restoring the APN connection also increases. In order to avoid the in-vehicle unit from frequently initiating APN dial-up connections, the above-mentioned dialing duration interval is set to be larger. In this way, when the lower limit value of the number interval to which the number of times belongs is higher and the dialing duration interval is longer, it is possible to restore the APN connection as early as possible while avoiding the in-vehicle unit from frequently initiating APN dial-up connections; thus, it is possible to save computing resources and power consumption while satisfying the user experience as much as possible. Description of the Drawings

[0034] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.

[0035] Figure 1 One of the flowcharts of the network recovery method for a vehicle-mounted device provided by an embodiment of the present application;

[0036] Figure 2 Another flowchart of the network recovery method for a vehicle-mounted device provided by an embodiment of the present application;

[0037] Figure 3 The functional module block diagram of the network recovery device for a vehicle-mounted device provided by an embodiment of the present application. Detailed implementation manners

[0038] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In addition, in the following description, the descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present disclosure.

[0039] Various structural schematic diagrams according to embodiments of the present disclosure are shown in the accompanying drawings. These figures are not drawn to scale, where for the purpose of clear expression, some details are enlarged and some details may be omitted. The shapes of various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary. In practice, there may be deviations due to manufacturing tolerances or technical limitations, and those skilled in the art can design regions / layers with different shapes, sizes, and relative positions according to actual needs.

[0040] In the context of the present disclosure, when a layer / element is referred to as being "on" another layer / element, the layer / element can be directly on the other layer / element, or there can be an intermediate layer / element between them. Additionally, if a layer / element is "on" another layer / element in one orientation, then when the orientation is reversed, the layer / element can be "under" the other layer / element.

[0041] Hereinafter, the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail with specific embodiments. These several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

[0042] An embodiment of the present application provides a network recovery method for a vehicle-mounted device, which is applied to the vehicle-mounted device. AsFigure 1 As shown in the figure, the method provided by the embodiment of the present application includes:

[0043] S101: Detect whether the APN is disconnected. If so, execute S102.

[0044] APN (Access Point Name) is the network access point, which determines the access method for the in-vehicle unit to access a specific network. Exemplarily, the in-vehicle unit can connect to different networks through multiple APNs to implement different vehicle service functions. For example, the in-vehicle unit can connect to Network 1 through APN1 to implement the remote control function, connect to Network 2 through APN2 to implement the in-vehicle unit interaction function, connect to Network 3 through APN3 to implement the over-the-air download function, and connect to Network 4 through APN4 to implement the intelligent driving function. When it is detected that a certain APN is disconnected from the network, the in-vehicle unit cannot implement the corresponding vehicle service function. Therefore, it is necessary to perform a network recovery operation on this APN.

[0045] S102: Initiate an APN dial-up connection.

[0046] Exemplarily, APN dial-up refers to dialing by configuring the access point name (APN) to attempt to connect to the base station of the network. It should be noted that only one APN dial-up connection is initiated each time.

[0047] S103: Determine whether the APN dial-up connection is successful. If not, execute S104; optionally, as Figure 2 shown in the figure, if so, execute S108.

[0048] S104: Determine the number of dialing attempts for the initiated APN dial-up connection.

[0049] It can be understood that the number of dialing attempts for the initiated APN dial-up connection is the number of failed APN dial-up connection attempts.

[0050] S105: Determine whether the number of dialing attempts is lower than the set number threshold; if so, execute S106; optionally, if not, execute S113.

[0051] It should be noted that when the number of dialing attempts is lower than the set number threshold (such as 12 times), it indicates that the reason for the dialing failure may be due to the instability of the in-vehicle unit's own system. If the number of dialing attempts reaches the set number threshold, it indicates that the dialing failure is not caused by the instability of the in-vehicle unit itself (it may be due to reasons such as base station failure).

[0052] S106: Start timing, and determine the dialing duration interval for the next APN dial-up connection according to the number interval to which the number of dialing attempts belongs.

[0053] Exemplarily, a timer timer can be started to start timing. It can be understood that the smaller the number of dials, the higher the probability of dialing failure caused by the instability of the in-vehicle system itself. Therefore, when the lower limit value of the number range to which the number of dials belongs is higher, the dialing duration interval is set longer. In this way, it is possible to recover the APN connection as early as possible while avoiding the in-vehicle unit from frequently initiating APN dial-up connections; thus, it is possible to save computing resources and power consumption while satisfying the user experience as much as possible.

[0054] Exemplarily, the relationship between the number range to which the number of dials belongs and the dialing duration interval can be as shown in Table 1 below.

[0055] Number of dialing 1 2 3 4 5 6 7 8 9 10 11 12 Dialing duration interval 10s 10s 10s 40s 40s 40s 80s 80s 80s 120s 120s 120s

[0056] Table 1

[0057] S107: Determine whether the timing has reached the dialing duration interval. If so, return to execute S102.

[0058] In summary, the embodiment of the present application provides a method for network recovery of an in-vehicle unit. When the APN dial-up connection fails, determine the number of APN dial-up connections that have been initiated; when the number of dials is lower than the set number threshold, start timing, and determine the dialing duration interval for the next APN dial-up connection according to the number range to which the number of dials belongs. Since the lower limit value of the number range to which the number of dials belongs is higher, the dialing duration interval is longer. When the timing reaches the dialing duration interval, return to execute the operation of initiating an APN dial-up connection until the number of dials reaches the set number threshold.

[0059] It can be understood that when the APN just disconnects, the difficulty of restoring the APN connection is uncertain at this time. In order to restore the APN connection as soon as possible, the above-mentioned dialing duration interval is set smaller. As the number of dials increases, the difficulty of restoring the APN connection also increases. In order to avoid the in-vehicle unit from frequently initiating APN dial-up connections, the above-mentioned dialing duration interval is set larger. In this way, when the lower limit value of the number range to which the number of dials belongs is higher and the dialing duration interval is longer, it is possible to recover the APN connection as early as possible while avoiding the in-vehicle unit from frequently initiating APN dial-up connections; thus, it is possible to save computing resources and power consumption while satisfying the user experience as much as possible.

[0060] In some embodiments, as Figure 2 shown, the method provided by the embodiment of the present application further includes:

[0061] S108: When the APN dial-up connection is successful, request to connect to the DNS server.

[0062] The DNS (Domain Name System) server is a core component of the domain name system, mainly responsible for converting the domain name that is easy for humans to remember into an IP address that can be recognized by a computer for network access.

[0063] S109: Determine whether the connection to the DNS server fails. If so, execute S110; if not, execute S111.

[0064] Specifically, S109 can be implemented as follows: Send a connection request to the DNS server; perform a count when no confirmation packet is received from the DNS server in response to the connection request; return to execute the operation of sending a connection request to the DNS server when the count value is lower than the set count threshold (such as 3 times or 4 times, etc.); determine that the connection to the DNS server fails when the count value reaches the set count threshold. It can be understood that when the connection to the DNS server fails, it may be caused by a base station failure or other reasons.

[0065] S110: Disconnect the APN connection and return to the operation of S102.

[0066] After disconnecting the APN connection and successfully initiating an APN dial-up connection again, it may be connected to a different base station. If the aforementioned failure to connect to the DNS server is caused by a base station failure, the network connection can be restored.

[0067] S111: Determine whether the traffic of the network card of the in-vehicle unit within a preset duration is greater than the set traffic threshold; if so, execute S112.

[0068] Exemplarily, if the traffic of the network card of the in-vehicle unit within a preset duration (such as 30s) is greater than the set traffic threshold, it indicates that the in-vehicle unit can also start to normally execute in-vehicle unit services (such as intelligent driving and remote control, etc.), which means that the in-vehicle unit has successfully restored the network connection, and thus S112 can be executed.

[0069] S112: Clear the recorded number of dialing attempts.

[0070] In some embodiments, when the number of dialing attempts is higher than the set number threshold, the method provided by the embodiments of the present application may further include:

[0071] S113: Clear the recorded number of dialing attempts.

[0072] S114: Wait for the set duration and return to execute S102.

[0073] Understandably, when the number of dialing attempts is higher than the set number threshold, it indicates that there may be a problem with the network in the short term. To avoid wasting computing resources caused by frequent dialing, the recorded number of dialing attempts can be cleared, and wait for a preset duration (such as 150s), then start the next cycle of dialing and record the number of dialing attempts again.

[0074] In addition, in some embodiments, when it is determined that the connection to the DNS server fails, a preset network failure recovery strategy is executed. Among them, the network failure recovery strategy is that when the recovery times interval to which the network failure recovery times belong is different, the corresponding network failure recovery operations are different, and the lower limit value of the recovery times interval to which it belongs is larger, the longer the corresponding network failure recovery time is executed, and the wider the scope of business impact on the in-vehicle unit is. In this way, the network failure can be recovered while minimizing the impact on the in-vehicle unit's business and the time spent.

[0075] For example, when the number of network failure recoveries reaches the first number threshold, then re-initiate the APN dial-up connection. When the number of network failure recoveries reaches the first number threshold, execute the operation of restarting the network service of the in-vehicle unit. When the number of network failure recoveries reaches the third number threshold, execute the operation of restarting the operating system of the in-vehicle unit. Understandably, the scope of business impact on the in-vehicle unit of re-initiating the APN dial-up connection, restarting the network service of the in-vehicle unit, and restarting the operating system of the in-vehicle unit decreases in turn; the time required for re-initiating the APN dial-up connection, restarting the network service of the in-vehicle unit, and restarting the operating system of the in-vehicle unit increases in turn.

[0076] In addition, as Figure 3 shown, an embodiment of the present application provides a network recovery device for an in-vehicle unit, which is configured in the in-vehicle unit. It should be noted that the basic principle and the technical effects generated by the network recovery device for the in-vehicle unit provided by the embodiment of the present application are the same as those of the above embodiments. For the sake of brief description, for the parts not mentioned in the embodiment of the present application, reference can be made to the corresponding content in the above embodiments. The device provided by the embodiment of the present application includes an APN dialing unit, a dialing times determination unit, a timing unit, and a duration interval determination unit, where

[0077] The APN dialing unit is used to initiate an APN dial-up connection when it detects that the APN is disconnected.

[0078] The dialing times determination unit is used to determine the number of APN dial-up connections that have been initiated when the APN dial-up connection fails.

[0079] The timing unit is used to start timing when the number of dialing attempts is lower than the set number threshold.

[0080] A duration interval determination unit, configured to determine the dialing duration interval for initiating the next APN dialing connection according to the number range to which the number of dialing times belongs, where the higher the lower limit value of the number range to which the number of dialing times belongs, the longer the dialing duration interval.

[0081] In some embodiments, the device provided by the embodiment of the present application further includes:

[0082] A network request unit, configured to request to connect to a DNS server when the APN dialing connection is successful;

[0083] An APN disconnection unit, configured to disconnect the APN connection when it is determined that the connection to the DNS server fails.

[0084] The APN disconnection unit is specifically configured to send a connection request to the DNS server; perform a count when no confirmation data packet is received from the DNS server in response to the connection request; return to execute the operation of sending a connection request to the DNS server when the count value is lower than the set count threshold; and determine that the connection to the DNS server fails when the count value reaches the set count threshold.

[0085] In some embodiments, the device provided by the embodiment of the present application further includes:

[0086] A traffic judgment unit, configured to determine whether the traffic of the network card of the in-vehicle computer within a preset duration is greater than a set traffic threshold when the request to connect to the DNS server is successful;

[0087] A data clearing unit, configured to clear the recorded number of dialing times if it is greater than the set traffic threshold.

[0088] In some embodiments, the device provided by the embodiment of the present application further includes: a fault recovery strategy execution unit, configured to execute a preset network fault recovery strategy when it is determined that the connection to the DNS server fails, where the network fault recovery strategy is that different network fault recovery operations are corresponding when the recovery number ranges to which the network fault recovery times belong are different, and the larger the lower limit value of the recovery number range to which it belongs, the longer the corresponding network fault recovery time is executed, and the wider the impact range on the services of the in-vehicle computer is.

[0089] In some embodiments, the fault recovery strategy execution unit is specifically configured to re-initiate an APN dialing connection when the network fault recovery times reach the first number threshold; execute the operation of restarting the network service of the in-vehicle computer when the network fault recovery times reach the first number threshold; and execute the operation of restarting the operating system of the in-vehicle computer when the network fault recovery times reach the third number threshold.

[0090] In some embodiments, the device provided by the embodiment of the present application further includes:

[0091] A data clearing unit, configured to clear the recorded number of dialing attempts when the number of dialing attempts is higher than a set number threshold.

[0092] In addition, an embodiment of the present application further provides a vehicle-mounted computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the vehicle-mounted computer executes the method provided in the above embodiments of the present application.

[0093] Optionally, the vehicle-mounted computer further includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory. Of course, the vehicle-mounted computer may also include other hardware required for other services.

[0094] The processor, the network interface, and the memory can be interconnected through the internal bus. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include a memory and a non-volatile memory, and provide instructions and data to the processor.

[0095] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a network recovery device for the vehicle-mounted computer at the logical level. The processor executes the program stored in the memory and is specifically configured to perform the following operations:

[0096] When the vehicle-mounted computer detects that the APN is disconnected, it initiates an APN dial-up connection; when the APN dial-up connection fails, it determines the number of APN dial-up connections that have been initiated; when the number of dialing attempts is lower than the set number threshold, it starts timing, and determines the dialing duration interval for the next APN dial-up connection according to the number interval to which the number of dialing attempts belongs. Among them, the higher the lower limit value of the number interval to which the number of dialing attempts belongs, the longer the dialing duration interval; when the timing reaches the dialing duration interval, it returns to execute the operation of initiating the APN dial-up connection until the number of dialing attempts reaches the set number threshold.

[0097] A processor may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in this application. The general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with this application can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method.

[0098] Of course, in addition to the software implementation method, the vehicle-mounted computer of the embodiments of this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.

[0099] In addition, the embodiments of this application also propose a computer-readable storage medium. The computer-readable storage medium stores one or more programs. The one or more programs include instructions that, when executed by a vehicle-mounted computer including a plurality of application programs, can enable the vehicle-mounted computer to execute the network recovery method of the vehicle-mounted computer.

[0100] Computer-readable media include permanent and non-permanent, removable and non-removable media and can store information by any method or technology. The information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies.

[0101] In addition, an embodiment of the present application further provides a computer program product, including a computer program, which, when run, causes the vehicle-mounted computer to execute the method provided in the foregoing embodiments of the present application.

[0102] In the above description, technical details such as the composition of each layer are not described in detail. However, those skilled in the art should understand that various technical means can be used to form layers, regions, etc. of the required shapes. In addition, in order to form the same structure, those skilled in the art can also design methods that are not exactly the same as the methods described above. In addition, although the above embodiments are described separately, this does not mean that the measures in each embodiment cannot be used advantageously in combination.

[0103] Although the preferred embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications falling within the scope of the present application.

[0104] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims

1. A network recovery method for a vehicle computer, characterized in that: Applied to a vehicle computer, the method includes: When the vehicle computer detects that the APN is disconnected, it initiates an APN dial-up connection; In the case where the APN dial-up connection fails, determining the number of dial-up times of the APN dial-up connection that has been initiated; When the number of dialing times is lower than the set number threshold, start timing, and determine the dialing time interval for initiating the next APN dial-up connection according to the number interval to which the number of dialing times belongs, wherein the higher the lower limit value of the number interval to which the number of dialing times belongs, the longer the dialing time interval; When the timing reaches the dialing time interval, the operation of initiating the APN dialing connection is returned to be executed until the dialing times reaches the set times threshold.

2. The method according to claim 1, characterized in that After initiating the APN dial-up connection, the method further includes: When the APN dial-up connection is successful, request to connect to the DNS server; When it is determined that the connection to the DNS server fails, the APN connection is disconnected, and the operation of initiating the APN dial-up connection is returned.

3. The method according to claim 2, characterized in that The determination of failure to connect to the DNS server includes: Sending a connection request to the DNS server; If no confirmation data packet is received from the DNS server in response to the connection request, counting is performed once; When the count value is lower than the set count threshold, returning to execute the operation of sending a connection request to the DNS server; When the count value reaches the set count threshold, it is determined that the connection to the DNS server fails.

4. The method according to claim 2, characterized in that: After the request to connect to the DNS server, the method further includes: If the request to connect to the DNS server is successful, determining whether the traffic of the network card of the vehicle computer within a preset time period is greater than a set traffic threshold; If it is greater than the set traffic threshold, the recorded dialing times will be cleared.

5. The method according to claim 2, characterized in that: When it is determined that the connection to the DNS server fails, a preset network fault recovery strategy is executed, wherein the network fault recovery strategy is that when the network fault recovery times belong to different recovery number intervals, the corresponding network fault recovery operations are different, and the larger the lower limit value of the recovery number interval, the longer the corresponding network fault recovery time is, and the wider the impact on the business of the vehicle computer is.

6. The method according to claim 5, characterized in that When it is determined that the connection to the DNS server fails, executing a preset network failure recovery strategy includes: When the number of network failure recovery times reaches a first number threshold, re-initiating an APN dial-up connection; When the number of network failure recovery times reaches a first number threshold, restarting the network service of the vehicle computer is performed; When the number of network failure recovery times reaches a third number threshold, an operation of restarting the operating system of the vehicle computer is executed.

7. The method according to claim 1, characterized in that The method further comprises: When the dialing times are higher than the set times threshold, the recorded dialing times are cleared; Wait for a set time, and return to execute the step of initiating an APN dial-up connection when the vehicle computer detects that the APN is disconnected, until it is detected that the APN is successfully connected.

8. A vehicle computer, 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 vehicle computer executes the method according to any one of claims 1 to 7.

9. A storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the vehicle computer executes the method according to any one of claims 1 to 7.

10. A computer program product, comprising a computer program, which enables a vehicle computer to execute the method according to any one of claims 1 to 7 when the computer program is executed.