CN112202967B - 基于手机互联的分屏显示方法 - Google Patents

基于手机互联的分屏显示方法 Download PDF

Info

Publication number
CN112202967B
CN112202967B CN202010901539.XA CN202010901539A CN112202967B CN 112202967 B CN112202967 B CN 112202967B CN 202010901539 A CN202010901539 A CN 202010901539A CN 112202967 B CN112202967 B CN 112202967B
Authority
CN
China
Prior art keywords
mobile terminal
interface
window1
vehicle
entertainment
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
Application number
CN202010901539.XA
Other languages
English (en)
Other versions
CN112202967A (zh
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.)
Wuhan Yunpiansong Technology Co ltd
Original Assignee
Wuhan Carbit Information 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 Wuhan Carbit Information Co ltd filed Critical Wuhan Carbit Information Co ltd
Priority to CN202010901539.XA priority Critical patent/CN112202967B/zh
Publication of CN112202967A publication Critical patent/CN112202967A/zh
Application granted granted Critical
Publication of CN112202967B publication Critical patent/CN112202967B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit

Abstract

本发明公开了一种基于手机互联的分屏显示方法,包括如下步骤:S10移动终端开启导航功能与娱乐功能;S20移动终端创建两个虚拟屏,iOS系统中用xcode开发工具创建两个虚拟屏;Android系统中用Android Studio开发工具创建两个虚拟屏:window 1、window 2,其中window1用于显示娱乐界面,window2用于显示需要投屏的移动终端功能界面;S30移动终端与车载终端建立互联通道;S40分屏显示,车载终端的导航屏显示window2上的需要投屏的显示界面;移动终端显示window1娱乐界面,娱乐功能的音频数据通过互联通道传输至车载终端进行播放。本发明一种操作方便、能有效的利用移动终端和车机端两个屏幕显示不同的内容。

Description

基于手机互联的分屏显示方法
技术领域
本发明涉及手机互联技术领域,具体地指基于手机互联的分屏显示方法。
背景技术
随着车联网行业的发展,手机互联正成为一种低成本高效的车联网解决方案,其中以车机大音响来播放自己喜欢的音乐方案应用最为广泛。现在人们驾驶习惯是车载导航开启的同时播放音乐或收音机等娱乐音频,车载终端的导航屏显示导航界面,互联的移动终端不显示。但是车机切换到导航界面后,操作娱乐功能选择就没那么便利,不方便进行操作上一曲,下一曲或者音乐列表的选择,这个时候就需要两个屏幕分别显示导航和音乐界面更加方便我们观看和操控。
发明内容
本发明的目的就是要提供一种操作方便、能有效的利用移动终端和车机端两个屏幕显示不同的内容的基于手机互联的分屏显示方法。
为实现此目的,本发明所涉及的一种基于手机互联的分屏显示方法,包括如下步骤:S10移动终端开启导航功能与娱乐功能;S20移动终端创建两个虚拟屏,iOS系统中用xcode开发工具创建两个虚拟屏; Android系统中用Android Studio开发工具创建两个虚拟屏:window 1、window 2,其中window1用于显示娱乐界面,window2用于显示需要投屏的移动终端功能界面;S30移动终端与车载终端建立互联通道;S40分屏显示,车载终端的导航屏显示window2上的需要投屏的显示界面;移动终端显示window1娱乐界面,娱乐功能的音频数据通过互联通道传输至车载终端进行播放。
进一步,在所述步骤S40之前还包括:通过addsubview接口,将导航的视图添加到window 2中,将娱乐视图添加到window 1中。
进一步,在安卓系统中,步骤S40中移动终端显示window1娱乐界面,包括:通过WindowManagerService来管理需要显示的窗口,将window1的显示优先级设置为最高,显示优先级最高的窗口显示在移动终端界面上。
进一步,其中通过设置LayoutParams参数来控制显示在移动终端界面上的显示优先级。
进一步,在iOS系统中,步骤S40中移动终端显示window1娱乐界面,包括:通过UIWindow类来控制显示在移动终端上的视图。
进一步,调用[self.window1 makeKeyAndVisible]接口使得window1 有效,调用[self.window1 makeKeyAndVisible]接口将window1的娱乐界面展示在移动终端的屏幕上。
进一步,其中还包括如下反控步骤:A.使用者在车载终端上操作导航视图,车载终端将操作信息通过互联通道传输至移动终端;B.移动终端接收车载终端发送的操作信息,并将操作信息转换为对应的应用程序事件控制指令;C.移动终端的导航app执行应用程序事件控制指令,并将虚拟屏window2上的图像数据投射至车载终端。
进一步所述步骤B中的操作类型包括:触控操作、语音操作。
进一步,所述触控操作的类型包括下述至少一项:按下操作、移动操作、释放操作、缩/放操作、点击确认操作。
进一步,其中还包括如下反控步骤:当在移动终端上操作娱乐界面时,移动终端识别并响应操作,移动终端将娱乐功能的音频数据通过互联通道传输至车载终端进行播放。
本发明有效的利用移动终端和车机端两个屏幕显示不同的内容,方便车内人员观看,当需要操作娱乐功能时,直接在移动终端上操控,无需在车机端切换,操控非常便捷。
附图说明
图1为本发明的方法流程图。
具体实施方式
本发明一种基于手机互联的分屏显示方法中,车载终端显示互联界面,移动终端显示娱乐界面,利用两个显示屏显示不同的内容,车内人员可以获取更多的显示内容。当需要操作娱乐界面时,只需要在移动终端操作,无需在车载终端切换后再操作,操作便捷。以下结合附图和具体实施例对本发明作进一步的详细说明:
请参阅图1,一种基于手机互联的分屏显示方法包括如下步骤:
S10移动终端开启导航功能与娱乐功能;
所述导航功能为导航APP;
所述娱乐功能包括音乐APP、视频APP、收音机、直播、游戏等。
S20移动终端创建两个虚拟屏
iOS系统中用xcode开发工具创建两个虚拟屏; A的ndroid系统中用AndroidStudio开发工具创建两个虚拟屏:window 1、window 2,其中window1用于显示音乐界面,window2用于显示需要投屏的移动终端功能界面。所述投屏功能界面为地图导航或者车机控制界面,车机控制界面为:控制收音机,调整空调大小,倒车影像等界面。
S30移动终端与车载终端建立互联通道
移动终端预先装有移动终端互联模块,移动终端互联模块创建互联服务端;车载终端预先装有车载终端互联模块,车载终端互联模块创建互联客户端,互联服务端与互联客户端之间建立互联通道。
移动终端与车载终端通过USB或WiFi连接建立互联通道。
S40分屏显示
车载终端的导航屏显示window2上的导航等需要投屏的显示界面;移动终端显示window1娱乐界面,娱乐功能的音频数据通过互联通道传输至车载终端进行播放。
在所述步骤S40之前还包括:互联后通过addsubview接口,将导航的视图添加到window 2中,将娱乐视图添加到window 1中。
在安卓系统中,移动终端显示window1娱乐界面,具体为:通过WindowManagerService来管理需要显示的窗口,将window1的显示优先级设置为最高,显示优先级最高的窗口显示在移动终端界面上。具体为:通过设置LayoutParams参数来控制显示在移动终端界面上的显示优先级
在iOS系统中,移动终端显示window1娱乐界面,包括:通过UIWindow类来控制显示在移动终端上的视图,调用[self.window1 makeKeyAndVisible]接口使得window1 有效,然后通过调用[self.window1 makeKeyAndVisible]接口将window1的娱乐界面展示在移动终端的屏幕上。具体为:首先调用[self.window2 makeKeyAndVisible]接口使得window2有效,再调用[self.window2 makeKeyWindow]接口隐藏window2,同时调用[self.window1makeKeyAndVisible]接口展示window1。
在安卓系统或iOS系统中,车载终端显示window2投屏界面,包括如下步骤:
S1.window2上展示投屏界面UI;
S2.转化视频流
通过系统录屏SDK回调得到的界面转化成视频流,或者通过系统截屏把window2界面截图后再转化成视频流;
S3.通过互联通道将视频流传至车载终端, window2的界面就在车机端显示。
进一步,当在车载终端上操作导航界面时,包括如下反控步骤:
A.使用者在车载终端上操作导航视图,车载终端将操作信息通过互联通道传输至移动终端。
具体的,所述操作类型包括:触控操作、语音操作;所述触控操作的类型包括下述至少一项:按下操作、移动操作、释放操作、缩/放操作、点击确认操作。
B.移动终端接收车载终端发送的操作信息,并将操作信息转换为对应的应用程序事件控制指令。
C.移动终端的导航app执行应用程序事件控制指令,并将虚拟屏window2上的图像数据投射至车载终端。
进一步,当在移动终端上操作娱乐界面时,移动终端识别并响应操作,移动终端将娱乐功能的音频数据通过互联通道传输至车载终端进行播放。
本发明车载终端显示互联界面,移动终端显示娱乐界面,利用两个显示屏显示不同的内容,车内人员可以获取更多的显示内容。当需要操作娱乐界面时,只需要在移动终端操作,无需在车载终端切换后再操作,操作便捷。

Claims (8)

1.一种基于手机互联的分屏显示方法,其特征在于,包括如下步骤:
S10移动终端开启导航功能与娱乐功能;
S20移动终端创建两个虚拟屏:
iOS系统中用xcode开发工具创建两个虚拟屏: window 1 、 window 2 ; Android系统中用Android Studio开发工具创建两个虚拟屏:window 1、window 2,其中window1用于显示娱乐界面,window2用于显示需要投屏的移动终端功能界面;
S30移动终端与车载终端建立互联通道;
S40分屏显示:
车载终端的导航屏显示window2上的需要投屏的显示界面;移动终端显示window1娱乐界面,娱乐功能的音频数据通过互联通道传输至车载终端进行播放;
在安卓系统中,步骤S40中移动终端显示window1娱乐界面,包括:通过WindowManagerService来管理需要显示的窗口,将window1的显示优先级设置为最高,显示优先级最高的窗口显示在移动终端界面上;
在iOS系统中,步骤S40中移动终端显示window1娱乐界面,包括:通过UIWindow类来控制显示在移动终端上的视图。
2.根据权利要求1所述的基于手机互联的分屏显示方法,其特征在于,在所述步骤S40之前还包括:通过addsubview接口,将导航的视图添加到window 2中,将娱乐视图添加到window 1中。
3.根据权利要求2所述的基于手机互联的分屏显示方法,其特征在于,在安卓系统中,其中通过设置LayoutParams参数来控制显示在移动终端界面上的显示优先级。
4.根据权利要求2所述的基于手机互联的分屏显示方法,其特征在于,在iOS系统中,调用[self.window1 makeKeyAndVisible]接口使得window1 有效,调用[self.window1makeKeyAndVisible]接口将window1的娱乐界面展示在移动终端的屏幕上。
5.根据权利要求1所述的基于手机互联的分屏显示方法,其特征在于,其中还包括如下反控步骤:
A.使用者在车载终端上操作导航视图,车载终端将操作信息通过互联通道传输至移动终端;
B.移动终端接收车载终端发送的操作信息,并将操作信息转换为对应的应用程序事件控制指令;
C.移动终端的导航app执行应用程序事件控制指令,并将虚拟屏window2上的图像数据投射至车载终端。
6.根据权利要求5所述的基于手机互联的分屏显示方法,其特征在于,所述步骤B中的操作类型包括:触控操作、语音操作。
7.根据权利要求6所述的基于手机互联的分屏显示方法,其特征在于,所述触控操作的类型包括下述至少一项:按下操作、移动操作、释放操作、缩/放操作、点击确认操作。
8.根据权利要求1所述的基于手机互联的分屏显示方法,其特征在于,其中还包括如下反控步骤:当在移动终端上操作娱乐界面时,移动终端识别并响应操作,移动终端将娱乐功能的音频数据通过互联通道传输至车载终端进行播放。
CN202010901539.XA 2020-09-01 2020-09-01 基于手机互联的分屏显示方法 Active CN112202967B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010901539.XA CN112202967B (zh) 2020-09-01 2020-09-01 基于手机互联的分屏显示方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010901539.XA CN112202967B (zh) 2020-09-01 2020-09-01 基于手机互联的分屏显示方法

Publications (2)

Publication Number Publication Date
CN112202967A CN112202967A (zh) 2021-01-08
CN112202967B true CN112202967B (zh) 2021-08-03

Family

ID=74005416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010901539.XA Active CN112202967B (zh) 2020-09-01 2020-09-01 基于手机互联的分屏显示方法

Country Status (1)

