CN111586627B - Carplay synchronous connection method and device and vehicle-mounted system - Google Patents
Carplay synchronous connection method and device and vehicle-mounted system Download PDFInfo
- Publication number
- CN111586627B CN111586627B CN202010291843.7A CN202010291843A CN111586627B CN 111586627 B CN111586627 B CN 111586627B CN 202010291843 A CN202010291843 A CN 202010291843A CN 111586627 B CN111586627 B CN 111586627B
- Authority
- CN
- China
- Prior art keywords
- access port
- mobile equipment
- connection
- carplay
- access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the technical field of connection of automobiles and mobile equipment, in particular to a Carplay synchronous connection method, a Carplay synchronous connection device and a vehicle-mounted system. The connection method comprises the following steps: monitoring the access state of the mobile equipment of the access port; sending a first enumeration signal to the accessed mobile equipment, and configuring a vehicle machine connection mode; receiving a second enumeration signal of the mobile equipment, performing drive configuration on the access port and monitoring a configuration completion signal fed back by the access port; and receiving a configuration completion signal of the access port, and starting session connection with the mobile equipment. According to the technical scheme, after the mobile equipment and the car machine are enumerated mutually, the event feedback after loading is completed is driven through the access port, the processor receives the feedback and realizes quick session connection with the mobile equipment, so that the problems of long consumed time and unstable connection of Carplay connection are solved, and the reliability and the high efficiency of Carplay synchronous connection are effectively improved.
Description
Technical Field
The invention relates to the technical field of connection of automobiles and mobile equipment, in particular to a Carplay synchronous connection method, a Carplay synchronous connection device and a vehicle-mounted system.
Background
With the continuous development of vehicle-mounted entertainment systems, vehicle-mounted access and interconnection applications are increasing, wherein a display application becomes a standard in a vehicle-mounted system, a display connection is a relatively complex process, and communication and driving loading of a vehicle machine and mobile equipment are accompanied in the connection process.
Disclosure of Invention
The invention provides a Carplay synchronous connection method, a Carplay synchronous connection device and a vehicle-mounted system, aiming at solving the problems of high connection failure rate and long time consumption in the prior art.
In order to solve the technical problems, one of the technical schemes provided by the invention is as follows:
a Carplay synchronous connection method is applied to a Carplay synchronous connection device, and the connection method comprises the following steps:
monitoring the access state of the mobile equipment of the access port;
sending a first enumeration signal to the accessed mobile equipment, and configuring a vehicle machine connection mode;
receiving a second enumeration signal of the mobile equipment, performing drive configuration on the access port and monitoring a configuration completion signal fed back by the access port;
and receiving a configuration completion signal of the access port, and starting session connection with the mobile equipment.
Further, the monitoring the access state of the mobile device of the access port comprises:
monitoring the access state of the access port in real time;
when the mobile device is connected with the access port, the access information of the mobile device is received.
Further, the sending the first enumeration signal to the accessed mobile device and configuring the car machine connection mode includes:
sending a first enumeration signal to the accessed mobile equipment, and adjusting the connection mode of the mobile equipment;
and adjusting the connection mode of the vehicle machine.
Further, the receiving a second enumeration signal of the mobile device, and performing drive configuration and monitoring on the access port includes:
receiving a second enumeration signal of the mobile equipment, and initializing an access port;
carrying out configuration loading on a drive of an access port;
and monitoring the configuration completion signal fed back by the access port in real time.
Further, the access port is a USB port, and the driver is an IAP driver or an NCM driver.
Further, receiving a configuration completion signal of the access port, initiating a session connection with the mobile device includes:
after the drive loading of the access port is finished, the access port is changed into a finished state and sends a configuration finishing signal;
the car machine receives the configuration completion signal and starts session connection with the mobile equipment.
Further, the sending the configuration completion signal is specifically that the access port sends the event information through an event mechanism.
The present invention also provides a Carplay synchronous connection device, including:
the access port is used for accessing the mobile equipment, realizing communication connection between the vehicle processor and the mobile equipment and feeding back drive information to the processor after the drive loading is finished;
and the processor is in communication connection with the mobile equipment through the access port, and is used for sending an enumeration signal to the mobile equipment, receiving the enumeration signal of the mobile equipment and carrying out Carplay session with the mobile equipment after the drive loading is finished.
Further, the method also comprises the following steps:
and the event mechanism unit is used for sending the event information of the completion of the drive loading to the processor according to the drive loading state of the access port.
In addition, the invention also provides a vehicle-mounted system, which comprises the above Carplay synchronous connecting device; adopting the Carplay synchronous connection device to execute the following steps:
monitoring the access state of the mobile equipment of the access port;
sending a first enumeration signal to the accessed mobile equipment, and configuring a vehicle machine connection mode;
receiving a second enumeration signal of the mobile equipment, performing drive configuration on the access port and monitoring a configuration completion signal fed back by the access port;
and receiving a configuration completion signal of the access port, and starting session connection with the mobile equipment.
According to the technical scheme, after the mobile equipment and the car machine are enumerated mutually, the event feedback after loading is completed is driven through the access port, the processor receives the feedback and realizes quick session connection with the mobile equipment, so that the problems of long consumed time and unstable connection of Carplay connection are solved, and the reliability and the high efficiency of Carplay synchronous connection are effectively improved.
Drawings
Fig. 1 is a flowchart of a Carplay synchronous connection method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a step 101 according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating a step 102 according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating step 103 according to an embodiment of the present invention.
FIG. 5 is a flowchart illustrating a step 105 according to an embodiment of the present invention.
Fig. 6 is a structural diagram of a Carplay synchronous connection device according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 4 shows a projection diagram of a calibration frame of a panoramic calibration projection in an embodiment of the present invention.
Example one
Fig. 1 shows a flow structure diagram of a Carplay synchronous connection method according to a first embodiment of the present invention.
As shown in fig. 1, the present embodiment provides a Carplay synchronous connection method, which is applied to a Carplay synchronous connection device, and specifically includes:
101. and monitoring the access state of the mobile equipment of the access port.
The processor monitors the state of the access port and monitors whether the external mobile equipment is accessed in real time, so that the access of the external mobile equipment is known in real time. Specifically, in this embodiment, the processor refers to a vehicle processor in the vehicle-mounted system.
102. And sending a first enumeration signal to the accessed mobile equipment, and configuring the car machine connection mode.
After the mobile device is accessed, the processor first sends a first enumeration signal to the mobile device, that is, the processor enumerates the mobile device, and specifically, the processor adjusts the connection mode of the mobile device after determining the device information of the mobile device. And adjusting the connection mode of the access port of the car machine while adjusting the mode of the mobile equipment. In this embodiment, the mobile device is an iPhone mobile phone, and the access port of the car machine is a USB interface.
For example, the processor may adjust the connection state of the USB interface of the iPhone phone to the Host mode by enumerating the iPhone phone. And adjusting the state of the USB port of the vehicle machine into a Device mode.
103. And receiving a second enumeration signal of the mobile equipment, performing drive configuration on the access port and monitoring a configuration completion signal fed back by the access port.
And the processor receives a second enumeration signal of the mobile device, namely the mobile device enumerates the car machine, so as to send an initialization and drive loading request to an access port of the car machine. In this embodiment, in the enumeration process, the car machine access port performs configuration loading on the drive, adjusts the state of the access port according to the loading progress, and performs feedback according to the state. And the vehicle processor monitors the feedback of the access port in real time so as to carry out the next connection operation.
Specifically, the access port is a USB port, and the state change of the USB port can be divided into before loading, during loading, and after loading. For example, in the process of loading the driver configuration, the state of the USB port is before loading, and the state during loading and the state after loading are a Default state, an Address state, and a Configured state, respectively. When the USB port is in the Configured state, the event that the driver load is completed may be sent to the processor through the internal event mechanism to complete the driver load feedback.
104. And receiving a configuration completion signal of the access port, and starting session connection with the mobile equipment.
In the process of driving loading, the processor waits for and receives feedback information of the access port, and after loading is completed, the processor opens session connection with the mobile equipment according to the configuration completion signal, so that the Carplay session can be rapidly and effectively entered.
The synchronous connection method has the advantages that after the mobile device and the vehicle machine are enumerated mutually, the event feedback after loading is driven through the access port, the processor receives the feedback and realizes quick session connection with the mobile device, so that the problems of long time consumption and unstable connection of Carplay connection are solved, and the reliability and the efficiency of Carplay synchronous connection are effectively improved.
Fig. 2 shows a detailed flowchart of step 101 in this embodiment.
As a preferred preference of this embodiment, as shown in fig. 2, the step of monitoring the access state of the mobile device at the access port specifically includes:
201. and monitoring the access state of the access port in real time.
202. When the mobile device is connected with the access port, the access information of the mobile device is received.
The processor monitors the access state of the external mobile equipment in real time, and when the mobile equipment is accessed, the processor acquires the information of the access port and receives the access information of the mobile equipment, so that the subsequent connection operation with the mobile equipment can be smoothly carried out.
Fig. 3 shows a detailed flowchart of step 102 in this embodiment.
As a preferable example of this embodiment, as shown in fig. 3, the step of sending a first enumeration signal to the accessed mobile device, and configuring the car machine connection mode specifically includes:
301. and sending a first enumeration signal to the accessed mobile equipment, and adjusting the connection mode of the mobile equipment.
The processor sends a first enumeration signal to the mobile device, so that the mobile device is enumerated by the car machine, in the enumeration process, an interface of the mobile device is initialized, a connection mode of the mobile device is requested to be adjusted, and the connection mode is adjusted to a mode capable of being connected with the car machine for playing, so that the subsequent synchronous connection of the playing can be smoothly carried out.
302. And adjusting the connection mode of the vehicle machine.
And the processor adjusts the connection mode of the access port of the car machine to a mode capable of performing Carplay connection with the mobile equipment, and then performs subsequent Carplay connection operation.
Fig. 4 shows a detailed flowchart of step 103 in this embodiment.
As a preferable example of this embodiment, as shown in fig. 4, the step of receiving a second enumeration signal of the mobile device, and configuring and monitoring the access port specifically includes:
401. and receiving a second enumeration signal of the mobile device, and initializing the access port.
402. And carrying out configuration loading on a drive of the access port.
403. And monitoring the configuration completion signal fed back by the access port in real time.
And the processor receives a second enumeration signal of the mobile equipment, and initializes the access port of the car machine and loads the configuration of the drive.
For example, the mobile device enumerates the car machine, the processor controls the USB port to enter an Address state from a Default state, the driver of the USB port is loaded, after the loading is completed, the state of the USB port is switched to a Configured state, which indicates that the driver is loaded, at this time, the USB port sends an event to notify the processor through an event mechanism, the processor monitors event information in real time, and performs display data exchange according to the event information, thereby entering a display session with the mobile device.
As a preferred embodiment of the present invention, the access port is a USB port, and the driver is an IAP (internet access Protocol) or NCW (Network Control Model).
Fig. 5 shows a detailed flowchart of step 105 of the present embodiment.
As a preferred embodiment of this embodiment, as shown in fig. 5, the step of receiving a configuration completion signal of the access port and initiating a session connection with the mobile device specifically includes:
501. and after the drive loading of the access port is finished, the access port is changed into a finished state and sends a configuration finishing signal.
502. The car machine receives the configuration completion signal and starts session connection with the mobile equipment.
And the state of the access port is changed according to the drive completion condition, a configuration completion signal is sent after the drive loading is completed, and the processor receives and performs subsequent Carplay session.
Specifically, the access port is a USB port, the state of the USB port changes to Default- > Address- > Configured state, when the state of the USB port is Configured, it indicates that the IAP/NCM driver has been loaded, at this time, an online event is sent out through the Uevent event mechanism, and the processor can perform display data exchange after receiving the event, and enter a display session.
Example two
Fig. 6 is a block diagram illustrating a Carplay synchronization connection apparatus according to an embodiment of the present invention.
As shown in fig. 6, the present embodiment provides a Carplay synchronous connection device, which includes an access port 601 and a processor 602. Specifically, the access port 601 is used for accessing a mobile device, implementing communication connection between the in-vehicle processor 602 and the mobile device, and feeding back driving information to the processor 602 after completing driving loading. The processor 602 refers to the car machine processor 602, and the processor 602 is in communication connection with the mobile device through the access port 601, and is configured to send an enumeration signal to the mobile device, receive an enumeration signal of the mobile device, and perform a Carplay session with the mobile device after the drive loading is completed. In this embodiment, the access port 601 is a USB port.
As a preferred embodiment of the present invention, the synchronous connection device further includes an event mechanism unit 603, configured to send event information that the driver loading is completed to the processor 602 according to the driver loading status of the access port 601. Specifically, the event mechanism unit 603 is a Uevent event mechanism.
The synchronous connection device has the advantages that the device can complete the display session between the mobile equipment and the vehicle without adopting a delay waiting drive loading condition, can quickly complete the session connection after the drive loading is completed, and solves the problems of long consumed time and unstable connection in the display session connection, thereby optimizing the time of the display connection process, optimizing unnecessary consumed time, improving the success rate of session connection, and increasing the reliability and the efficiency of the display session connection.
EXAMPLE III
The present embodiment provides an on-board system, and specifically, the on-board system includes an on-board system Carplay synchronous connection device in the second embodiment, and the device can execute the following steps:
monitoring the access state of the mobile equipment of the access port;
sending a first enumeration signal to the accessed mobile equipment, and configuring a vehicle machine connection mode;
receiving a second enumeration signal of the mobile equipment, performing drive configuration on the access port and monitoring a configuration completion signal fed back by the access port;
and receiving a configuration completion signal of the access port, and starting session connection with the mobile equipment.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.
Claims (6)
1. A Carplay synchronous connection method is applied to a Carplay synchronous connection device, and the connection method comprises the following steps:
monitoring the access state of the mobile equipment of the access port;
sending a first enumeration signal to the accessed mobile equipment, and configuring a vehicle machine connection mode;
receiving a second enumeration signal of the mobile equipment, initializing the access port, carrying out configuration loading on a drive of the access port, and monitoring a configuration completion signal fed back by the access port in real time;
after the drive loading of the access port is finished, the access port is changed into a finished state and sends a configuration finishing signal;
after receiving the configuration completion signal, the vehicle machine starts session connection with the mobile equipment;
wherein, the sending the configuration completion signal is specifically that the access port sends the event information through an event mechanism.
2. The Carplay synchronous connection method of claim 1, wherein monitoring the mobile device access status of the access port comprises:
monitoring the access state of the access port in real time;
when the mobile device is connected with the access port, the access information of the mobile device is received.
3. The Carplay synchronization connection method according to claim 1, wherein the sending a first enumeration signal to an accessed mobile device and configuring a car machine connection mode comprises:
sending a first enumeration signal to the accessed mobile equipment, and adjusting the connection mode of the mobile equipment;
and adjusting the connection mode of the vehicle machine.
4. The Carplay synchronization connection method of claim 1, wherein the access port is a USB port, and the driver is an IAP or NCM driver.
5. An on-board system, comprising a Carplay synchronization connection device, the Carplay synchronization connection device comprising:
the access port is used for accessing the mobile equipment, realizing communication connection between the vehicle processor and the mobile equipment and feeding back drive information to the processor after the drive loading is finished;
the processor is in communication connection with the mobile equipment through the access port and is used for sending enumeration signals to the mobile equipment, receiving enumeration signals of the mobile equipment and carrying out Carplay session with the mobile equipment after the drive loading is finished;
the on-board system adopts the Carplay synchronous connection device to execute the Carplay synchronous connection method of any one of claims 1 to 4.
6. The on-board system of claim 5, wherein the Carplay synchronization connection apparatus further comprises:
and the event mechanism unit is used for sending the event information of the completion of the drive loading to the processor according to the drive loading state of the access port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010291843.7A CN111586627B (en) | 2020-04-14 | 2020-04-14 | Carplay synchronous connection method and device and vehicle-mounted system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010291843.7A CN111586627B (en) | 2020-04-14 | 2020-04-14 | Carplay synchronous connection method and device and vehicle-mounted system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111586627A CN111586627A (en) | 2020-08-25 |
CN111586627B true CN111586627B (en) | 2022-05-20 |
Family
ID=72126510
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010291843.7A Active CN111586627B (en) | 2020-04-14 | 2020-04-14 | Carplay synchronous connection method and device and vehicle-mounted system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111586627B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113709312B (en) * | 2021-08-25 | 2022-11-18 | 深圳市全景达科技有限公司 | CarPlay synchronous connection method, system, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101609408A (en) * | 2009-06-19 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method and system that realize self-start of terminal equipment |
CN105451154A (en) * | 2014-09-16 | 2016-03-30 | 钛马信息网络技术有限公司 | Vehicle-mounted information system and control method thereof |
CN106603860A (en) * | 2016-12-30 | 2017-04-26 | 百度在线网络技术(北京)有限公司 | Communication connection establishment method and system, mobile terminal and vehicle-mounted equipment |
CN109271332A (en) * | 2017-07-25 | 2019-01-25 | 杭州楷知科技有限公司 | A kind of method and apparatus of node device driving initialization |
-
2020
- 2020-04-14 CN CN202010291843.7A patent/CN111586627B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101609408A (en) * | 2009-06-19 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method and system that realize self-start of terminal equipment |
CN105451154A (en) * | 2014-09-16 | 2016-03-30 | 钛马信息网络技术有限公司 | Vehicle-mounted information system and control method thereof |
CN106603860A (en) * | 2016-12-30 | 2017-04-26 | 百度在线网络技术(北京)有限公司 | Communication connection establishment method and system, mobile terminal and vehicle-mounted equipment |
CN109271332A (en) * | 2017-07-25 | 2019-01-25 | 杭州楷知科技有限公司 | A kind of method and apparatus of node device driving initialization |
Also Published As
Publication number | Publication date |
---|---|
CN111586627A (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2201551B1 (en) | Integrated system and method for interactive communication and multimedia support in vehicles | |
US8055810B2 (en) | Mobile terminal and switching method for controlling data transmission via GPIO interface based on preset threshold | |
US8713209B2 (en) | System, apparatus, and method for fast startup of USB devices | |
EP3297880A1 (en) | System and method for transferring diagnostic commands to a vehicle | |
US10064081B2 (en) | Apparatus and method for controlling mobile device engaging with vehicle | |
CN111586627B (en) | Carplay synchronous connection method and device and vehicle-mounted system | |
CN111277988B (en) | Method for improving Bluetooth transmission speed of WeChat applet | |
WO2018120645A1 (en) | Device connection method and terminal | |
TWI273419B (en) | Network interfacing system for PictBridge printer | |
CA2587681A1 (en) | Multimedia card interface method, computer program product and apparatus | |
US20060045037A1 (en) | Communication apparatus and control method for the communication apparatus | |
CN114996183A (en) | Vehicle-mounted augmented reality system, vehicle and communication implementation method | |
EP0886410A2 (en) | Data communication method, data communication apparatus, and data communication program recording medium | |
CN116594951B (en) | FPGA-based data transmission system and method | |
EP1594068A2 (en) | PCI Bus system | |
US9619005B2 (en) | Apparatus and method for saving power of USB device | |
CN112839194A (en) | Method, device, all-in-one machine and storage medium for sharing camera under dual systems | |
CN113495860B (en) | Data transmission method of SOC (system on chip) equipment, SOC equipment and device with storage function | |
CN109165000A (en) | A kind of method, system and the associated component of data transmission | |
US20120166846A1 (en) | Usb system and power management module and method thereof | |
CN118250522B (en) | Intelligent cabin data sharing method, vehicle machine and system | |
CN220374302U (en) | Vehicle-mounted display screen setting framework based on Type-C interface | |
CN115946630A (en) | Interactive display method of automobile combination instrument and vehicle-mounted information entertainment host | |
CN116017031A (en) | Control method, vehicle, electronic device, and storage medium | |
CN117421265A (en) | Method, device, equipment and storage medium for realizing dual-mode OTG port |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |