CN103036968B - A kind ofly shown by on-vehicle host and control the method and system of smart mobile phone - Google Patents
A kind ofly shown by on-vehicle host and control the method and system of smart mobile phone Download PDFInfo
- Publication number
- CN103036968B CN103036968B CN201210530325.1A CN201210530325A CN103036968B CN 103036968 B CN103036968 B CN 103036968B CN 201210530325 A CN201210530325 A CN 201210530325A CN 103036968 B CN103036968 B CN 103036968B
- Authority
- CN
- China
- Prior art keywords
- smart phone
- vehicle
- audio
- host
- mounted host
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000006243 chemical reaction Methods 0.000 claims abstract description 36
- 238000004891 communication Methods 0.000 claims description 4
- 238000011022 operating instruction Methods 0.000 claims description 2
- 230000007547 defect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000000844 transformation Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
本发明公开了一种通过车载主机显示并控制智能手机的方法及系统。所述方法包括;将智能手机的屏幕界面以视频流的方式通过音视频转换装置传输给车载主机;并将智能手机的音频数据以音频流的方式通过音视频转换装置传输给所述车载主机;鼠标钩子软件根据所述智能手机屏幕像素大小数据将所述鼠标事件对应的位置坐标换算为手机屏幕坐标数据;所述智能手机模拟所述鼠标事件和所述手机屏幕坐标数据并形成对应的操作指令,并控制所述智能手机按照所述操作指令进行相应操作。采用本发明,使得用户在汽车上对车载主机进行控制,进而方便地进行手机电话拨打/接听等操作;运行智能手机的各种应用程序。
The invention discloses a method and a system for displaying and controlling a smart phone through a vehicle host. The method includes: transmitting the screen interface of the smart phone to the vehicle-mounted host through the audio-video conversion device in the form of video stream; and transmitting the audio data of the smart phone to the vehicle-mounted host through the audio-video conversion device in the form of audio stream; The mouse hook software converts the position coordinates corresponding to the mouse event into mobile phone screen coordinate data according to the pixel size data of the smart phone screen; the smart phone simulates the mouse event and the mobile phone screen coordinate data and forms corresponding operation instructions , and control the smart phone to perform corresponding operations according to the operation instructions. By adopting the invention, the user can control the vehicle-mounted host computer in the car, and then conveniently perform operations such as dialing/answering mobile phone calls, and run various application programs of the smart phone.
Description
技术领域 technical field
本发明涉及车载无线网络与应用的汽车电子领域,尤其涉及的是一种通过车载主机显示并控制智能手机的方法及系统。 The present invention relates to the field of automotive electronics for vehicle-mounted wireless networks and applications, in particular to a method and system for displaying and controlling a smart phone through a vehicle-mounted host.
背景技术 Background technique
近几年来,智能手机的发展在很多方面已经领先于车载主机,因此,行业已经着手于将智能手机与车载主机连接起来,使得用户可通过车载主机显示手机的屏幕,播放智能手机的声音输出,通过车载主机屏幕的操作,实现智能手机接听/拨打电话,运行手机上的应用程序,使得用户在驾驶过程中,能够方便的操作手机,降低用户在驾驶过程中操作手机带来的危险因素。 In recent years, the development of smart phones has been ahead of the car head unit in many aspects. Therefore, the industry has started to connect the smart phone with the car head unit, so that the user can display the screen of the mobile phone and play the sound output of the smart phone through the car head unit. Through the operation of the on-board host screen, the smart phone can answer/make calls and run the application program on the mobile phone, so that the user can conveniently operate the mobile phone during driving and reduce the risk factors caused by the user operating the mobile phone during driving.
现有技术中能够达到连接车载主机与智能手机的技术主要有MirrorLink协议,但是MirrorLink协议缺陷在于由于MirrorLink协议还没有在手机行业中完全普及,许多手机厂商还没有加入这个协会,而对于苹果这个高端手机厂商,不支持MirrorLink协议,自己有一套类似MirrorLink功能的协议和软件。 In the existing technology, the technology that can connect the vehicle-mounted host computer and the smart phone mainly includes the MirrorLink protocol, but the defect of the MirrorLink protocol is that because the MirrorLink protocol has not been fully popularized in the mobile phone industry, many mobile phone manufacturers have not yet joined this association, and for Apple, a high-end Mobile phone manufacturers do not support the MirrorLink protocol, but have their own set of protocols and software similar to the MirrorLink function.
但是MirrorLink协议缺陷在于由于MirrorLink协议还没有在手机行业中完全普及,许多手机厂商还没有加入这个协会,而对于苹果这个高端手机厂商,不支持MirrorLink协议,自己有一套类似MirrorLink功能的协议和软件。因此,目前许多手机还不支持MirrorLink协议。这使得MirrorLink协议的广泛应用带来很大的局限性。 However, the defect of the MirrorLink protocol is that because the MirrorLink protocol has not yet been fully popularized in the mobile phone industry, many mobile phone manufacturers have not yet joined this association, and Apple, a high-end mobile phone manufacturer, does not support the MirrorLink protocol, and has its own set of protocols and software similar to MirrorLink functions. Therefore, many mobile phones do not support the MirrorLink protocol at present. This makes the wide application of the MirrorLink protocol bring great limitations.
因此,现有技术还有待于改进和发展。 Therefore, the prior art still needs to be improved and developed.
发明内容 Contents of the invention
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种通过车载主机显示并控制智能手机的方法及系统,实现用户在车载主机的触摸屏上操作,车载主机的鼠标钩子软件监测并接收触摸屏的鼠标事件和与所述鼠标事件对应的位置坐标,并根据智能手机屏幕像素大小数据将所述鼠标事件对应的位置坐标进行换算,并将换算后的手机屏幕坐标数据和所述鼠标事件发送给智能手机,所述智能手机在所述手机屏幕坐标上模拟所述鼠标事件,即模拟在该位置的点击或者滑动等操作。通过本发明,使得用户在驾驶车辆的过程中,通过车载主机能够方便地控制智能手机的应用程序,在方便用户的同时,还提升了驾驶安全。 The technical problem to be solved by the present invention is to provide a method and system for displaying and controlling a smart phone through a vehicle-mounted host computer in view of the above-mentioned defects of the prior art, so that the user can operate on the touch screen of the vehicle-mounted host computer, and the mouse hook software monitoring of the vehicle-mounted host computer And receive the mouse event of the touch screen and the position coordinates corresponding to the mouse event, and convert the position coordinates corresponding to the mouse event according to the smart phone screen pixel size data, and convert the converted mobile phone screen coordinate data and the mouse The event is sent to the smart phone, and the smart phone simulates the mouse event on the screen coordinates of the mobile phone, that is, simulates operations such as clicking or sliding at this position. Through the present invention, the user can conveniently control the application program of the smart phone through the vehicle-mounted host computer during the process of driving the vehicle, thereby improving driving safety while providing convenience to the user.
本发明解决技术问题所采用的技术方案如下: The technical solution adopted by the present invention to solve technical problems is as follows:
一种通过车载主机显示并控制智能手机的方法,其中,包括步骤; A method for displaying and controlling a smart phone through a vehicle-mounted host, including steps;
A、将智能手机的屏幕界面以视频流的方式通过音视频转换装置传输给车载主机;并将智能手机的音频数据以音频流的方式通过所述音视频转换装置传输给所述车载主机;所述车载主机的触摸屏显示所述智能手机的屏幕界面,与所述车载主机连接的音响设备播放所述音频数据; A. The screen interface of the smart phone is transmitted to the vehicle-mounted host through the audio-video conversion device in the form of a video stream; and the audio data of the smart phone is transmitted to the vehicle-mounted host through the audio-video conversion device in the form of an audio stream; The touch screen of the vehicle-mounted host displays the screen interface of the smart phone, and the audio equipment connected to the vehicle-mounted host plays the audio data;
B、建立所述车载主机与所述智能手机的无线连接; B. Establishing a wireless connection between the vehicle host and the smart phone;
C、当所述车载主机上的鼠标钩子软件监测到所述车载主机接收到用户通过触摸屏输入的鼠标事件时,则所述鼠标钩子软件获取所述鼠标事件和与所述鼠标事件对应的位置坐标; C. When the mouse hook software on the vehicle-mounted host monitors that the vehicle-mounted host receives a mouse event input by the user through the touch screen, the mouse hook software acquires the mouse event and the position coordinates corresponding to the mouse event ;
D、所述鼠标钩子软件通过无线方式预先接收所述智能手机发送的智能手机屏幕像素大小数据,并根据所述智能手机屏幕像素大小数据将与所述鼠标事件对应的位置坐标换算为手机屏幕坐标数据,并将所述手机屏幕坐标数据和所述鼠标事件通过无线方式发送给智能手机; D. The mouse hook software pre-receives the smart phone screen pixel size data sent by the smart phone in a wireless manner, and converts the position coordinates corresponding to the mouse event into mobile phone screen coordinates according to the smart phone screen pixel size data data, and the mobile phone screen coordinate data and the mouse event are sent to the smart phone wirelessly;
E、所述智能手机接收所述鼠标事件和手机屏幕坐标数据,模拟所述鼠标事件和所述手机屏幕坐标数据并形成对应的操作指令,并控制所述智能手机按照所述操作指令进行相应的操作。 E. The smart phone receives the mouse event and the mobile phone screen coordinate data, simulates the mouse event and the mobile phone screen coordinate data to form corresponding operation instructions, and controls the smart phone to perform corresponding operations according to the operation instructions operate.
所述步骤A还包括;所述音视频转换装置通过数据线分别与所述车载主机和所述智能手机连接。 The step A further includes; the audio-video conversion device is respectively connected to the vehicle-mounted host and the smart phone through data lines.
所述步骤C还包括,当所述鼠标钩子软件没有监测到所述车载主机接收到用户通过触摸屏输入鼠标事件时,则所述鼠标钩子软件继续监测。 The step C further includes, when the mouse hook software does not detect that the vehicle host receives a mouse event input by the user through the touch screen, the mouse hook software continues to monitor.
所述步骤B还包括; The step B also includes;
通过安装在所述车载主机上的第一蓝牙模块与安装在所述智能手机上的第二蓝牙模块建立无线连接; Establish a wireless connection with the second Bluetooth module installed on the smart phone through the first Bluetooth module installed on the vehicle host;
或者,通过安装在所述车载主机上的第一WIFI模块与安装在所述智能手机上的第二WIFI模块建立无线连接。 Alternatively, a wireless connection is established between the first WIFI module installed on the vehicle host and the second WIFI module installed on the smart phone.
所述第一蓝牙模块通过SPP协议与所述第二蓝牙模块通信连接,所述第一WIFI模块通过TCP/IP协议与所述第二WIFI模块通信连接。 The first Bluetooth module communicates with the second Bluetooth module through the SPP protocol, and the first WIFI module communicates with the second WIFI module through the TCP/IP protocol.
所述步骤D还包括;所述智能手机通过应用程序编程接口获取智能手机屏幕像素大小数据。 The step D also includes; the smart phone obtains the screen pixel size data of the smart phone through an application programming interface.
一种基于上述方法的系统,包括:用于安装在汽车上的车载主机,以及与所述车载主机通信连接的智能手机, 其还包括分别与所述车载主机和所述智能手机通过数据线连接的音视频转换装置,其中,所述车载主机设置有; A system based on the above method, comprising: a vehicle-mounted host for installation in a car, and a smart phone connected to the vehicle-mounted host in communication, and it also includes a data line connected to the vehicle-mounted host and the smart phone respectively An audio-video conversion device, wherein the vehicle-mounted host is provided with;
触摸感应与显示模块,用于接收用户触摸输入的鼠标事件,并显示智能手机的屏幕界面; The touch sensing and display module is used to receive the mouse event input by the user and display the screen interface of the smart phone;
音视频流解析模块,用于接收并解析所述智能手机发送并且经过音视频转化装置转化的音频流和视频流,并将解析后的所述视频流传送给所述触摸感应与显示模块进行显示;将解析所述音频流传送给与所述车载主机连接的音响设备进行播放; The audio and video stream analysis module is used to receive and analyze the audio stream and video stream sent by the smart phone and converted by the audio and video conversion device, and send the analyzed video stream to the touch sensing and display module for display ; The audio stream will be analyzed and sent to the audio equipment connected to the vehicle host for playing;
鼠标钩子模块,用于接收智能手机通过无线方式发送的所述智能手机屏幕像素大小数据,监测并获取用户通过所述触摸感应与显示模块输入的鼠标事件和与所述鼠标事件对应的位置坐标,并根据所述智能手机屏幕像素大小数据将与所述鼠标事件对应的位置坐标换算为手机屏幕坐标数据; 并将所述鼠标事件和手机屏幕坐标数据通过无线的方式发送给所述智能手机; The mouse hook module is used to receive the pixel size data of the smart phone screen sent by the smart phone wirelessly, monitor and obtain the mouse event input by the user through the touch sensing and display module and the position coordinates corresponding to the mouse event, And convert the position coordinates corresponding to the mouse event into mobile phone screen coordinate data according to the pixel size data of the smart phone screen; and send the mouse event and the mobile phone screen coordinate data to the smart phone wirelessly;
所述智能手机设置有; The smart phone is provided with;
获取模块,用于通过应用程序编程接口获取智能手机屏幕像素大小数据,并将所述智能手机屏幕像素大小数据发送给所述车载主机; Obtaining module, used to obtain smart phone screen pixel size data through application programming interface, and send described smart phone screen pixel size data to the vehicle-mounted host;
解析模块,用于接收所述车载主机发送的所述鼠标事件和所述手机屏幕坐标数据,并模拟所述鼠标事件和所述手机屏幕坐标数据形成对应的操作指令,并控制所述智能手机按照所述操作指令进行相应操作; An analysis module, configured to receive the mouse event and the mobile phone screen coordinate data sent by the vehicle-mounted host, and simulate the mouse event and the mobile phone screen coordinate data to form corresponding operating instructions, and control the smart phone according to The operation instruction performs the corresponding operation;
发送模块,用于将智能手机的音频流和视频流通过音视频转换装置发送给所述车载主机; Sending module, for sending the audio stream and the video stream of the smart phone to the vehicle host through the audio and video conversion device;
所述音视频转换装置设置有; The audio-video conversion device is provided with;
转换模块,用于根据车载主机的音频和视频输入格式,将所述智能手机的音频流和视频流转换成与车载主机的音频和视频输入格式一致的音频流和视频流,并将所述转换后的音频流和视频流输入到所述车载主机。 The conversion module is used to convert the audio stream and video stream of the smart phone into an audio stream and a video stream consistent with the audio and video input format of the vehicle host according to the audio and video input formats of the vehicle host, and convert the The final audio stream and video stream are input to the vehicle host.
所述车载主机还设置有第一蓝牙模块和/或第一WIFI模块,所述智能手机设置有与所述第一蓝牙模块通信连接的第二蓝牙模块和/或与所述第一WIFI模块通信连接的第二WIFI模块;其中, The vehicle host is also provided with a first bluetooth module and/or a first WIFI module, and the smart phone is provided with a second bluetooth module communicatively connected with the first bluetooth module and/or communicates with the first WIFI module The second WIFI module connected; where,
所述第一蓝牙模块通过SPP协议与所述第二蓝牙模块通信连接,或者所述第一WIFI模块通过TCP/IP协议与所述第二WIFI模块通信连接。 The first Bluetooth module communicates with the second Bluetooth module through the SPP protocol, or the first WIFI module communicates with the second WIFI module through the TCP/IP protocol.
所述车载主机还设置有CVBS视频输入接口或VGA视频输入接口或RGB视频输入接口,以及L/R音频输入接口;所述智能手机设置有MHL接口或HDMI接口; The vehicle host is also provided with a CVBS video input interface or a VGA video input interface or an RGB video input interface, and an L/R audio input interface; the smart phone is provided with an MHL interface or an HDMI interface;
所述音视频转换装置的转换模块通过数据线分别与所述车载主机的CVBS视频输入接口或VGA视频输入接口或RGB视频输入接口连接,和L/R音频输入接口连接; The conversion module of the audio-video conversion device is respectively connected with the CVBS video input interface or the VGA video input interface or the RGB video input interface of the vehicle-mounted main unit through a data line, and is connected with the L/R audio input interface;
其还通过数据线与所述智能手机的MHL接口或HDMI接口连接。 It is also connected with the MHL interface or HDMI interface of the smart phone through a data cable.
本发明所提供的一种通过车载主机显示并控制智能手机的方法及系统,通过在车载主机设置的鼠标钩子软件,将用户在车载主机触摸屏上触摸输入的鼠标事件和与所述鼠标事件对应的位置坐标换算为手机屏幕上对应的坐标数据,使得智能手机根据所述坐标数据和鼠标事件进行同步的鼠标点击、移动等动作,达到了通过车载主机控制智能手机的目的,本发明车载主机触摸屏上显示的界面与智能手机屏幕上的显示界面同步,手机的音频流通过汽车的高音质音响设备播放。 A method and system for displaying and controlling a smart phone through a vehicle-mounted host computer provided by the present invention, through the mouse hook software set on the vehicle-mounted host computer, the mouse event input by the user on the touch screen of the vehicle-mounted host computer and the mouse event corresponding to the mouse event The position coordinates are converted into the corresponding coordinate data on the screen of the mobile phone, so that the smart phone can perform synchronous actions such as mouse click and movement according to the coordinate data and mouse events, and achieve the purpose of controlling the smart phone through the vehicle-mounted host. The displayed interface is synchronized with the display interface on the smartphone screen, and the audio stream from the phone is played through the car's high-quality audio equipment.
附图说明 Description of drawings
图1是本发明提供的一种通过车载主机显示并控制智能手机的方法的较佳实施例步骤流程图。 FIG. 1 is a flow chart of steps in a preferred embodiment of a method for displaying and controlling a smart phone through a vehicle-mounted host computer provided by the present invention.
图2是本发明所提供的所述音视频转换装置的工作原理较佳实施例示意图。 Fig. 2 is a schematic diagram of a preferred embodiment of the working principle of the audio-video conversion device provided by the present invention.
图3是本发明基于所述通过车载主机显示并控制智能手机的方法的系统的较佳实施例结构示意图。 Fig. 3 is a schematic diagram of a preferred embodiment of the system of the present invention based on the method of displaying and controlling a smart phone through a vehicle-mounted host.
具体实施方式 Detailed ways
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
以下结合图1对本发明所提供的方法做详细说明,其中,图1是本发明提供的一种通过车载主机显示并控制智能手机的方法的较佳实施例步骤流程图。 The method provided by the present invention will be described in detail below in conjunction with FIG. 1 , wherein FIG. 1 is a flow chart of a preferred embodiment of a method for displaying and controlling a smart phone through a vehicle-mounted host computer provided by the present invention.
步骤101、将智能手机的屏幕界面以视频流的方式通过音视频转换装置传输给车载主机;并将智能手机的音频数据以音频流的方式通过所述音视频转换装置传输给所述车载主机;所述车载主机的触摸屏显示所述智能手机的屏幕界面,与所述车载主机连接的音响设备播放所述音频数据; Step 101, transmit the screen interface of the smartphone to the vehicle-mounted host through the audio-video conversion device in the form of a video stream; and transmit the audio data of the smartphone to the vehicle-mounted host through the audio-video conversion device in the form of an audio stream; The touch screen of the vehicle-mounted host displays the screen interface of the smart phone, and the audio equipment connected to the vehicle-mounted host plays the audio data;
其中结合图2对音视频转换装置的工作原理做详细说明,即所述音视频转换装置310通过数据线分别与所述车载主机的CVBS视频输入接口或VGA视频输入接口或RGB视频输入接口320和车载主机的L/R音频输入接口321连接;其还通过数据线与所述智能手机的MHL接口301或HDMI接口302连接。 Wherein in conjunction with Fig. 2, the operating principle of the audio-video conversion device is described in detail, that is, the audio-video conversion device 310 is respectively connected with the CVBS video input interface or the VGA video input interface or RGB video input interface 320 and The L/R audio input interface 321 of the vehicle host is connected; it is also connected with the MHL interface 301 or the HDMI interface 302 of the smart phone through a data line.
即当所述音视频转换装置310与所述智能手机的MHL接口301连接,则所述音视频转换装置320先把MHL格式的音视频流转换为HDMI格式, 当所述音视频转换装置310与所述智能手机的HDMI接口302连接,则接收HDMI格式的音视频流。将所述HDMI格式的音视频流转换为CVBS或VGA或RGB格式的视频流和L/R音频流。 That is, when the audio-video conversion device 310 is connected to the MHL interface 301 of the smart phone, the audio-video conversion device 320 first converts the audio-video stream in the MHL format to the HDMI format, and when the audio-video conversion device 310 is connected to the The HDMI interface 302 of the smart phone is connected to receive audio and video streams in HDMI format. Convert the audio and video stream in the HDMI format to a video stream in CVBS or VGA or RGB format and an L/R audio stream.
将所述为CVBS或VGA或RGB格式的视频流连接到车载主机CVBS或VGA或RGB视频输入接口320,将所述音频流和车载主机L/R音频输入接口321连接。 The video stream in CVBS or VGA or RGB format is connected to the CVBS or VGA or RGB video input interface 320 of the vehicle host, and the audio stream is connected to the L/R audio input interface 321 of the vehicle host.
步骤102、建立所述车载主机与所述智能手机的无线连接; Step 102, establishing a wireless connection between the vehicle host and the smart phone;
其中,建立无线连接的具体方式是;通过安装在所述车载主机上的第一蓝牙模块与安装在所述智能手机上的第二蓝牙模块建立无线连接;或者,通过安装在所述车载主机上的第一WIFI模块与安装在所述智能手机上的第二WIFI模块建立无线连接。 Wherein, the specific way of establishing the wireless connection is: through the first bluetooth module installed on the vehicle-mounted host and the second bluetooth module installed on the smart phone to establish a wireless connection; The first WIFI module establishes a wireless connection with the second WIFI module installed on the smart phone.
所述第一蓝牙模块通过SPP协议与所述第二蓝牙模块通信连接,所述第一WIFI模块通过TCP/IP协议与所述第二WIFI模块通信连接。 The first Bluetooth module communicates with the second Bluetooth module through the SPP protocol, and the first WIFI module communicates with the second WIFI module through the TCP/IP protocol.
步骤103、所述车载主机上的鼠标钩子软件监测所述车载主机是否接收到用户通过触摸屏输入鼠标事件; Step 103, the mouse hook software on the vehicle-mounted host monitors whether the vehicle-mounted host receives a mouse event input by the user through the touch screen;
当所述鼠标钩子软件没有监测到时,则进入步骤104、所述鼠标钩子软件继续监测; When the mouse hook software does not monitor, then enter step 104, the mouse hook software continues to monitor;
当所述鼠标钩子软件监测到时,则进入步骤105、所述鼠标钩子软件获取所述鼠标事件和与所述鼠标事件对应的位置坐标; When the mouse hook software monitors it, then enter step 105, the mouse hook software acquires the mouse event and the position coordinates corresponding to the mouse event;
步骤106、所述鼠标钩子软件通过无线方式预先接收所述智能手机发送的智能手机屏幕像素大小数据,并根据所述智能手机屏幕像素大小数据将与所述鼠标事件对应的位置坐标换算为手机屏幕坐标数据,并将所述手机屏幕坐标数据和所述鼠标事件通过无线方式发送给智能手机; Step 106, the mouse hook software pre-receives the smart phone screen pixel size data sent by the smart phone wirelessly, and converts the position coordinates corresponding to the mouse event into a mobile phone screen according to the smart phone screen pixel size data Coordinate data, and the mobile phone screen coordinate data and the mouse event are sent to the smart phone wirelessly;
其中,所述智能手机通过应用程序编程接口获取智能手机屏幕大小数据,所述应用程序编程接口简称API。 Wherein, the smart phone obtains the screen size data of the smart phone through an application programming interface, and the application programming interface is called API for short.
步骤107、所述智能手机接收所述鼠标事件和手机屏幕坐标数据,模拟所述鼠标事件和所述手机屏幕坐标数据并形成对应的操作指令,并控制所述智能手机按照所述操作指令进行相应的操作。 Step 107: The smart phone receives the mouse event and the mobile phone screen coordinate data, simulates the mouse event and the mobile phone screen coordinate data to form a corresponding operation instruction, and controls the smart phone to perform corresponding operations according to the operation instruction. operation.
通过本较佳实施例,在具体使用过程中,用户先将所述智能手机与所述车载主机通过音视频转换装置连接,所述车载主机的触摸屏同步显示智能手机的屏幕界面,与车载主机连接的音响设备播放智能手机输出的音频流,此时用户可以在车载主机的触摸屏上进行触摸操作,车载主机的鼠标钩子软件监测并获取鼠标事件和与所述鼠标事件对应的位置坐标,并根据智能手机屏幕像素大小将所述鼠标事件对应的位置坐标换算成智能手机屏幕的坐标数据,并将所述鼠标事件和坐标数据发送给智能手机,使得用户通过在车载主机触摸屏上就可以控制智能手机的应用程序,例如接听/拨打电话,上网浏览,观看视频等,解决用户驾驶车辆过程中直接操作智能手机所带来的不安全隐患。 Through this preferred embodiment, in the specific use process, the user first connects the smart phone to the vehicle-mounted host through an audio-video conversion device, and the touch screen of the vehicle-mounted host synchronously displays the screen interface of the smart phone, and is connected to the vehicle-mounted host The audio equipment of the smart phone plays the audio stream output by the smart phone. At this time, the user can perform a touch operation on the touch screen of the vehicle-mounted host, and the mouse hook software of the vehicle-mounted host monitors and obtains the mouse event and the position coordinates corresponding to the mouse event, and according to the smart The pixel size of the mobile phone screen converts the position coordinates corresponding to the mouse event into the coordinate data of the smart phone screen, and sends the mouse event and coordinate data to the smart phone, so that the user can control the smart phone on the touch screen of the vehicle host. Apps, such as answering/making calls, surfing the Internet, watching videos, etc., solve the hidden dangers of insecurity caused by direct operation of smartphones when users drive vehicles.
本发明还提供一系统,以下结合图3对所述系统的结构做详细说明,其中, 图3是本发明基于所述通过车载主机控制智能手机的方法的系统的较佳实施例结构示意图。 The present invention also provides a system, and the structure of the system will be described in detail below in conjunction with FIG. 3 , wherein FIG. 3 is a schematic structural diagram of a preferred embodiment of the system based on the method for controlling a smart phone through a vehicle-mounted host in the present invention.
由图3可知,所述系统包括用于安装在汽车上的车载主机210,与所述车载主机210通信连接的智能手机220,一分别与所述车载主机和所述智能手机通过数据线连接的音视频转换装置230; As can be seen from FIG. 3 , the system includes a vehicle-mounted host 210 for being installed on a car, a smart phone 220 communicatively connected with the vehicle-mounted host 210, and a smart phone 220 connected to the vehicle-mounted host and the smart phone through data lines respectively. Audio and video conversion device 230;
所述车载主机210包括; The vehicle host 210 includes;
触摸感应与显示模块211,用于接收用户触摸输入的鼠标事件,其还用于显示所述智能手机的屏幕界面; The touch sensing and display module 211 is used to receive the mouse event input by the user's touch, and it is also used to display the screen interface of the smart phone;
音视频流解析模块215,用于接收并解析所述智能手机发送并且经过音视频转化装置转化的音频流和视频流,并将解析后的所述视频流传送给所述触摸感应与显示模块进行显示;将解析所述音频流传送给与所述车载主机连接的音响设备进行播放; The audio and video stream analysis module 215 is used to receive and analyze the audio stream and video stream sent by the smart phone and converted by the audio and video conversion device, and send the analyzed video stream to the touch sensing and display module for further processing. display; the audio stream will be analyzed and sent to the audio equipment connected to the vehicle host for playing;
鼠标钩子模块212,用于接收智能手机220发送的所述智能手机屏幕像素大小数据,监测并获取用户通过所述触摸感应模块211输入的鼠标事件和与所述鼠标事件对应的位置坐标,并根据所述智能手机屏幕像素大小数据将与所述鼠标事件对应的位置坐标换算为手机屏幕坐标数据; 并将所述鼠标事件和手机屏幕坐标数据通过无线的方式发送给所述智能手机; The mouse hook module 212 is used to receive the smart phone screen pixel size data sent by the smart phone 220, monitor and obtain the mouse event input by the user through the touch sensing module 211 and the position coordinates corresponding to the mouse event, and according to The pixel size data of the smart phone screen converts the position coordinates corresponding to the mouse event into mobile phone screen coordinate data; and sends the mouse event and the mobile phone screen coordinate data to the smart phone wirelessly;
所述智能手机220设置有; The smart phone 220 is provided with;
获取模块223,用于通过应用程序编程接口获取智能手机屏幕像素大小数据,并将所述智能手机屏幕像素大小数据发送给所述车载主机; Obtaining module 223, is used for obtaining smart phone screen pixel size data through application programming interface, and described smart phone screen pixel size data is sent to described on-board host computer;
解析模块224,用于接收所述车载主机发送的所述鼠标事件和所述手机屏幕坐标数据,并模拟所述鼠标事件和所述手机屏幕坐标数据形成对应的操作指令,并控制所述智能手机按照所述操作指令进行相应操作; The analysis module 224 is used to receive the mouse event and the mobile phone screen coordinate data sent by the vehicle host, and simulate the mouse event and the mobile phone screen coordinate data to form corresponding operation instructions, and control the smart phone Carry out corresponding operations according to the operation instructions;
发送模块225,用于将智能手机的音视频流通过音视频转换装置发送给所述车载主机; The sending module 225 is used to send the audio and video stream of the smart phone to the vehicle host through the audio and video conversion device;
所述音视频转换装置230设置有; The audio-video converting device 230 is provided with;
转换模块231,用于根据车载主机的音频和视频输入格式,将所述智能手机的音频流和视频流转换成与车载主机的音频和视频输入格式一致的音频流和视频流,并将所述转换后的音频流和视频流输入到所述车载主机。 The conversion module 231 is used for converting the audio stream and video stream of the smart phone into an audio stream and a video stream consistent with the audio and video input format of the vehicle host according to the audio and video input formats of the vehicle host, and converting the The converted audio stream and video stream are input to the vehicle host.
较佳地,所述车载主机210还设置有CVBS视频输入接口或VGA视频输入接口或RGB视频输入接口,以及L/R音频输入接口;所述智能手机设置有MHL接口或HDMI接口;所述转换模块231通过数据线分别与所述车载主机210的CVBS视频输入接口或VGA视频输入接口或RGB视频输入接口和L/R音频输入接口连接; Preferably, the vehicle host 210 is also provided with a CVBS video input interface or a VGA video input interface or an RGB video input interface, and an L/R audio input interface; the smart phone is provided with an MHL interface or an HDMI interface; the conversion The module 231 is respectively connected to the CVBS video input interface or the VGA video input interface or the RGB video input interface and the L/R audio input interface of the vehicle host 210 through data lines;
所述转换模块231还通过数据线与所述智能手机210的MHL接口或HDMI接口连接。 The conversion module 231 is also connected to the MHL interface or the HDMI interface of the smart phone 210 through a data cable.
在本较佳实施例的系统中,所述鼠标事件、所述位置坐标、所述智能手机屏幕像素大小数据、所述手机屏幕坐标数据是通过所述智能手机220与所述车载主机210建立无线连接而传输的,其建立无线连接的方式是; In the system of this preferred embodiment, the mouse event, the position coordinates, the screen pixel size data of the smart phone, and the screen coordinate data of the mobile phone are wirelessly established between the smart phone 220 and the vehicle host 210. The way to establish the wireless connection is;
所述车载主机210上设置有第一蓝牙模块213和/或第一WIFI模块214,所述智能手机220上设置有与所述第一蓝牙模块213通信连接的第二蓝牙模块221和/或与所述第一WIFI模块214通信连接的第二WIFI模块222。 The vehicle host 210 is provided with a first bluetooth module 213 and/or a first WIFI module 214, and the smart phone 220 is provided with a second bluetooth module 221 and/or connected with the first bluetooth module 213 for communication. The first WIFI module 214 communicates with the second WIFI module 222 .
用户在实际使用中,可选择是通过蓝牙模块建立无线连接,或者通过WIFI模块建立无线连接。 In actual use, the user can choose to establish a wireless connection through the Bluetooth module, or establish a wireless connection through the WIFI module.
综上所述,本发明提供了一种车载主机显示并控制智能手机的方法及系统,手机的视频同步显示在车载主机的大屏幕上,音频通过车载的高音质的音响设备播放,用户在汽车上能够通过对车载主机的控制,方便地进行手机电话拨打/接听等操作;运行智能手机的各种应用程序,通常,手机的应用程序经常更新和升级,因此,本发明丰富了车载电子的导航与多媒体内容。同时,也提升了驾驶的乐趣和安全性。本发明所提供的系统能兼容多种有MHL或者HDMI输出的手机。 In summary, the present invention provides a method and system for displaying and controlling a smart phone by a vehicle-mounted host. The video of the mobile phone is synchronously displayed on the large screen of the vehicle-mounted host, and the audio is played through the vehicle-mounted high-quality audio equipment. It is possible to conveniently perform operations such as dialing/receiving mobile phone calls by controlling the vehicle-mounted host computer; running various application programs of smart phones, usually, the application programs of mobile phones are often updated and upgraded. Therefore, the present invention enriches the navigation of vehicle-mounted electronics. with multimedia content. At the same time, it also improves driving pleasure and safety. The system provided by the invention can be compatible with various mobile phones with MHL or HDMI output.
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。 It should be understood that the application of the present invention is not limited to the above examples, and those skilled in the art can make improvements or transformations according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210530325.1A CN103036968B (en) | 2012-12-11 | 2012-12-11 | A kind ofly shown by on-vehicle host and control the method and system of smart mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210530325.1A CN103036968B (en) | 2012-12-11 | 2012-12-11 | A kind ofly shown by on-vehicle host and control the method and system of smart mobile phone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103036968A CN103036968A (en) | 2013-04-10 |
CN103036968B true CN103036968B (en) | 2015-09-30 |
Family
ID=48023440
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210530325.1A Expired - Fee Related CN103036968B (en) | 2012-12-11 | 2012-12-11 | A kind ofly shown by on-vehicle host and control the method and system of smart mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103036968B (en) |
Families Citing this family (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144184B (en) * | 2013-05-08 | 2018-06-26 | 华为终端(东莞)有限公司 | A kind of method and electronic equipment for controlling remote equipment |
CN103312718B (en) * | 2013-06-25 | 2017-02-08 | 龙迅半导体(合肥)股份有限公司 | Device control method and device and multimedia equipment |
CN103347162B (en) * | 2013-06-28 | 2017-07-18 | 深圳市掌讯通讯设备有限公司 | A kind of car-mounted device and smart mobile phone interaction control system and its method |
CN103440877A (en) * | 2013-08-02 | 2013-12-11 | 惠州华阳通用电子有限公司 | Device and method for interaction control over vehicle-mounted system and smart mobile terminal |
CN103746726B (en) * | 2013-08-21 | 2017-03-22 | 深圳市辂元技术有限公司 | Vehicle and mobile terminal one-key interconnection control method and system |
CN103745582B (en) * | 2013-08-21 | 2018-01-23 | 深圳市辂元科技有限公司 | Interconnection method of mobile terminal and vehicle machine |
CN103738265B (en) * | 2013-08-21 | 2017-03-22 | 深圳市辂元技术有限公司 | Mobile terminal and car machine interconnection method and car machine |
CN103738267B (en) * | 2013-08-21 | 2017-03-22 | 深圳市辂元技术有限公司 | Mobile terminal and car machine interconnection method and car machine |
CN103581337A (en) * | 2013-11-21 | 2014-02-12 | 江苏新科软件有限公司 | Method for mirroring from smart phone to vehicle-mounted system |
CN103595944A (en) * | 2013-11-22 | 2014-02-19 | 惠州华阳通用电子有限公司 | Wi-Fi display switching device and method among terminals |
CN104683401A (en) * | 2013-11-29 | 2015-06-03 | 钛马车联网(上海)网络技术有限公司 | Vehicle-mounted equipment information display method and system |
CN104883617B (en) * | 2014-02-27 | 2018-09-04 | 深圳市安普尔科技有限公司 | Multi-screen interaction system and method |
CN105025152A (en) * | 2014-04-17 | 2015-11-04 | 中兴通讯股份有限公司 | Terminal operation control method and device |
CN103947549A (en) * | 2014-04-17 | 2014-07-30 | 厦门涌泉科技有限公司 | Rapid propagation method of dendrobium officinale |
CN104253906A (en) * | 2014-09-24 | 2014-12-31 | 深圳市航盛电子股份有限公司 | Method for interconnection mapping between vehicle-mounted display screen and mobile phone |
CN104363344B (en) * | 2014-11-14 | 2017-01-18 | 深圳市航盛电子股份有限公司 | Connecting system and method of iphone and on-board host computer |
CN104618499B (en) * | 2015-02-13 | 2019-03-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104935741A (en) * | 2015-06-05 | 2015-09-23 | 北京九五智驾信息技术股份有限公司 | Interconnecting method and system of vehicle-mounted information and entertainment device and mobile terminal |
CN105045584B (en) * | 2015-07-07 | 2018-07-31 | 东风汽车有限公司 | Touch control method and system for screen of vehicle machine |
CN104977018B (en) * | 2015-07-10 | 2018-12-07 | 钛马信息网络技术有限公司 | In-vehicle navigation apparatus and mobile device and its air navigation aid, navigation system |
CN105607920B (en) * | 2015-09-30 | 2019-09-17 | 北京金山安全软件有限公司 | Application program package stopping method and device and electronic equipment |
CN105915978A (en) * | 2015-12-14 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Vehicle-mounted display control method and device thereof |
CN105549821A (en) * | 2015-12-18 | 2016-05-04 | 东软集团股份有限公司 | Interconnecting method, device and system of mobile equipment and car-mounted information entertainment product |
CN105554307A (en) * | 2016-01-29 | 2016-05-04 | 黄利文 | System and method for realizing control of mobile phone by automobile computer through MHL |
US20170337900A1 (en) * | 2016-05-17 | 2017-11-23 | Google Inc. | Wireless user interface projection for vehicles |
CN112532783A (en) * | 2016-07-28 | 2021-03-19 | 上海博泰悦臻电子设备制造有限公司 | Vehicle machine, intelligent mobile terminal and corresponding connection control method and system |
CN108268197A (en) * | 2016-12-30 | 2018-07-10 | 乐视汽车(北京)有限公司 | Reverse Turning Control method, mobile equipment, car-mounted display equipment and system |
CN107402664A (en) * | 2017-05-02 | 2017-11-28 | 上海飞智电子科技有限公司 | Applied to the touch control device of capacitance touch screen, processing equipment and touch-control system |
CN107122068B (en) * | 2017-05-10 | 2024-02-27 | 深圳市思通汽车电子有限公司 | Vehicle-mounted universal wireless mouse and communication method thereof |
CN107959811B (en) * | 2017-12-20 | 2022-08-16 | 深圳市深智电科技有限公司 | Touchable interactive HDMI IN display and processing method |
CN108922156A (en) * | 2018-06-22 | 2018-11-30 | 原点显示(深圳)科技有限公司 | The method of onboard system control mobile terminal |
CN111885573B (en) * | 2020-07-29 | 2024-09-06 | 广州易点智慧出行科技有限公司 | Intelligent cabin interaction method and intelligent cabin |
CN112162494A (en) * | 2020-09-21 | 2021-01-01 | 安徽捷兴信源信息技术有限公司 | Remote virtual control simulation method and device of smart phone system |
CN115706734A (en) * | 2021-08-11 | 2023-02-17 | 上海擎感智能科技有限公司 | Control method, control device, control system and terminal of external equipment |
CN113890924B (en) * | 2021-11-10 | 2024-08-27 | 江苏怀广智能交通科技有限公司 | Mobile phone support type vehicle-mounted device with ETC+V2X+high-precision positioning function |
CN114422845A (en) * | 2021-12-20 | 2022-04-29 | 瑞芯微电子股份有限公司 | Method for transceiving audio and video data and transfer equipment |
CN114968150A (en) * | 2021-12-30 | 2022-08-30 | 海信视像科技股份有限公司 | Screen projection control method and terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594903A (en) * | 2012-03-02 | 2012-07-18 | 许晓聪 | Intelligentized mobile vehicle-mounted system |
CN102780778A (en) * | 2012-07-23 | 2012-11-14 | 深圳市航盛电子股份有限公司 | Method for mutual control of vehicle-mounted intelligent system and intelligent terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012128620A (en) * | 2010-12-15 | 2012-07-05 | Alpine Electronics Inc | Electronic apparatus |
-
2012
- 2012-12-11 CN CN201210530325.1A patent/CN103036968B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594903A (en) * | 2012-03-02 | 2012-07-18 | 许晓聪 | Intelligentized mobile vehicle-mounted system |
CN102780778A (en) * | 2012-07-23 | 2012-11-14 | 深圳市航盛电子股份有限公司 | Method for mutual control of vehicle-mounted intelligent system and intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103036968A (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103036968B (en) | A kind ofly shown by on-vehicle host and control the method and system of smart mobile phone | |
US9723352B2 (en) | User interface interaction system and method for handheld device and TV set | |
CN102780778A (en) | Method for mutual control of vehicle-mounted intelligent system and intelligent terminal | |
US20120066643A1 (en) | System, method and apparatus for presenting a user interface | |
CN102826047A (en) | Method and system for operating smart mobile phone through automobile touch screen | |
KR20150074542A (en) | Method for controlling mirrorlink | |
KR20170047918A (en) | Apparatus and method for controlling mobile device engaging with vehicle | |
CN107870754A (en) | A kind of method and device of the content shown on control device | |
JP2013153346A (en) | Remote control system | |
KR101249719B1 (en) | Method for executing clone applications, computer readable recording medium for the same, and clone devices for the same | |
CN112202967A (en) | Split screen display method based on mobile phone interconnection | |
CN104883617A (en) | Multi-screen interaction system and method | |
CN102957875A (en) | Image processing method, device and system | |
KR102105168B1 (en) | Display apparatus and control method of the same | |
WO2023078143A1 (en) | Interface interaction method, electronic device, medium, and program product | |
CN102710877B (en) | The external control method of mobile terminal, mobile terminal and system | |
JP2013168750A (en) | Television receiver | |
KR101368966B1 (en) | Portable Terminal and IVI for Interworking Application, Method thereof for Operating Application | |
CN201820213U (en) | Display compatible with mobile phone display function | |
CN205490969U (en) | Multimedia playing system based on mobile terminal | |
CN108040176B (en) | Playing method, device and mobile terminal | |
JP2014149610A (en) | Information processor, remote control operation support method and program | |
CN105578232A (en) | Multimedia playing system and playing method based on mobile terminal | |
KR101931938B1 (en) | Remote controller and method for processing data in multimedia device | |
KR102113764B1 (en) | AVN and the Method of Interconnecting with Smart Device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150930 Termination date: 20201211 |