CN114579217A - Content definable screen projection equipment and method and computer readable storage medium - Google Patents
Content definable screen projection equipment and method and computer readable storage medium Download PDFInfo
- Publication number
- CN114579217A CN114579217A CN202011376880.4A CN202011376880A CN114579217A CN 114579217 A CN114579217 A CN 114579217A CN 202011376880 A CN202011376880 A CN 202011376880A CN 114579217 A CN114579217 A CN 114579217A
- Authority
- CN
- China
- Prior art keywords
- screen projection
- interface
- control
- user
- app
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
- G06F3/04817—Interaction 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 using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a screen projection device with definable content, which is based on an android system and comprises a touch screen, a processor and a memory; the processor controls the touch screen to execute the following operations according to the instruction: when a user operates a screen projection main control, displaying a preset first interface to the user, wherein the first interface comprises a screen projection control; entering a screen projection display interface after a user operates the screen projection control, wherein the screen projection display interface adopts an android viewPager control as a container of page layout; the method comprises the steps that an adding control is included, and a user returns to a screen projection display interface after operating the adding control to select a target APP; when a user operates a target APP on a screen display interface, the APP is operated. The invention also provides a screen projection method with definable content and a computer readable storage medium, which realizes that a user selects an interested APP for screen projection, is beneficial to improving the user experience, and has flexible operation and more individuation.
Description
Technical Field
The invention belongs to the technical field of screen projection, and particularly relates to screen projection equipment with definable content in screen projection technology, a related computer readable storage medium and a screen projection method.
Background
With the increasing development of the internet and the popularization of mobile terminals such as mobile phones and intelligent tablets, the mobile terminals can more conveniently obtain rich internet information resources and a large amount of data information due to the portability and the diversity of internet connection modes; in addition, the mobile terminal is attractive in interface and convenient to operate based on the characteristics of an operating system of the mobile terminal, and for example, the interface impression and the user experience of operation of an android mobile phone are quite excellent at present. However, the display screen of the conventional mobile terminal is often small and not easy to be fixed at a certain place for use, and in many specific use scenes, people often need to display or operate the acquired internet content and the acquired content on a fixed larger screen or have a requirement of sharing the display content. For example, in vehicle applications, it is a very common and practical requirement to project navigation and incoming call answering control of a mobile phone to a fixed vehicle. The vehicle-mounted machine is a vehicle-mounted infotainment product installed in an automobile, and the vehicle-mounted machine can realize information communication between people and the automobile and between the automobile and the outside (automobile and automobile) in terms of functions. In the aspect of screen projection of a vehicle machine, the UI interface of the vehicle machine is made by each automobile manufacturer, the interactive design level of most interfaces is not high, and a user cannot select an interested APP for installation. For the vehicle-mounted system for transplanting the android system, although the interface is as friendly as that of an android mobile phone, the expenses for transplanting the android system and developing android applications are not small. If the APP that the mobile phone user wants to use on the vehicle machine is projected to the vehicle machine for use, the development cost of the vehicle-mounted system is reduced. In the application of vehicle-mounted projection, besides the carplay of the iOS system, the android system-based system has better domestic universality, and more carpifes are used. Apple carplay and hectic carpife are interfaces which are customized to be projected to a vehicle machine after being opened.
However, in an actual screen projection application, a user often needs to be able to define screen projection contents on a screen projection device and autonomously select which APPs need to be used for screen projection, but the screen projection contents provided by the screen projection device in the prior art are not definable and only can be used for screen projection. For example, the existing apple carplay and hectic carpife screen projection interfaces and contents are customized, the usable APPs are also specific, and the user cannot add the favorite APPs to the screen projection interfaces. For example, the user is used to the high-grade navigation, but the carefe screen projection only supports a Baidu customized Baidu map; and the background picture displayed by the projection screen cannot be set and changed. These have greatly influenced user's experience, are unfavorable for throwing the further popularization of screen technique.
Disclosure of Invention
The present invention has been made in view of all or part of the above problems of the prior art, and it is an object of the present invention to provide a content definable screen projection apparatus, a screen projection method, and a computer readable storage medium. The screen projection technology can be used in an android system environment, a user can define screen projection contents and autonomously select an APP to be used for screen projection.
The term "screen projection" in the present application refers to transmitting screen data of one electronic device to another electronic device for display. For convenience of description, one electronic device in this application is referred to as a screen projection device. Another electronic device mainly refers to an electronic device such as a television, a car center console (car machine), and the like, which needs to receive a screen projection, and is hereinafter referred to as a target device. The screen projection function can be provided by the system or an application, and the screen projection function is called as a screen projection main control provided in the application. The screen projection display interface is an interface which is required by the screen projection equipment or is actually displayed on the target equipment. All explanations and definitions of the terms and related principles of the technology referred to in this application are intended to be illustrative and not restrictive.
On one hand, the content definable screen projection equipment provided by the invention is based on an android system and comprises a touch screen, a processor and a memory; the touch screen is used for receiving input operation and displaying an interface; the memory is used for storing programs and/or data; the processor controls the touch screen to execute the following operations according to the instruction: displaying a screen projection main control on the touch screen, wherein the screen projection main control is used for realizing a screen projection function; when a user operates a screen projection main control, displaying a preset first interface to the user, wherein the first interface comprises a screen projection control; when a user operates the screen projection control and then enters a screen projection display interface, the screen projection display interface adopts an android viewPager control as a container of page layout; the content of the screen projection display interface is subjected to screen projection display; the screen projection display interface comprises an adding control, and when a user operates the adding control to enter a second interface, the second interface comprises an APP option area; displaying an APP control which can be displayed and used by a screen projection in the APP option area; when the user operates the APP control to select an APP needing screen projection display and use, namely a target APP, and then returns to the screen projection display interface; when a user operates a target APP on a screen display interface, the APP is operated.
The content definable screen projection equipment can enable a user to select an APP to be used in a screen projection mode to be added to a screen projection display interface of the layout of the viewPager control during screen projection, and a virtual display interface does not need to be set by considering information of the display interface of the target equipment. The screen projection equipment is in communication connection with the target equipment, a screen projection display interface of the screen projection equipment projects a screen to the target equipment to share display content, and the user operates the APP selected by the user, namely the target APP can use the APP on the target equipment.
In a specific embodiment, the first interface further comprises a setting control; when the user operates the setting control, the processor executes the following operations according to the instruction: and displaying a preset third interface to the user, wherein the third interface comprises a connection mode option area, and the connection mode option area displays at least one preset connection mode for the user to set the connection mode of the screen projection equipment and the target equipment.
In a preferred embodiment, the connection mode includes a USB connection mode, a WIFI connection mode, and a WIFI loopback connection mode; the WIFI connection mode is that only the screen projection display interface is projected to the target equipment through the WIFI to be displayed, and a user cannot operate and control the screen projection equipment on the target equipment; the WIFI connection mode is formed by adding a function of controlling the screen projection device on the target device on the basis of the WIFI connection mode.
In a particularly preferred embodiment, after the user operates the screen projection control, the processor performs the following operations according to the instruction: and judging the connection mode set by the current user, and finishing the communication connection between the screen projection equipment and the target equipment according to different connection modes.
Optionally, before determining the connection mode set by the current user, the processor is further configured to: acquiring android system version information of the screen projection equipment; judging whether the version of the android system is more than 5.0, and returning to the first interface if the version is less than 5.0; and if the version is above 5.0, continuing to judge the connection mode set by the current user.
In one possible embodiment, the first interface further comprises a setup control; after the user operates the setting control, the processor executes the following operations according to the instruction: displaying a preset third interface to a user, wherein a bit rate value setting area is displayed on the third interface and used for inputting a bit rate value preset by the user; and returning to the first interface after setting the completion bit rate value.
In a preferred embodiment, when no bit rate value is input by the user, the processor is further configured to: a predetermined bit rate value is set by default.
In another embodiment, the first interface further comprises a wallpaper change control; when the user operates the wallpaper replacing control, the processor executes the following operations according to the instruction: displaying a preset fourth interface to the user; and returning to the first interface after the user sets the background picture of the screen projection display interface on the fourth interface. By setting the background picture of the projection screen display interface, the user can select the favorite picture to use the background of the projection screen display interface, so that the projection screen display interface is more attractive, and more individuation is beneficial to improving the user experience.
In an advantageous embodiment, when the user operates the add control to enter the second interface, the processor is further configured to perform the operations of: and displaying a search control on a second interface, wherein the search control is used for searching the target APP in all APPs which can be displayed and used by the screen projection by a user.
In another advantageous embodiment, the APP control displayed in the APP option area includes APP icons and a checkbox corresponding to each APP icon; and when the user clicks the APP icon, the processor executes operation according to the instruction to realize the selection of the target APP.
Preferably, the processor is further configured to perform an operation to display the checkmark bar in different preset colors according to whether the APP control is selected.
In a preferred embodiment, when the user clicks the APP icon again, the processor is further configured to perform operations according to the instruction: and canceling the selected operation.
In a very good embodiment, the screen projection device is an android mobile phone or an android smart tablet.
The invention provides a screen projection method with definable content, which comprises the following steps that S1, a screen projection main control is operated to display a preset first interface for a user, wherein the first interface comprises a screen projection control; s2, operating a screen projection control, entering a screen projection display interface, wherein the screen projection display interface adopts an android viewPager control as a container for page layout; the content of the screen projection display interface is projected and displayed on target equipment; s3, the screen projection display interface comprises an adding control, the adding control is operated to enter a second interface, and the second interface comprises an APP option area; displaying APP controls which can be displayed and used by a screen projection in the APP option area; and S4, the user operates the APP control to select the APP needing screen projection display and use, namely the target APP, and then returns to the screen projection display interface.
In an advantageous embodiment, the first interface further comprises a setting control; before step S2, the setting control is operated to enter a third interface, where the third interface includes a connection mode option area, and the connection mode option area displays at least one preset connection mode for a user to set a connection mode between the screen projection device and the target device.
In yet another advantageous embodiment, the first interface further comprises a setup control; before step S2, after the setting control is executed, entering a third interface, where the third interface includes a bit rate value setting area for inputting a bit rate value preset by a user; and returning to the first interface after setting the completion bit rate value.
In another possible embodiment, the first interface further comprises a change wallpaper control; before step S2, the wallpaper change control is operated to enter a fourth interface, and a user sets a background picture of a screen projection display interface on the fourth interface; and returning to the first interface after the setting is finished.
In a further aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when executed by a processor, implements the content definable screen projection method described above.
The invention has the following beneficial effects: (1) according to the content definable screen projection equipment, a screen projection display interface is designed by using a viewPager control, the screen projection display interface comprises an adding control, and a user can select an APP to be displayed and used by operating the adding control; the user can select a screen projection background picture according to the preference by replacing the wallpaper control, and the screen projection display picture can be as beautiful as the Home interface of the android system; the user can select the APP interested by the user to use the screen. The method is beneficial to improving the user experience, and is more flexible and personalized. (2) In the content definable screen projection method, a user adds an APP to be displayed and used to a screen projection display interface for use through an addition control; setting a connection mode of the screen projection equipment and the target equipment to automatically select the connection mode; selecting a background picture to define the background of a projection screen display interface; the process is simple, and the definition of the screen projection content is realized. (3) The computer-readable storage medium provided by the invention has corresponding advantages because the content definable screen projection method can be realized.
Drawings
Fig. 1 is a schematic view of a screen projection apparatus and a first interface according to a first embodiment of the invention.
Fig. 2a is a schematic diagram of a projection screen display interface and a display screen frame according to an embodiment of the invention.
Fig. 2b is a schematic diagram of a second interface according to a first embodiment of the invention.
Fig. 3 is a schematic diagram of a content definable screen projection process according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a third interface in the second embodiment of the invention.
Fig. 5 is a schematic view of a fourth interface in the second embodiment of the present invention.
Fig. 6 is a schematic process diagram of the screen projection setting according to the second embodiment of the present invention.
Fig. 7 is a schematic diagram of a specific process of establishing a connection according to a second embodiment of the present invention.
Detailed Description
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings. In the figures, parts of the same structure or function are denoted by the same reference numerals, and not all parts shown are denoted by the associated reference numerals in all figures for reasons of clarity of presentation.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise.
In the description of the embodiment of the present invention, the content definable screen projection device is described by taking an android mobile phone as an example, but not limited to, and the content definable screen projection device may also be other mobile terminals based on an android system, such as an android smart tablet, and is not limited to. The target device is described in the following embodiments by taking a car machine as an example, and the car machine may be a car-mounted central control touch display screen or a car machine which does not adopt touch control, such as a knob-controlled central control console. The screen projection device cannot be limited by the above, and can be a television, a smart tablet, and the like. In the following embodiments, the content definable screen projection device of the present invention is exemplified by an android phone because the android phone is popular in daily screen projection applications, which is convenient for understanding the present invention, but the scope of the present invention is not limited thereto. Conventionally, the android phone and the car machine can be connected through a USB cable, and in an embodiment, the USB interface is an interface conforming to a USB standard specification, for example, the USB interface may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like.
As is well known, the presentation form of the program Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. The interface may be comprised of visual interface elements such as icons, buttons, button groups, option areas, dialog boxes, prompt boxes, progress bars, and the like. These visual interface elements are also referred to as controls of the application interface.
In one embodiment, referring to fig. 1, the android phone 10 includes a memory 101, a processor 102, a touch screen 103, and a computer program stored in the memory and executable on the processor, where the computer program of the present invention is a screen projection APP in this embodiment and named ACarPlay. The operation and input of the user are received through the touch screen 103. The processor 102 controls the touch screen 103 to perform related operations according to the instruction of ACarPlay. The in-vehicle machine 20 includes a host 201 and a display 202. The host 201 includes a receiving module for receiving data; the storage module stores a screen projection service program of the vehicle-mounted machine; and a processing module to perform the operations. The android phone 10 is in communication connection with the car machine 20, and the content displayed by the touch screen 103 of the android phone 10 is displayed on the display screen 202.
With reference to fig. 1, fig. 2a, and fig. 2b in this embodiment, a preset screen-casting main control is displayed on the touch screen 103, and the processor 102 executes the following operations according to the instruction, as shown in fig. 3, step s1. when the user operates the screen-casting main control, ACarPlay is executed to display a preset first interface to the user, where the first interface includes the screen-casting control. In the present embodiment, the screen-casting control is a screen-casting button B1, in the embodiment, the screen-casting button B1 is named as "one-touch screen casting", and in the following description, "one-touch screen casting" refers to the screen-casting button B1. S2, entering a screen projection display interface Q after a user operates a screen projection button B1, wherein the screen projection display interface Q adopts an android viewPager control as a container for page layout; and displaying the content of the screen-projecting display interface Q on the display screen 202 of the vehicle machine in a screen projecting manner. Step s3, the screen projection display interface Q includes an addition control, in this embodiment, the addition control is an addition button B6, and when the user clicks the addition button B6, the user enters the second interface R. The second interface R comprises an APP option area G, and the APP option area G displays an APP control H which can be used for screen projection display. In this embodiment, the APP control H includes APP icons and a checkbox at the top right corner of each icon, and the APP1 and APP2 … … that have circles at the top right corner in fig. 2b indicate the APP control H. And S4, returning to the screen projection display interface Q after the user operates the APP control H to select the APP needing screen projection display and use, namely the target APP. And S5, when the user operates the target APP on the screen projection display interface, operating the APP. The interface content of the APP running is displayed on the touch screen 103 and the display screen 202 of the car machine 20 in a shared mode.
In this embodiment, the APP control H that APP option G shows that can be used for screen projection display includes navigation type APP controls, provides at least four APPs including the Tencent map, Baidu map, Gaode map and the big Dipper map for selection. This is a better embodiment, and actually there may be only 2 navigation applications for the user to select, and is not limited.
In this embodiment, when the APP option area G is operated to select, the processor 102 specifically executes the following operation, where when the user clicks the APP control H on the touch screen 103, the user clicks once to select the APP represented by the APP icon corresponding to the user. In some other embodiments, when the user clicks the selected APP control H again, the processor 102 performs the following operations according to the instruction: the selection operation is cancelled. This is a preferred embodiment and is not limited. For example, in some other embodiments, when the user double-clicks the APP control H, the processor 102 performs a selection operation according to the instruction; the user presses the APP control H for a long time and the processor 102 performs a deselection. In some embodiments, the processor 102 executes the selection operation after the user clicks the checkbox of the APP control H, which is not limited.
In this embodiment, the processor 102 further performs an operation to display different colors for the checkboxes of the unselected APP controls H and the checkboxes of the selected APP controls H to distinguish. Specifically, for example, after the APP control H is operated by the user, the processor 102 executes an operation to change the top right checkbox into blue or gray, the checkbox is blue to indicate selection, and gray to indicate non-selection, which is an example of this embodiment.
In this embodiment, as shown in fig. 2b, the second interface R further includes a search control, where the search control is a search instruction input area S, and is used for a user to input an instruction to search the target APP from all APPs that can be displayed and used by the screen.
The search instruction input area S comprises a search content input field and a search button, and when a user inputs content in the search content input field, the search button is operated to pop up an interface; if the search content exists, displaying the search content on the interface for the user to select, and adding the selected target APP to a screen-projection display interface Q. Specific search operations are common in the android system, and are not described herein again.
The first interface X in this embodiment further includes a setting control, which is a setting button B2, named "screen-in setting" in this embodiment, and the setting button B2 is referred to as "screen-in setting" in the following description; also in the first interface X is a change wallpaper control, in this embodiment a change wallpaper button B3, named "change wallpaper" and referred to herein below. It should be noted that there are some embodiments in which the wallpaper change button B3 or the wallpaper setting button B2 is not preset in the first interface X, and the embodiments including the wallpaper change button B3 and/or the wallpaper setting button B2 are only preferred embodiments, and the invention is not limited thereto.
In the second embodiment, unlike the first embodiment, before step S2, the user clicks the "screen shot setting" in the first interface X of the android phone 10 to enter the third interface Y, as shown in fig. 4. The third interface Y displays a preset connection mode option area M, a determination button N, and a bit rate value setting area K. The connection mode option area M and the determination button N are included, which is a better way to do in this embodiment and some embodiments, and in some embodiments, the connection mode option area M and the determination button N are not included.
In the present embodiment, before step S2, the user clicks the change wallpaper button B3, and the processor 102 further performs the operation of background setting according to the instruction. As shown in fig. 5, the fourth interface Z in the embodiment includes a use default background button B4 and a album removal selection button B5. The user clicks a default background button B4 to set the background of the projection screen display interface as a preset picture; the user clicks the album removing selection button B5, and then a picture can be selected from the album of the android phone 10 and set as the background of the screen-casting display interface, and the process of removing the album to select the picture is common in the operation of the android system, and is not further described here. There are also some embodiments in which the user performs the operation of the screen-projection setting before step S2. This is, of course, a good practice and there are some embodiments that do not have background selection or screen projection settings. Before step S2, the processor 102 may first perform background selection or screen projection setting according to the instruction, and is not limited.
In this embodiment, as shown in fig. 6, with reference to fig. 1 and 4, when the user clicks the setting button B2 "screen projection setting" of the first interface X, the user inputs the bit rate value in the bit rate value setting area K to complete setting of the bit rate, and then clicks the determination button N, the processor 102 saves the setting parameters, and then exits from the third interface Y. In this embodiment, the user inputs the bit rate value in the bit rate value setting area K to control the screen projection to the definition of the display screen 202 for displaying the picture, and particularly when using WIFI connection, the WIFI signal of the car machine 20 may be poor, and at this time, the bit rate value may be set to be a little lower, so that the fluency of the display of the car machine 20 can be ensured, and the low delay of the screen projection is realized. In a specific implementation, the setting of the BIT RATE value to change the definition to ensure smooth display is realized by specifically using the mediaformat, key _ BIT _ RATE, which is an interface parameter of the MediaCodec of the android phone, and changing the compression RATE of the MediaCodec encoding H264, thereby realizing the change of the definition.
In this embodiment, if the user does not input the bit rate value in the bit rate value setting region K, the processor 102 sets the bit rate value to 8M bps by default. User input is not required in this embodiment to accept the default bit rate value. The preset default bit rate value of 8M bps is only a better example of this embodiment, and is not limited, and in some embodiments, the preset bit rate value is 4M bps, and a default value of 10M bps is also preset, and the default value is preset according to the resolution of the screen projection device, the network connection environment, and other practical application scenarios.
In addition to setting the bit rate value in this embodiment, the user also selects the mode in the connection mode option area M; the user clicks on the ok button N after selecting, the processor 102 saves the setting parameters, and then exits the third interface Y. In this embodiment, the connection mode option area M displays three preset connection modes for the user to select, including a USB connection mode, a WIFI connection mode, and a WIFI fallback connection mode. Of course, this is only a better practice example of the present embodiment and is not limiting. In some embodiments, the connection mode option area M displays other connection modes for user selection, for example, in some embodiments, the connection mode option area M provides a bluetooth connection mode for selection. The WIFI connection mode in this embodiment means that only the touch screen 103 picture of the android phone 10 is projected onto the display screen 202 of the in-vehicle device through WIFI, and the user cannot operate and control the android phone 10 on the in-vehicle device 20; the WIFI connection mode is characterized in that a function of controlling the android mobile phone 10 on the car machine 20 is added on the basis of WIFI connection, the mobile phone needs to be connected with a USB line for activation operation after the connection mode is selected, and the USB line can be pulled out after the activation is successful.
A specific implementation of processor 102 when the user selects the WIFI fallback connection mode in connection mode option area M is illustrated in fig. 6. Firstly, judging whether a WIFI back control connection mode is selected, if so, popping up a dialog box prompting a user to deactivate, selecting whether to activate by the user, if not, returning to a third interface Y, and selecting other connection modes by the user. And if the user selects activation, judging whether the activation is performed or not, and if the activation is performed, clicking the determination button N to exit the third interface Y. If not, whether the USB line between the android mobile phone 10 and the car machine 20 is connected is judged, and because the USB line between the android mobile phone 10 and the car machine 20 is required to be connected in the activation process and the network is also required to be used, whether the network is connected is also judged. And when the conditions are met, entering an activation progress bar interface and sending a request for activating the vehicle-mounted machine back control operation to the vehicle-mounted machine screen throwing service program. And circularly detecting whether the activation is successful or not, directly returning to the third interface Y if the activation is successful, otherwise, returning to the third interface Y if the activation is failed after 15 seconds, and prompting the user that the activation is unsuccessful on the third interface Y, such as popping up a prompt box or other manners, without limitation. The timeout of 15 seconds is a better preset time in this embodiment, and in some embodiments, other preset times are also used, and the preset time is feasible according to different practical application situations.
In the embodiment, the user selects the WIFI connection mode for controlling back, and in some embodiments, no WIFI connection mode for controlling back is available, and activation is not involved; in some embodiments, the bit rate value is not settable.
In this embodiment, specifically, the connection establishment is completed after the user clicks the screen projection button B1, and the processor 102, according to the instruction, specifically, as shown in fig. 7 and with reference to fig. 1, after the user clicks the screen projection button B1 "one-click screen projection", first receives a message broadcasted by the car machine with a port number "8887" through a UDP socket, and obtains an IP address of the car machine and a port number for receiving H264 data. In this embodiment, a screen-casting service program of the car-mounted device is stored on the car-mounted device, and includes an "H264 data receiving service" module for receiving H264 data. This port number is the port number of the "H264 data reception service" module. And then establishing a TCP socket connection with the vehicle machine and having a port number of '8886' and sending a pairing connection request and a connection mode selected by a user. In a preferred practice of this embodiment, the processor 102 further determines whether the version of the system of the android phone 10 is above 5.0. Specifically, version information is obtained by reading an android.os.built.version.release field, so that whether the version of the android system is more than 5.0 is judged, because the interface mediaproject manager used for screen recording in the embodiment is added only in the 5.0 version, the current version of the android mobile terminal system is basically more than 5.0. In other embodiments, the interface of android, view, surface control may be called by using a reflection mechanism to record a screen, and there is no limitation to this version.
Next, the connection mode set by the current user is determined, and in this embodiment, the processor 102 first determines whether the connection mode is the WIFI connection mode or the WIFI connection mode. If not, judging whether the android mobile phone is connected with the USB. In this embodiment, the charging state and the charging mode of the android phone are acquired through the android battterymanager interface, so that whether the USB cable is connected or the charging is performed by using the power plug can be judged. If not connect USB then withdraw from, if connect the USB line, judge whether the USB debug switch of android mobile phone opens, if detect USB debug switch in this embodiment and do not open, pop out a prompt box, the user can select "look over and set up the suggestion", will show how to open USB debug switch in "system setting" on the touch-sensitive screen 103, can also directly select "go to open" and directly jump to "system setting" interface and go to set up. The process of guiding the user to set is common in android mobile phones and is not described any more. And after the USB debugging switch is opened, waiting for a message that the vehicle machine informs the USB connection mode of ready connection, and returning to the first interface X after 10 seconds of timeout or failure. The 10 seconds is a better preset time in the embodiment, and is not limited to this, and other times may be preset in other embodiments according to different practical situations. And jumping to a screen projection display interface if the message sent by the vehicle machine is successfully received. In a preferred implementation of this embodiment, the sub-thread is started to cyclically detect whether the USB connection is disconnected, and if the USB connection is disconnected, the screen projection display interface Q is exited, and the ACarPlay application home page, that is, the first interface X, is returned. This is a preferred approach and is not intended to limit other embodiments of the invention.
And then judging whether the connection mode is a WIFI connection mode or a WIFI loopback connection mode, if so, detecting whether the network of the android phone 10 is connected and whether the connected network is a mobile cellular network by the processor 102, and if so, directly exiting and returning to the first interface X due to large flow consumed by screen projection, and if the mobile cellular network is accessed. In this embodiment, a dialog box is popped up next to allow the user to select whether to allow the mobile phone to record the screen service, and only when the user allows the screen recording, the mediaproject interface can provide the screen recording service. After allowing the screen recording, the user starts the WIFI screen-casting service of the android phone 10, and mainly completes the starting of the sub-thread screen-casting service, in this embodiment, the phone screen-casting service program is named as "ACarPlayService", and hereinafter referred to as the phone screen-casting service program. Then initializing a screenEncoder, namely initializing a mediaCodec of an H264 encoder of a screen recording data stream; then starting mediaproject, calling an interface thereof to create virtual Display; and then, creating a TCP socket to connect an H264 data receiving service module of the vehicle screen projection service program, successfully connecting the TCP socket to inform the main thread that the WIFI screen projection service is successfully started, and jumping to a screen projection display interface. Otherwise, the main thread is notified that the WIFI screen projection service starting fails and the ACarPlayService sub-thread is ended, the main thread tries to start the WIFI screen projection service again, and in this embodiment, the screen projection is ended if the WIFI screen projection service starting fails for 3 times. Trying 3 times is an example of the present embodiment, and may be other preset times, and the present invention cannot be limited to 3 times. And after the TCP socket is successfully connected, the data of the ACarPlayService is circularly encoded into H264 frame data and is sent to the vehicle machine through a TCP network. Meanwhile, the ACCARPlayService monitors the WIFI network condition, and if the WIFI disconnection is monitored, screen projection is finished and the first interface X is returned. In this embodiment and above, the terms "H264", "TCP socket" and the like are commonly used terms in the technical field, and are not repeated for brevity and brevity.
For convenience of description, the present embodiment describes a connection mode including a USB connection mode, a WIFI connection mode, and a WIFI loopback connection mode as an example. In some embodiments, the connection modes are not three, may be other combinations, and are not limited by the description of the embodiment.
The above embodiments are preferred examples of the present invention and are not intended to limit the scope of the present invention. For purposes of clarity, numerous implementation details are set forth in the above description. It should be understood, however, that the details of these implementations should not be used to limit the invention. In addition, for simplicity of illustration, some structures and components are shown in the drawings in a simplified schematic form, which is merely illustrative and not intended to limit the design possibilities.
Technical solutions between various embodiments may be combined with each other, but must be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Claims (18)
1. A content definable screen projection device, characterized by: the screen projection equipment is based on an android system and comprises a touch screen, a processor and a memory; the touch screen is used for receiving input operation and displaying an interface; the memory is used for storing relevant programs and/or data; the processor controls the touch screen to execute the following operations according to the instruction:
displaying a screen projection main control on the touch screen, wherein the screen projection main control is used for realizing a screen projection function;
when a user operates a screen projection main control, displaying a preset first interface to the user, wherein the first interface comprises a screen projection control;
after a user operates the screen projection control, entering a screen projection display interface, wherein the screen projection display interface adopts an android viewPager control as a container of page layout; the content of the screen projection display interface is subjected to screen projection display;
the screen projection display interface comprises an adding control, when a user operates the adding control, the user enters a second interface, and the second interface comprises an APP option area; displaying an APP control which can be displayed and used by a screen projection in the APP option area; when the user operates the APP control to select the APP needing screen projection display and use, returning to a screen projection display interface, wherein the APP needing screen projection display and use is a target APP;
when a user operates a target APP on a screen display interface, the APP is operated.
2. A content definable screen projection device according to claim 1, wherein: the first interface further comprises a setting control; when the user operates the setting control, the processor executes the following operations according to the instruction: and displaying a preset third interface for the user, wherein the third interface comprises a connection mode option area, and the connection mode option area displays at least one preset connection mode for the user to set the connection mode of the screen projection equipment and the target equipment.
3. A content definable screen projection device according to claim 2, wherein: the connection mode comprises a USB connection mode, a WIFI connection mode and a WIFI loopback connection mode;
the WIFI connection mode is that only the screen projection display interface is projected to the target equipment through WIFI to be displayed, and a user cannot operate and control the screen projection equipment on the target equipment;
the WIFI connection mode is formed by adding a function of controlling the screen projection device on the target device on the basis of the WIFI connection mode.
4. A content definable screen projection device according to claim 2, wherein: after the user operates the screen projection control, the processor executes the following operations according to the instruction: and judging the connection mode set by the current user, and finishing the communication connection between the screen projection equipment and the target equipment according to different connection modes.
5. A content definable screen projection device according to claim 4, wherein: before determining the connection mode set by the current user, the processor is further configured to: acquiring android system version information of the screen projection equipment; judging whether the version of the android system is more than 5.0, and returning to the first interface if the version is less than 5.0; and if the version is above 5.0, continuing to judge the connection mode set by the current user.
6. A content definable screen projection device according to claim 1, wherein: the first interface further comprises a setting control; after the user operates the setting control, the processor executes the following operations according to the instruction: displaying a preset third interface to a user, wherein a bit rate value setting area is displayed on the third interface and used for inputting a bit rate value preset by the user; and returning to the first interface after setting the completion bit rate value.
7. The content definable screen projection device of claim 6, wherein: when no bit rate value is entered at the user, the processor is further configured to perform the operations of: a predetermined bit rate value is set by default.
8. A content definable screen projection device according to claim 1, wherein: the first interface further comprises a change wallpaper control; when the user operates the wallpaper replacing control, the processor executes the following operations according to the instruction: displaying a preset fourth interface to the user; and returning to the first interface after the user sets the background picture of the screen projection display interface on the fourth interface.
9. A content definable screen projection device according to claim 1, wherein: when the user operates the add control to enter the second interface, the processor is further configured to perform the operations of: and displaying a search control on a second interface, wherein the search control is used for searching the target APP in all APPs which can be displayed and used by the screen projection by a user.
10. A content definable screen projection device according to claim 1, wherein: the APP control displayed in the APP option area comprises APP icons and a check bar corresponding to each APP icon; and when the user clicks the APP icon, the processor executes operation according to the instruction to realize the selection of the target APP.
11. A content definable screen projection device according to claim 10, wherein: the processor is further configured to perform an operation to display the checkbox in different preset colors according to whether the APP control is selected.
12. A content definable screen projection device according to claim 10, wherein: when the user clicks the APP icon again, the processor is further configured to perform operations according to the instruction: the operation of the selection is cancelled.
13. A content definable projection device according to any one of claims 1-12, wherein: the screen projection equipment is an android mobile phone or an android intelligent tablet.
14. A content definable screen projection method, characterized by: the method comprises the following steps:
s1, operating a screen projection main control to display a preset first interface to a user, wherein the first interface comprises a screen projection control;
s2, operating a screen projection control, entering a screen projection display interface, and enabling the screen projection display interface to adopt an android viewPager control as a container of page layout; the content of the screen projection display interface is projected and displayed on target equipment;
s3, the screen projection display interface comprises an adding control, the adding control is operated to enter a second interface, and the second interface comprises an APP option area; displaying an APP control which can be displayed and used by a screen projection in the APP option area;
and S4, the user operates the APP control to select the APP needing screen projection display and use, namely the target APP, and then returns to the screen projection display interface.
15. The content definable screen projection method of claim 14, wherein: the first interface further comprises a setting control; before step S2, the setting control is run to enter a third interface, where the third interface includes a connection mode option area, and the connection mode option area displays at least one preset connection mode for a user to set a connection mode between the screen projection device and the target device.
16. The content definable screen projection method of claim 14, wherein: the first interface further comprises a setting control; before step S2, after the setting control is executed, entering a third interface, where the third interface includes a bit rate value setting area for inputting a bit rate value preset by a user; and returning to the first interface after setting the completion bit rate value.
17. The content definable screen projection method of claim 14, wherein: the first interface further comprises a change wallpaper control; before step S2, the wallpaper change control is operated to enter a fourth interface, and a user sets a background picture of a screen projection display interface on the fourth interface; and returning to the first interface after the setting is finished.
18. A computer-readable storage medium, characterized in that: a computer program is stored which, when executed by a processor, implements the content definable projection method of any of claims 14-17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011376880.4A CN114579217A (en) | 2020-11-30 | 2020-11-30 | Content definable screen projection equipment and method and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011376880.4A CN114579217A (en) | 2020-11-30 | 2020-11-30 | Content definable screen projection equipment and method and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114579217A true CN114579217A (en) | 2022-06-03 |
Family
ID=81766841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011376880.4A Pending CN114579217A (en) | 2020-11-30 | 2020-11-30 | Content definable screen projection equipment and method and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114579217A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114138167A (en) * | 2021-12-08 | 2022-03-04 | 武汉卡比特信息有限公司 | Touch pad system and method for mobile phone interconnection split screen projection |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812543A (en) * | 2014-12-30 | 2016-07-27 | 深圳富泰宏精密工业有限公司 | Information integration system and method |
CN106959796A (en) * | 2017-03-22 | 2017-07-18 | 广东小天才科技有限公司 | Mobile terminal screen display method and device |
CN109218731A (en) * | 2017-06-30 | 2019-01-15 | 腾讯科技(深圳)有限公司 | The throwing screen method, apparatus and system of mobile device |
CN109561272A (en) * | 2017-09-27 | 2019-04-02 | 阿里巴巴集团控股有限公司 | The display methods and device of conferencing information |
CN110109636A (en) * | 2019-04-28 | 2019-08-09 | 华为技术有限公司 | Throw screen method, electronic equipment and system |
CN110221798A (en) * | 2019-05-29 | 2019-09-10 | 华为技术有限公司 | A kind of throwing screen method, system and relevant apparatus |
CN110248224A (en) * | 2019-05-24 | 2019-09-17 | 南京苏宁软件技术有限公司 | Throw screen connection method for building up, device, computer equipment and storage medium |
CN110471639A (en) * | 2019-07-23 | 2019-11-19 | 华为技术有限公司 | Display methods and relevant apparatus |
CN110536008A (en) * | 2019-08-19 | 2019-12-03 | 维沃移动通信有限公司 | A kind of throwing screen method and mobile terminal |
CN110995923A (en) * | 2019-11-22 | 2020-04-10 | 维沃移动通信(杭州)有限公司 | Screen projection control method and electronic equipment |
CN111324327A (en) * | 2020-02-20 | 2020-06-23 | 华为技术有限公司 | Screen projection method and terminal equipment |
-
2020
- 2020-11-30 CN CN202011376880.4A patent/CN114579217A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812543A (en) * | 2014-12-30 | 2016-07-27 | 深圳富泰宏精密工业有限公司 | Information integration system and method |
CN106959796A (en) * | 2017-03-22 | 2017-07-18 | 广东小天才科技有限公司 | Mobile terminal screen display method and device |
CN109218731A (en) * | 2017-06-30 | 2019-01-15 | 腾讯科技(深圳)有限公司 | The throwing screen method, apparatus and system of mobile device |
CN109561272A (en) * | 2017-09-27 | 2019-04-02 | 阿里巴巴集团控股有限公司 | The display methods and device of conferencing information |
CN110109636A (en) * | 2019-04-28 | 2019-08-09 | 华为技术有限公司 | Throw screen method, electronic equipment and system |
CN110248224A (en) * | 2019-05-24 | 2019-09-17 | 南京苏宁软件技术有限公司 | Throw screen connection method for building up, device, computer equipment and storage medium |
CN110221798A (en) * | 2019-05-29 | 2019-09-10 | 华为技术有限公司 | A kind of throwing screen method, system and relevant apparatus |
CN110471639A (en) * | 2019-07-23 | 2019-11-19 | 华为技术有限公司 | Display methods and relevant apparatus |
CN110536008A (en) * | 2019-08-19 | 2019-12-03 | 维沃移动通信有限公司 | A kind of throwing screen method and mobile terminal |
CN110995923A (en) * | 2019-11-22 | 2020-04-10 | 维沃移动通信(杭州)有限公司 | Screen projection control method and electronic equipment |
CN111324327A (en) * | 2020-02-20 | 2020-06-23 | 华为技术有限公司 | Screen projection method and terminal equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114138167A (en) * | 2021-12-08 | 2022-03-04 | 武汉卡比特信息有限公司 | Touch pad system and method for mobile phone interconnection split screen projection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10159098B2 (en) | Efficient headunit communication integration | |
US9002574B2 (en) | Mobile integration platform (MIP) integrated handset application proxy (HAP) | |
US8942888B2 (en) | Extensible scheme for operating vehicle head unit as extended interface for mobile device | |
CA2846449C (en) | Mobile integration platform (mip) integrated handset application proxy (hap) | |
US9285968B2 (en) | User interface including content from a remote device | |
US20100293462A1 (en) | Pushing a user interface to a remote device | |
CN114579218A (en) | Vehicle navigation method, computer readable storage medium and device | |
EP2930898B1 (en) | Method for sharing file and handheld device | |
WO2013096910A1 (en) | Method and apparatus to adapt a remote control user interface | |
WO2012003678A1 (en) | Method and mobile terminal for locking screen | |
MX2012004333A (en) | Centralized management of motor vehicle software applications and services. | |
CN113992958B (en) | Multi-window same-screen interaction method, terminal and storage medium | |
CN107341407A (en) | More Android system implementation method, storage medium and terminals based on terminal | |
US10225141B2 (en) | Application hierarchy specification with real-time functional selection | |
US7813758B2 (en) | Multitasking method and mobile terminal enabled with the same | |
CN114579217A (en) | Content definable screen projection equipment and method and computer readable storage medium | |
CN114816788A (en) | Equipment control method and device, electronic equipment and storage medium | |
CN108683707B (en) | Network connection control method, network connection control terminal and system | |
CN107621967B (en) | Method and device for realizing system user interface | |
CN114584828B (en) | Android screen-throwing method, computer readable storage medium and equipment | |
CN106095277B (en) | Method and system for realizing double-click event strategy selection processing by mobile terminal | |
CN115150645A (en) | Display device and display method of screen projection function page | |
CN114584816B (en) | An Zhuotou screen definition setting method, computer-readable storage medium, and apparatus | |
CN114584815A (en) | Method, computer readable storage medium and device for controlling screen projection in backward mode | |
WO2023012260A1 (en) | Display apparatus, terminal device and communication connection method |
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 |