CN111782316A - Low-power-consumption screen projection method for mobile phone and computer terminal - Google Patents

Low-power-consumption screen projection method for mobile phone and computer terminal Download PDF

Info

Publication number
CN111782316A
CN111782316A CN202010528351.5A CN202010528351A CN111782316A CN 111782316 A CN111782316 A CN 111782316A CN 202010528351 A CN202010528351 A CN 202010528351A CN 111782316 A CN111782316 A CN 111782316A
Authority
CN
China
Prior art keywords
computer terminal
mobile phone
navigation
floating window
resolution
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.)
Pending
Application number
CN202010528351.5A
Other languages
Chinese (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 Carbit Information 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 CN202010528351.5A priority Critical patent/CN111782316A/en
Publication of CN111782316A publication Critical patent/CN111782316A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Navigation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A low-power-consumption screen projection method for mobile phone and computer terminals comprises the following steps: s100, establishing an interconnection channel between a mobile phone and a computer terminal; s200, acquiring the resolution of a display screen of the computer terminal; the computer terminal transmits the resolution information of the display screen to the mobile phone through the interconnection channel; s300, creating a navigation floating window on the mobile phone; according to the resolution of the display screen of the computer terminal, a floating window which is in equal proportion to the resolution of the display screen of the computer terminal is created, and the floating window is activated; s400, opening a navigation APP, and displaying a navigation page in a navigation floating window; s500, projecting the navigation floating window page to a computer terminal for display; and coding the display picture in the navigation floating window into a video stream, transmitting the video stream to a computer terminal through an interconnection channel, and decoding the video stream by the computer terminal and displaying the video stream on a display screen of the computer terminal. The invention realizes low-resolution transmission, has low transmission frame number, effectively reduces power consumption, improves transmission efficiency and has high transmission timeliness.

Description

Low-power-consumption screen projection method for mobile phone and computer terminal
Technical Field
The invention relates to the technical field of mobile phone interconnection, in particular to a low-power-consumption screen projection method for a mobile phone and a computer terminal.
Background
With the development of the internet of vehicles industry, mobile phone interconnection is becoming a low-cost and efficient solution for internet of vehicles, wherein the scheme of mobile phone screen mapping is most widely applied. The screen mapping refers to a technology of projecting the screen content of the mobile phone to a vehicle-mounted navigator screen so as to display the functions running on the mobile phone screen on the vehicle-mounted navigator screen.
The mobile phone interconnection in a picture projection mode is adopted, the most resource consuming transaction on the mobile phone is screen capture, screen capture is carried out in a full-screen mode of the mobile phone, only 10 frames of pictures can be captured per second on the mobile phone with larger resolution, and the mobile phone has serious heat generation, low frame rate and high power consumption.
Disclosure of Invention
The invention aims to provide a low-power-consumption screen projection method for mobile phone and computer terminals, which comprises the following steps:
s100, establishing an interconnection channel between a mobile phone and a computer terminal;
s200, obtaining the resolution of the display screen of the computer terminal
The computer terminal transmits the resolution information of the display screen to the mobile phone through the interconnection channel;
s300 navigation floating window established on mobile phone
According to the resolution of the display screen of the computer terminal, a floating window which is in equal proportion to the resolution of the display screen of the computer terminal is created, and the floating window is activated;
s400, opening a navigation APP, and displaying a navigation page in a navigation floating window;
s500 navigation floating window page screen projection to computer terminal display
And coding the display picture in the navigation floating window into a video stream, transmitting the video stream to a computer terminal through an interconnection channel, and decoding the video stream by the computer terminal and displaying the video stream on a display screen of the computer terminal.
Further, the step S300 includes the steps of: s310, determining the size of a navigation floating window; s320, creating a navigation floating window; an API (Application Program Interface) is used in the android system to call a CreateVirtualDisplay Interface to create a floating window; the navigation floating window is created in the IOS system by using an API call [ [ UIWindow alloc ] initWithFrame [ [ UIScreen mainScreen ]. bound ] interface.
Further, the step S310 determines the size of the navigation floating window, specifically: when the screen resolution of the computer terminal is less than or equal to the resolution of the mobile phone, the size of the navigation floating window is equal to the screen resolution of the computer terminal; when the screen resolution of the computer terminal is greater than the resolution of the mobile phone, the screen resolution of the computer terminal is reduced in an equal ratio until one side is equal to the resolution of the mobile phone and the other side is less than or equal to the resolution of the mobile phone.
Further, the navigation floating window can be hidden after being activated.
Further, the navigation floating window can be dragged to move on a mobile phone screen along with fingers.
Further, step S600 of displaying prompt information by the vehicle-mounted HUD is further included, and the method specifically comprises the following steps: b, opening a navigation APP, and transmitting the navigation instruction to the HUD by the mobile phone; and C, the HUD receives the navigation instruction, finds the prompt icon corresponding to the current navigation instruction according to the navigation instruction-prompt icon corresponding table, and displays the corresponding prompt icon.
Further, in the step B, when the navigation instruction of the mobile phone changes, the mobile phone transmits the navigation instruction to the HUD.
Further, before the step B, the method further comprises a step D of: creating prompt floating window, and creating prompt floating window in the area outside the navigation floating window
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a flow chart of the vehicle HUD displaying prompt information in accordance with the present invention.
Detailed Description
The invention provides a low-power-consumption screen projection method for a mobile phone and a computer terminal, wherein an interface of a navigation floating window is transmitted to a vehicle end through an interconnection channel for display, so that low-resolution transmission is realized, the number of transmission frames is low, the power consumption is effectively reduced, the transmission efficiency is improved, and the transmission timeliness is high. The invention is described in further detail below with reference to the following figures and specific examples:
referring to fig. 1, a low-power-consumption screen projection method for a mobile phone and a computer terminal includes the following steps:
s100, establishing an interconnection channel between the mobile phone and the computer terminal
The interconnection connection mode is USB, Wifi or Bluetooth (BT).
S200, obtaining the resolution of the display screen of the computer terminal
The computer terminal transmits the resolution information of the display screen to the mobile phone through the interconnection channel; for example: the common resolution of the computer terminal is as follows: 1280*720, 1024*600, 1920*720, 720*1280.
S300 navigation floating window established on mobile phone
And according to the resolution of the display screen of the computer terminal, creating a floating window in equal proportion to the resolution of the display screen of the computer terminal, and activating the floating window.
S400, opening a navigation APP, and displaying a navigation page in a navigation floating window
Creating a view MapView of the navigation map by using an SDK (Software Development Kit) component, wherein the view size is a floating window size;
s400, opening a navigation APP, and displaying a navigation view in a navigation floating window
Creating a navigation view using an SDK (Software Development Kit) component, the navigation view size being equal to the floating window size;
and calling an addSubView interface to add the navigation view into the floating window.
S500 navigation floating window page screen projection to computer terminal display
And coding the display picture in the navigation floating window into a video stream, transmitting the video stream to a computer terminal through an interconnection channel, and decoding the video stream by the computer terminal and displaying the video stream on a display screen of the computer terminal.
The specific step S300 includes the following steps:
s310, determining the size of a navigation floating window;
s320, creating a navigation floating window;
the android system calls a createvirtualDisplay Interface to create a navigation floating window by using an API (Application Program Interface) to create the navigation floating window. The navigation floating window is created in the IOS system by using an API call [ [ UIWindow alloc ] initWithFrame [ [ UIScreen mainScreen ]. bound ] interface.
S330 activating navigation floating window
And activating the navigation floating window so that the navigation floating window can be displayed on the screen of the mobile phone.
The iOS system activates the navigation floating window through a window makeKeyAndVisable method, and the android system activates the navigation floating window through an add.
In order to reduce the number of transmission frames between the mobile phone and the computer and reduce power consumption, the calculation formula for determining the size of the navigation floating window in S310 is specifically:
when the resolution of the mobile phone is larger than or equal to the resolution of the car machine, the size of the navigation floating window is equal to the resolution of the computer terminal:
virtualWidth= carWidth;virtualHeight= carHeight;
when the resolution of the mobile phone is smaller than that of the vehicle machine, the resolution of the vehicle machine is reduced in an equal ratio until one side is equal to the resolution of the mobile phone and the other side is smaller than or equal to the resolution of the mobile phone, so that the resolution of the window can be fully paved in an equal ratio within the range of the resolution of the mobile phone. Specifically, the size of the navigation floating window is calculated according to the following formula:
virtualWith= phoneWidth;
virtualHeight= phoneWidth * (carHeight / carWidth)。
or:
virtualHeight= phoneHeight;
virtualWith= phoneHeight*(carWidth / carHeight)。
wherein, phoneWidth is the width of the mobile phone screen; phonehight is the height of the mobile phone screen;
the card width is the width of a computer terminal screen; carHeight is the height of a screen of the computer terminal; virtualWidth is the width of the navigation floating window; virtualHeight is the navigation floating window height.
In order to facilitate the display of a mobile phone screen, the navigation floating window can be hidden as required so as to achieve the purpose that the display contents of the mobile phone and a car machine are not interfered with each other, the iOS system calls an [ appphase.
In order to facilitate the display of the mobile phone screen, the navigation floating window can move according to the sliding of the fingers and can be suspended at any position of the mobile phone screen, and the screen projection content of the car screen is unchanged in the moving process. The method for moving the navigation floating window specifically comprises the following steps:
monitoring a touch event in a navigation floating window to obtain a movement vector M (delta x, delta y) of a finger on a mobile phone screen; the initial coordinate of the navigation floating window is origin { x0, y0 }, the coordinate of the navigation floating window is modified in real time according to the movement vector, the coordinate of the navigation floating window after movement is origin { x0+ delta x, y0+ delta y }, and the navigation floating window can be dragged to move on a mobile phone screen along with fingers.
The HUD (Head Up Display Head-Up Display) can see Display information without lowering the Head of a driver, improves driving safety, and is increasingly widely used in the field of automobiles. And when a navigation interface is displayed on a display screen of the computer terminal, the vehicle-mounted HUD displays prompt information.
As shown in fig. 2, as an embodiment of the present invention, displaying a prompt message on a vehicle-mounted HUD specifically includes the following steps:
HUD creates a navigation instruction-prompt icon correspondence table
For example: 01-straight going; 02, turning left; 03-turning to the right; 04 turning around; 05-next crossing.
B. Opening a navigation APP, and transmitting a navigation instruction to the HUD by the mobile phone;
HUD receives navigation instruction and displays corresponding prompt icon
And the HUD receives the navigation instruction, finds the prompt icon corresponding to the current navigation instruction according to the navigation instruction-prompt icon corresponding table, and displays the corresponding prompt icon.
Further, in the step B, when the navigation command of the mobile phone changes, the mobile phone transmits the navigation command to the HUD. That is, the HUD displays the prompt icon only when the navigation prompt of the front side changes.
Further, before the step B, the method further comprises the step D of: and creating a prompt floating window.
An API (Application Program Interface) is used in the android system to call a CreateVirtualDisplay Interface to create a prompt floating window. The navigation floating window is created in the IOS system by using an API call [ [ UIWindow alloc ] initWithFrame [ [ UIScreen mainScreen ]. bound ] interface.
When the navigation floating window is created, under the condition that the navigation floating window is smaller than the mobile phone screen, other areas of the mobile phone screen can display more information in a matched mode. Such as: the navigation floating window displays the navigation map, and meanwhile, the prompt floating window of the navigation HUD prompt information can be established in other areas, so that the aim of displaying information complementation is fulfilled. And creating a prompt floating window in the area outside the navigation floating window, and determining the size of the prompt floating window by combining the residual area outside the current navigation floating window on the mobile phone.
In order to facilitate the display of a mobile phone screen, the guidance prompt window can be hidden as required so as to achieve the purpose that the display contents of the mobile phone and the car machine are not interfered with each other, the iOS system calls an [ appphase.
In the self-adaptive interconnection screen projection method for the mobile phone and the computer terminal, the interface of the navigation floating window is transmitted to the end of the vehicle through the interconnection channel to be displayed, so that low-resolution transmission is realized, the transmission frame number is low, the power consumption is effectively reduced, the transmission efficiency is improved, and the transmission timeliness is high. Simultaneously, the prompt information is transmitted to the HUD through the interconnection channel to be displayed, the driving safety is improved, the prompt information is displayed in time, and the time difference cannot be generated. The scheme clearly distinguishes that the interface displayed on the terminal is not displayed on the mobile phone, and the interface displayed on the mobile phone is not projected to the terminal for display, so that the design and the implementation are greatly facilitated. The driving safety is also improved.

Claims (8)

1. A low-power-consumption screen projection method for a mobile phone and a computer terminal is characterized by comprising the following steps:
s100, establishing an interconnection channel between a mobile phone and a computer terminal;
s200, obtaining the resolution of the display screen of the computer terminal
The computer terminal transmits the resolution information of the display screen to the mobile phone through the interconnection channel;
s300 navigation floating window established on mobile phone
According to the resolution of the display screen of the computer terminal, a floating window which is in equal proportion to the resolution of the display screen of the computer terminal is created, and the floating window is activated;
s400, opening a navigation APP, and displaying a navigation page in a navigation floating window;
s500 navigation floating window page screen projection to computer terminal display
And coding the display picture in the navigation floating window into a video stream, transmitting the video stream to a computer terminal through an interconnection channel, and decoding the video stream by the computer terminal and displaying the video stream on a display screen of the computer terminal.
2. The low-power-consumption screen projection method for the mobile phone and the computer terminal according to claim 1, characterized in that: the step S300 includes the steps of:
s310, determining the size of a navigation floating window;
s320, creating a navigation floating window;
an API (Application Program Interface) is used in the android system to call a CreateVirtualDisplay Interface to create a floating window; the navigation floating window is created in the IOS system by using an API call [ [ UIWindow alloc ] initWithFrame [ [ UIScreen mainScreen ]. bound ] interface.
3. The low-power-consumption screen projection method for the mobile phone and the computer terminal according to claim 2, characterized in that: step S310 determines the size of the navigation floating window, specifically:
when the screen resolution of the computer terminal is less than or equal to the resolution of the mobile phone, the size of the navigation floating window is equal to the screen resolution of the computer terminal;
when the screen resolution of the computer terminal is greater than the resolution of the mobile phone, the screen resolution of the computer terminal is reduced in an equal ratio until one side is equal to the resolution of the mobile phone and the other side is less than or equal to the resolution of the mobile phone.
4. The low-power-consumption screen projection method for the mobile phone and the computer terminal according to claim 1, characterized in that: the navigation floating window can be hidden after being activated.
5. The low-power-consumption screen projection method for the mobile phone and the computer terminal according to claim 1, characterized in that: the navigation floating window can be dragged to move on a mobile phone screen along with fingers.
6. The low-power-consumption screen projection method for the mobile phone and the computer terminal according to claim 1, further comprising a step S600 of displaying prompt information by the vehicle-mounted HUD, specifically comprising the following steps:
HUD creates a navigation instruction-prompt icon corresponding table;
B. opening a navigation APP, and transmitting a navigation instruction to the HUD by the mobile phone;
and C, the HUD receives the navigation instruction, finds the prompt icon corresponding to the current navigation instruction according to the navigation instruction-prompt icon corresponding table, and displays the corresponding prompt icon.
7. The low-power-consumption screen projection method for the mobile phone and the computer terminal as claimed in claim 6, wherein in the step B, when the navigation command of the mobile phone changes, the mobile phone transmits the navigation command to the HUD.
8. The low-power-consumption screen projection method for the mobile phone and the computer terminal according to claim 6, wherein the method comprises the following steps: the step B also comprises a step D before: and creating a prompt floating window, and creating the prompt floating window in the area outside the navigation floating window.
CN202010528351.5A 2020-06-11 2020-06-11 Low-power-consumption screen projection method for mobile phone and computer terminal Pending CN111782316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010528351.5A CN111782316A (en) 2020-06-11 2020-06-11 Low-power-consumption screen projection method for mobile phone and computer terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010528351.5A CN111782316A (en) 2020-06-11 2020-06-11 Low-power-consumption screen projection method for mobile phone and computer terminal

Publications (1)

Publication Number Publication Date
CN111782316A true CN111782316A (en) 2020-10-16

Family

ID=72757561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010528351.5A Pending CN111782316A (en) 2020-06-11 2020-06-11 Low-power-consumption screen projection method for mobile phone and computer terminal

Country Status (1)

Country Link
CN (1) CN111782316A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105675008A (en) * 2016-01-08 2016-06-15 北京乐驾科技有限公司 Navigation display method and system
CN110286864A (en) * 2019-05-15 2019-09-27 武汉卡比特信息有限公司 A kind of mobile phone and computer terminal, which adaptively interconnect, throws screen method
CN111182346A (en) * 2020-01-16 2020-05-19 武汉卡比特信息有限公司 Combined split screen projection method of mobile terminal and computer terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105675008A (en) * 2016-01-08 2016-06-15 北京乐驾科技有限公司 Navigation display method and system
CN110286864A (en) * 2019-05-15 2019-09-27 武汉卡比特信息有限公司 A kind of mobile phone and computer terminal, which adaptively interconnect, throws screen method
CN111182346A (en) * 2020-01-16 2020-05-19 武汉卡比特信息有限公司 Combined split screen projection method of mobile terminal and computer terminal

Similar Documents

Publication Publication Date Title
CN110286864A (en) A kind of mobile phone and computer terminal, which adaptively interconnect, throws screen method
CN109388467B (en) Map information display method, map information display device, computer equipment and storage medium
US9589533B2 (en) Mobile electronic device integration with in-vehicle information systems
CN103443585B (en) Vehicle fitting and external device screen display system
CN111182346A (en) Combined split screen projection method of mobile terminal and computer terminal
CN102780778A (en) Method for mutual control of vehicle-mounted intelligent system and intelligent terminal
WO2013183765A1 (en) Display device
CN203135997U (en) Vehicle information entertainment system having smartphone connecting function
US20120253597A1 (en) Information display system, on-board device, and portable device
CN114175630A (en) Methods, systems, and media for rendering immersive video content using a point of gaze grid
CN112118558A (en) Vehicle screen display method, vehicle and computer readable storage medium
JP2018042236A (en) Information processing apparatus, information processing method, and program
CN111782316A (en) Low-power-consumption screen projection method for mobile phone and computer terminal
CN111752508A (en) Mobile terminal, method for projecting multiple vehicle-mounted screens by mobile terminal and vehicle-mounted projection system
CN113778310A (en) Cross-device control method and computer program product
CN109829854B (en) Screen capture splicing and projection method based on iOS mobile terminal
US20230393801A1 (en) Synchronized rendering
JP6147357B2 (en) Display control apparatus and display control method
WO2023020891A1 (en) Content display method, device, apparatus, medium and vehicle
CN103645842A (en) Method for identifying transverse and longitudinal screens of intelligent terminal and vehicle-mounted terminal
CN109976841A (en) The display methods and intelligent terminal of navigational guidance information
CN109857309B (en) Screen capture projection method based on iOS mobile terminal
CN115472139B (en) Picture self-adaptive display method, system and storage medium of rotatable display
CN117215513A (en) Suspended window screen projection system and method
CN110333835B (en) Vehicle-mounted data image display method, system, electronic equipment and computer readable medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201016

RJ01 Rejection of invention patent application after publication