Network recovery method and apparatus, vehicle-mounted device, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING CO WHEELS TECH CO LTD
- Filing Date
- 2024-12-23
- Publication Date
- 2026-06-23
AI Technical Summary
In smart cars, network anomalies leading to network lag and increased latency negatively impact user experience. Current technologies can only recover after anomalies are detected, but cannot prevent them.
By acquiring abnormal network areas and corresponding recovery strategies, recovery strategies can be executed in advance when a vehicle is about to enter an abnormal area, including switching mobile communication networks or SIM cards, to ensure network continuity.
This avoids network anomalies when vehicles reach areas with network abnormalities, ensuring network continuity and improving user experience.
Smart Images

Figure CN122269331A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent vehicle technology, and in particular to a network recovery method, apparatus, in-vehicle equipment, and storage medium. Background Technology
[0002] Networks play a crucial role in the development of intelligent vehicles, serving as the core support for realizing intelligent functions and services. However, during daily vehicle use, users inevitably encounter network anomalies. To ensure the continuous stability of the vehicle's network, network status detection methods are needed. Once a network anomaly is detected, a series of recovery strategies are executed to quickly restore the network.
[0003] However, these recovery strategies are only triggered after a network anomaly is detected, meaning users will clearly perceive network problems such as network lag, increased latency, or temporary network unavailability. This reactive approach impacts user experience, especially in modern smart car environments that require continuous, high-speed network connectivity. Summary of the Invention
[0004] This application provides a network recovery method, apparatus, vehicle-mounted device, and storage medium, which helps to avoid network anomalies in vehicles.
[0005] To address the aforementioned problems, in a first aspect, embodiments of this application provide a network recovery method, comprising:
[0006] Obtain network anomaly regions and corresponding network recovery strategies for the network anomaly regions, where the network anomaly regions are areas where network anomalies exist;
[0007] When a vehicle is predicted to enter a monitored area that includes the network anomaly zone, the network recovery strategy is executed.
[0008] Optionally, after executing the network recovery strategy, the method further includes:
[0009] If the network on the vehicle remains abnormal after the vehicle reaches the network anomaly area, then the network anomaly area and the network recovery strategy are deleted.
[0010] Optionally, after executing the network recovery strategy, the method further includes:
[0011] If the network on the vehicle is still abnormal after the vehicle arrives at the network anomaly area, then the existing network recovery strategies other than the network recovery strategy mentioned above will be executed sequentially until the network is restored to normal or all network recovery strategies have been executed.
[0012] Optionally, after sequentially executing existing network recovery strategies other than the aforementioned network recovery strategy until the network is restored to normal or all network recovery strategies have been executed, the method further includes:
[0013] Record the network anomaly areas and the network recovery strategies that restore the network to normal; and / or
[0014] The network recovery policy that restores the network to normal is sent to the server, so that the server updates the network recovery policy corresponding to the network anomaly area to the network recovery policy that restores the network to normal.
[0015] Optionally, before executing the network recovery strategy in response to a prediction that a vehicle has entered a monitored area including the network anomaly area, the method further includes:
[0016] Based on the distance between the vehicle and the network anomaly area, predict whether the vehicle will enter the monitoring area that includes the network anomaly area.
[0017] Optionally, predicting whether the vehicle has entered the monitoring area including the network anomaly area based on the distance between the vehicle and the network anomaly area includes:
[0018] When the distance between the vehicle and the network anomaly area is less than or equal to a distance threshold, it is determined that the vehicle has entered the monitoring area that includes the network anomaly area.
[0019] Optionally, determining that the vehicle has entered a monitoring area including the network anomaly zone when the distance between the vehicle and the network anomaly zone is less than or equal to a distance threshold includes:
[0020] Based on the vehicle's speed and current position, determine the vehicle's position at the next moment;
[0021] If the distance between the next location and the network anomaly area is less than or equal to a distance threshold, then it is determined that the vehicle has entered the monitoring area.
[0022] Optional, also includes:
[0023] When the vehicle is located outside the network anomaly area, the network status of the vehicle is detected. If the network status indicates a network anomaly, the existing network recovery strategies are executed sequentially until the network is restored to normal or all network recovery strategies have been executed.
[0024] The area between the location where a network anomaly was detected and the location where the network returned to normal is defined as a new network anomaly area;
[0025] The corresponding new network anomaly area and the network recovery strategy that restores the network to normal are saved.
[0026] Optionally, obtaining the abnormal network region and the network recovery strategy corresponding to the abnormal network region includes:
[0027] Obtain the network anomaly area and the corresponding network recovery strategy from the local machine.
[0028] Optionally, obtaining the abnormal network region and the network recovery strategy corresponding to the abnormal network region includes:
[0029] Based on the vehicle model information, obtain from the server the network anomaly areas on the navigation path that match the vehicle model information and the network recovery strategies corresponding to the network anomaly areas.
[0030] Optionally, the network recovery strategy includes switching mobile communication networks or switching SIM cards.
[0031] Secondly, embodiments of this application provide a network recovery device, comprising:
[0032] The strategy acquisition module is used to acquire network abnormal regions and network recovery strategies corresponding to the network abnormal regions, wherein the network abnormal regions are regions where the network is abnormal.
[0033] The first network recovery module is used to execute the network recovery strategy in response to a prediction that a vehicle has entered a monitoring area including the network anomaly area.
[0034] Optionally, the device further includes a deletion module, configured to delete the network anomaly area and the network recovery strategy if the network on the vehicle remains abnormal after the vehicle reaches the network anomaly area.
[0035] Optionally, the device further includes:
[0036] The re-recovery module is used to, after the network recovery strategy is executed, if the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, sequentially execute existing network recovery strategies other than the network recovery strategy until the network is restored to normal or all network recovery strategies have been executed.
[0037] Optionally, the device further includes:
[0038] The policy recording module is used to record the network anomaly area and the network recovery policy that restored the network to normal after the existing network recovery policies other than the network recovery policy are executed sequentially until the network is restored to normal or all network recovery policies have been executed; and / or
[0039] The policy sending module is used to send the network recovery policy that restores the network to normal to the server after the existing network recovery policies other than the network recovery policy are executed sequentially until the network is restored to normal or all network recovery policies are executed. This allows the server to update the network recovery policy corresponding to the network abnormal area to the network recovery policy that restores the network to normal.
[0040] Optionally, the device further includes:
[0041] The area prediction module is used to predict whether the vehicle will enter the monitoring area that includes the network anomaly area, based on the distance between the vehicle and the network anomaly area.
[0042] Optionally, the region prediction module includes:
[0043] The area prediction unit is used to determine that the vehicle has entered a monitoring area that includes the network anomaly area when the distance between the vehicle and the network anomaly area is less than or equal to a distance threshold.
[0044] Optionally, the region prediction unit is specifically used for:
[0045] Based on the vehicle's speed and current position, determine the vehicle's position at the next moment;
[0046] If the distance between the next location and the network anomaly area is less than or equal to a distance threshold, then it is determined that the vehicle has entered the monitoring area.
[0047] Optionally, the device further includes:
[0048] The second network recovery module is used to detect the network status of the vehicle when the vehicle is located in an area outside the network anomaly area. If the network status indicates a network anomaly, the existing network recovery strategies are executed sequentially until the network is restored to normal or all network recovery strategies are completed.
[0049] The abnormal region determination module is used to determine the area between the location where a network anomaly is detected and the location where the network returns to normal as a new network anomaly area.
[0050] The regional policy saving module is used to save the new network anomaly regions and the network recovery policies that enable the network to return to normal.
[0051] Optionally, the strategy acquisition module is specifically used for:
[0052] Obtain the network anomaly area and the corresponding network recovery strategy from the local machine.
[0053] Optionally, the strategy acquisition module is specifically used for:
[0054] Based on the vehicle model information, obtain from the server the network anomaly areas on the navigation path that match the vehicle model information and the network recovery strategies corresponding to the network anomaly areas.
[0055] Optionally, the network recovery strategy includes switching mobile communication networks or switching SIM cards.
[0056] Thirdly, embodiments of this application also provide an in-vehicle device, 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, it implements the network recovery method described in embodiments of this application.
[0057] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of the network recovery method disclosed in embodiments of this application.
[0058] The network recovery method, apparatus, vehicle-mounted device, and storage medium provided in this application embodiment obtain network anomaly areas and network recovery strategies corresponding to the network anomaly areas. In response to the prediction that a vehicle enters a monitoring area including the network anomaly area, the network recovery strategy is executed. Since the network recovery strategy can be executed before the vehicle reaches the network anomaly area, network anomalies can be avoided after the vehicle reaches the network anomaly area, ensuring network continuity. In this way, users will not perceive network anomalies, which can improve user experience. Attached Figure Description
[0059] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0060] Figure 1 This is a flowchart of a network recovery method provided in an embodiment of this application;
[0061] Figure 2 This is a flowchart of a network recovery method provided in an embodiment of this application;
[0062] Figure 3 This is a flowchart of a network recovery method provided in an embodiment of this application;
[0063] Figure 4 This is a flowchart of a network recovery method provided in an embodiment of this application;
[0064] Figure 5 This is a flowchart of a network recovery method provided in an embodiment of this application;
[0065] Figure 6 This is a flowchart of a network recovery method provided in an embodiment of this application;
[0066] Figure 7 This is a schematic diagram of the structure of a network recovery device provided in an embodiment of this application;
[0067] Figure 8 This is a schematic diagram of the structure of a vehicle-mounted device provided in an embodiment of this application. Detailed Implementation
[0068] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0069] Figure 1 This is a flowchart illustrating a network recovery method provided in an embodiment of this application. This network recovery method can be executed by an onboard device in a vehicle, such as... Figure 1 As shown, the method includes steps 110 to 120.
[0070] Step 110: Obtain the network anomaly region and the network recovery strategy corresponding to the network anomaly region, wherein the network anomaly region is the region where the network is abnormal.
[0071] The network recovery strategy may include switching mobile communication networks or switching SIM cards. Switching mobile communication networks may include, for example, enabling or disabling 5G networks.
[0072] The network anomaly area and its corresponding network recovery strategy can be a record of when the current vehicle previously passed through that area, detected a network anomaly, and implemented the strategy to restore network normalcy. Alternatively, it can be obtained from a cloud server. The network anomaly area and its corresponding network recovery strategy stored on the cloud server can be uploaded to the cloud server by the current vehicle or other vehicles.
[0073] The starting point of the network anomaly region can be the location where a network anomaly is detected, and the ending point of the network anomaly region is the location where the network returns to normal.
[0074] In an optional embodiment, obtaining the network anomaly region and the network recovery strategy corresponding to the network anomaly region includes: obtaining the network anomaly region and the network recovery strategy corresponding to the network anomaly region locally.
[0075] In one exemplary embodiment, the vehicle can obtain the network anomaly area and the corresponding network recovery strategy from its local storage. The locally stored network anomaly area and corresponding network recovery strategy are records from when the vehicle previously detected a network anomaly while passing through the area and implemented the network recovery strategy, resulting in network recovery. By storing the network anomaly area and network recovery strategy locally, it is convenient to execute the network recovery strategy in advance when passing through the network anomaly area again, thereby ensuring smooth network operation.
[0076] In another optional embodiment, obtaining the network anomaly area and the network recovery strategy corresponding to the network anomaly area includes: obtaining, from the server, the network anomaly area on the navigation path that matches the vehicle model information and the network recovery strategy corresponding to the network anomaly area, based on the vehicle model information.
[0077] In another exemplary embodiment, after determining a navigation path based on map information, the vehicle can obtain from the server the latest network anomaly area and corresponding network recovery strategy that matches its vehicle model information on the navigation path. The network anomaly area and network recovery strategy stored on the server can be records uploaded to the server from when the current vehicle or other vehicles previously passed through the area and detected a network anomaly, implementing the network recovery strategy to restore normal network operation. When storing network anomaly areas and network recovery strategies, the server can also store corresponding vehicle model information. When the vehicle obtains network anomaly areas and network recovery strategies, it can retrieve the network anomaly areas and network recovery strategies corresponding to its vehicle model information. By storing vehicle model information and the corresponding network anomaly areas and network recovery strategies on the server, vehicles with the same vehicle model information can easily obtain this information from the server when passing through the network anomaly area and perform network recovery in advance, ensuring smooth network operation.
[0078] Step 120: In response to the prediction that a vehicle has entered a monitored area including the network anomaly area, the network recovery strategy is executed.
[0079] In one exemplary embodiment, the area of the monitoring area may be greater than or equal to the area of the network anomaly area, which may be a part of the monitoring area or the entire monitoring area.
[0080] In one exemplary embodiment, during vehicle operation, the system predicts at regular time intervals whether the vehicle's location is within a monitored area. If the vehicle's location is predicted to be within the monitored area, a network recovery strategy corresponding to the network anomaly area within that monitored area is executed, ensuring that the vehicle does not experience network anomalies when it reaches that area. Network anomalies can include, for example, network lag, increased latency, or short-term network unavailability.
[0081] The network recovery method provided in this application obtains the abnormal network area and the network recovery strategy corresponding to the abnormal network area. In response to the prediction that a vehicle enters the monitoring area including the abnormal network area, the network recovery strategy is executed. Since the network recovery strategy can be executed before the vehicle reaches the abnormal network area, network anomalies can be avoided after the vehicle reaches the abnormal network area, ensuring network continuity. In this way, the user will not perceive the network anomaly, which can improve the user experience.
[0082] Based on the above technical solution, after executing the network recovery strategy, the method further includes: if the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, then the network abnormal area and the network recovery strategy are deleted.
[0083] When a network recovery strategy is executed when a vehicle is predicted to arrive at the monitoring area, if the network on the vehicle is still abnormal after the vehicle arrives at the network anomaly area, it means that the network recovery strategy corresponding to the recorded network anomaly area cannot restore the network at this time. In this case, the recorded network anomaly area and the corresponding network recovery strategy can be deleted, which can avoid the waste of resources caused by the vehicle using the network recovery strategy for network recovery.
[0084] Based on the above technical solution, after executing the network recovery strategy, the method further includes: if the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, then execute the existing network recovery strategies other than the network recovery strategy in sequence until the network is restored to normal or all network recovery strategies are completed.
[0085] The vehicle monitors the current network status in real time using network detection tools. Before reaching a network anomaly area, the vehicle executes a network recovery strategy. If, after reaching the anomaly area, the network detection tool detects that the network is still abnormal, a network recovery process is initiated. This involves sequentially executing all existing network recovery strategies except those already executed, until the network is restored to normal or all network recovery strategies have been completed. This allows for timely resolution of network anomalies that persist even after pre-executed network recovery strategies.
[0086] Based on the above technical solution, after sequentially executing existing network recovery strategies other than the network recovery strategy until the network is restored to normal or all network recovery strategies have been executed, the method further includes: recording the network abnormal area and the network recovery strategy that restores the network to normal; and / or sending the network recovery strategy that restores the network to normal to the server, so that the server updates the network recovery strategy corresponding to the network abnormal area to the network recovery strategy that restores the network to normal.
[0087] In one exemplary embodiment, after re-executing the network recovery process, if the network recovery is successful, the abnormal network area and the network recovery strategy that restored the network to normal are recorded. This facilitates the direct use of the network recovery strategy that restored the network to normal in subsequent operations, thereby improving the efficiency of subsequent network recovery.
[0088] For example, if the network recovery policy for region A is to switch to a mobile SIM card, when it is predicted that a vehicle is about to enter region A, the network recovery policy for region A is executed in advance, switching the SIM card to a mobile SIM card. If the mobile network in region A fails, and the vehicle still experiences network problems in region A after switching to a mobile SIM card, the network recovery process will be triggered again, executing existing network recovery policies sequentially. If the network recovery policy of switching to a China Unicom SIM card is executed and the network returns to normal, the database is updated to update the network recovery policy for region A to switch to a China Unicom SIM card.
[0089] In another exemplary embodiment, with user authorization, a network recovery policy that is re-executed after reaching a network anomaly area and restores the network to normal is sent to the server. The server can update the network recovery policy corresponding to the network anomaly area that corresponds to the vehicle model information to the network recovery policy that restores the network to normal, so that subsequent vehicles can use the latest network recovery policy to perform network recovery when they are about to reach the network anomaly area, thereby improving network recovery efficiency.
[0090] In one exemplary embodiment, if the network on the vehicle remains abnormal after all existing network recovery strategies have been re-executed, the abnormal network area is recorded.
[0091] Figure 2 This is a flowchart illustrating a network recovery method provided in an embodiment of this application. This network recovery method can be executed by an onboard device in a vehicle, such as... Figure 2 As shown, the method includes steps 210 to 230.
[0092] Step 210: Obtain the network anomaly region and the network recovery strategy corresponding to the network anomaly region, wherein the network anomaly region is the region where the network is abnormal.
[0093] Step 220: Based on the distance between the vehicle and the network anomaly area, predict whether the vehicle will enter the monitoring area that includes the network anomaly area.
[0094] Based on the vehicle's real-time location, the distance between the vehicle and the network anomaly area is determined in real time. This distance is then used to predict whether the vehicle has entered the monitoring area that includes the network anomaly area. For example, the monitoring area includes the network anomaly area but extends to a certain range outside of it. Therefore, the distance between the vehicle and the network anomaly area can be used to determine whether the vehicle has entered the monitoring area.
[0095] In one embodiment of this application, predicting whether a vehicle has entered a monitoring area including the network anomaly region based on the distance between the vehicle and the network anomaly region includes: determining that the vehicle has entered the monitoring area including the network anomaly region when the distance between the vehicle and the network anomaly region is less than or equal to a distance threshold.
[0096] At regular time intervals, the distance between a vehicle and a network anomaly area is determined. If this distance is less than or equal to a distance threshold, it is determined that the vehicle has entered the monitoring area, which includes the network anomaly area. At this point, the network recovery strategy corresponding to that network anomaly area can be executed, ensuring that network anomalies do not recur when the vehicle reaches that area. By accurately predicting whether a vehicle has entered the monitoring area based on the distance between the vehicle and the network anomaly area, network recovery strategies can be executed in a timely manner, ensuring network continuity after the vehicle enters the network anomaly area.
[0097] In one embodiment of this application, determining that the vehicle has entered a monitoring area including the network anomaly area when the distance between the vehicle and the network anomaly area is less than or equal to a distance threshold includes: determining the vehicle's position at the next moment based on the vehicle's speed and current position; and determining that the vehicle has entered the monitoring area if the distance between the next moment's position and the network anomaly area is less than or equal to the distance threshold.
[0098] Based on the vehicle's speed and current location, the vehicle's position at the next moment is calculated, and the distance between the calculated next moment's position and the network anomaly area is determined. This distance is compared with a distance threshold. If the distance is less than or equal to the distance threshold, it is determined that the vehicle is about to enter the monitored area, and the network recovery strategy corresponding to the network anomaly area is immediately executed. For example, if the network signal is poor in the network anomaly area, the stored corresponding network recovery strategy is to switch mobile SIM cards. If the distance between the next moment's position and the network anomaly area is less than or equal to the distance threshold, the operation of switching mobile SIM cards is immediately executed.
[0099] By determining the vehicle's location in real time, and then identifying when the distance between the vehicle's location and the network anomaly area is less than or equal to a distance threshold, the system can determine that the vehicle has entered the monitoring area and execute network recovery strategies in advance, thus preventing network anomalies from occurring when the vehicle reaches the network anomaly area.
[0100] It should be noted that if the distance between the vehicle and the network anomaly area is less than or equal to the distance threshold, and the network recovery strategy corresponding to the network anomaly area needs to restore to is the same as the network currently used on the vehicle, then the network recovery strategy does not need to be executed. If the network recovery strategy corresponding to the network anomaly area needs to restore to is different from the network currently used on the vehicle, then the network recovery strategy corresponding to the network anomaly area will be executed.
[0101] Step 230: In response to the prediction that a vehicle has entered a monitored area including the network anomaly area, the network recovery strategy is executed.
[0102] The network recovery method provided in this application obtains network anomaly areas and corresponding network recovery strategies. It predicts whether a vehicle will enter a monitoring area that includes the network anomaly area based on the distance between the vehicle and the network anomaly area. When the prediction is made that the vehicle has entered the monitoring area that includes the network anomaly area, the network recovery strategy is executed. Since the network recovery strategy can be executed before the vehicle reaches the network anomaly area, network anomalies can be avoided after the vehicle reaches the network anomaly area, ensuring network continuity. This way, users will not perceive network anomalies, which can improve user experience. Moreover, based on the distance between the vehicle and the network anomaly area, it can accurately predict whether the vehicle has entered the monitoring area, thereby improving the timeliness of the network recovery strategy execution.
[0103] Based on the above technical solution, the method may further include:
[0104] When the vehicle is located outside the network anomaly area, the network status of the vehicle is detected. If the network status indicates a network anomaly, the existing network recovery strategies are executed sequentially until the network is restored to normal or all network recovery strategies have been executed.
[0105] The area between the location where a network anomaly was detected and the location where the network returned to normal is defined as a new network anomaly area;
[0106] The corresponding new network anomaly area and the network recovery strategy that restores the network to normal are saved.
[0107] When the vehicle is located outside the identified network anomaly area, the network status of the vehicle is monitored in real time using a network detection tool. If the detected network status indicates a network anomaly, a network recovery process is executed. This involves sequentially executing existing network recovery strategies until the network returns to normal or all network recovery strategies have been completed. The area between the detected network anomaly location and the normal network location is recorded as the new network anomaly area. The new network anomaly area and the corresponding network recovery strategy that restored the network to normal are saved. This allows the vehicle to execute the network recovery strategy in advance when it is about to reach the new network anomaly area again, preventing the vehicle from experiencing network anomalies in that area again.
[0108] Figure 3 This is a flowchart illustrating a network recovery method provided in an embodiment of this application. This network recovery method can be executed by an onboard device in a vehicle, such as... Figure 3 As shown, the method includes steps 310 to 350.
[0109] Step 310: Obtain real-time location and vehicle speed.
[0110] Step 320: Predict the area the vehicle is about to enter.
[0111] Based on the vehicle's position and speed, the location where the vehicle will arrive at the next moment is predicted, and the area starting from the location where the vehicle will arrive at the next moment is taken as the area that the vehicle will enter.
[0112] Step 330: Read the database.
[0113] The database stores network anomaly areas and corresponding network recovery strategies. The database can be a local database on the vehicle or a database on a cloud server that matches the current vehicle's navigation path.
[0114] Step 340: Determine whether there is a network recovery policy corresponding to the region in the database. If yes, proceed to step 350; otherwise, proceed to step 310.
[0115] Step 350: Execute the network recovery strategy corresponding to the region.
[0116] After the first time interval, steps 310 to 350 are executed again.
[0117] The network recovery method provided in this embodiment can execute the corresponding network recovery strategy when it is predicted that the vehicle is about to reach a network anomaly area based on the vehicle's real-time location, speed, and database information, thereby avoiding network anomalies and ensuring network continuity.
[0118] Figure 4 This is a flowchart illustrating a network recovery method provided in an embodiment of this application. This network recovery method can be executed by an onboard device in a vehicle, such as... Figure 4 As shown, the method includes steps 401 to 410.
[0119] Step 401: Obtain the vehicle's current area.
[0120] The current region is determined based on the vehicle's current location. The current region includes the current location, which can be a region within a certain range of the current location, or it can be a pre-stored network anomaly region.
[0121] Step 402: Check the vehicle's network status.
[0122] Step 403: Determine if there is a network anomaly. If yes, proceed to step 304; otherwise, proceed to step 310.
[0123] Step 404: Determine whether a network recovery strategy has been executed in advance. If yes, proceed to step 305; otherwise, proceed to step 406.
[0124] Step 405: Update the database and delete the network recovery policy corresponding to the current region.
[0125] Step 406: Re-execute the network recovery steps.
[0126] Execute all existing network recovery policies in sequence, except for the pre-executed network recovery policy, until the network is restored to normal or all network recovery policies have been executed.
[0127] Step 407: Determine if the network has returned to normal. If yes, proceed to step 308; otherwise, proceed to step 309.
[0128] Step 408: Update the database and record the network recovery strategy that enabled the network to return to normal for the current region.
[0129] Step 409: Record the current area as a network anomaly area.
[0130] Step 410: After the second time interval, steps 301 to 310 are executed again.
[0131] The network recovery method provided in this embodiment, when a vehicle detects a network anomaly in the current area, if a network recovery strategy has been executed in advance, the network recovery steps are re-executed; if no network recovery strategy has been executed in advance, the network recovery steps are executed directly. The network recovery strategy corresponding to the current area that enables the network to return to normal is recorded or updated, so that the network recovery strategy can be executed in a timely manner when the vehicle arrives in the current area again, thus preventing the vehicle from experiencing network anomalies again in the current area.
[0132] Figure 5 This is a flowchart of a network recovery method provided in an embodiment of this application. This network recovery method can be executed by on-board equipment in a vehicle. This embodiment, based on the above technical solution, executes the method based on data from a single vehicle. Figure 5 As shown, the method includes steps 510 to 560.
[0133] Step 510: Obtain the network anomaly area and the network recovery strategy corresponding to the network anomaly area from the local machine.
[0134] The vehicle stores the network anomaly areas and their corresponding network recovery strategies. These stored network anomaly areas and strategies are information accumulated when the vehicle previously encountered a network anomaly in that area and successfully implemented a network recovery process to restore network normalcy. For example, when the vehicle first enters area A, the system uses a network detection tool to assess the current network status. If network unavailability is detected, a network recovery process is initiated. If network recovery is successful, the system records area A and the corresponding network recovery strategy that enabled the network to return to normal.
[0135] Step 520: Based on the distance between the vehicle and the network anomaly area, predict whether the vehicle will enter the monitoring area that includes the network anomaly area.
[0136] Step 530: In response to the prediction that a vehicle has entered a monitored area including the network anomaly area, the network recovery strategy is executed.
[0137] Step 540: If the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, then delete the network abnormal area and the network recovery strategy.
[0138] Step 550: If the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, then execute the existing network recovery strategies other than the network recovery strategy in sequence until the network is restored to normal or all network recovery strategies are completed.
[0139] Step 560: Record the abnormal network area and the network recovery strategy that restores the network to normal.
[0140] After re-executing the network recovery policy, the network anomaly areas and the network recovery policy that restored the network to normal are stored locally.
[0141] The specific execution process of each of the above steps can be referred to the above embodiments, and will not be repeated here.
[0142] The network recovery method provided in this embodiment stores network anomaly areas and corresponding network recovery strategies in local storage. During vehicle operation, it can predict whether the vehicle is within a monitoring area of a network anomaly area based on the distance between the vehicle and each network anomaly area. When it is predicted that the vehicle has entered a monitoring area including the network anomaly area, the network recovery strategy is executed. This achieves the execution of the network recovery strategy before entering the network anomaly area, which can prevent network anomalies after the vehicle enters the network anomaly area. If network anomalies still exist after the vehicle enters the network anomaly area, other network recovery strategies can be executed to restore the network in a timely manner. After the network is restored to normal, the network anomaly area and the network recovery strategy that restored the network to normal are recorded, so that the network recovery strategy can be used to restore the network before the vehicle enters the network anomaly area again, thus avoiding the recurrence of network anomalies.
[0143] Figure 6 This is a flowchart of a network recovery method provided in an embodiment of this application. This network recovery method can be executed by an on-board device in a vehicle. Based on the above technical solution, this embodiment executes the method based on data from multiple vehicles. Each vehicle uploads recorded network anomaly areas and network recovery strategies to the server. Other vehicles can obtain the network anomaly areas and network recovery strategies corresponding to the vehicle model information on the navigation path from the server. Figure 6 As shown, the method includes steps 610 to 660.
[0144] Step 610: Based on the vehicle model information, obtain from the server the network anomaly area on the navigation path that matches the vehicle model information and the network recovery strategy corresponding to the network anomaly area.
[0145] The server stores network anomaly zones and network recovery strategies that match the vehicle model information in the database. The network anomaly zones and network recovery strategies stored on the server are uploaded to the server when a vehicle of that model previously passed through the network anomaly zone, detected a network anomaly, and executed the network recovery process to restore normal network access.
[0146] While the vehicle is in motion, it can obtain matching network anomaly areas and network recovery strategies from the server in real time based on the navigation route and vehicle model information.
[0147] Step 620: Based on the distance between the vehicle and the network anomaly area, predict whether the vehicle will enter the monitoring area that includes the network anomaly area.
[0148] Step 630: In response to the prediction that a vehicle has entered a monitored area including the network anomaly area, the network recovery strategy is executed.
[0149] Step 640: If the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, then delete the network abnormal area and the network recovery strategy.
[0150] Step 650: If the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, then execute the existing network recovery strategies other than the network recovery strategy in sequence until the network is restored to normal or all network recovery strategies are completed.
[0151] Step 660: The network recovery policy that restores the network to normal is sent to the server, so that the server updates the network recovery policy corresponding to the network abnormal area to the network recovery policy that restores the network to normal.
[0152] After re-executing the network recovery policy, the network anomaly areas and the network recovery policy that restored the network to normal are sent to the server so that the server can store the latest network anomaly areas and network recovery policies.
[0153] The specific execution process of each of the above steps can be referred to the above embodiments, and will not be repeated here.
[0154] The network recovery method provided in this embodiment obtains network anomaly areas and network recovery strategies matching the current vehicle's model information and navigation path from the server. During vehicle operation, it can predict whether the vehicle is within a monitoring area of a network anomaly area based on the distance between the vehicle and each network anomaly area. When it is predicted that the vehicle has entered a monitoring area including the network anomaly area, the network recovery strategy is executed. This achieves network recovery strategy execution before entering a network anomaly area, which can avoid network anomalies after the vehicle enters the network anomaly area. If network anomalies still exist after the vehicle enters the network anomaly area, other network recovery strategies can be executed to restore the network in a timely manner. After the network is restored to normal, the network anomaly area and the network recovery strategy that restored the network to normal are sent to the server. This allows the current vehicle to use the network recovery strategy to restore the network before entering the network anomaly area again, and it also allows other vehicles to use the network recovery strategy to restore the network before entering the network anomaly area, avoiding network anomalies from occurring again in the network anomaly area.
[0155] This application embodiment, with user authorization, continuously collects and analyzes location and network data from the user's vehicle. This allows for the identification of potential network anomaly areas and the implementation of network optimization measures in advance, ensuring the network environment remains optimal for upcoming events. Furthermore, this application embodiment can utilize data from multiple users for comprehensive analysis. By learning from historical data from multiple users, it can more accurately predict network conditions in different areas and determine network recovery strategies corresponding to network anomaly areas. Even if a user enters a network anomaly area for the first time, network recovery can be initiated in advance, preventing network anomalies from occurring.
[0156] Figure 7 This is a schematic diagram of the structure of a network recovery device provided in an embodiment of this application, as shown below. Figure 7 As shown, the device includes:
[0157] The strategy acquisition module 710 is used to acquire network abnormal regions and network recovery strategies corresponding to the network abnormal regions, wherein the network abnormal regions are regions where the network is abnormal.
[0158] The first network recovery module 720 is used to execute the network recovery strategy in response to a prediction that a vehicle has entered a monitoring area including the network anomaly area.
[0159] Optionally, the device further includes a deletion module, configured to delete the network anomaly area and the network recovery strategy if the network on the vehicle remains abnormal after the vehicle reaches the network anomaly area.
[0160] Optionally, the device further includes:
[0161] The re-recovery module is used to, after the network recovery strategy is executed, if the network on the vehicle is still abnormal after the vehicle arrives at the network abnormal area, sequentially execute existing network recovery strategies other than the network recovery strategy until the network is restored to normal or all network recovery strategies have been executed.
[0162] Optionally, the device further includes:
[0163] The policy recording module is used to record the network anomaly area and the network recovery policy that restored the network to normal after the existing network recovery policies other than the network recovery policy are executed sequentially until the network is restored to normal or all network recovery policies have been executed; and / or
[0164] The policy sending module is used to send the network recovery policy that restores the network to normal to the server after the existing network recovery policies other than the network recovery policy are executed sequentially until the network is restored to normal or all network recovery policies are executed. This allows the server to update the network recovery policy corresponding to the network abnormal area to the network recovery policy that restores the network to normal.
[0165] Optionally, the device further includes:
[0166] The area prediction module is used to predict whether the vehicle will enter the monitoring area that includes the network anomaly area, based on the distance between the vehicle and the network anomaly area.
[0167] Optionally, the region prediction module includes:
[0168] The area prediction unit is used to determine that the vehicle has entered a monitoring area that includes the network anomaly area when the distance between the vehicle and the network anomaly area is less than or equal to a distance threshold.
[0169] Optionally, the region prediction unit is specifically used for:
[0170] Based on the vehicle's speed and current position, determine the vehicle's position at the next moment;
[0171] If the distance between the next location and the network anomaly area is less than or equal to a distance threshold, then it is determined that the vehicle has entered the monitoring area.
[0172] Optionally, the device further includes:
[0173] The second network recovery module is used to detect the network status of the vehicle when the vehicle is located in an area outside the network anomaly area. If the network status indicates a network anomaly, the existing network recovery strategies are executed sequentially until the network is restored to normal or all network recovery strategies are completed.
[0174] The abnormal region determination module is used to determine the area between the location where a network anomaly is detected and the location where the network returns to normal as a new network anomaly area.
[0175] The regional policy saving module is used to save the new network anomaly regions and the network recovery policies that enable the network to return to normal.
[0176] Optionally, the strategy acquisition module is specifically used for:
[0177] Obtain the network anomaly area and the corresponding network recovery strategy from the local machine.
[0178] Optionally, the strategy acquisition module is specifically used for:
[0179] Based on the vehicle model information, obtain from the server the network anomaly areas on the navigation path that match the vehicle model information and the network recovery strategies corresponding to the network anomaly areas.
[0180] Optionally, the network recovery strategy includes switching mobile communication networks or switching SIM cards.
[0181] The network recovery device provided in this application embodiment is used to implement the steps of the network recovery method described in this application embodiment. The specific implementation of each module of the device is described in the corresponding steps, and will not be repeated here.
[0182] The network recovery device provided in this application embodiment obtains the network abnormal area and the network recovery strategy corresponding to the network abnormal area. In response to the prediction that a vehicle enters the monitoring area including the network abnormal area, the network recovery strategy is executed. Since the network recovery strategy can be executed before the vehicle reaches the network abnormal area, network abnormalities can be avoided after the vehicle reaches the network abnormal area, ensuring network continuity. In this way, the user will not perceive the network abnormality, which can improve the user experience.
[0183] Figure 8 This is a structural schematic diagram of a vehicle-mounted device provided in an embodiment of this application, such as... Figure 8 As shown, the vehicle-mounted device 800 may include one or more processors 810 and one or more memories 820 connected to the processors 810. The vehicle-mounted device 800 may also include an input interface 830 and an output interface 840 for communicating with another device or system. The program code executed by the processor 810 may be stored in the memory 820.
[0184] The processor 810 in the vehicle-mounted device 800 calls the program code stored in the memory 820 to execute the network recovery method in the above embodiment.
[0185] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the network recovery method as described in this application.
[0186] This application also provides a computer program product that, when executed by a processor, implements the steps of the network recovery method as described in this application.
[0187] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus embodiments, since they are fundamentally similar to the method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0188] The foregoing has provided a detailed description of a network recovery method, apparatus, vehicle-mounted device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
[0189] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
Claims
1. A network recovery method characterized by, include: Obtain network anomaly regions and corresponding network recovery strategies for the network anomaly regions, where the network anomaly regions are areas where network anomalies exist; When a vehicle is predicted to enter a monitored area that includes the network anomaly zone, the network recovery strategy is executed.
2. The method of claim 1, wherein, After executing the network recovery strategy, the following is also included: If the network on the vehicle remains abnormal after the vehicle reaches the network anomaly area, then the network anomaly area and the network recovery strategy are deleted.
3. The method according to claim 1 or 2, characterized in that, After executing the network recovery strategy, the following is also included: If the network on the vehicle is still abnormal after the vehicle arrives at the network anomaly area, then the existing network recovery strategies other than the network recovery strategy mentioned above will be executed sequentially until the network is restored to normal or all network recovery strategies have been executed.
4. The method of claim 3, wherein, After sequentially executing existing network recovery strategies other than the aforementioned network recovery strategy until the network is restored to normal or all network recovery strategies have been executed, the process further includes: Record the network anomaly areas and the network recovery strategies that restore the network to normal; and / or The network recovery policy that restores the network to normal is sent to the server, so that the server updates the network recovery policy corresponding to the network anomaly area to the network recovery policy that restores the network to normal.
5. The method according to any one of claims 1 to 4, characterized in that, Before executing the network recovery strategy in response to a prediction that a vehicle has entered a monitored area including the network anomaly region, the method further includes: Based on the distance between the vehicle and the network anomaly area, predict whether the vehicle will enter the monitoring area that includes the network anomaly area.
6. The method of claim 5, wherein, The step of predicting whether a vehicle has entered a monitored area including the network anomaly region based on the distance between the vehicle and the network anomaly region includes: When the distance between the vehicle and the network anomaly area is less than or equal to a distance threshold, it is determined that the vehicle has entered the monitoring area that includes the network anomaly area.
7. The method of claim 6, wherein, When the distance between the vehicle and the network anomaly area is less than or equal to a distance threshold, determining that the vehicle has entered a monitoring area including the network anomaly area includes: Based on the vehicle's speed and current position, determine the vehicle's position at the next moment; If the distance between the next location and the network anomaly area is less than or equal to a distance threshold, then it is determined that the vehicle has entered the monitoring area.
8. The method according to any one of claims 1 to 7, characterized in that, Also includes: When the vehicle is located outside the network anomaly area, the network status of the vehicle is detected. If the network status indicates a network anomaly, the existing network recovery strategies are executed sequentially until the network is restored to normal or all network recovery strategies have been executed. The area between the location where a network anomaly was detected and the location where the network returned to normal is defined as a new network anomaly area; The corresponding new network anomaly area and the network recovery strategy that restores the network to normal are saved.
9. The method according to any one of claims 1 to 8, characterized in that, The acquisition of abnormal network regions and corresponding network recovery strategies includes: Obtain the network anomaly area and the corresponding network recovery strategy from the local machine.
10. The method according to any one of claims 1 to 8, characterized in that, The acquisition of abnormal network regions and corresponding network recovery strategies includes: Based on the vehicle model information, obtain from the server the network anomaly areas on the navigation path that match the vehicle model information and the network recovery strategies corresponding to the network anomaly areas.
11. The method according to any one of claims 1 to 10, characterized in that, The network recovery strategy includes switching mobile communication networks or switching SIM cards.
12. A network recovery apparatus characterized by comprising: include: The strategy acquisition module is used to acquire network abnormal regions and network recovery strategies corresponding to the network abnormal regions, wherein the network abnormal regions are regions where the network is abnormal. The first network recovery module is used to execute the network recovery strategy when the distance between the vehicle and the network anomaly area is less than or equal to a distance threshold.
13. An in-vehicle device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the network recovery method according to any one of claims 1 to 11.
14. A computer-readable storage medium having stored thereon a computer program, characterized in that, When executed by a processor, the program implements the steps of the network recovery method according to any one of claims 1 to 11.