Vehicle-Mounted Terminal Microservices for Scalable Software Deployment
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current vehicle-mounted terminals lack scalability, stability, and reliability, with issues such as fixed scenes, single functions, delayed data collection, packet loss, and poor anti-interference, which hinder their ability to meet the demands of intelligent transportation systems.
Innovation Solution
Implementing a software design method based on microservice architecture, dividing the system into hardware adaptation, system components, and application layers, with lightweight communication between modules, enabling independent deployment and update of services, and using protocols like NMEA0183, Ntrip Client, and RTCM for precise positioning.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a single integrated application is used in the vehicle-mounted terminal, then the system structure is simple, but the scalability and adaptability are poor
Solution Approach 1:
The patent divides the single integrated application into multiple independent microservices (positioning service, network service, data acquisition service, etc.), each running in separate processes. This segmentation enables independent deployment and updates of individual services, improving scalability while maintaining manageable system complexity through modular organization.
2Reliability
If traditional software architecture is used, then the development process is straightforward, but the stability and reliability are insufficient
Solution Approach 1:
The patent implements a dynamic service registration and discovery mechanism where microservices can be added, removed, or updated at runtime without affecting the entire system. The lightweight message component enables dynamic communication routing, allowing the system to adapt to changing conditions and maintain stability through flexible service composition.
3Productivity
If monolithic application structure is adopted, then the system is easier to deploy, but the response time to changing demands is slow
Solution Approach 1:
The patent segments the application into independent microservices that can be developed, tested, and deployed separately. This allows rapid updates of specific services (e.g., positioning or network services) without redeploying the entire system, improving response speed to changing demands while maintaining deployment efficiency through selective updates.
4Reliability
If integrated service communication is used, then the communication mechanism is simple, but the data transmission efficiency is low with packet loss
Solution Approach 1:
The patent introduces a lightweight message component as an intermediary between microservices, providing standardized message routing, formatting, and error handling. This mediator ensures reliable data transmission with acknowledgment mechanisms and retransmission protocols, improving data transmission reliability while keeping the communication mechanism manageable through standardized interfaces.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present invention provides a software design method for intelligent vehicle-mounted terminal based on a microservice architecture, and belongs to the technical field of intelligent networked vehicles. Software system development is realized based on the framework of distributed microservices. In terms of software architecture, the single application integrated by the original intelligent vehicle-mounted terminal is divided into a group of small services, and the services are coordinated and cooperated with each other to provide ultimate value for the application layer and the terminal. Each service runs in its own independent process, and services communicate with each other using a lightweight communication mechanism. Each service is built around a specific business and can be independently deployed to a production environment, a production-like environment, etc. The distributed scenario development method based on the microservice architecture enables different service modules to be freely combined to form application scenarios, which is convenient for independent deployment, distributed management and code decoupling, and the applications can be updated and expanded independently, reducing the coupling of hardware platforms and improving software portability.