Screen projection transmission method, device, terminal equipment and storage medium
By querying the data communication protocol between the mobile phone and the car navigation device and turning on the data communication screencasting function, only control data is transmitted, which solves the problem of large screencasting data throughput in the existing technology and achieves a smooth screencasting experience.
Patent Information
- Application Number
- CN202210547133.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-05-19
AI Technical Summary
The existing wireless screen projection method for mobile phone screen projection navigation requires a large data throughput, resulting in the inability to guarantee smooth screen projection during the data transmission process.
When the first device receives the screen casting command, it queries the second device according to the screen casting command whether it supports the data communication protocol, and after the second device feedbacks that it supports it, it turns on the data communication screen casting function and transmits the corresponding data through the data communication screen casting function. Control data, such as coordinate information and traffic information, to achieve smooth screen projection.
By only transmitting control data, the amount of data transmission is reduced, and the smoothness and user experience of screen projection are improved.
Smart Images

Figure CN115278591B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle-mounted equipment technology, and in particular to a screen projection transmission method, device, terminal equipment and storage medium. Background Art
[0002] With the development of smart terminal technology, the screen projection function of mobile terminals such as mobile phones has been widely used, such as mobile phone screen projection to TV, mobile phone screen projection to car computer, etc.
[0003] like Figure 1 As shown, the current wireless screen projection method of mobile phone screen projection navigation usually directly clones the data for complete transmission and replication, which requires a relatively large data throughput, so smooth screen projection cannot be guaranteed during data transmission. Summary of the invention
[0004] The main purpose of the present invention is to provide a screen projection transmission method, device, terminal equipment and storage medium, aiming to achieve smooth screen projection.
[0005] To achieve the above object, the present invention provides a screen projection transmission method, comprising:
[0006] When the first device receives the screen projection instruction, querying the second device whether it supports the data communication protocol according to the screen projection instruction;
[0007] When the second device provides feedback that it supports the data communication protocol, enabling the data communication screen projection function;
[0008] The corresponding screen projection data is transmitted from the first device to the second device through the data communication screen projection function.
[0009] Optionally, the first device is a mobile terminal, the second device is a vehicle navigation device, and the step of transmitting corresponding screen projection data from the first device to the second device through the data communication screen projection function includes:
[0010] The non-screen navigation control data is transmitted from the mobile terminal to the vehicle navigation device through the data communication screen projection function.
[0011] Optionally, the navigation control data includes one or more of coordinate information and road condition information.
[0012] Optionally, before the step of querying the second device whether the data communication protocol is supported according to the screen projection instruction, the step also includes:
[0013] Determining whether the mobile terminal and the vehicle navigation device meet a handshake condition;
[0014] If the mobile terminal and the vehicle navigation device meet the handshake condition, the step is executed: querying the second device whether it supports the data communication protocol according to the screen projection instruction.
[0015] Optionally, the step of determining whether the mobile terminal and the vehicle navigation device meet a handshake condition includes:
[0016] After the mobile terminal is associated with the vehicle navigation device, determining whether a handshake protocol is established between the mobile terminal and the vehicle navigation device;
[0017] If a handshake protocol is established between the mobile terminal and the vehicle navigation device, it is determined that the mobile terminal and the vehicle navigation device meet a handshake condition.
[0018] Optionally, before the step of querying the second device whether the data communication protocol is supported according to the screen projection instruction, the step also includes:
[0019] Check whether the vehicle navigation device has installed the app that needs to be projected;
[0020] If the vehicle navigation device reports that an app that needs to be projected is installed, the following steps are executed: querying the second device whether it supports the data communication protocol according to the projection instruction.
[0021] Optionally, the method further comprises:
[0022] Receive on the first device the screen projection data on the second device transmitted by the second device through the data communication screen projection function.
[0023] In addition, the present invention also provides a screen projection transmission device, the screen projection transmission device comprising:
[0024] A query module, configured to query the second device whether it supports the data communication protocol according to the screen projection instruction when the first device receives the screen projection instruction;
[0025] An enabling module, configured to enable a data communication screen projection function when the second device responds that it supports the data communication protocol;
[0026] A transmission module is used to transmit corresponding screen projection data from the first device to the second device through the data communication screen projection function.
[0027] In addition, the present invention also proposes a vehicle-mounted device, wherein the terminal device includes: a memory, a processor, and a screen projection transmission program stored in the memory and runnable on the processor, and when the screen projection transmission program is executed by the processor, the steps of the screen projection transmission method described above are implemented.
[0028] In addition, the present invention also proposes a computer-readable storage medium, on which a screen projection transmission program is stored. When the screen projection transmission program is executed by a processor, the steps of the screen projection transmission method as described above are implemented.
[0029] The embodiments of the present invention propose a screen projection transmission method, device, terminal device and storage medium. When a first device receives a screen projection instruction, it queries a second device whether it supports a data communication protocol according to the screen projection instruction; when the second device feedbacks that it supports the data communication protocol, it turns on the data communication screen projection function; and transmits the corresponding screen projection data from the first device to the second device through the data communication screen projection function. The scheme of the present invention adopts a data communication screen projection function based on a data communication protocol. When screen projection is performed between two devices, only the corresponding control data needs to be transmitted. For example, a mobile phone for a specific application only needs to transmit a small amount of data information to achieve smooth screen projection, which improves the smoothness of screen projection and also improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the wireless screen projection method for existing mobile phone screen projection navigation;
[0031] Figure 2 This is a schematic diagram of the functional modules of the terminal device to which the screen projection transmission device of the present invention belongs;
[0032] Figure 3 This is a flow chart of the first embodiment of the screen projection transmission method of the present invention;
[0033] Figure 4 A schematic diagram of a wireless screen projection method for mobile phone screen projection navigation according to an embodiment of the present invention.
[0034] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0035] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0036] The main solution of the embodiment of the present invention is: when the first device receives a screen projection instruction, it queries the second device whether it supports the data communication protocol according to the screen projection instruction; when the second device feedback supports the data communication protocol, it turns on the data communication screen projection function; and the corresponding screen projection data is transmitted from the first device to the second device through the data communication screen projection function. The solution of the present invention adopts a data communication screen projection function based on a data communication protocol. When the screen is projected between two devices, only the corresponding control data needs to be transmitted. For example, a mobile phone for a specific application only needs to transmit a small amount of data information to achieve smooth screen projection, which improves the fluency of screen projection and also improves the user experience.
[0037] The embodiments of the present invention take into account that the current wireless screen projection method of mobile phone screen projection navigation usually directly clones the data for complete transmission and replication, which requires a relatively large data throughput, so smooth screen projection cannot be guaranteed during data transmission.
[0038] Therefore, an embodiment of the present invention proposes a solution, based on the data communication screen projection function of the data communication protocol. When projecting the screen between two devices, only the corresponding control data needs to be transmitted, thereby achieving smooth screen projection.
[0039] Specifically, refer to Figure 2 , Figure 2 This is a functional module diagram of the terminal device to which the screen projection transmission device of the present invention belongs. The screen projection transmission device can be a device that is independent of the terminal device and can perform data processing, and it can be carried on the terminal device in the form of hardware or software. The terminal device can be a smart mobile terminal with data processing function such as a mobile phone or a tablet computer, or a fixed terminal device or server with data processing function.
[0040] In this embodiment, the terminal device to which the screen projection transmission apparatus belongs includes at least an output module 110 , a processor 120 , a memory 130 and a communication module 140 .
[0041] The memory 130 stores an operating system and a screen projection transmission program; the output module 110 may be a display screen, etc. The communication module 140 may include a Wi-Fi module, a mobile communication module, a Bluetooth module, etc., and communicates with an external device or server through the communication module 140.
[0042] When the screen projection transmission program in the memory 130 is executed by the processor, the following steps are implemented:
[0043] When the first device receives the screen projection instruction, querying the second device whether it supports the data communication protocol according to the screen projection instruction;
[0044] When the second device provides feedback that it supports the data communication protocol, enabling the data communication screen projection function;
[0045] The corresponding screen projection data is transmitted from the first device to the second device through the data communication screen projection function.
[0046] Furthermore, when the screen projection transmission program in the memory 130 is executed by the processor, the following steps are also implemented:
[0047] The non-screen navigation control data is transmitted from the mobile terminal to the vehicle navigation device through the data communication screen projection function.
[0048] Furthermore, when the screen projection transmission program in the memory 130 is executed by the processor, the following steps are also implemented:
[0049] Determining whether the mobile terminal and the vehicle navigation device meet a handshake condition;
[0050] If the mobile terminal and the vehicle navigation device meet the handshake condition, the step is executed: querying the second device whether it supports the data communication protocol according to the screen projection instruction.
[0051] Furthermore, when the screen projection transmission program in the memory 130 is executed by the processor, the following steps are also implemented:
[0052] If a handshake protocol is established between the mobile terminal and the vehicle navigation device, it is determined that the mobile terminal and the vehicle navigation device meet a handshake condition.
[0053] Furthermore, when the screen projection transmission program in the memory 130 is executed by the processor, the following steps are also implemented:
[0054] Check whether the vehicle navigation device has installed the app that needs to be projected;
[0055] If the vehicle navigation device reports that an app that needs to be projected is installed, the following steps are executed: querying the second device whether it supports the data communication protocol according to the projection instruction.
[0056] Furthermore, when the screen projection transmission program in the memory 130 is executed by the processor, the following steps are also implemented:
[0057] Receive on the first device the screen projection data on the second device transmitted by the second device through the data communication screen projection function.
[0058] Through the above scheme, when the first device receives the screen projection instruction, the present embodiment queries the second device whether it supports the data communication protocol according to the screen projection instruction; when the second device feedbacks that it supports the data communication protocol, the data communication screen projection function is turned on; and the corresponding screen projection data is transmitted from the first device to the second device through the data communication screen projection function. The scheme of the present invention adopts a data communication screen projection function based on a data communication protocol. When the screen is projected between two devices, only the corresponding control data needs to be transmitted. For example, a mobile phone for a specific application only needs to transmit a small amount of data information to achieve smooth screen projection, which improves the smoothness of screen projection and also improves the user experience.
[0059] Based on the above terminal device architecture but not limited to the above architecture, an embodiment of the method of the present invention is proposed.
[0060] Reference Figure 3 , Figure 3The present invention provides a screen projection transmission method, comprising:
[0061] Step S101, when the first device receives a screen projection instruction, querying the second device whether it supports a data communication protocol according to the screen projection instruction;
[0062] The embodiment of the present invention can realize the screen projection function between two terminal devices, and can realize low-load screen projection transmission of specific functions based on data comparison.
[0063] The data comparison is implemented based on a data communication protocol. The types of the two terminal devices may be the same or different.
[0064] In this embodiment, two terminal devices are defined as a first device and a second device, wherein the first device may be a mobile terminal such as a mobile phone, and the second device may be a vehicle-mounted device, such as a vehicle navigation device.
[0065] This embodiment takes the implementation scheme of projecting mobile phone screen into car navigation as an example.
[0066] Specifically, when the first device receives a screen projection instruction, it queries the second device whether it supports the data communication protocol according to the screen projection instruction.
[0067] Among them, the data communication protocol mainly stipulates that the data transmission method between the two devices is based on the transmission of specific data. For example, only the coordinate information, road condition information and other control data in the navigation data are transmitted, without transmitting the entire image data, thereby reducing the amount of data transmission and improving the smoothness of screen projection.
[0068] The screen projection command may be triggered by the user on an app of the first device, which may be a navigation app, for example.
[0069] After receiving the screen projection instruction triggered by the user, the first device sends a query instruction to the second device according to the screen projection instruction to query whether the second device supports the data communication protocol.
[0070] After receiving the query instruction from the first device, the second device sends feedback information to the first device if it supports the data communication protocol.
[0071] The first device and the second device are both installed with the same app, and through handshake interaction, it is determined that both devices support the data communication protocol at the same time.
[0072] Step S102, when the second device feedbacks that it supports the data communication protocol, enabling the data communication screen projection function;
[0073] When the first device receives feedback from the second device that it supports the data communication protocol, it turns on the data communication screen projection function. Under the data communication screen projection function, the first device can project specific data supported by the data communication protocol instead of projecting the entire image data, thereby reducing the amount of data transmission and improving the smoothness of the screen projection.
[0074] Step S103: Transmit corresponding screen projection data from the first device to the second device through the data communication screen projection function.
[0075] Under the data communication screen projection function, the first device transmits specific data supported by the data communication protocol to the second device. Since the entire image data does not need to be projected, the amount of data transmission is reduced, thereby improving the smoothness of the screen projection.
[0076] Through the above scheme, when the first device receives the screen projection instruction, the present embodiment queries the second device whether it supports the data communication protocol according to the screen projection instruction; when the second device feedbacks that it supports the data communication protocol, the data communication screen projection function is turned on; and the corresponding screen projection data is transmitted from the first device to the second device through the data communication screen projection function. The scheme of the present invention adopts a data communication screen projection function based on a data communication protocol. When the screen is projected between two devices, only the corresponding control data needs to be transmitted. For example, a mobile phone for a specific application only needs to transmit a small amount of data information to achieve smooth screen projection, which improves the smoothness of screen projection and also improves the user experience.
[0077] Further, as an implementation manner, the first device may be a mobile terminal, the second device may be a vehicle navigation device, and the step of transmitting the corresponding screen projection data from the first device to the second device through the data communication screen projection function may include:
[0078] The non-screen navigation control data is transmitted from the mobile terminal to the vehicle navigation device through the data communication screen projection function.
[0079] The navigation control data may include one or more of coordinate information and road condition information.
[0080] Further, as an implementation manner, before the step of querying the second device whether the data communication protocol is supported according to the screen projection instruction, the step also includes:
[0081] Determining whether the mobile terminal and the vehicle navigation device meet a handshake condition;
[0082] If the mobile terminal and the vehicle navigation device meet the handshake condition, then query the second device whether it supports the data communication protocol according to the screen projection instruction.
[0083] Wherein, taking the first device as a mobile terminal and the second device as a vehicle navigation device as an example, the step of determining whether the mobile terminal and the vehicle navigation device meet the handshake condition may include:
[0084] After the mobile terminal is associated with the vehicle navigation device, determining whether a handshake protocol is established between the mobile terminal and the vehicle navigation device;
[0085] If a handshake protocol is established between the mobile terminal and the vehicle navigation device, it is determined that the mobile terminal and the vehicle navigation device meet a handshake condition.
[0086] Further, as an implementation manner, before the step of querying the second device whether the data communication protocol is supported according to the screen projection instruction, the following step may also be included:
[0087] Check whether the vehicle navigation device has installed the app that needs to be projected;
[0088] If the vehicle navigation device reports that an app that needs to be projected is installed, the second device is queried whether it supports the data communication protocol according to the projection instruction.
[0089] The following combination Figure 4 The process of implementing screen projection transmission in this embodiment is described in detail:
[0090] like Figure 4 As shown, a data communication protocol needs to be agreed upon between the mobile phone (first device) and the vehicle navigation (second device), that is, the mobile phone and the vehicle navigation device interact through handshake to confirm that the applications of both parties (such as application A) meet the current data communication protocol requirements, that is, only a small amount of logical data is transmitted, thereby reducing the wireless data transmission load and achieving a smooth screen projection effect (for example, a navigation app only transmits coordinate data when projecting the screen, and does not need to transmit the entire frame of screen data, thereby reducing the wireless transmission load).
[0091] Specifically, the scheme for data transmission based on mobile phone and vehicle navigation is as follows:
[0092] 1. After the mobile phone and navigation are linked, the mobile phone and the car navigation establish a handshake protocol;
[0093] 2. Check on your mobile phone whether the car navigation system has installed the app that needs to be projected;
[0094] 3. The car navigation system reported that the app was installed;
[0095] 3. The mobile phone queries the car navigation system to see whether it supports the data communication protocol;
[0096] 4. Car navigation feedback supports data communication protocol;
[0097] 5. Once the mobile phone confirms that the car navigation supports the protocol standard, data communication and screen projection will be enabled. In this case, there is no need to project the screen during data communication. Instead, only some control data needs to be transmitted. For example, for navigation, only coordinate information and road condition information need to be transmitted. A small amount of data information can be transmitted to achieve smooth application projection.
[0098] Furthermore, as an implementation mode, the method may further include:
[0099] Receive on the first device the screen projection data on the second device transmitted by the second device through the data communication screen projection function.
[0100] Specifically, this embodiment can also implement a solution of projecting the screen of the second device to the first device. The principle of screen projection can refer to the above embodiments and will not be repeated here.
[0101] In addition, the present invention also provides a screen projection transmission device, the screen projection transmission device comprising:
[0102] A query module, configured to query the second device whether it supports the data communication protocol according to the screen projection instruction when the first device receives the screen projection instruction;
[0103] An enabling module, configured to enable a data communication screen projection function when the second device responds that it supports the data communication protocol;
[0104] A transmission module is used to transmit corresponding screen projection data from the first device to the second device through the data communication screen projection function.
[0105] The principle of implementing screen projection in this embodiment can refer to the above embodiments and will not be repeated here.
[0106] In addition, the present invention also proposes a vehicle-mounted device, wherein the terminal device includes: a memory, a processor, and a screen projection transmission program stored in the memory and runnable on the processor, and when the screen projection transmission program is executed by the processor, the steps of the screen projection transmission method described above are implemented.
[0107] Since all the technical solutions of all the aforementioned embodiments are adopted when this screen projection transmission program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be repeated here.
[0108] In addition, the present invention also proposes a computer-readable storage medium, on which a screen projection transmission program is stored. When the screen projection transmission program is executed by a processor, the steps of the screen projection transmission method as described above are implemented.
[0109] Since all the technical solutions of all the aforementioned embodiments are adopted when this screen projection transmission program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be repeated here.
[0110] The embodiments of the present invention propose a screen projection transmission method, device, terminal device and storage medium. When a first device receives a screen projection instruction, it queries a second device whether it supports a data communication protocol according to the screen projection instruction; when the second device feedbacks that it supports the data communication protocol, it turns on the data communication screen projection function; and transmits the corresponding screen projection data from the first device to the second device through the data communication screen projection function. The scheme of the present invention adopts a data communication screen projection function based on a data communication protocol. When screen projection is performed between two devices, only the corresponding control data needs to be transmitted. For example, a mobile phone for a specific application only needs to transmit a small amount of data information to achieve smooth screen projection, which improves the smoothness of screen projection and also improves the user experience.
[0111] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0112] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present invention.
[0114] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A screen projection transmission method, characterized in that: include: When the first device receives a screen projection instruction, it queries the second device whether it supports the data communication protocol according to the screen projection instruction, wherein the first device is a mobile terminal, the second device is a vehicle navigation device, and the data communication protocol only transmits non-screen navigation control data; When the second device provides feedback that it supports the data communication protocol, enabling the data communication screen projection function; Transmitting corresponding screen projection data from the first device to the second device through the data communication screen projection function; Wherein, the step of transmitting the corresponding screen projection data from the first device to the second device through the data communication screen projection function includes: The data communication screen projection function transmits non-screen navigation control data from the mobile terminal to the vehicle navigation device, wherein the navigation control data includes one or more of coordinate information and road condition information.
2. The method according to claim 1, characterized in that Before the step of querying the second device whether it supports the data communication protocol according to the screen projection instruction, the following step is further included: Determining whether the mobile terminal and the vehicle navigation device meet a handshake condition; If the mobile terminal and the vehicle navigation device meet the handshake condition, the step is executed: querying the second device whether it supports the data communication protocol according to the screen projection instruction.
3. The method according to claim 2, characterized in that The step of determining whether the mobile terminal and the vehicle navigation device meet the handshake condition includes: After the mobile terminal is associated with the vehicle navigation device, determining whether a handshake protocol is established between the mobile terminal and the vehicle navigation device; If a handshake protocol is established between the mobile terminal and the vehicle navigation device, it is determined that the mobile terminal and the vehicle navigation device meet a handshake condition.
4. The method according to claim 2, characterized in that: Before the step of querying the second device whether it supports the data communication protocol according to the screen projection instruction, the following step is further included: Check whether the vehicle navigation device has installed the app that needs to be projected; If the vehicle navigation device reports that an app that needs to be projected is installed, the following steps are executed: querying the second device whether it supports the data communication protocol according to the projection instruction.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Receive on the first device the screen projection data on the second device transmitted by the second device through the data communication screen projection function.
6. A screen projection transmission device, characterized in that: The screen projection transmission device comprises: A query module, configured to query the second device whether it supports the data communication protocol according to the screen projection instruction when the first device receives the screen projection instruction, wherein the first device is a mobile terminal, the second device is a vehicle navigation device, and the data communication protocol is used to transmit non-screen navigation control data; An enabling module, configured to enable a data communication screen projection function when the second device responds that it supports the data communication protocol; A transmission module, used for transmitting corresponding screen projection data from the first device to the second device through the data communication screen projection function; Among them, the transmission module is also used to transmit non-screen navigation control data from the mobile terminal to the vehicle navigation device through the data communication screen projection function, and the navigation control data includes one or more of coordinate information and road condition information.
7. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a screen projection transmission program stored in the memory and executable on the processor. When the screen projection transmission program is executed by the processor, the steps of the screen projection transmission method as described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a screen projection transmission program, and when the screen projection transmission program is executed by the processor, the steps of the screen projection transmission method as described in any one of claims 1 to 5 are implemented.
