Vehicle navigation simulation method and system
By decoupling the C/S architecture and injecting navigation data into the Socket server, the problem of the inability to customize and control the navigation process in existing technologies is solved, and complex scenario simulation and automated testing integration are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- YIBIN COWIN AUTO CO LTD
- Filing Date
- 2025-12-25
- Publication Date
- 2026-05-01
AI Technical Summary
Existing analog navigation technology cannot achieve customized and precise control over path, speed, direction, altitude, satellite signals, etc. during the navigation process, and it relies on manual operation, making it difficult to integrate into automated testing systems.
The system adopts a C/S architecture to decouple the vehicle system and PC. Custom navigation parameter data is generated through the PC, and navigation data is injected into the Android central control terminal using the Socket server and LocationManager Service to achieve fully customized simulated navigation.
It enables precise control over the navigation process and simulation of complex scenarios, and can be integrated into automated testing systems, avoiding the hassle of manual operation.
Smart Images

Figure CN121954052A_ABST
Abstract
Description
A vehicle navigation simulation method and system Technical Field
[0001] This invention relates to vehicle navigation simulation technology. Background Technology
[0002] As automobiles evolve towards intelligent connectivity, intelligent cockpit systems are becoming increasingly prevalent in passenger vehicles. These systems consist of two subsystems: the central control unit and the instrument cluster. In-vehicle navigation on the central control unit offers drivers benefits such as enhanced safety, time and cost savings, and improved driving comfort. In-vehicle navigation testing constitutes a significant portion of central control unit testing. Traditional testing methods require real-world vehicle testing on actual roads, which is both labor-intensive and resource-intensive. Therefore, simulated navigation technology is needed for benchtop navigation testing. Current simulated navigation technology uses a separate application on the Android central control unit, allowing manual operation within the interface. This method relies on manual operation and cannot provide customized, precise control over parameters such as path, speed, direction, altitude, and satellite signal during the simulated navigation process. Furthermore, manual operation is difficult to integrate into automated testing systems.
[0003] Current simulated navigation technology involves a central control unit within different applications (such as Android) injecting location information into the system through a separate application interface via manual operation, thereby simulating navigation paths. For example, the published patent document CN103900606AA, published on July 2, 2014, entitled "Reliability Detection Method and Device for Navigation Paths Based on Fully Automatic Simulated Navigation," discloses a method including: inputting N location points, where N≥2; planning navigation paths on an electronic map for every two location points based on the input N location points, obtaining a navigation path; performing simulated navigation based on the obtained navigation paths; and determining the reliability of the navigation path. The device includes an input module for inputting N location points, where N≥2; a navigation path planning module for planning navigation paths on an electronic map for every two location points based on the input N location points, obtaining a navigation path; a simulated navigation module for performing simulated navigation based on the navigation paths planned by the navigation path planning module; and a judgment module for determining the reliability of the navigation path.
[0004] This simulated navigation method has the following drawbacks: First, it can only perform simple path simulations and it is difficult to perform customized and fine control over any path, speed, direction, altitude, and satellite signal during the navigation process, so it cannot simulate complex navigation scenarios (such as tunnel inertial navigation). Second, it relies on manual operation, which is cumbersome and difficult to integrate into automated testing systems. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to realize a method and system that can complete navigation simulation in a fully automatic and customizable manner.
[0006] To achieve the above objectives, the technical solution adopted by this invention is as follows: a vehicle navigation simulation method, which uses the vehicle's infotainment system as the server, a PC as the client, and a monitoring device as the central control unit. The simulation method includes the following steps: Step 1, decoupling the server and client, and generating navigation parameter data on the client; Step 2, the client sending the navigation parameter data to the central control unit; Step 3, the central control unit implementing a Socket server in the form of an APK application to receive parameter data related to simulated navigation; Step 4, injecting navigation parameter data into the navigation application using a location manager service; Step 5, the navigation application listening to the location manager service will obtain the navigation parameter data and perform navigation simulation.
[0007] In step 1, the client requests the API based on the server's starting point and ending point to obtain basic path point information.
[0008] In step 1, the navigation parameter data customization requirements involve adding, deleting, and modifying path points, converting them into the WGS-84 coordinate system, and setting the speed, direction, altitude, and number of satellites for each path point to generate customized navigation parameter data.
[0009] The server and client are decoupled using a client / server architecture.
[0010] An in-vehicle navigation simulation system includes a navigation web server, a PC, and a central control unit with an Android system. The navigation web server communicates with the PC via an HTTP path planning interface. The PC and the central control unit are connected via a USB cable and communicate using ADB port forwarding. Alternatively, the central control unit and the PC can communicate on the same LAN network. The in-vehicle navigation simulation system executes the in-vehicle navigation simulation method.
[0011] The PC includes an HTTP module, a path data editing module, and a Socket client module. The HTTP module communicates with the navigation web server and outputs basic waypoints to the path data editing module. The path data editing module connects to and outputs custom path data to the Socket client module. The Socket client module communicates with the central control unit.
[0012] The central control unit includes a Socket server module, a location manager service, and a navigation application module. The Socket server module connects to the PC and outputs data information to the location manager service, which is monitored by the navigation application module.
[0013] The PC can be a desktop computer, a laptop computer, or a dedicated PDA.
[0014] The central control unit is a vehicle infotainment system, mobile phone, or tablet computer that runs the Android system.
[0015] This invention enables fully customizable simulated navigation, thus possessing the ability to simulate complex navigation scenarios; at the same time, it avoids the trouble caused by manual operation by using program code control on the client side, and can be directly integrated into automated testing systems through the encapsulated API interface. Attached Figure Description
[0016] The following is a brief description of the contents of each figure in the specification of this invention: Figure 1 is a diagram of the architecture of an in-vehicle navigation simulation system. Detailed Implementation
[0017] The following description, with reference to the accompanying drawings, details the specific implementation of the present invention, including the shape and structure of each component, the relative positions and connections between the parts, the function and working principle of each part, the manufacturing process, and the operation and use methods, to help those skilled in the art to have a more complete, accurate, and in-depth understanding of the inventive concept and technical solution of the present invention.
[0018] As shown in Figure 1, the in-vehicle navigation simulation system includes a navigation web server, a PC, and a central control unit with an Android system. This navigation simulation method decouples the control end (i.e., the client) and the controlled end (i.e., the server). The navigation web server communicates with the PC via an HTTP path planning interface, and the PC and central control unit are connected via a USB cable, communicating using ADB port forwarding. Alternatively, the central control unit and the PC can communicate within the same LAN network. The in-vehicle navigation simulation system executes the in-vehicle navigation simulation method. The PC can be a desktop computer, laptop, or dedicated PDA, while the central control unit can be a car infotainment system, mobile phone, or tablet running an Android system.
[0019] The PC includes an HTTP module, a path data editing module, and a Socket client module; the central control module includes a Socket server module, a location manager service, and a navigation application module. Furthermore, this navigation simulation method, through its encapsulated interface, can be directly used in automated testing systems.
[0020] The HTTP module communicates with the navigation web server and outputs basic waypoints to the path data editing module. The path data editing module connects to and outputs custom path data to the Socket client module, which in turn communicates with the central control unit. The Socket server module connects to the PC and outputs data information to the location manager service, which is monitored by the navigation application module.
[0021] The specific control method uses the vehicle's infotainment system as the server, the PC as the client, and the monitoring equipment as the central control unit. The simulation method includes the following steps: decoupling the server and client, generating navigation parameter data on the client; adopting a C / S (Client / Server) structure to decouple the control end (i.e., the client) and the controlled end (i.e., the server), so that the control end has the ability to set each coordinate point in the navigation process and its associated speed, direction, altitude, number of satellites, etc. in the form of program code, thereby realizing fully customized simulated navigation and thus having the ability to simulate complex navigation scenarios.
[0022] First, using the navigation path planning API, basic waypoint information (GCJ-02 / BD-09 coordinate system) is obtained by requesting the API based on the starting point and destination. Then, waypoints are added, deleted, or modified according to custom requirements and converted to the WGS-84 coordinate system. At the same time, the speed, direction, altitude, and number of satellites associated with each waypoint are set to generate custom path data. It is because this step can precisely control the relevant parameters of each coordinate point and the data can be reused that any custom simulated navigation scenario can be realized.
[0023] Then, a Socket client is implemented on the PC (personal computer) to send simulated navigation-related parameter data. Physically, the central control unit and the PC can communicate via a single USB cable using ADB port forwarding, or they can communicate directly on the same LAN network. This step decouples the navigation process parameter data to the PC, enabling flexible navigation control and allowing code-based control of the navigation process instead of manual operation, thus facilitating automated testing. Finally, a Socket server is implemented as an APK application on the Android central control unit to receive simulated navigation-related parameter data and inject navigation-related data into the system using the Android system's LocationManager Service interface. The navigation application under test, listening to the location service, will then obtain the relevant navigation data to simulate navigation.
[0024] This navigation simulation method decouples the control end (client) and the controlled end (server). On the client side, the flexibility of program code allows for free control of every coordinate point and its associated speed, direction, altitude, number of satellites, and other data during the navigation process. This enables fully customized simulated navigation and provides the ability to simulate complex navigation scenarios. At the same time, using program code control on the client side avoids the inconvenience of manual operation, and the encapsulated API interface can be directly integrated into automated testing systems.
[0025] The present invention has been described above by way of example with reference to the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-described manner. Any non-substantial improvements made using the inventive concept and technical solution of the present invention, or the direct application of the inventive concept and technical solution of the present invention to other occasions without modification, are all within the protection scope of the present invention.
Claims
1. A vehicle navigation simulation method, characterized in that, This method uses the vehicle's infotainment system as the server, the PC as the client, and the monitoring device as the central control unit. The simulation method includes the following steps: Step 1: Decouple the server and client, and generate navigation parameter data on the client; Step 2: The client sends the navigation parameter data to the central control unit; Step 3: The central control unit implements a Socket server in the form of an APK application to receive the simulated navigation-related parameter data; Step 4: Inject navigation parameter data into the navigation application using the location manager service; Step 5: The navigation application listening to the location manager service will obtain the navigation parameter data and perform navigation simulation.
2. The vehicle navigation simulation method according to claim 1, characterized in that: In step 1, the client requests the API based on the server's starting point and ending point to obtain basic path point information.
3. The vehicle navigation simulation method according to claim 2, characterized in that: In step 1, the navigation parameter data customization requirements involve adding, deleting, and modifying path points, converting them into the WGS-84 coordinate system, and setting the speed, direction, altitude, and number of satellites for each path point to generate customized navigation parameter data.
4. The vehicle navigation simulation method according to claim 1, 2, or 3, characterized in that: The server and client are decoupled using a client / server architecture.
5. A vehicle navigation simulation system, characterized in that: The system includes a navigation web server, a PC, and a central control unit with an Android system. The navigation web server communicates with the PC via an HTTP path planning interface. The PC and the central control unit are connected via a USB cable and communicate using ADB port forwarding. Alternatively, the central control unit and the PC can communicate on the same LAN network. The in-vehicle navigation simulation system executes the in-vehicle navigation simulation method as described in any one of claims 1-4.
6. The vehicle navigation simulation system according to claim 5, characterized in that: The PC includes an HTTP module, a path data editing module, and a Socket client module. The HTTP module communicates with the navigation web server and outputs basic waypoints to the path data editing module. The path data editing module connects to and outputs custom path data to the Socket client module. The Socket client module communicates with the central control unit.
7. The vehicle navigation simulation system according to claim 5, characterized in that: The central control unit includes a Socket server module, a location manager service, and a navigation application module. The Socket server module connects to the PC and outputs data information to the location manager service, which is monitored by the navigation application module.
8. The vehicle navigation simulation system according to claim 5, 6 or 7, characterized in that: The PC can be a desktop computer, a laptop computer, or a dedicated PDA.
9. The vehicle navigation simulation system according to claim 8, characterized in that: The central control unit is a vehicle infotainment system, mobile phone, or tablet computer that runs the Android system.
Citation Information
Patent Citations
Automatic-simulation-navigation-based navigation path reliability detection method and device
CN103900606A