CN111541761A - 一种智能手机与智能车机互联及控制的方法 - Google Patents

一种智能手机与智能车机互联及控制的方法 Download PDF

Info

Publication number
CN111541761A
CN111541761A CN202010311590.5A CN202010311590A CN111541761A CN 111541761 A CN111541761 A CN 111541761A CN 202010311590 A CN202010311590 A CN 202010311590A CN 111541761 A CN111541761 A CN 111541761A
Authority
CN
China
Prior art keywords
mobile phone
screen
vehicle
car machine
smart
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.)
Withdrawn
Application number
CN202010311590.5A
Other languages
English (en)
Inventor
晋晓琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Kuwozhixing Technology Co ltd
Original Assignee
Nanjing Kuwozhixing Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Kuwozhixing Technology Co ltd filed Critical Nanjing Kuwozhixing Technology Co ltd
Priority to CN202010311590.5A priority Critical patent/CN111541761A/zh
Publication of CN111541761A publication Critical patent/CN111541761A/zh
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41422Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance located in transportation means, e.g. personal vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种智能手机与智能车机互联及控制的方法,涉及智能手机和智能车机技术领域,旨在解决现有技术中手机到车机的显示只有屏幕镜像,不能互动操作的问题。其技术方案要点是通过USB数据线将手机连接到车机上面,车机弹出提示有设备接入,是否建立连接,经用户同意后建立连接,手机端启动服务将手机屏幕数据传输给车机端,车机端收到屏幕视频流数据后解码展示到自己屏幕上。用户可以在车机屏幕上操控手机端,实现。本发明达到了在车机端控制手机端并且通过有线连接实现高速、稳定的数据传输的效果。

Description

一种智能手机与智能车机互联及控制的方法
技术领域
本发明涉及智能手机和智能车机技术领域,尤其是涉及一种智能手机与智能车机互联及控制的方法。
背景技术
在现在的生活中,随着手机功能的日益强大,人们对手机的依赖越来越深,日常工作生活都已离不开手机。而在互联网的大环境下,汽车智能化将是未来很长一段时间内不变的话题,越来越多的车企开始在汽车中安置尺寸越来越大的屏幕,以满足用户更多的娱乐需求。于是两个屏幕的结合成为了一种不可避免的趋势。
目前市面上有许多通过无线连接将手机屏幕镜像到车机屏幕的方案,但都只能做到镜像屏幕或者对单个app镜像,对手机的操作还是得在手机上进行,对车机屏幕操作并不能控制手机,并且无线连接存在不稳定及传输速度慢的问题。
鉴于人们在车辆中的一些手机使用需求,例如导航,大屏的观看和操作会更加方便直观,通过有线连接传输速度会更快更稳定。因此需要一种可以在车机屏幕操作手机屏幕的稳定的解决方案。
发明内容
本发明的目的是提供一种智能手机与智能车机互联及控制的方法,其具有在车机端控制手机端并且通过有线连接实现高速、稳定的数据传输的效果。
本发明的上述发明目的是通过以下技术方案得以实现的:
一种智能手机与智能车机互联及控制的方法,包括将手机端与车机端通过数据线连接,包括以下步骤:
手机端:首先,手机端与车机端通过私有协议建立通信连接;然后手机端实现投屏服务,该服务利用android的MediaCodec类以及VirtualDisplay类去读取Android的屏幕流,再转化为H264视频流,将视频流通过Socket传输给车机端;最后,手机端接收到车机端传回的坐标后,做出相应的响应;
车机端:首先,车机端在检测到设备接入时,主动弹出连接提示,用户同意后与手机端建立连接;然后,车机通过Socket接收手机端传过来的图像数据信息,然后解压缩显示车机屏幕上;最后,当用户点击车机屏幕时,获取点击的坐标,通过比例换算转化成实际手机分辨率的坐标,再通过Socket将坐标值传回给手机端。
综上所述,本发明的有益技术效果为:
手机端与车机端之间通过数据线互联,提高了数据传输的速度和稳定性;通过获取Android手机的屏幕视频流并通过H264进行编码传输给车机端,让画面显示的更加流畅;通过Socket接收Android 客户端传过来的图像数据信息解压缩显示到车机端上面,当用户点击车机端屏幕时获取点击的坐标,通过比例换算转化成实际Android真机的坐标,然后Android图像的变化再通过Socket实时传输给车机端记住坐标系变化,实现了车机端反向控制手机,驾驶员操作更为便捷。
附图说明
图1是本发明实施例的整体结构示意图。
具体实施方式
参照图1,本发明公开了一种智能手机与智能车机互联及控制的方法,首先,手机端实现私有协议及截取屏幕的功能,然后车机端实现私有协议,展示传屏数据,截获屏幕坐标及转换坐标的功能。将手机与车机用USB线连接在一起,车机端在检测到设备接入时,主动弹出连接提示请求,手机端提示是否屏幕共享。用户点击同意后,车机端与手机成功建立连接,车机屏幕上会展示手机目前的画面。车机屏幕上点击对应区域,会在手机屏幕上有相应的响应,同时车机屏幕上的显示也会随着手机画面显示而变化。
利用android的MediaCodec类以及VirtualDisplay类去读取Android的屏幕流,然后转化为H264视频流,实现屏幕的截取。将视频流压缩编码后通过Socket传输给车机端,车机端接收手机端传输的视频流后解压缩并显示在车机屏幕上,实现投屏。
在车机屏幕上点击对应区域时,在车机端根据比例换算进行坐标转换,变换为手机端坐标,发送坐标值至手机端,手机端接收坐标并相应。响应后手机端页面更新,重新编码传输视频流,通过Socket发送更新后页面编码视频流至车机端,车机端接收后解码显示。不断传输和回传,实现手机端与车机端的互联和控制。
本具体实施方式的实施例均为本发明的较佳实施例,并非依此限制本发明的保护范围,故:凡依本发明的结构、形状、原理所做的等效变化,均应涵盖于本发明的保护范围之内。

