Terminal Connection Synchronization for Vehicular Interconnect Protocols
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for establishing connections between vehicular devices and terminals, such as those using the MirrorLink protocol, face challenges in reducing connection time and improving efficiency, particularly in switching between USB and Wi-Fi modes.
Innovation Solution
The method involves triggering the kernel layer to enable communications modes corresponding to connection requests at predetermined time points synchronized with the application layer's connection processes, allowing for simultaneous completion of application and kernel layer tasks, and switching between USB and Wi-Fi modes to optimize connection establishment.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the application layer connects to the interconnect protocol service sequentially before the kernel layer enables communications mode, then the connection process is simple to implement, but the connection time is prolonged due to sequential execution
Solution Approach 1:
The kernel layer is triggered to enable communications mode in advance during the application layer's connection process, before the application layer actually needs to use the communications mode. This preliminary action allows the kernel layer to complete its mode switching preparation work ahead of time, so that when the application layer completes its connection, the communications mode is already ready, enabling simultaneous completion of both layers without sequential waiting
Solution Approach 2:
The system dynamically adjusts the timing of kernel layer operations based on the application layer's connection progress. By triggering the kernel layer at a preset time point during the application layer's connection process, the system creates a dynamic coordination mechanism that adapts to the connection state, allowing both layers to complete their tasks simultaneously rather than following a fixed sequential order
2Adaptability or versatility
If the terminal supports multiple interconnect protocols (USB and Wi-Fi), then the adaptability is improved, but the device complexity increases due to multiple protocol handling
Solution Approach 1:
The terminal is designed with multi-functional capability to support both USB and Wi-Fi interconnect protocols through a unified architecture. The kernel layer can dynamically switch between different communications modes (USB mode and Wi-Fi mode) based on the connection request type, while the application layer uses a common interconnect protocol service interface. This universal design allows the same system framework to handle multiple protocols without requiring separate independent handling mechanisms for each protocol
Data Source
Figure 1
Figure 2~3B
Figure 4
AI summary
This specification discloses a device connection method and a terminal. The method includes: receiving, by a terminal, a communications connection request of a vehicular device; enabling, by the terminal in a process of connecting to a service of the interconnect protocol, a communications mode corresponding to the communications connection request; and when determining that the service is successfully connected and that the communications mode is successfully enabled, determining, by the terminal, that the terminal is successfully connected to the vehicular device by using the interconnect protocol. According to embodiments of this application, a time for establishing a connection between a terminal and a vehicular device can be shortened, and connection efficiency of the terminal and the vehicular device can be improved.