Country Link
CN (1) CN112202967B (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296662A (zh) * 2021-04-14 2021-08-24 惠州市德赛西威汽车电子股份有限公司 一种单物理屏实现多屏虚拟显示的方法及存储介质
CN114884990A (zh) * 2022-05-06 2022-08-09 亿咖通(湖北)技术有限公司 一种基于虚拟屏的投屏方法和设备
WO2024000487A1 (zh) * 2022-06-30 2024-01-04 京东方科技集团股份有限公司 用于投屏的终端、系统及方法、存储介质、电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959796A (zh) * 2017-03-22 2017-07-18 广东小天才科技有限公司 移动终端屏幕显示方法及装置
CN110248022A (zh) * 2019-06-06 2019-09-17 武汉卡比特信息有限公司 一种基于手机互联的三方应用的投屏方法
WO2019190024A1 (en) * 2018-03-26 2019-10-03 Samsung Electronics Co., Ltd. Mobile electronic device and method for forwarding user input to application according to input means
CN110677831A (zh) * 2019-09-18 2020-01-10 武汉卡比特信息有限公司 一种基于互联技术的视频投射方法
CN110708086A (zh) * 2019-08-26 2020-01-17 华为技术有限公司 一种分屏显示方法与电子设备
CN110995923A (zh) * 2019-11-22 2020-04-10 维沃移动通信(杭州)有限公司 一种投屏控制方法及电子设备
CN111506231A (zh) * 2020-04-14 2020-08-07 维沃移动通信有限公司 一种显示方法及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102332934B1 (ko) * 2014-12-10 2021-11-30 삼성전자주식회사 다른 전자 장치와 연결되는 전자 장치 및 그 제어 방법
CN107589994B (zh) * 2017-08-16 2020-12-01 深圳市爱培科技术股份有限公司 应用进程优先级管理的方法、设备、系统及存储介质
CN111240626A (zh) * 2020-01-09 2020-06-05 中瓴智行(成都)科技有限公司 一种基于Hypervisor智能座舱操作系统双屏互动的方法和系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959796A (zh) * 2017-03-22 2017-07-18 广东小天才科技有限公司 移动终端屏幕显示方法及装置
WO2019190024A1 (en) * 2018-03-26 2019-10-03 Samsung Electronics Co., Ltd. Mobile electronic device and method for forwarding user input to application according to input means
CN110248022A (zh) * 2019-06-06 2019-09-17 武汉卡比特信息有限公司 一种基于手机互联的三方应用的投屏方法
CN110708086A (zh) * 2019-08-26 2020-01-17 华为技术有限公司 一种分屏显示方法与电子设备
CN110677831A (zh) * 2019-09-18 2020-01-10 武汉卡比特信息有限公司 一种基于互联技术的视频投射方法
CN110995923A (zh) * 2019-11-22 2020-04-10 维沃移动通信(杭州)有限公司 一种投屏控制方法及电子设备
CN111506231A (zh) * 2020-04-14 2020-08-07 维沃移动通信有限公司 一种显示方法及电子设备

Also Published As

Publication number Publication date
CN112202967A (zh) 2021-01-08

Similar Documents

Publication Publication Date Title
CN112202967B (zh) 基于手机互联的分屏显示方法
CN103778082B (zh) 将用户界面推到远程设备
KR101794378B1 (ko) 전화기의 원격 제어
WO2020244266A1 (zh) 智能电视的远程控制方法、移动终端和智能电视
US9471207B2 (en) Pushing a user interface to a remote device that controls multiple displays
US20100293462A1 (en) Pushing a user interface to a remote device
CN103036968A (zh) 一种通过车载主机显示并控制智能手机的方法及系统
CN203135997U (zh) 一种带有智能手机接入功能的车载信息娱乐系统
CN103634682A (zh) 智能电视中的全局设置实现方法及装置
WO2014198189A1 (zh) 智能显示遥控器和飞行控制系统
CN111629259A (zh) 图像质量调节方法及显示设备
CN111277891B (zh) 一种节目录制提示方法及显示设备
CN112954648A (zh) 一种移动终端和车载终端的交互方法、终端以及系统
CN103269445A (zh) 智能电视系统及其控制方法
CN112565740A (zh) 故障诊断方法、终端设备及显示设备
CN111654743A (zh) 音频播放方法及显示设备
CN114579218A (zh) 一种车机导航方法、计算机可读存储介质和装置
CN112214190A (zh) 显示设备资源播放方法及显示设备
CN114900386A (zh) 一种终端设备及数据接力方法
CN113490060A (zh) 一种显示设备及确定常用联系人的方法
CN111562887B (zh) 显示设备和分区扩容方法
CN113053380B (zh) 服务器及语音识别方法
JP6325231B2 (ja) 情報表示システム、情報表示システムの制御方法およびプログラム
CN108172146B (zh) 一种互动展板及其方法
CN116456156A (zh) 一种控制应用执行操作的方法及显示设备

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
TR01 Transfer of patent right

Effective date of registration: 20220530

Address after: 430000 room 1201-3, room 01, 12 / F, building D7, group 2, phase III, Wuhan Software New Town, No. 8, Huacheng Avenue, East Lake New Technology Development Zone, Wuhan, Hubei

Patentee after: Wuhan yunpiansong Technology Co.,Ltd.

Address before: 430076 4th floor, building B4, phase 1.1, Wuhan Software New Town, No.9 Huacheng Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: WUHAN CARBIT INFORMATION Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Split screen display method based on mobile phone interconnection

Effective date of registration: 20230222

Granted publication date: 20210803

Pledgee: Wuhan area branch of Hubei pilot free trade zone of Bank of China Ltd.

Pledgor: Wuhan yunpiansong Technology Co.,Ltd.

Registration number: Y2023420000065

PE01 Entry into force of the registration of the contract for pledge of patent right