Claims (1)

1.一种智能手机与智能车机互联及控制的方法,包括将手机端与车机端通过数据线连接,其特征在于,包括以下步骤:
手机端:首先,手机端与车机端通过私有协议建立通信连接;然后手机端实现投屏服务,该服务利用android的MediaCodec类以及VirtualDisplay类去读取Android的屏幕流,再转化为H264视频流,将视频流通过Socket传输给车机端;最后,手机端接收到车机端传回的坐标后,做出相应的响应;
车机端:首先,车机端在检测到设备接入时,主动弹出连接提示,用户同意后与手机端建立连接;然后,车机通过Socket接收手机端传过来的图像数据信息,然后解压缩显示车机屏幕上;最后,当用户点击车机屏幕时,获取点击的坐标,通过比例换算转化成实际手机分辨率的坐标,再通过Socket将坐标值传回给手机端。
CN202010311590.5A 2020-04-20 2020-04-20 一种智能手机与智能车机互联及控制的方法 Withdrawn CN111541761A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010311590.5A CN111541761A (zh) 2020-04-20 2020-04-20 一种智能手机与智能车机互联及控制的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010311590.5A CN111541761A (zh) 2020-04-20 2020-04-20 一种智能手机与智能车机互联及控制的方法

Publications (1)

Publication Number Publication Date
CN111541761A true CN111541761A (zh) 2020-08-14

Family

ID=71975281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010311590.5A Withdrawn CN111541761A (zh) 2020-04-20 2020-04-20 一种智能手机与智能车机互联及控制的方法

Country Status (1)

Country Link
CN (1) CN111541761A (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031895A (zh) * 2021-03-30 2021-06-25 联想(北京)有限公司 投屏控制方法、装置及电子设备
CN113189920A (zh) * 2021-05-28 2021-07-30 重庆长安汽车股份有限公司 一种基于Android的车载娱乐信息系统远程控制方法
CN114063956A (zh) * 2021-11-11 2022-02-18 上汽通用五菱汽车股份有限公司 车机与移动端程序交互方法、车机装置及可读存储介质
WO2024041176A1 (zh) * 2022-08-25 2024-02-29 Oppo广东移动通信有限公司 应用流转方法、装置、终端、存储介质及程序产品

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031895A (zh) * 2021-03-30 2021-06-25 联想(北京)有限公司 投屏控制方法、装置及电子设备
CN113189920A (zh) * 2021-05-28 2021-07-30 重庆长安汽车股份有限公司 一种基于Android的车载娱乐信息系统远程控制方法
CN114063956A (zh) * 2021-11-11 2022-02-18 上汽通用五菱汽车股份有限公司 车机与移动端程序交互方法、车机装置及可读存储介质
WO2024041176A1 (zh) * 2022-08-25 2024-02-29 Oppo广东移动通信有限公司 应用流转方法、装置、终端、存储介质及程序产品

Similar Documents

Publication Publication Date Title
CN111541761A (zh) 一种智能手机与智能车机互联及控制的方法
US9753629B2 (en) Terminal and controlling method thereof
CN102883135B (zh) 屏幕共享及控制方法
EP0979570B1 (en) Apparatus enabling usage of external display monitor with a mobile telephone
CN103634205A (zh) 集成即时通讯/社交应用的车载娱乐系统及方法
CN101951515B (zh) 移动终端界面共享到电视机的方法、系统和机顶盒
CN101697579B (zh) 一种具有可视电话功能的终端及其调节视频图像的方法
CN104333844A (zh) 一种车载终端与智能手机的互联方法
CN107071551B (zh) 应用于智能电视系统中的多屏互动屏幕响应方法
CN107333082A (zh) 一种基于USB Type C接口的无线协作系统及其实现方法
KR101604296B1 (ko) 무선 디스플레이 디바이스들에 대한 최소 인식 모드
CN103167338A (zh) 一种基于移动终端的智能电视输入控制系统及方法
CN102202420A (zh) 一种在显示设备上显示移动终端数据的装置、系统和方法
EP2312532B1 (en) Apparatus and method for transmitting handwritten message including time information
US20200257487A1 (en) Display method and system for wireless intelligent multi-screen display
CN113068153B (zh) 车载中控的遥控方法、装置、设备及存储介质
CN112118558B (zh) 车机屏幕显示方法、车辆及计算机可读存储介质
WO2015141320A1 (ja) 情報処理装置、情報処理システム、および情報処理方法
WO2003067408A1 (fr) Procede de transmission de donnees dans un ordinateur personnel base sur un dispositif interactif homme-machine sans fil
CN105611396A (zh) 电子交互系统及其设置方法
WO2004105322A1 (en) A communication network terminal, a terminal accessory device and an assembly containing the terminal and the accessory device
CN104539707A (zh) 车机、手机及pc端的屏幕映射方法及系统
CN102770827A (zh) 用于在终端的屏幕上显示多媒体内容的方法
CN115567518B (zh) 一种用于云桌面的摄像头重定向的装置、系统和方法
JP2013168750A (ja) テレビジョン受像機

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200814

WW01 Invention patent application withdrawn after publication