Screen casting method, device and system
By dynamically adjusting the screen mirroring effect based on the user's attention status, the problem of power consumption on the screen mirroring sending end when the user is not paying attention is solved, resulting in reduced power consumption and improved battery life.
Patent Information
- Application Number
- PCT/CN2024/071012
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2024-01-08
- Publication Date
- 2024-09-06
AI Technical Summary
In existing screen mirroring technologies, the sending end continues to send video streams even when the user is not paying attention to the receiving end's interface, which increases power consumption, affects battery life, and reduces the user's visual experience.
By detecting whether the user is paying attention to the screen mirroring receiver interface, the screen mirroring effect can be dynamically adjusted, such as adjusting the bitrate, frame rate, or resolution, reducing unnecessary video stream transmission, and lowering power consumption.
Without affecting the user's visual experience, it effectively reduces the power consumption of the screen projection sending end and improves battery life.
Smart Images

Figure CN2024071012_06092024_PF_FP
Abstract
Description
Screen projection method, device and system
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 27, 2023, with application number 202310215114.7 and application name “A screen projection method, device and system”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of terminal technology, and in particular to a screen projection method, device, and system. Background Art
[0003] As society develops, devices with screens are increasingly common across all industries, and screen projection technology is widely used. However, screen projection is typically sent to mobile devices like phones and tablets, which poses a significant power consumption issue and impacts the user experience.
[0004] In conventional screen projection technology, once the screen is successfully projected, the screen transmitter will continuously generate video streams according to the set encoding parameters and send them to the screen receiver for decoding, rendering and display. This causes the screen transmitter to continuously consume power (mainly concentrated in the encoder, CPU and Wi-Fi parts), affecting the battery life of the screen transmitter. When multiple sender windows are projected to the receiver, the display effect of each window is the same. The sender window that is not the user's focus will continue to send video streams, resulting in a certain amount of resource waste and a poor user visual experience.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a screen projection method, device and system. When projecting the screen, the screen projection sending end can dynamically adjust the screen projection effect according to whether the user sent by the screen projection receiving end pays attention to the event of the interface synchronously displayed by the screen projection receiving end, so as to reduce the power consumption of the screen projection sending end and improve the user's visual experience.
[0007] To achieve the above objectives, the present invention adopts the following technical solutions:
[0008] In a first aspect, a screen projection method is provided, which is applied to a second device in a screen projection scenario from a first device to a second device, the method comprising: the second device displays a first screen projection interface, wherein the first screen projection interface corresponds to the display interface of a first application on the first device; in response to a first event detecting that the user is not paying attention to the first screen projection interface displayed on the second device, the second device sends a first instruction to adjust the screen projection effect to the first device.
[0009] According to the technical solution provided in the first aspect above, when the second device displays the first projection interface, in response to a first event in which it detects that the user is not paying attention to the first projection interface displayed on the second device, the second device sends a first instruction to adjust the projection effect to the first device, so that the first device dynamically adjusts the projection effect according to the first instruction, thereby reducing the power consumption of the first device and improving the battery life without affecting the user's subjective experience.
[0010] In one possible implementation, the above-mentioned first event includes at least one of the following events: the user's line of sight is not looking at the first projection interface, the user's head turns to an area other than the first projection interface, or the user does not touch the first projection interface.
[0011] For example, the first device may be a mobile phone, and the second device may be a car. The first event may be that the user's gaze is no longer focused on the screen of the mobile phone projected on the car's display screen; the first event may be that the user's head turns to an area other than the screen of the mobile phone projected on the car's display screen; or the first event may be that the user's head turns to an area other than the screen of the mobile phone projected on the car's display screen and the user's gaze is no longer focused on the screen of the mobile phone projected on the car's display screen.
[0012] For another example, the first device may be a mobile phone, and the second device may be a smart TV. The first event may be when the user's gaze shifts away from the screen of the mobile phone projected on the smart TV display; the first event may be when the user's head turns away from the screen of the mobile phone projected on the smart TV display; or the first event may be a combination of the above two events.
[0013] For another example, the first device may be a mobile phone and the second device may be a laptop. The first event may be the user not looking at the screen of the mobile phone projected on the laptop screen; the first event may be the user not touching the screen of the mobile phone projected on the laptop screen; or the first event may be a combination of the above two events.
[0014] In a possible implementation, after the second device sends the first instruction for adjusting the screen projection effect to the first device, it also includes: the second device displays the first screen projection interface after adjusting the screen projection effect, and the first screen projection interface after adjusting the screen projection effect corresponds to the display interface of the first application on the first device after the screen projection effect is adjusted according to the first instruction.
[0015] In one possible implementation, the first projection interface after adjusting the projection effect includes at least one of the following items: a first projection interface that is displayed in a reduced size, a first projection interface that is displayed at the edge of the screen, or a first projection interface that reduces at least one of the bit rate, frame rate, and resolution.
[0016] Taking the case where the first device is a mobile phone and the second device is a smart TV as an example, after the mobile phone adjusts the display interface of the first application according to the first instruction, the smart TV displays the corresponding first projection interface after adjusting the projection effect. Compared with the first projection interface before adjusting the projection effect, the first projection interface after adjusting the projection effect can reduce at least one of the bit rate, frame rate, and resolution. The first projection interface after adjusting the projection effect can also be reduced or displayed on the edge of the smart TV, or reduced and displayed on the edge of the smart TV. Since the user is not paying attention to the first projection interface, the power consumption of the first device mobile phone is reduced without affecting the user's subjective visual experience, thereby improving battery life.
[0017] In a possible implementation, after the second device sends the first instruction to adjust the screen projection effect to the first device, it also includes: the second device stops displaying the first screen projection interface.
[0018] Taking the case where the first device is a mobile phone, the second device is a car, and the first application on the mobile phone is map navigation, the mobile phone can adjust the screen projection effect according to the first instruction, including stopping displaying the map navigation display interface. Then the map navigation display interface (first screen projection interface) displayed on the corresponding car's display screen will also stop displaying synchronously, so as to further save power consumption.
[0019] In a possible implementation, the second device stops displaying the first projection interface, and further includes: in response to an emergency, the second device resumes displaying the first projection interface.
[0020] In a possible implementation, the emergency event includes a road condition navigation event.
[0021] For example, if the first device is a mobile phone, the second device is a car, and the first application on the mobile phone is map navigation, the map navigation application on the mobile phone calculates a turn ahead in the background and restores the map navigation display interface. Correspondingly, the car's display screen also restores the map navigation display interface, i.e., the first projection screen interface. It should be noted that the above-mentioned traffic navigation event can also be any sudden situation encountered during driving, such as sudden braking, sudden stopping, sudden acceleration, emergency avoidance, etc., which is not limited to this embodiment of the present application.
[0022] In one possible implementation, the second device, in response to detecting a second event in which the user focuses on the first projection interface, sends a second instruction to adjust the projection effect to the first device. This solution allows the projection effect to be restored when the user focuses on the first projection interface, ensuring a clear image without affecting the user's subjective visual experience.
[0023] In one possible implementation, the second event includes at least one of the following events: the user's eyes are looking at the first projection interface, the user's head is turning toward the first projection interface, or the user is touching the first projection interface.
[0024] For example, the first device may be a mobile phone, and the second device may be a car. The second event may be the user looking at the mobile phone screen projection interface displayed on the car's display screen; the second event may be the user turning their head to the mobile phone screen projection interface displayed on the car's display screen; the first event may also be the user turning their head to the mobile phone screen projection interface displayed on the car's display screen and the user looking at the mobile phone screen projection interface displayed on the car's display screen.
[0025] For another example, the first device may be a mobile phone, and the second device may be a smart TV. The second event may be the user looking at the screen of the mobile phone projected on the smart TV display; the second event may be the user turning their head toward the screen of the smart TV display, and the screen of the mobile phone projected on the smart TV display; or the second event may be a combination of the above two events.
[0026] For another example, the first device may be a mobile phone, and the second device may be a laptop. The second event may be a user looking at the screen of the mobile phone projected on the laptop screen; the second event may be a user touching the screen of the mobile phone projected on the laptop screen; or the second event may be a combination of the above two events.
[0027] In a possible implementation, after the second device sends the second instruction for adjusting the screen projection effect to the first device, it also includes: the second device displays the first screen projection interface after adjusting the screen projection effect, and the first screen projection interface after adjusting the screen projection effect corresponds to the display interface of the first application on the first device after the screen projection effect is adjusted according to the second instruction.
[0028] In one possible implementation, the first projection interface after adjusting the projection effect includes at least one of the following items: an enlarged first projection interface, a centered first projection interface, or a first projection interface with improved bit rate, frame rate, and resolution.
[0029] Taking the case where the first device is a mobile phone and the second device is a smart TV as an example, after the mobile phone adjusts the display interface of the first application according to the second instruction, the smart TV displays the corresponding first projection interface after adjusting the projection effect. Compared with the first projection interface before adjusting the projection effect, the first projection interface after adjusting the projection effect can improve at least one of the bit rate, frame rate, and resolution. The first projection interface after adjusting the projection effect can also be enlarged or displayed in the middle of the smart TV, or enlarged and displayed in the middle of the smart TV, which can improve the user's visual experience when watching the first projection interface. The above steps can restore the first projection interface that the user is concerned about from a low power consumption state without affecting the user's subjective visual experience.
[0030] In one possible implementation, the above-mentioned second device also displays a second projection interface, wherein the second projection interface corresponds to the display interface of the second application on the first device, and the method also includes: the second device displays the second projection interface after adjusting the projection effect, and the second projection interface after adjusting the projection effect corresponds to the display interface of the second application on the first device after adjusting the projection effect according to the second instruction.
[0031] In one possible implementation, the second projection interface after adjusting the projection effect includes at least one of the following items: a second projection interface with a reduced display, a second projection interface displayed at the edge of the screen, or a second projection interface with at least one of the bit rate, frame rate, and resolution reduced.
[0032] Taking the first device as a mobile phone and the second device as a laptop as an example, the display interface of the first application and the display interface of the second application are displayed on the mobile phone, and the first projection interface (corresponding to the display interface of the first application on the mobile phone) and the second projection interface (corresponding to the display interface of the second application on the mobile phone) are displayed on the laptop. Assuming that the user is paying attention to the first projection interface, after the mobile phone adjusts the display interface of the second application according to the second instruction, the laptop displays the corresponding second projection interface after adjusting the projection effect. Compared with the second projection interface before adjusting the projection effect, the second projection interface after adjusting the projection effect can be at least one of the bit rate, frame rate, and resolution. The second projection interface after adjusting the projection effect can also be reduced or displayed on the edge of the laptop, or reduced and displayed on the edge of the laptop. Since the user is not paying attention to the second projection interface, the power consumption of the first device mobile phone is reduced without affecting the user's subjective visual experience, and the battery life is improved.
[0033] In one possible implementation, the above-mentioned second device also displays a third projection interface, wherein the third projection interface corresponds to the display interface of the third application on the third device, and the method also includes: the second device sends a third instruction to the third device to adjust the projection effect of the display interface of the third application.
[0034] In one possible implementation, after the above-mentioned second device sends the third instruction for adjusting the projection effect of the display interface of the third application to the third device, it also includes: the second device displays the third projection interface after adjusting the projection effect, and the third projection interface after adjusting the projection effect corresponds to the display interface of the third application on the third device after the projection effect is adjusted according to the third instruction.
[0035] In one possible implementation, the third projection interface after adjusting the projection effect includes at least one of the following items: a third projection interface that is displayed in a reduced size, a third projection interface that is displayed at the edge of the screen, or a third projection interface that reduces at least one of the bit rate, frame rate, and resolution.
[0036] For example, if the first device is mobile phone A, the second device is a smart TV, and the third device is mobile phone B, since the user is paying attention to the first screen projection interface of mobile phone A projected on the smart TV, the third screen projection interface of mobile phone B projected on the smart TV is not of interest to the user. Therefore, after mobile phone B adjusts the screen projection effect according to the third instruction, the third screen projection interface for adjusting the screen projection displayed on the smart TV can be to reduce at least one of the bit rate, frame rate, and resolution. The third screen projection interface after adjusting the screen projection effect can also be reduced or displayed on the edge of the smart TV, or reduced and displayed on the edge of the smart TV. Since the user is not paying attention to the third screen projection interface, the power consumption of the third device, mobile phone B, is reduced without affecting the user's subjective visual experience, thereby improving battery life.
[0037] In a second aspect, a screen projection method is provided, which is applied to a screen projection system, which includes a first device and a second device, and the method includes: the first device projects the display interface of the first application to the second device; the second device displays the first projection interface, wherein the first projection interface corresponds to the display interface of the first application on the first device; in response to a first event detecting that the user is not paying attention to the first projection interface displayed on the second device, the second device sends a first instruction to adjust the projection effect to the first device; the first device receives the first instruction; the first device adjusts the projection effect of the display interface of the first application according to the first instruction.
[0038] The technical solution provided in the second aspect above is that when the second device displays the first projection interface, in response to a first event that detects that the user is not paying attention to the first projection interface displayed on the second device, the second device sends a first instruction to adjust the projection effect to the first device. The first device receives the first instruction and adjusts the projection effect of the display interface of the first application according to the first instruction, thereby reducing the power consumption of the first device and improving battery life without affecting the user's subjective experience.
[0039] In one possible implementation, the above-mentioned first event includes at least one of the following events: the user's line of sight is not looking at the first projection interface, the user's head turns to an area other than the first projection interface, or the user does not touch the first projection interface.
[0040] In one possible implementation, the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, including at least one of the following items: stopping the encoding of the video image corresponding to the display interface of the first application, stopping the encoding of the audio corresponding to the display interface of the first application, or reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
[0041] For example, the first device is a mobile phone, and the second device is a car. The display interface of the map navigation application is displayed on the mobile phone, and is projected onto the display screen of the car for display. The mobile phone can adjust the projection effect of the display interface of the map navigation application according to the first instruction by only stopping the encoding of the video screen corresponding to the display interface of the map navigation application, while the audio is still encoded and broadcast synchronously to the car. Since the video screen encoding is stopped, the projection power consumption of the first device can be saved to a certain extent. The mobile phone can adjust the projection effect of the display interface of the map navigation application according to the first instruction by simultaneously stopping the encoding of the video screen and audio corresponding to the display interface of the map navigation application, which greatly saves the projection power consumption of the first device. The mobile phone can adjust the projection effect of the display interface of the map navigation application according to the first instruction by reducing at least one of the bit rate, frame rate or resolution of the video screen corresponding to the display interface of the map navigation application, while the video screen and audio are still projected synchronously to the car.
[0042] In a possible implementation, after the above-mentioned first device adjusts the projection effect of the display interface of the first application according to the first instruction, it also includes: the first device projects the display interface of the first application after adjusting the projection effect according to the first instruction to the second device; the second device displays the first projection interface after adjusting the projection effect, and the first projection interface after adjusting the projection effect corresponds to the display interface of the first application on the first device after adjusting the projection effect according to the first instruction.
[0043] In one possible implementation, the first projection interface after adjusting the projection effect includes at least one of the following items: a first projection interface that is displayed in a reduced size, a first projection interface that is displayed at the edge of the screen, or a first projection interface that reduces at least one of the bit rate, frame rate, and resolution.
[0044] Taking the case where the first device is a mobile phone and the second device is a smart TV as an example, after the mobile phone adjusts the display interface of the first application according to the first instruction, the smart TV displays the corresponding first projection interface after adjusting the projection effect. Compared with the first projection interface before adjusting the projection effect, the first projection interface after adjusting the projection effect can reduce at least one of the bit rate, frame rate, and resolution. The first projection interface after adjusting the projection effect can also be reduced or displayed on the edge of the smart TV, or reduced and displayed on the edge of the smart TV. Since the user is not paying attention to the first projection interface, the power consumption of the first device mobile phone is reduced without affecting the user's subjective visual experience, thereby improving battery life.
[0045] In a possible implementation, the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, and further includes: the first device stops displaying the display interface of the first application.
[0046] In a possible implementation, after the first device adjusts the projection effect of the display interface of the first application according to the first instruction, it also includes: the second device stops displaying the first projection interface.
[0047] Taking the case where the first device is a mobile phone, the second device is a car, and the first application on the mobile phone is map navigation, the mobile phone can adjust the screen projection effect according to the first instruction to stop displaying the map navigation display interface. Then the map navigation display interface (first screen projection interface) displayed on the corresponding car's display screen will also stop displaying synchronously, so as to further save power consumption.
[0048] In one possible implementation, in response to an emergency, the first device resumes displaying the display interface of the first application, and the second device resumes displaying the first projection interface.
[0049] In a possible implementation, the emergency event includes a road condition navigation event.
[0050] For example, if the first device is a mobile phone, the second device is a car, and the first application on the mobile phone is map navigation, the map navigation application on the mobile phone calculates a turn ahead in the background and restores the map navigation display interface. Correspondingly, the car's display screen also restores the map navigation display interface, i.e., the first projection screen interface. It should be noted that the above-mentioned traffic navigation event can also be any sudden situation encountered during driving, such as sudden braking, sudden stopping, sudden acceleration, emergency avoidance, etc., which is not limited to this embodiment of the present application.
[0051] In one possible implementation, in response to detecting a second event in which the user focuses on the first projection interface, the second device sends a second instruction to adjust the projection effect to the first device; the first device receives the second instruction; and the first device adjusts the projection effect of the display interface of the first application according to the second instruction. This solution allows the projection effect to be restored when the user focuses on the first projection interface, ensuring a clear image without affecting the user's subjective visual experience.
[0052] In one possible implementation, the second event includes at least one of the following events: the user's eyes are looking at the first projection interface, the user's head is turning toward the first projection interface, or the user is touching the first projection interface.
[0053] In one possible implementation, the first device adjusts the projection effect of the display interface of the first application according to the second instruction, including at least one of the following items: turning on the encoding of the video image corresponding to the display interface of the first application, turning on the encoding of the audio corresponding to the display interface of the first application, or increasing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
[0054] For example, the first device is a mobile phone, and the second device is a car. The display interface of the map navigation application is displayed on the mobile phone, and the screen is projected onto the display screen of the car for display. The mobile phone adjusts the projection effect of the display interface of the map navigation application according to the second instruction by only turning on the encoding of the video screen corresponding to the display interface of the map navigation application (if the encoding of the video screen was stopped before), and the audio is still encoded and broadcast synchronously to the car. The mobile phone adjusts the projection effect of the display interface of the map navigation application according to the second instruction by simultaneously turning on the encoding of the video screen and audio corresponding to the display interface of the map navigation application (if the encoding of the video screen and audio was stopped before). The mobile phone adjusts the projection effect of the display interface of the map navigation application according to the second instruction by increasing at least one of the bit rate, frame rate or resolution of the video screen corresponding to the display interface of the map navigation application.
[0055] In a possible implementation, after the above-mentioned first device adjusts the projection effect of the display interface of the first application according to the second instruction, it also includes: the first device projects the display interface of the first application after adjusting the projection effect according to the second instruction to the second device; the second device displays the first projection interface after adjusting the projection effect, and the first projection interface after adjusting the projection effect corresponds to the display interface of the first application on the first device after adjusting the projection effect according to the second instruction.
[0056] In one possible implementation, the first projection interface after adjusting the projection effect includes at least one of the following items: an enlarged first projection interface, a centered first projection interface, or a first projection interface with improved bit rate, frame rate, and resolution.
[0057] Taking the case where the first device is a mobile phone and the second device is a smart TV as an example, after the mobile phone adjusts the display interface of the first application according to the second instruction, the smart TV displays the corresponding first projection interface after adjusting the projection effect. Compared with the first projection interface before adjusting the projection effect, the first projection interface after adjusting the projection effect can improve at least one of the bit rate, frame rate, and resolution. The first projection interface after adjusting the projection effect can also be enlarged or displayed in the middle of the smart TV, or enlarged and displayed in the middle of the smart TV to enhance the user's visual experience when watching the first projection interface. The above steps can realize the recovery of the first projection interface that the user is concerned about from a low power consumption state.
[0058] In one possible implementation, the second device also displays a second projection interface, wherein the second projection interface corresponds to the display interface of the second application on the first device, and the method further includes: the first device adjusts the projection effect of the display interface of the second application according to the second instruction.
[0059] In one possible implementation, the first device adjusts the screen projection effect of the display interface of the second application according to the second instruction, including: stopping the encoding of the video image corresponding to the display interface of the second application, stopping the encoding of the audio corresponding to the display interface of the second application, or reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the second application.
[0060] Taking the first device as a mobile phone and the second device as a laptop as an example, the display interface of the first application and the display interface of the second application are displayed on the mobile phone, and the first projection interface (corresponding to the display interface of the first application on the mobile phone) and the second projection interface (corresponding to the display interface of the second application on the mobile phone) are displayed on the laptop. Assuming that the user is paying attention to the first projection interface, the mobile phone can adjust the display interface of the second application according to the second instruction by stopping the encoding of the video screen corresponding to the display interface of the second application, or by simultaneously stopping the encoding of the video screen and audio corresponding to the display interface of the second application, or by reducing at least one of the bit rate, frame rate or resolution of the video screen corresponding to the display interface of the second application. Since the user is not paying attention to the second projection interface, the power consumption of the first device mobile phone is reduced without affecting the user's subjective visual experience, thereby improving the battery life.
[0061] In one possible implementation, after the above-mentioned first device adjusts the projection effect of the display interface of the second application according to the second instruction, it also includes: the first device projects the display interface of the second application after adjusting the projection effect according to the second instruction to the second device; the second device displays the second projection interface after adjusting the projection effect, and the second projection interface after adjusting the projection effect corresponds to the display interface of the second application on the first device after adjusting the projection effect according to the second instruction.
[0062] In one possible implementation, the second projection interface after adjusting the projection effect includes at least one of the following items: a second projection interface with a reduced display, a second projection interface displayed at the edge of the screen, or a second projection interface with at least one of the bit rate, frame rate, and resolution reduced.
[0063] In one possible implementation, the above-mentioned second device also displays a third projection interface, wherein the third projection interface corresponds to the display interface of the third application on the third device, and the method also includes: the second device sends a third instruction to adjust the projection effect of the display interface of the third application to the third device; the third device adjusts the projection effect of the display interface of the third application according to the third instruction.
[0064] In one possible implementation, the third device adjusts the projection effect of the display interface of the third application according to the third instruction, including: stopping the encoding of the video image corresponding to the display interface of the third application, stopping the encoding of the audio corresponding to the display interface of the third application, or reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the third application.
[0065] Taking the example that the first device is mobile phone A, the second device is a smart TV, and the third device is mobile phone B, the user is concerned about the first screen projection interface of mobile phone A projected on the smart TV, and the third screen projection interface of mobile phone B projected on the smart TV is not of interest to the user. Mobile phone B adjusts the projection effect of the display interface of the third application according to the third instruction, which may be to stop the encoding of the video picture corresponding to the display interface of the third application, or to stop the encoding of the video picture and audio corresponding to the display interface of the third application at the same time, or to reduce at least one of the bit rate, frame rate or resolution of the video picture corresponding to the display interface of the third application. Since the third interface on the third device is not of interest to the user, the above processing can reduce the power consumption of the third device and improve its battery life without affecting the user's subjective visual experience.
[0066] In one possible implementation, after the third device adjusts the projection effect of the display interface of the third application according to the third instruction, it also includes: the third device projects the display interface of the third application after adjusting the projection effect according to the third instruction to the second device; the second device displays the third projection interface after adjusting the projection effect, and the third projection interface after adjusting the projection effect corresponds to the display interface of the third application on the third device after adjusting the projection effect according to the third instruction.
[0067] In one possible implementation, the third projection interface after adjusting the projection effect includes at least one of the following items: a third projection interface that is displayed in a reduced size, a third projection interface that is displayed at the edge of the screen, or a third projection interface that reduces at least one of the bit rate, frame rate, and resolution.
[0068] In a third aspect, a screen projection method is provided, which is applied to the first device in a screen projection scenario where the first device projects the screen to the second device, and the method includes: the first device projects the display interface of the first application to the second device, so that the second device displays the first projection interface, wherein the first projection interface corresponds to the display interface of the first application on the first device; the first device receives a first instruction sent by the second device to adjust the projection effect; the first device adjusts the projection effect of the display interface of the first application according to the first instruction.
[0069] The technical solution provided in the third aspect above is that the first device receives the first instruction for adjusting the screen projection effect sent by the second device, dynamically adjusts the screen projection effect, reduces the power consumption of the first device without affecting the user's subjective experience, and improves battery life.
[0070] In one possible implementation, the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, including at least one of the following items: stopping the encoding of the video image corresponding to the display interface of the first application, stopping the encoding of the audio corresponding to the display interface of the first application, or reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
[0071] In a possible implementation, after the first device adjusts the projection effect of the display interface of the first application according to the first instruction, it also includes: the first device projects the display interface of the first application after adjusting the projection effect according to the first instruction to the second device.
[0072] In a possible implementation, the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, and further includes: the first device stops displaying the display interface of the first application.
[0073] Taking the case where the first device is a mobile phone, the second device is a car, and the first application on the mobile phone is map navigation as an example, the mobile phone can adjust the screen projection effect according to the first instruction to stop displaying the map navigation display interface in order to further save power consumption.
[0074] In one possible implementation, in response to the emergency, the first device resumes displaying the display interface of the first application.
[0075] In a possible implementation, the emergency event includes a road condition navigation event.
[0076] For example, if the first device is a mobile phone, the second device is a car, and the first application on the mobile phone is a map navigation, the map navigation application on the mobile phone calculates a turn ahead in the background and restores the map navigation display interface. It should be noted that the above-mentioned traffic navigation event can also be any sudden situation encountered during driving, such as sudden braking, sudden stopping, sudden acceleration, and emergency avoidance, and this embodiment of the application is not limited to this.
[0077] In a possible implementation, the first device receives a second instruction for adjusting the screen projection effect sent by the second device; the first device adjusts the screen projection effect of the display interface of the first application according to the second instruction.
[0078] In one possible implementation, the first device adjusts the screen projection effect of the display interface of the first application according to the second instruction, including: turning on the encoding of the video image corresponding to the display interface of the first application, turning on the encoding of the audio corresponding to the display interface of the first application, or increasing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
[0079] In a possible implementation, after the first device adjusts the projection effect of the display interface of the first application according to the second instruction, it also includes: the first device projects the display interface of the first application after adjusting the projection effect according to the second instruction to the second device.
[0080] In a possible implementation, the first device also projects the display interface of the second application to the second device, and the method further includes: the first device adjusts the projection effect of the display interface of the second application according to the second instruction.
[0081] In one possible implementation, the first device adjusts the screen projection effect of the display interface of the second application according to the second instruction, including: stopping the encoding of the video image corresponding to the display interface of the second application, stopping the encoding of the audio corresponding to the display interface of the second application, or reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the second application.
[0082] Taking the first device as a mobile phone and the second device as a laptop as an example, the display interface of the first application and the display interface of the second application are displayed on the mobile phone, and the first projection interface (corresponding to the display interface of the first application on the mobile phone) and the second projection interface (corresponding to the display interface of the second application on the mobile phone) are displayed on the laptop. Assuming that the user is paying attention to the first projection interface, the mobile phone can adjust the display interface of the second application according to the second instruction by stopping the encoding of the video screen corresponding to the display interface of the second application, or by simultaneously stopping the encoding of the video screen and audio corresponding to the display interface of the second application, or by reducing at least one of the bit rate, frame rate or resolution of the video screen corresponding to the display interface of the second application. Since the user is not paying attention to the second projection interface, the power consumption of the first device mobile phone is reduced without affecting the user's subjective visual experience, thereby improving the battery life.
[0083] In a possible implementation, after the first device adjusts the projection effect of the display interface of the second application according to the second instruction, it also includes: the first device projects the display interface of the second application after adjusting the projection effect according to the second instruction to the second device.
[0084] In a fourth aspect, a second device is provided, comprising: a memory, one or more processors, and one or more programs; wherein the one or more programs are stored in the memory; when the one or more processors execute the one or more programs, the second device executes a method as in any possible implementation of the first aspect.
[0085] In a fifth aspect, a vehicle is provided, comprising a vehicle driving module for controlling various driving operations on the vehicle; a sensor module for detecting signals related to the vehicle's driving; a camera for detecting whether the user is paying attention to the projection interface displayed on the vehicle; a memory for storing instructions executed by one or more processors of the vehicle; and a processor, which, when the processor executes the instructions in the memory, enables the vehicle to execute a method in any possible implementation of the first aspect.
[0086] In the sixth aspect, a first device is provided, comprising a memory, one or more processors and one or more programs; wherein the one or more programs are stored in the memory; when the one or more processors execute the one or more programs, the first device executes a method as in any possible implementation of the third aspect.
[0087] In the seventh aspect, a screen projection system is provided, which includes a first device and a second device, the second device is used to execute the method in any possible implementation of the first aspect, and the first device is used to execute the method in any possible implementation of the third aspect.
[0088] In an eighth aspect, a chip system is provided, which includes a processing circuit and a storage medium, in which a computer program code is stored; when the computer program code is executed by the processing circuit, the method in any possible implementation of the first aspect, the method in any possible implementation of the second aspect, and the method in any possible implementation of the third aspect is implemented.
[0089] In the ninth aspect, a computer-readable storage medium is provided, which is used to store a computer program. When the computer program is run on a computer, the computer executes a method as described in any possible implementation of the first aspect, any possible implementation of the second aspect, and any possible implementation of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] FIG1 is a schematic diagram of a scenario of projecting a mobile phone screen onto a car according to an embodiment of the present application;
[0091] FIG2 is a schematic diagram of a scenario of projecting a mobile phone screen onto a smart TV according to an embodiment of the present application;
[0092] FIG3 is a schematic diagram of a scenario of projecting a mobile phone screen onto a laptop computer according to an embodiment of the present application;
[0093] FIG4 is a schematic diagram of the hardware structure of a first device provided in an embodiment of the present application;
[0094] FIG5( a ) is a schematic diagram of the hardware structure of a second device provided in an embodiment of the present application;
[0095] FIG5( b ) is a schematic diagram of the hardware structure of another second device provided in an embodiment of the present application;
[0096] FIG6 is a schematic diagram of software interaction when a first device projects a screen onto a second device, provided by an embodiment of the present application;
[0097] Figures 7(a) to 7(c) are schematic diagrams of a scenario of projecting a mobile phone screen onto a car, provided in an embodiment of the present application;
[0098] Figures 8(a) to 8(e) are schematic diagrams of a scenario in which a mobile phone screen is projected onto a smart TV, provided in an embodiment of the present application;
[0099] Figures 9(a) to 9(c) are schematic diagrams of a scenario in which a mobile phone screen is projected onto a laptop computer, provided in an embodiment of the present application;
[0100] FIG10 is a flowchart of a screen projection method provided in an embodiment of the application;
[0101] Figures 11(a) to 11(b) are flowcharts 2 to 3 of a screen projection method provided in an embodiment of the application;
[0102] FIG12 is a structural block diagram of an electronic device provided in an embodiment of the present application;
[0103] FIG13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0104] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0105] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0106] Screen projection technology refers to the communication connection established between the screen projection sending device (first device) and the screen projection receiving device (second device) to achieve the synchronous display of the display interface of one or more applications on the first device on the second device.
[0107] In the embodiment of the present application, according to different screen projection requirements, the screen projection methods may include the following two:
[0108] 1. Mirror screen mode
[0109] Mirroring mode synchronizes the display of a first device with the display of a second device. The second device's display will display the same content as the first device's. In simple terms, in mirroring mode, the second device's display acts as another display for the first device, displaying the same content as the first device's display.
[0110] 2. Streaming media push mode
[0111] Streaming media push mode refers to displaying multimedia files of the first device on the second device in the form of streaming media push. In streaming media push mode, generally only multimedia files can be projected. Among them, multimedia files may include audio, video, images, games or text, etc., which are not limited in the embodiments of the present application. In addition, multimedia files can be locally stored multimedia files or multimedia files on the network, which are not limited in the embodiments of the present application.
[0112] In this mode, according to different screen projection requirements, the screen projection methods can include same-source projection and different-source projection.
[0113] Same-source screen projection refers to projecting the display interface of one or more applications launched on the first device to the second device by extending the screen. In this same-source screen projection mode, the first device uses one-way encoding to send a standard video stream encoded with the display interface of all multimedia file applications rendered on the main screen (displaying the default interface) and the virtual screen to the second device, so that the display interface of all applications rendered on the virtual screen can be displayed on the second device display.
[0114] In the heterogeneous screen projection mode, the first device uses two-way encoding, one of which sends the default interface on the main screen for display, and the other sends the standard video stream corresponding to the display interface of all multimedia file applications rendered on the virtual screen to the second device.
[0115] It can be understood that the same-source screen projection method and the heterogeneous screen projection method each have their own advantages and disadvantages. For example, the same-source screen projection method can ensure the continuity of the application; while the heterogeneous screen projection method requires restarting the application when switching between different screens. However, the heterogeneous screen projection method has better isolation. For example, the heterogeneous screen projection method can provide users with independent control screens (that is, the display screen of the first device and the display screen of the second device) to handle different interfaces.
[0116] The screen projection method provided in the embodiment of the present application is applicable to any screen projection method.
[0117] Please refer to Figures 1, 2, and 3. Figures 1, 2, and 3 show schematic diagrams of three screen projection scenarios, which are introduced below.
[0118] As shown in Figure 1, a communication connection for screen projection is established between the smartphone 110 (i.e., the first device) and the car 120 (i.e., the second device). Generally speaking, a frequently used scenario in a driving scenario is to project the map navigation application in the smartphone 110 to the display screen 121 of the car 120. Assuming that the smartphone 110 displays the display interface of the map navigation application on its display screen 111, in response to the user's screen projection operation, it sends a screen projection request to the car 120 so that the display interface of the map navigation application is synchronously displayed on the display screen 121 of the car 120. The size of the display screen 121 of the car 120 is generally larger than the size of the display screen 111 of the mobile phone 110, and is in a more convenient and comfortable viewing position for the user. The user can get a better visual experience on the display screen 121 of the car 120. The camera 122 of the car 120 is located in front of the left side of the steering wheel and can be used to detect the user's operation. While driving, the user will not check the display screen 121 of the car 120 for a long time, but the smartphone 110 will continue to generate a video stream and send it to the car 120 for decoding, rendering and display, causing the smartphone 110 to continuously consume power and affect the battery life.
[0119] It should be understood that the camera 122 may also be located at a position such as the left A-pillar of the vehicle 120 , above the display screen 121 , etc., and this embodiment of the present application is not limited to this.
[0120] As shown in Figure 2, smartphone 210, smartphone 220, smartphone 230, and smartphone 240 (i.e., multiple first devices) simultaneously establish communication connections for screen projection with smart TV 250 (i.e., second device). Smart phones 210, 220, 230, and 240 respectively respond to the user's screen projection operation and send screen projection requests to smart TV 250 so that the display screen 251 of smart TV 250 synchronously displays the video display interface displayed on the display screen 211 of smartphone 210, the picture display interface displayed on the display screen 221 of smartphone 220, the game display interface displayed on the display screen 231 of smartphone 230, and the video display interface displayed on the display screen 241 of smartphone 240. The camera 252 of smart TV 250 is located above smart TV 250 and can be used to detect user operations. When watching smart TV 250, a user generally only focuses on the display interface of a single application on display screen 251 at a time. However, smartphones 210, 220, 230, and 240 continuously generate video streams and send them to smart TV 250 for decoding, rendering, and display, which continuously consumes power and affects battery life. In addition, under normal circumstances, the display interfaces of multiple applications displayed simultaneously on display screen 251 of smart TV 250 will have the same display effect, resulting in a poor visual experience when users watch them simultaneously.
[0121] It should be noted that Figure 2 uses four smartphones as multiple first devices to project screens onto a single second device as an example. The number of first devices can also be two, three, or more, in this scenario, which is considered multi-window projection. Alternatively, Figure 2 can also use just one first device, creating a single-window projection scenario, similar to Figure 1, where a smartphone projects screens onto a car.
[0122] As shown in Figure 3, a communication connection for screen projection is established between a smartphone 310 (i.e., a first device) and a laptop computer 320 (i.e., a second device). While the smartphone 310 displays the mobile desktop 312 on its screen 311, it receives the user's opening operation of the short message and video applications on the smartphone 310. In response to the user's opening operation of the short message and video applications, the smartphone 310 will open the screen projection interface in the form of a free floating window, and then the smartphone 310 will render the above-mentioned free floating window on the virtual screen 313 of the smartphone 310. Then the smartphone 310 will encode the short message display interface 314 and the video display interface 315 rendered on the virtual screen 313 into a standard video stream and transmit it to the laptop computer 320. The laptop computer 320 synchronously displays the mobile desktop 322, the short message display interface 323 and the video display interface 324, thereby realizing the collaborative display of multiple windows (i.e., the display interface of multiple applications) on the smartphone 310 (i.e., the first device) and the laptop computer 320 (i.e., the second device). Users can get a better viewing experience on the larger display screen 321 of the laptop computer 320. Laptop computer 320 has a camera 325 located above it and can be used to detect user operations. Smartphone 310 encodes the phone's home screen 312, short message display interface 314, and video display interface 315, continuously generating and sending video streams to laptop computer 320 for decoding, rendering, and display. This causes a continuous drain on smartphone 310's battery, impacting battery life.
[0123] It should be understood that Figure 3 takes the display interface of three applications on the smartphone 310 projected to the laptop computer 320 as an example. The number of application display interfaces can also be one, such as only projecting the mobile phone desktop 312 to the laptop computer 320; the number of application display interfaces can also be two, four, etc., which is not limited in the embodiments of the present application.
[0124] In an embodiment of the present application, a wireless communication connection can be established between the first device and the second device through methods such as "touch and touch", "scan" (such as scanning a QR code or a barcode), and "approach automatic discovery" (such as with the help of Bluetooth or wireless fidelity (WiFi)). Among them, the first device and the second device can follow a wireless transmission protocol and transmit information through a wireless connection transceiver. Among them, the wireless transmission protocol may include but is not limited to Bluetooth (BT) transmission protocol or wireless fidelity (WiFi) transmission protocol. For example, the WiFi transmission protocol may be a WiFi P2P transmission protocol. The wireless connection transceiver includes but is not limited to Bluetooth, WiFi and other transceivers. Information transmission between the first device and the second device is achieved through wireless pairing. Among them, the information transmitted between the first device and the second device includes but is not limited to content data to be displayed (such as standard video streams) and control instructions.
[0125] Alternatively, a wired communication connection may be established between the first device and the second device. For example, the wired communication connection may be established between the first device and the second device via a video graphics array (VGA), a digital visual interface (DVI), a high-definition multimedia interface (HDMI), or a data transmission cable. Information transmission is achieved between the first device and the second device via the established wired communication connection. This application does not limit the specific connection method between the first device and the second device.
[0126] In an embodiment of the present application, the first device and the second device both include display screens. The first device and the second device may include, but are not limited to, smartphones, cars, car computers, smart TVs, laptops, netbooks, tablet computers, smart watches, smart bracelets, phone watches, smart cameras, PDAs, personal computers (PCs), personal digital assistants (PDAs), portable multimedia players (PMPs), augmented reality (AR) / virtual reality (VR) devices, televisions, projection devices, or somatosensory game consoles in human-computer interaction scenarios, among which the car computer refers to the abbreviation of an in-vehicle infotainment product installed in a car, which is functionally capable of realizing information communication between people and cars, and between cars and the outside world (cars and cars, and cars and electronic devices). Alternatively, the first device and the second device may also be electronic devices of other types or structures, which are not limited in this application.
[0127] Please refer to Figure 4, which takes a smartphone as an example and shows a hardware structure diagram of a first device provided in an embodiment of the present application. As shown in Figure 4, the first device may include a processor 410, a memory (including an external memory interface 420 and an internal memory 421), a universal serial bus (USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, a sensor module 480, a button 490, a motor 491, an indicator 492, a camera 493, a display 494, and a subscriber identification module (SIM) card interface 495, etc.
[0128] It is understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the first device. In other embodiments of the present application, the first device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the diagram may be implemented in hardware, software, or a combination of software and hardware.
[0129] Camera 493 is used to capture images. The camera can be a wide-angle camera, a main camera, a macro camera, a telephoto camera, a time-of-flight (TOF) camera, etc. The present embodiment of the application does not limit the form and number of cameras. It should be understood that the camera of the mobile phone can be a front camera, a rear camera, or a combination of a front camera and a rear camera, and the user's operation is detected by the front camera and the rear camera. The present embodiment of the application does not limit this.
[0130] The processor 410 may include one or more processing units. For example, the processor 410 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a flight controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors. The first device may process the instructions sent by the second device through the processor 410 to adjust the screen projection effect.
[0131] Processor 410 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 410 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 410. If processor 410 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 410 latency, and thus improves system efficiency.
[0132] In some embodiments, the processor 410 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0133] The charging management module 440 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 440 can receive charging input from the wired charger via the USB interface 430. In some wireless charging embodiments, the charging management module 440 can receive wireless charging input via the wireless charging coil of the first device. While charging the battery 442, the charging management module 440 can also provide power to the first device via the power management module 441.
[0134] The power management module 441 is used to connect the battery 442, the charging management module 440, and the processor 410. The power management module 441 receives input from the battery 442 and / or the charging management module 440 and provides power to the processor 410, the internal memory 421, the display screen 494, the camera assembly 493, and the wireless communication module 460. The power management module 441 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 441 can also be provided in the processor 410. In other embodiments, the power management module 441 and the charging management module 440 can also be provided in the same device.
[0135] The wireless communication function of the first device can be implemented through antenna 1, antenna 2, mobile communication module 450, wireless communication module 460, modem processor and baseband processor.
[0136] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the first device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0137] The mobile communication module 450 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on the first device. The mobile communication module 450 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 450 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 450 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 450 can be set in the processor 410. In some embodiments, at least some of the functional modules of the mobile communication module 450 can be set in the same device as at least some of the modules of the processor 410.
[0138] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 470A, the receiver 470B, etc.) or displays an image or video through the display screen 494. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 410 and be provided in the same device as the mobile communication module 450 or other functional modules.
[0139] The wireless communication module 460 can provide wireless communication solutions including wireless local area networks (WLAN) (such as WiFi networks), Bluetooth BT, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied on the first device. The wireless communication module 460 can be one or more devices integrating at least one communication processing module. The wireless communication module 460 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 410. The wireless communication module 460 can also receive the signal to be sent from the processor 410, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0140] In some embodiments, antenna 1 of the first device is coupled to mobile communication module 450, and antenna 2 is coupled to wireless communication module 460, so that the first device can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), and / or satellite based augmentation system (SBAS). The first device can establish a communication connection with other devices through the mobile communication module 450, and transmit data with the other devices through the established communication connection. For example, the first device can project screen content to other devices through the established communication connection, or receive screen content projected from other devices.
[0141] The first device implements a display function through a GPU, display screen 494, and an application processor. The GPU is a microprocessor for image processing and is connected to the display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 410 may include one or more GPUs that execute program instructions to generate or change display information. In embodiments of the present application, the GPU can be used to convert and drive the display information required by the computer system and provide row scan signals to the display to control the correct display of the display.
[0142] Display screen 494 is used to display images, videos, and the like. Display screen 494 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, the first device can include one or N display screens 494, where N is a positive integer greater than one.
[0143] The first device can realize the shooting function through ISP, camera component 493, video codec, GPU, display screen 494 and application processor.
[0144] External memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the first device. The external memory card communicates with processor 410 via external memory interface 420 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0145] The internal memory 421 can be used to store computer executable program code, which includes instructions. The internal memory 421 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the first device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 421 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 410 executes various functional applications and data processing of the first device by running instructions stored in the internal memory 421 and / or instructions stored in a memory provided in the processor.
[0146] The first device can implement audio functions such as music playback and recording through the audio module 470, speaker 470A, receiver 470B, microphone 470C, and application processor. For the specific working principles and functions of the audio module 470, speaker 470A, receiver 470B, and microphone 470C, please refer to the description in conventional technology.
[0147] The sensor module 480 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0148] Keys 490 include a power button, a volume button, etc. Keys 490 may be mechanical keys or touch keys. The first device may receive key inputs and generate key signal inputs related to user settings and function control of the first device.
[0149] Motor 491 can generate vibration prompts. Motor 491 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 494, motor 491 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0150] Indicator 492 can be an indicator light, which can be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0151] The SIM card interface 495 is used to connect a SIM card. The SIM card can be connected to and separated from the first device by inserting it into or removing it from the SIM card interface 495. The first device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 495 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 495 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 495 can also be compatible with different types of SIM cards. The SIM card interface 495 can also be compatible with external memory cards. The first device interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the first device uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the first device and cannot be separated from the first device.
[0152] It should be noted that the hardware modules included in the first device shown in Figure 4 are merely exemplary descriptions and do not limit the specific structure of the first device. For example, the first device may also include other functional modules.
[0153] As an example, Figure 5(a) illustrates a schematic diagram of the hardware structure of a second device, taking a vehicle as an example. As shown in Figure 5(a), the vehicle may include: a processor 510, a communication module 520, an input module 530, a memory 540, an output module 550, a vehicle driving module 560, a sensor module 570, and a power module 580.
[0154] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the vehicle. In other embodiments, the vehicle may include more or fewer components than illustrated, or some components may be combined, separated, or arranged differently. The illustrated components may be implemented in hardware, software, or a combination of hardware and software.
[0155] The processor 510 may include one or more processing units. For example, the processor 510 may include an application processor (AP), a modem processor, a graphics processor (GPU), an ISP, a controller, a memory, a video codec, a DSP, a baseband processor, and / or an NPU. The different processing units may be independent devices or integrated into one or more processors. The second device may process images captured by the camera 532 or user touch operations sensed by the touch screen 535 through the processor 510, and identify whether the user is paying attention to the image displayed on the display screen 551 of the second device.
[0156] The controller can be the nerve center and command center of the vehicle. It can complete the command fetching, generate operation control signals and then execute the command control.
[0157] In some embodiments, the processor 510 may include one or more interfaces, such as an integrated circuit I2C interface, an integrated circuit built-in audio I2S interface, a PCM interface, a UART interface, a MIPI, a GPIO interface, and / or a USB interface.
[0158] It is understood that the interface connection relationship between the modules illustrated in this embodiment is merely illustrative and does not constitute a structural limitation on the vehicle. In other embodiments, the vehicle may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0159] The communication module 520 may include a broadcast receiving module 521 , a wireless communication module 522 , a short-range communication module 523 , a location information module 524 , and an optical communication module 525 .
[0160] The broadcast receiving module 521 is used to receive broadcast signals or broadcast related information from an external broadcast management server through a broadcast channel. Broadcasting includes radio broadcasting or television broadcasting.
[0161] The wireless communication module 522 can be coupled to the vehicle internally or externally. The wireless communication module 522 can be one or more devices integrating at least one communication processing module, and can send or receive wireless signals through a communication network according to wireless Internet technology. Wireless Internet technology includes wireless local area network WLAN (such as WiFi network), Digital Living Network Alliance (DLNA), Wireless Broadband (WiBro), Worldwide Interoperability for Microwave Access (WiMAX), High Speed Downlink Packet Access (HSDPA), High Speed Uplink Packet Access (HSUPA), Long Term Evolution (LTE), 2G / 3G / 4G / 5G, etc. The communication module 522 can also receive signals to be sent from the processor 510 and transmit them.
[0162] The short-range communication module 523 may use technologies such as Bluetooth, radio frequency identification (RFID), infrared technology IR, ultra-wideband (UWB), ZigBee, near field communication technology (NFC), wireless USB (wireless universal serial bus), etc. The short-range communication module 523 is used for the vehicle to communicate with external devices, such as the first device mentioned above.
[0163] The location information module 524 is used to obtain the vehicle's location. For example, when the vehicle uses the location information module 524, it can receive signals sent by satellites of the Beidou satellite positioning system (BDS) to obtain the vehicle's location.
[0164] The optical communication module 525 may include a light-emitting unit and a light-receiving unit. The light-emitting unit may include at least one light-emitting element for converting an electrical signal into light. The light-emitting element may be a light-emitting diode (LED). The light-emitting unit may emit light to the outside by flashing the light-emitting element at a prescribed frequency. In some embodiments, the light-emitting unit may include an array of multiple light-emitting elements. In some embodiments, the light-emitting unit may be integrated with a lamp provided in the vehicle. For example, the light-emitting unit may be a headlight, a taillight, a brake light, a turn signal lamp, and a sidelight. The light-receiving unit may include a photodiode (PDP) that may convert light into an electrical signal. For example, the light-receiving unit may receive information about a preceding vehicle by light emitted from a light source included in the preceding vehicle.
[0165] The input module 530 includes a driving operation module 531 , a camera 532 , a microphone 533 , a mechanical input module 534 , and a touch screen 535 .
[0166] The mechanical input module 534 is used to receive user operations on hardware machinery, including steering wheel control, accelerator pedal, brake pedal, and other operations.
[0167] The driving operation module 531 is used to perform control in response to the operation received by the mechanical input module 534 .
[0168] The camera 532 may include an image sensor and an image processing module capable of processing still or moving images captured by the image sensor (e.g., a CMOS or CCD). The vehicle can implement a camera function using an ISP, camera 532, a video codec, a GPU, display screen 551, and an application processor, and is used to detect whether the user is paying attention to the content displayed on the display screen 551. The ISP processes the data fed back by the camera 532. In some embodiments, the ISP may be located within the camera 532. The embodiments of this application do not limit the form or number of cameras. It should be understood that the range of scenery a camera can capture is typically expressed in degrees, which is called the field of view (FOV) of the lens. In other words, the FOV refers to the range of the lens; objects outside this range will not be captured. In some embodiments, the FOV of the camera 532 can cover the user, facilitating detection of whether the user is paying attention to the vehicle's display screen 551, i.e., detecting whether the user's gaze is directed at the vehicle's display screen 551. In other embodiments, the camera 532 is used to detect which specific application display interface on the vehicle's display screen 551 the user is focusing on and transmit the detection result to the processor 510.
[0169] The microphone 533 is used to receive user voice input and process external voice signals into electronic data, which can be transmitted to the processor 510.
[0170] Touch screen 535, also known as a "touch screen" or "touch panel," is an inductive liquid crystal display device that receives input signals, such as from a contact. When a graphical button on the screen is touched, the on-screen tactile feedback system activates various connected devices according to pre-programmed instructions. This replaces mechanical button panels and creates vivid audio and video effects on the LCD screen. As an input device, touch screens are currently the simplest, most convenient, and most natural form of human-computer interaction. In some embodiments, touch screen 535 sends a message to processor 510 for processing in response to a user touching a specific location on touch screen 535 to indicate attention.
[0171] The memory 540 can be used to store computer-executable program code, which includes instructions. The processor 510 executes the instructions stored in the memory 540 to perform various vehicle functions and data processing. The memory 540 can include a program storage area and a data storage area.
[0172] The program storage area can store an operating system and at least one application required for a function (such as sound playback or image playback). The data storage area can store data generated during vehicle use. Furthermore, memory 540 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, a flash memory device, or universal flash storage (UFS).
[0173] The output module 550 includes a display screen 551 , a projection module 552 , a speaker 553 and a speaker interface 554 .
[0174] The vehicle implements its display function through a GPU, a display screen 551, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 551 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 510 may include one or more GPUs, which execute program instructions to generate or change display information. The display screen 551 is used to display images, videos, etc. The display screen 551 includes a display panel. In the embodiment of the present application, the GPU can be used to convert and drive the display information required by the vehicle system and provide row scan signals to the display to control the correct display of the display.
[0175] The projection module 552 can be a HUD, AR-HUD or other device with projection function. A Head Up Display (HUD) is a display device that projects an image into the driver's field of view in front of the driver. It mainly uses the principle of optical reflection to project important relevant information in the form of a two-dimensional image on the windshield of the car. The height is roughly at the same level as the driver's eyes. When the driver looks forward through the windshield, he can see the two-dimensional image projected by the HUD displayed on a virtual image surface in front of the windshield. Compared with traditional instruments and central control screens, the driver does not need to lower his head when observing the image projected by the HUD, avoiding switching back and forth between the image and the road surface, reducing crisis response time, and improving driving safety. Augmented reality (AR) and head-up display (AR-HUD) proposed in recent years can integrate the AR effect of the HUD projection display with real road information, enhance the driver's acquisition of road information, and realize functions such as AR navigation and AR warning.
[0176] Projection module 552 can be installed above or inside the center console of the vehicle cabin. It typically includes a projector, a reflector, a projection mirror, an adjustment motor, and a control unit. The control unit is an electronic device, specifically a conventional chip processor such as a central processing unit (CPU) or a microprocessor (MCU). Projection module 552 can be pre-set with an imaging model or obtain an imaging model pre-set in other components of the vehicle. The parameters of this imaging model are correlated with the human eye position information collected by the in-vehicle acquisition device. The parameters can be calibrated based on the human eye position information, and then a projection image is generated based on the environmental information collected by the external acquisition device, and output to the projector.
[0177] The speaker 553 and the speaker interface 554 can realize the audio playback function.
[0178] The vehicle driving module 560 is used to control various operations on the vehicle, including a power drive module 561, a steering drive module 562, a brake module 563, a light drive module 564, an air conditioning drive module 565, a window drive module 566, an airbag drive module 567, a sunroof drive module 568 and a suspension drive module 569.
[0179] The power driver module 561 can electronically control the power supply within the vehicle. For example, if the power source is a fossil fuel-based engine, the power driver module 561 can electronically control the engine. If the power source is an electric motor, the power driver module 561 can control the electric motor.
[0180] The steering drive module 562 includes a steering device and can electronically control the steering device in the vehicle.
[0181] Braking module 563 can electronically control the vehicle's internal braking devices. For example, braking module 563 can reduce vehicle speed by controlling the brakes located at the wheels. In another example, braking module 563 can adjust the vehicle's direction of travel by applying the brakes located at the left and right wheels to the left or right.
[0182] The light driving module 564 can control the intensity and direction of lights arranged inside and outside the vehicle to turn on or off.
[0183] The air conditioning drive module 565 can electronically control the air conditioning in the car. For example, when the temperature inside the car is high, the air conditioning drive module can control the air conditioning to provide cool air to the car.
[0184] The window drive module 566 can electronically control the window devices in the vehicle. For example, the window drive module 566 can control the opening or closing of the left and right windows of the vehicle.
[0185] The airbag actuation module 567 can electronically control the airbag device in the vehicle. For example, the airbag actuation module 567 can control the airbag to deploy in dangerous situations.
[0186] The sunroof driver module 568 can electronically control the sunroof device in the vehicle. For example, the sunroof driver module 568 can control the opening or closing of the sunroof.
[0187] The suspension drive module 569 can electronically control the suspension device. For example, when the road surface has a curve, the suspension drive module 569 can control the suspension device to reduce the vibration of the vehicle.
[0188] The sensor module 570 is used to detect signals related to vehicle movement and may include a collision sensor, a steering sensor, a speed sensor, a slope sensor, a weight sensor, a heading sensor, a yaw sensor, a gyroscope sensor, a position module, a vehicle forward / reverse motion sensor, a battery sensor, a fuel sensor, a tire sensor, a steering sensor based on steering wheel rotation, an in-vehicle temperature sensor, an in-vehicle humidity sensor, an ultrasonic sensor, an infrared sensor, a radar, and a lidar. The sensor module 570 can obtain sensing signals related to, for example, vehicle collision information, vehicle travel direction information, vehicle location information (GPS information), vehicle angle information, vehicle speed information, vehicle acceleration information, vehicle tilt information, vehicle forward / reverse motion information, battery information, fuel information, tire information, vehicle light information, in-vehicle temperature information, in-vehicle humidity information, and steering wheel angle information.
[0189] The power module 580 is used to connect to a power source, receive power input, and provide power to the processor 510, the communication module 520, the input module 530, the memory 540, the output module 550, the vehicle driving module 560, and the sensor module 570. In some embodiments, the power module 580 can also be provided in the processor 510.
[0190] It should be understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the vehicle. It may have more or fewer components than those shown in Figure 5(a), may combine two or more components, or may have a different component configuration. The various components shown in Figure 5(a) may be implemented in hardware, including one or more signal processing or application-specific integrated circuits, software, or a combination of hardware and software.
[0191] The second device can also be a terminal device such as a vehicle computer, a smart TV, or a laptop computer. As an example, Figure 5(b) shows a schematic diagram of the hardware structure of the second device, taking the second device being a vehicle computer, a smart TV, or a laptop computer as an example. As shown in Figure 5, the vehicle computer, smart TV, or laptop computer may include: a processor 5110, a memory 5120, a power management module 5130, a wireless communication module 5140, an audio module 5150, a speaker 5150A, a microphone 5150B, a speaker interface 5150C, a sensor module 5160, a display screen 5170, and a camera 5171, etc.
[0192] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on vehicle computers, smart TVs, or laptop computers. In other embodiments, more or fewer components than illustrated may be included, or some components may be combined, separated, or arranged differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0193] The processor 5110 may include one or more processing units. For example, the processor 510 may include an application processor (AP), a modem processor, a graphics processor (GPU), an ISP, a controller, a memory, a video codec, a DSP, a baseband processor, and / or an NPU. The different processing units may be independent devices or integrated into one or more processors. The second device may process images captured by the camera 5171 through the processor 5110 and identify whether the user is focusing on the image displayed on the display screen 5170 of the second device.
[0194] A memory may also be provided in the processor 5110 for storing instructions and data. In some embodiments, the memory in the processor 5110 is a cache memory. The memory may store instructions or data that the processor 5110 has just used or is cyclically used. If the processor 5110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 5110 is reduced, and the efficiency of the system is improved. In some embodiments, the processor 5110 may include one or more interfaces. The interface may include an integrated circuit I2C interface, an integrated circuit built-in audio I2S interface, a PCM interface, a UART interface, a MIPI, a GPIO interface, and / or a USB interface, etc.
[0195] It should be understood that the interface connection relationship between the modules illustrated in this embodiment is only for illustrative purposes and does not constitute a structural limitation on the vehicle computer, smart TV, or laptop computer. In other embodiments, different interface connection methods or a combination of multiple interface connection methods may also be used.
[0196] The memory 5120 can be used to store computer executable program code, which includes instructions. The processor 5110 executes various functional applications and data processing of the notebook computer by running the instructions stored in the memory 5120. For example, in an embodiment of the present application, the processor 5110 can execute the instructions stored in the memory 5120, and the memory 5120 can include a program storage area and a data storage area.
[0197] The program storage area may store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.). The data storage area may store data created during use. Furthermore, the memory 5120 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, a flash memory device, or a universal flash storage (UFS).
[0198] The power management module 5130 is used to connect to a power source, receive power input, and provide power to the processor 5110, memory 5120, display 5170, camera 5171, and wireless communication module 5140. In some embodiments, the power management module 5130 may also be provided in the processor 5110.
[0199] The wireless communication function can be implemented through the antenna and the wireless communication module 5140. Among them, the wireless communication module 5140 can provide wireless communication solutions including wireless local area network WLAN (such as WiFi network), Bluetooth BT, global navigation satellite system GNSS, frequency modulation FM, short-range wireless communication technology NFC, infrared technology IR, mobile cellular network, etc.
[0200] The wireless communication module 5140 can be one or more devices that integrate at least one communication processing module. The wireless communication module 5140 receives electromagnetic waves via antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 5110. The wireless communication module 5140 can also receive signals to be transmitted from the processor 5110, frequency-modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2. In some embodiments, the antenna and wireless communication module 5140 are coupled, enabling the vehicle, smart TV, or laptop to communicate with the network and other devices via wireless communication technology.
[0201] The car computer, smart TV or laptop computer can realize the display function through the GPU, display screen 5170, and application processor. The GPU is a microprocessor for image processing, which connects the display screen 5170 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 5110 may include one or more GPUs, which execute program instructions to generate or change display information. The display screen 5170 is used to display images, videos, etc. The display screen 5170 includes a display panel. In an embodiment of the present application, the GPU can be used to convert and drive the display information required by the system, and provide a row scan signal to the display to control the correct display of the display.
[0202] In some embodiments, a touch screen can be integrated with the display screen 5170 to implement input and output functions. A touch screen, also known as a touch panel, can detect user touch operations on or near it (e.g., operations performed by a user using a finger, stylus, or any other suitable object or accessory on or near the touch screen) and activate corresponding connected devices according to pre-set programs. In some embodiments, the touch screen sends a message to the processor 5110 for processing in response to a user touching a specific location on the touch screen to indicate attention.
[0203] The car computer, smart TV, or laptop computer can realize the shooting function through the ISP, camera 5171, video codec, GPU, display 5170, and application processor. The ISP is used to process the data fed back by the camera 5171. In some embodiments, the ISP can be set in the camera 5171.
[0204] In some embodiments, the camera 5171 is used to detect that the user is paying attention to an application display interface on the display screen 5171 of the car computer, smart TV or laptop computer and transmit the detection result to the processor 5110.
[0205] The car computer, smart TV or laptop computer can implement audio functions such as music playback and recording through the audio module 5150, speaker 5150A, microphone 5150B, speaker interface 5150C, and application processor.
[0206] The sensor module 5160 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0207] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on in-vehicle computers, smart TVs, or laptop computers. They may have more or fewer components than those shown in FIG5(b), may combine two or more components, or may have different component configurations. The various components shown in FIG5(b) may be implemented in hardware, including one or more signal processing or application-specific integrated circuits, software, or a combination of hardware and software.
[0208] The following introduces the software system architecture of the first device and the second device. For example, the software system of the first device and the second device provided in the embodiment of the present application can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. For example, the software system may include but is not limited to This application does not limit the operating system to Harmony.
[0209] Please refer to Figure 6. Figure 6 takes the layered architecture of Harmony operating system as an example to specifically introduce the software interaction diagram when the first device casts the screen to the second device in the embodiment of the present application. The layered architecture can divide the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. As shown in Figure 6, the software structure of the first device and the second device can be divided into four layers from bottom to top: kernel layer, system basic service layer, application framework layer (referred to as framework layer) and application layer (referred to as application layer).
[0210] The Harmony system utilizes a multi-kernel design, optionally including the Linux kernel, the Harmony microkernel, and LiteOS. This design allows devices with varying capabilities to select the appropriate system kernel. The kernel layer also includes the Kernel Abstraction Layer, which provides foundational kernel capabilities for other Harmony layers, such as process management, thread management, memory management, file system management, network management, and peripheral management.
[0211] The system basic service layer is the core capability set of the Harmony system, supporting the Harmony system to provide services to application services through the framework layer in multi-device deployment scenarios. This layer optionally includes the system basic capability subsystem set, the basic software service subsystem set, the Hongmeng Driver Framework (HDF) and the Hardware Abstraction Adaptation Layer (HAL), the hardware service subsystem set, the proprietary hardware service subsystem, and the enhanced software service subsystem set.
[0212] The system's basic capability subsystems provide fundamental capabilities for running, scheduling, and migrating distributed applications across multiple devices in the Harmony system. These subsystems comprise a distributed soft bus, distributed data and file management, distributed task scheduling, the Ark runtime, and distributed security and privacy protection. The Ark runtime provides a C / C++ / JavaScript multi-language runtime and basic system class libraries. It also provides a runtime for Java programs statically compiled using the Ark compiler (i.e., applications or frameworks developed in Java).
[0213] The basic software service subsystem set provides public and general software services for the Harmony system, and is composed of subsystems such as MSDP&DV, graphics and images, distributed media, multi-mode input, and event notification. MSDP&DV (Multimodal Sensor Data Platform&Dvice Virtualization) is a comprehensive sensor information processing and device virtualization platform that mainly processes sensor information. For example, in an embodiment of the present application, user operation information obtained by sensors such as cameras and touch screens can be processed by MSDP&DV. In addition, the first device and the second device can complete the screen projection display during the screen projection process based on the graphics and image software service.
[0214] The Harmony Driver Framework (HDF) and Hardware Abstraction Adaptation Layer (HAL) are the foundation of the open hardware ecosystem of the Harmony system. They provide hardware capability abstraction to the hardware upward and provide a development framework and operating environment for various peripheral drivers downward.
[0215] The hardware service subsystem set provides common and adaptive hardware services for the Harmony system, and is composed of hardware service subsystems such as pan-Sensor, location, power, USB, and biometrics.
[0216] The proprietary hardware service subsystem provides the Harmony system with differentiated hardware services for different devices, optionally including subsystems such as tablet proprietary hardware services, car proprietary hardware services, wearable proprietary hardware services, and IoT proprietary hardware services.
[0217] The enhanced software service subsystem provides the Harmony system with differentiated, enhanced software services tailored to different devices. It consists of subsystems such as the cast+ subsystem software service, tablet business software service, smart screen business software service, car business software service, and IoT business software service. The enhanced software service subsystem can be tailored to the subsystem granularity based on the deployment environment of different device forms, and each subsystem can be tailored to the functional granularity. The cast+ subsystem software service is used for screen casting and consists of three parts: CastSession (Mirror), CastSession (Stream), and device management. The device management module is primarily responsible for detecting screen casting requests and establishing connections between casting devices, authentication management between casting devices, and status management between casting devices (such as successful connection, disconnection, etc.). CastSession (Stream) is primarily responsible for controlling screen casting and includes Cast-Server (screen casting server module), Cast-Client (screen casting client module), Cast-Control (screen casting control module), and Cast-Render (screen casting rendering module). CastSession (Mirror) is used for specific content management of screen projection, including the RTSP (Real Time Streaming Protocol) module, the reverse control module (reverse control of screen projection, that is, the roles of projection devices can be interchanged), the video module (responsible for video encoding and decoding), and the audio module (responsible for audio encoding and decoding).
[0218] In an embodiment of the present application, during screen projection from a first device to a second device, the second device may detect whether the user is paying attention to the display interface of an application on the first device (referred to as the projection interface) that is synchronously displayed on the second device, and may send a corresponding instruction to adjust the projection effect to the first device, so that the first device adjusts the projection effect of the application display interface. The input / output device driver or sensor driver (such as a camera, touch screen, etc.) of the second device may detect whether the user is paying attention to the projection interface displayed on the second device. For example, the user's line of sight is not looking at the projection interface on the second device, and the camera of the second device detects the user operation information and transmits it to the MSDP&DV software service in the basic software service subsystem set (as shown in step ① in Figure 6); the MSDP&DV software service transmits the information to the Cast+ subsystem software service in the enhanced software subsystem set of the second device (as shown in step ② in Figure 6); the Cast+ subsystem of the second device sends an instruction to adjust the projection effect to the Cast+ subsystem in the first device (as shown in step ③ in Figure 6); the Cast+ subsystem of the first device adjusts the projection effect, that is, adjusts the configuration parameters of the display interface of the application on the first device and refreshes the display interface (as shown in step ④ in Figure 6); the Cast+ subsystem of the first device encodes the refreshed application display interface into a standard video stream through the video module and audio module in CastSession (Mirror), and resends it to the Cast+ subsystem of the second device (as shown in step ⑤ in Figure 6); the second device displays it through Cast-Render (projection rendering module) and displays the adjusted effect synchronously.
[0219] It should be noted that Figure 6 only uses the layered architecture of the Harmony system as an example to introduce a schematic diagram of software interaction between devices during screen projection. This application does not limit the specific architecture of the software system of the first device and the second device, and the first device and the second device may also adopt software systems of other architectures.
[0220] For ease of understanding, some technical terms involved in the embodiments of this application are explained and illustrated below:
[0221] Bitrate (br): refers to the number of data bits transmitted per unit time. For example, the number of bits transmitted per unit time, so the bitrate is also called the bitrate. The unit of bitrate is usually bps (bit per second). Bitrate can be understood as sampling rate. Generally, the higher the sampling rate, the higher the accuracy, and the closer the processed file is to the original file. However, since the file size is proportional to the sampling rate, almost all encoding formats focus on how to achieve the least distortion at the lowest bitrate. Around this core, encoding formats such as variable bitrate (VBR), average bitrate (ABR), and constant bitrate (CBR) are derived.
[0222] Frame rate (frames per second, FPS): refers to the number of frames of an image in 1 second, which can also be understood as the number of times the graphics processor can refresh per second. The frame rate usually affects the smoothness of the picture. Among them, the frame rate is directly proportional to the smoothness of the picture. Specifically, the higher the frame rate, the smoother the picture; the lower the frame rate, the more jumpy the picture. Due to the special physiological structure of the human eye, if the frame rate of the picture is higher than 16FPS, humans will usually think that the picture is coherent. This phenomenon is called visual persistence.
[0223] Resolution: Indicates the number of pixels that can be displayed per unit area. Resolution reflects the precision of the display. Generally, the more pixels that can be displayed per unit area, the finer the image; the fewer pixels that can be displayed per unit area, the coarser the image. Common resolutions include 1080p (1920×1080), 720p (1280×720), and 360p (600×360).
[0224] Generally, at a given bitrate, resolution and clarity are inversely proportional. Specifically, higher resolutions result in less clear images, while lower resolutions result in clearer images. At a given resolution, bitrate and clarity are directly proportional. Specifically, higher bitrates result in clearer images, while lower bitrates result in less clear images.
[0225] Video encoding refers to the method of converting a file in a certain video format into another video format file through a specific compression technology. For example, video encoding can adopt standards such as H.261, H.263, H.263+, H.263++, H.264, or H.265 / HEVC. Video decoding is the reverse process of video encoding. For an introduction to different video encoding standards, the specific process of video encoding, and the specific process of video decoding, please refer to the explanations and descriptions in conventional technology, and this application will not go into details.
[0226] In the existing screen projection technology, when the first device projects the display interface of its application to the second device for synchronous display, regardless of whether anyone is paying attention to the projection interface displayed on the second device, the first device will continue to encode and generate a video stream (including video images and audio) and send it to the second device for decoding, rendering and display. This causes the first device to continuously consume power and affects its battery life. If the display interfaces of multiple applications on the first device are projected to the second device for display, when the user pays attention to one of the multiple projection interfaces displayed on the second device, the second device will not distinguish it, and the display effects of the multiple projection interfaces are the same. However, users often only pay attention to one of the projection interfaces at the same time, and the display interface of the application that is not paid attention to on the first device will continue to generate a video stream, which causes a certain amount of resource waste. In addition, the display effect of the display interface of the application that is paid attention to on the first device is not adjusted, which also deteriorates the user's visual perception experience.
[0227] To solve the above problems, an embodiment of the present application provides a screen projection method, which is used when a first device projects a screen to a second device. The method is used to adaptively adjust the projection effect of the first device according to whether the user pays attention to the projection interface displayed by the second device, thereby reducing the power consumption of the first device and improving battery life and user visual experience.
[0228] Please refer to Figures 7(a) to 7(c) for schematic diagrams of several scenarios for mirroring a smartphone screen onto a vehicle, as provided in embodiments of the present application. Initially, as shown in Figure 1 , after smartphone 110 and vehicle 120 successfully establish a communication connection for mirroring, the display screen 111 of smartphone 110 displays the map navigation application interface, and the display screen 121 of vehicle 120 simultaneously displays the map navigation application interface displayed on display screen 111 of smartphone 110, i.e., the mirroring interface.
[0229] Please refer to Figure 7(a). When the user is concentrating on driving, he or she generally pays attention to the road conditions ahead for a long time. When the camera 122 detects that the user's eyes are not looking at the projection interface on the display screen 121 of the car 120, the car 120 sends an instruction to adjust the projection effect to the smartphone 110. According to the instruction, the smartphone 110 stops encoding the video screen of the map navigation application display interface, and the video screen is not displayed on the display screen 111 (i.e., the screen is turned off). The video screen is also not displayed on the display screen 121 at the same time; the audio is still encoded normally and sent to the car 120 for broadcast, that is, the voice navigation continues. For example, the car 120 still broadcasts the audio signal "The speed limit on the road ahead is 60 km / h" sent by the smartphone 110 at the same time.
[0230] In one possible implementation, after vehicle 120 sends a command to adjust the screen projection effect to smartphone 110, smartphone 110 does not immediately stop encoding the video of the map navigation application display interface. Instead, smartphone 110 continues encoding a certain number of frames, such as 10 frames, before stopping encoding the video of the map navigation application display interface to avoid being too abrupt. This application does not limit the number of frames that continue to be encoded.
[0231] It should be understood that Figure 7(a) only shows that the smartphone 110 stops encoding the video screen of the map navigation application display interface. In a possible implementation, the smartphone 110 can also simultaneously stop encoding the video screen and audio of the map navigation application display interface to further save power consumption of the smartphone 110.
[0232] To avoid an abrupt screen turn-off, the display screen 111 in FIG7(a) can be gradually turned off from bright to dark, and the display screen 121 can also be turned off gradually from bright to dark. The present application does not limit this.
[0233] It should be noted that if the display screen 121 of the car 120 is displayed in blocks, that is, a part of the display screen 121 synchronously displays the map navigation application display interface on the display screen 111 of the smartphone 110, and the other part displays the application display interface such as music playback, then the display screen 121 does not need to be turned off, it only needs to display the map navigation application display interface asynchronously. This application does not limit this.
[0234] In one possible implementation, the instruction sent by vehicle 120 to adjust the projection effect does not necessarily mean stopping the encoding of the video screen, but can also mean reducing at least one of the bit rate, frame rate or resolution of the video screen corresponding to the map navigation application display interface, and specifically can reduce at least one of the bit rate, frame rate or resolution of the video screen corresponding to the map navigation application display interface according to the set scene preset rules.
[0235] Scene preset rules can be defined based on the application category of each application's display interface, including bitrate, frame rate, and resolution reduction. For example, for video and music applications, display resolution must be prioritized, followed by smoothness, with encoding sampling accuracy and distortion as the final consideration. Therefore, after comprehensively considering all influencing factors, the encoding priority is bitrate < frame rate < resolution. For office image applications, since most images are still and do not require frequent refreshes, frame rate is relatively less important. However, display resolution must still be maintained, and distortion must be minimized. Therefore, the encoding priority is frame rate < bit rate < resolution. For gaming videos, scene changes require frequent refreshes. A low frame rate can cause noticeable lag. Therefore, frame rate is prioritized, followed by graphical fidelity. Therefore, bitrate < resolution < frame rate.
[0236] For example, as shown in FIG7( a ), the map navigation application belongs to the video music category. The smartphone 110 can first reduce the bit rate of the map navigation application display interface to the lowest bit rate, then reduce its frame rate to the lowest frame rate, and finally reduce its resolution to the lowest resolution. During the reduction process, the display screen 121 synchronously displays the image display effect of the map navigation application display interface on the display screen 111 in real time, or after the smartphone 110 completes the reduction, it synchronously displays the final effect. Generally speaking, as the bit rate, frame rate, and resolution decrease, the user can more clearly feel that the clarity of the video image will decrease. In addition, the smartphone 110 can only reduce the bit rate of the map navigation application display interface to the lowest bit rate, or only reduce its frame rate to the lowest frame rate, or only reduce its resolution to the lowest resolution, or it can also reduce any two of the bit rate, frame rate, and resolution reductions. This application does not limit this.
[0237] Please refer to the changes from Figure 7(a) to Figure 7(b). The user wants to view the projection interface of the map navigation application on the display screen 121 of the car 120. When the camera 122 detects that the user's eyes are looking at the projection interface of the map navigation application on the display screen 121 of the car 120, the car 120 sends an instruction to adjust the projection effect to the smartphone 110. The smartphone 110 performs video encoding and audio encoding on the map navigation application display interface according to the instruction and transmits the code stream to the car 120. The display screen 111 of the smartphone 110 displays the map navigation application display interface and synchronizes it to the display screen 121 of the car 120.
[0238] It should be understood that in order to avoid misjudgment caused by random changes in the user's line of sight, the camera 122 generally needs to detect that the user's line of sight is looking at the projection interface of the map navigation application on the display screen 121 of the car 120 for a certain period of time. However, in driving scenarios, the looking time cannot be set too long for safety reasons. For example, the time can be set to 0.5 seconds, and this embodiment of the present application does not limit this.
[0239] It should be noted that if vehicle 120 only stops encoding the video of the map navigation application display interface as shown in FIG7(a), then in FIG7(b), only video encoding needs to be restarted, while audio encoding continues. If vehicle 120 previously stopped encoding both the video and audio of the map navigation application display interface, then both video and audio encoding need to be restarted.
[0240] For another example, the car 120 previously lowered one or more of the bit rate, frame rate and resolution of the map navigation application display interface according to the set scene preset rules. Then, correspondingly, the car 120 may also increase one or more of the bit rate, frame rate and resolution of the map navigation application display interface according to the set scene preset rules. For example, the map navigation application belongs to the video music category, and its encoding importance is bit rate < frame rate < resolution. The smartphone 110 can first increase the resolution of the map navigation application display interface to the highest resolution, then increase its frame rate to the highest frame rate, and finally increase its bit rate to the highest bit rate. During the improvement process, the display screen 121 will synchronously display the screen display effect of the map navigation application display interface on the display screen 111 in real time, or the smartphone 110 will synchronously display the final effect after the reduction is completed. Usually, as the bit rate, frame rate and resolution increase, the user will obviously feel that the video picture clarity will improve.
[0241] In addition, the smartphone 110 may only increase the bit rate of the map navigation application display interface to the highest bit rate, or increase its frame rate to the highest frame rate, or increase its resolution to the highest resolution, or may increase any two of the bit rate, frame rate and resolution in combination.
[0242] It should be understood that the power consumption required by smartphone 110 to increase only one of the bitrate, frame rate, or resolution of the map navigation application display interface to the highest level is lower than the power consumption required to increase all three levels, as shown in FIG7(b). A trade-off can be made between saving power and improving the user's subjective perception of video clarity. Dynamic setting refers to adjusting one or more of the bitrate, frame rate, and resolution, and this application does not limit this.
[0243] Please refer to the comparison between Figure 7(a) and Figure 7(c). The initial scene is Figure 7(a), and the user's line of sight is not focused on the projection interface of the map navigation application displayed on the display screen 121. The map navigation application on the smartphone 110 calculates in the background that it is close to the front and needs to turn right. The smartphone 110 restarts the video image encoding of the map navigation application display interface and transmits the video image stream and audio stream to the car 120. The display screen 111 of the smartphone 110 displays the map navigation application display interface and synchronizes it with the display screen 121 of the car 120 (Figure 7(c)), so that the user can quickly view it and ensure safety when turning.
[0244] It should be noted that the emergency event in Figure 7(c) is only an example of turning right, and it can also be other road navigation events, such as sudden braking, sudden stop, sudden acceleration, emergency avoidance, and any other sudden situations encountered during driving. The embodiments of this application do not limit this.
[0245] In the scenario shown in Figure 7(c), the car 120 can also respond to the sudden event of turning right. The car 120 sends an instruction to restore the screen projection effect to the smartphone 110. The smartphone 110 restarts the video screen encoding of the map navigation application display interface according to the instruction, and transmits the video screen code stream and audio code stream to the car 120. The display screen 111 of the smartphone 110 displays the map navigation application display interface and synchronizes it to the display screen 121 of the car 120 for display. This embodiment of the present application is not limited to this.
[0246] Optionally, after responding to an emergency, if the user's line of sight is still not focused on the projection interface displayed synchronously on the display screen 121, the projection scene can be restored to the scene shown in Figure 7(a); if the user's line of sight is focused on the projection interface displayed synchronously on the display screen 121, the projection scene can be restored to the scene shown in Figure 7(b).
[0247] Please refer to Figures 8(a) to 8(e) for schematic diagrams of several scenarios of screen projection from a smartphone to a smart TV provided in an embodiment of the present application. Initially, when the smartphones 210, 220, 230, and 240 successfully establish a screen projection communication connection with the smart TV 250 at 14:35:54 as shown in Figure 2, the display screen 251 of the smart TV 250 will synchronously display the video display interface displayed on the display screen 211 of the smartphone 210, the picture display interface displayed on the display screen 221 of the smartphone 220, the game display interface displayed on the display screen 231 of the smartphone 230, and the video display interface displayed on the display screen 241 of the smartphone 240.
[0248] As shown in FIG8( a ), when camera 252 detects that the user is not looking at display screen 251, smart TV 250 sends instructions to adjust the screen projection effect to smartphones 210, 220, 230, and 240. Smartphone 210 reduces at least one of the bitrate, frame rate, or resolution of the video image corresponding to the video display interface on display screen 211, and specifically, can reduce at least one of the bitrate, frame rate, or resolution of the video display interface being projected according to the scene preset rules of the video and music categories. Smartphone 220 reduces at least one of the bitrate, frame rate, or resolution of the video image corresponding to the image display interface on display screen 221, and specifically, can reduce at least one of the bitrate, frame rate, or resolution of the image display interface being projected according to the scene preset rules of the office picture category. Smartphone 230 reduces at least one of the bitrate, frame rate, or resolution of the video image corresponding to the game display interface on display screen 231, and specifically, can reduce at least one of the bitrate, frame rate, or resolution of the game display interface being projected according to the scene preset rules of the game and other categories. The smartphone 240 can reduce at least one of the bit rate, frame rate or resolution of the video screen corresponding to the video display interface on the display screen 241, and specifically can reduce at least one of the bit rate, frame rate or resolution of the video display interface being projected according to the scene preset rules of the video and music category.
[0249] Since the categories of application display interfaces are different, the scene preset rules are also different, that is, the priorities of bit rate, frame rate and resolution adjustment are also different. According to the scene preset rules, at least one of the bit rate, frame rate or resolution of the video screen corresponding to the application display interface is reduced, including: when the application display interface belongs to the video and music category, the encoding bit rate is preferentially reduced to the lowest bit rate at a certain time interval, and then the frame rate is reduced to the lowest frame rate, and finally the resolution is reduced to the lowest resolution; when the application display interface belongs to the office picture category, the frame rate is preferentially reduced to the lowest frame rate at a certain time interval, and then the encoding bit rate is reduced to the lowest bit rate, and finally the resolution is reduced to the lowest resolution; when the application display interface belongs to the game and other categories, the encoding bit rate is preferentially reduced to the lowest bit rate at a certain time interval, and then the resolution is reduced to the lowest resolution, and finally the frame rate is reduced to the lowest frame rate.
[0250] Assuming that the time interval (time cycle) is 2 seconds, the initial time is 14:35:54 as shown in Figure 2. After 3 time intervals, that is, 6 seconds, the time is 14:36:00. At this time, the encoding adjustment results and display effects of the application display interfaces on the smartphones 210, 220, 230 and 240 are shown in Figure 8(a).
[0251] It should be noted that the time interval here can also be understood as a time period, that is, the bit rate, frame rate or resolution of the application display interface is adjusted to the target value within a time period. Taking the video display interface displayed on the display screen 211 of the smart phone 210 as an example, it belongs to the video music category. It is necessary to give priority to ensuring the fineness of its display screen, then ensure the smoothness of its screen, and finally consider its encoding sampling accuracy and distortion. Therefore, after considering all the influencing factors, its encoding importance is bit rate < frame rate < resolution. Assume that the video display interface has 3 levels of bit rate, 3 levels of frame rate, and 3 levels of resolution, as shown in Tables 1 to 3 respectively:
[0252] Table 1 Encoding bit rate level table
[0253] Table 2 Encoding frame rate gear table
[0254] Table 3 Encoding resolution level table
[0255] Assuming that the initial encoding bit rate of the video display interface is the highest bit rate of 10 Mbps, the highest frame rate of 60 fps, and the highest resolution of 1080p, the smartphone 210 will first reduce the encoding bit rate of the video display interface to the lowest bit rate, then reduce the frame rate to the lowest frame rate, and finally reduce the resolution to the lowest resolution at intervals of 2 seconds. More specifically, at 2 seconds, the encoding bit rate of the video display interface is 5mbps, the frame rate is 60fps, and the resolution is 1080p; at 4 seconds, the bit rate is 2mbps (the lowest bit rate is maintained unchanged), the frame rate is 60fps, and the resolution is 1080p; at 6 seconds, the bit rate is 2mbps, the frame rate is 30fps, and the resolution is 1080p; at 8 seconds, the bit rate is 2mbps, the frame rate is 15fps (the lowest frame rate is maintained unchanged), and the resolution is 1080p; at 10 seconds, the bit rate is 2mbps, the frame rate is 15fps, and the resolution is 720p; from 12 seconds onwards, the bit rate is 2mbps, the frame rate is 15fps, the resolution is 360p and remains unchanged, and is in a low power consumption state.
[0256] The application display interfaces on the smart phones 220 , 230 and 240 are also similarly adjusted according to the scene preset rules of the categories to which the respective application display interfaces belong.
[0257] In Figure 8(a), the display resolution of each application interface is reduced and each application is projected onto display screen 251 of smart TV 250 for simultaneous display. Since the user is not looking at display screen 251, the visual experience is not compromised, and the encoding power consumption of smartphones 210, 220, 230, and 240 is reduced.
[0258] It should be noted that the above scenario only takes the example of smartphones 210, 220, 230 and 240 simultaneously reducing the bit rate, frame rate and resolution of their respective application display interfaces according to the set scene preset rules. In a possible implementation method, smartphones 210, 220, 230 and 240 can also respectively reduce one or any two combinations of the bit rate, frame rate and resolution of their respective application display interfaces. This application does not limit this.
[0259] It should be understood that as one or more of the bit rate, frame rate and resolution of the application display interface decreases, the display clarity of each application display interface will decrease. The display screen 251 in Figure 8(a) still synchronously displays the various application display interfaces with reduced resolution.
[0260] In another possible implementation, the smartphones 210 , 220 , 230 and 240 may stop at least one of the encoding of the video screen and the audio encoding corresponding to the display interface of their respective applications, which is not limited in this application.
[0261] When in the scene shown in Figure 8(a), and the camera 252 detects that the user's gaze is looking at the video display interface 253 (screen projection interface) in the upper left corner of the display screen 251, the scene changes to that shown in Figure 8(b). The smart TV 250 sends an instruction to adjust the screen projection effect to the smartphone 210. The smartphone 210 increases at least one of the bit rate, frame rate or resolution of the video image corresponding to the video display interface being projected, and specifically can increase at least one of the bit rate, frame rate or resolution of the video display interface being projected according to the scene preset rules of the video and music category. More specifically, the smartphone 210 prioritizes increasing the resolution of the video display interface being projected to the highest resolution at a certain time interval, then increases the frame rate to the highest frame rate, and finally increases the bit rate to the highest bit rate.
[0262] The display interfaces of the remaining three applications that the user is not looking at can have at least one of the bitrate, frame rate, or resolution of the corresponding video images reduced. Specifically, at least one of the bitrate, frame rate, and resolution of the video images corresponding to the display interfaces of each application can be reduced according to the scene preset rules of the respective categories. More specifically, smartphone 220 prioritizes reducing the frame rate of the image display interface being projected to the lowest frame rate, then reducing the encoding bitrate to the lowest bitrate, and finally reducing the resolution to the lowest resolution at regular intervals. Smartphone 230 prioritizes reducing the bitrate of the game display window being projected to the lowest bitrate, then reducing the resolution to the lowest resolution, and finally reducing the frame rate to the lowest frame rate at regular intervals. Smartphone 240 prioritizes reducing the bitrate of the video display interface being projected to the lowest bitrate, then reducing the frame rate to the lowest frame rate, and finally reducing the resolution to the lowest resolution at regular intervals.
[0263] Assuming the time interval remains 2 seconds, as in Figure 8(a), and the time shown in Figure 8(a) is 14:36:00, then after a time interval, Figure 8(b) shows the encoding adjustment results and display effects of the application display interfaces on smartphones 210, 220, 230, and 240 at 14:36:02. The display definition of the video display interface being projected by smartphone 210 is increased, and the screen is projected and displayed synchronously on display 251 of smart TV 250. The display definition of the application display interfaces on smartphones 220, 230, and 240 is reduced, and each screen is projected and displayed synchronously on display 251 of smart TV 250.
[0264] It should be understood that in order to avoid misjudgment caused by the user's random changes in line of sight, the camera 252 generally needs to detect that the user is looking at a certain projection interface displayed on the display screen 251 for a certain period of time. For example, the user changes his line of sight on the display screen 251 of the smart TV 250 to confirm the projection interface he wants to see. The duration can be set to 1 second, and this embodiment of the present application does not limit this.
[0265] It should be noted that in FIG8(b), camera 252 detects that the user is looking at video display interface 253 in the upper left corner of display screen 251. Video display interface 253 belongs to the video and music category. The video and music category prioritizes ensuring the fineness of its display image, then ensuring the smoothness of its image, and finally considering its encoding sampling accuracy and distortion. Therefore, after comprehensively considering all influencing factors, its encoding importance is bit rate < frame rate < resolution. Therefore, according to the scene preset rules of the video and music category, smartphone 210 increases the resolution of the video display interface being projected to the highest resolution, then increases the frame rate to the highest frame rate, and finally increases the bit rate to the highest bit rate.
[0266] In another possible implementation, if the smartphone 210 previously lowered one or any two of the bit rate, frame rate, and resolution of the video display interface according to the set scene preset rules, then correspondingly, the smartphone 210 may also increase one or any two of the bit rate, frame rate, and resolution of the video display interface according to the set scene preset rules. This embodiment of the present application does not limit this.
[0267] Since the application display interfaces on smartphones 220, 230, and 240 are not being focused on by the user, the bitrate, frame rate, and resolution of the video display interface being projected are still reduced according to the scene preset rules of their respective categories until they reach the lowest bitrate, frame rate, and resolution and remain unchanged. For example, the lowest bitrate, frame rate, and resolution may be as shown in Tables 1 to 3, respectively. Alternatively, one or any combination of the bitrate, frame rate, and resolution of each application display interface may be reduced, and this application does not limit this.
[0268] In another possible implementation, if the video display interface of the smartphone 210 in FIG8(a) does not refresh the screen, then in FIG8(b) when the camera 252 detects that the user's gaze is looking at the video display interface 253 in the upper left corner of the display screen 251, the video display interface on the display screen 211 of the smartphone 210 will refresh the screen and synchronize it to the display screen 251.
[0269] When in the scene shown in Figure 8(a), and the camera 252 detects that the user is looking at the video display interface 253 in the upper left corner of the display screen 251, the scene can also be changed to that shown in Figure 8(c). The smart TV 250 sends an instruction to adjust the screen projection effect to the smart phone 210. The smart phone 210 increases the bit rate, frame rate and resolution of the video display interface being projected according to the scene preset rules of the video and music categories. The smart TV 250 enlarges the video display interface 253 and displays it in the center. The other three application display interfaces that the user is not looking at, that is, the bit rate, frame rate and resolution of the video display interface being projected are still reduced according to the scene preset rules of their respective categories. The smart TV 250 shrinks the picture display interface 254, the game display interface 255 and the video display interface 256 and arranges them at the bottom edge of the display screen for display. The time shown in Figure 8(a) is 14:36:00. Assuming the time interval remains 2 seconds as in Figure 8(a), Figure 8(c) shows the encoding adjustment results and display effects of the application display interfaces on smartphones 210, 220, 230, and 240 at 14:36:02. The display resolution of the video display interface being projected by smartphone 210 is increased and projected onto the display 251 of smart TV 250 for simultaneous display. The display resolution of the application display interfaces on smartphones 220, 230, and 240 is reduced and projected onto the display 251 of smart TV 250 for simultaneous display. The video display interface 253 displayed simultaneously on display 251 is enlarged and centered, while the image display interface 254, game display interface 255, and video display interface 256 are reduced and arranged at the bottom edge of display 251.
[0270] It should be understood that the enlarged and centered display of the video display interface 253 and the reduced and arranged display of the picture display interface 254, the game display interface 255, and the video display interface 256 at the bottom edge of the display screen shown in FIG8(c) is merely an example. The picture display interface 254, the game display interface 255, and the video display interface 256 can also be reduced and arranged at the left, top, or right edge of the display screen, and this application does not limit this. In addition, the embodiment of this application does not limit the ratio of the video display interface 253 to the picture display interface 254, the game display interface 255, and the video display interface 256.
[0271] Please refer to the changes from Figure 8(c) to Figure 8(e). When in the scene shown in Figure 8(c), the camera 252 detects that the user's gaze is looking at the game display interface 255 at the lower edge of the display screen 251, as shown in Figure 8(d). The smart TV 250 sends different instructions for adjusting the screen projection effect to the smartphones 230 and 210 respectively. The smartphone 230 increases the bit rate, frame rate and resolution of the video display interface being projected according to the preset rules for games and other scenes. The smartphone 210 reduces the bit rate, frame rate and resolution of the video display interface being projected on the display screen 211 according to the preset rules for video and music scenes. Figure 8(c) shows the time as 14:36:02. Assuming the time interval remains at 2 seconds, as in Figure 8(c), after camera 252 detects the user's gaze at game display interface 255 at the bottom edge of display screen 251 (detecting the user's gaze duration takes 1 second), Figure 8(e) shows the encoding adjustment results and display effects of the application display interfaces on smartphones 210, 220, 230, and 240 at 14:36:05. The display resolution of the game display interface being projected by smartphone 230 is increased and projected simultaneously on display screen 251 of smart TV 250. The display resolution of the video display interface being projected by smartphone 210 is decreased and projected simultaneously on display screen 251 of smart TV 250. The game display interface 255 displayed simultaneously on display screen 251 is enlarged and centered, while the video display interface 253, image display interface 254, and video display interface 256 are reduced and arranged at the bottom edge of display screen 251.
[0272] It should be noted that the changes in the user's line of sight on the display screen 251 of the smart TV 250 may be very random. In order to avoid misjudgment caused by random switching, the camera 252 detects that the user's line of sight changes and looks at the projection interface on the display screen 251. Generally, it takes a certain period of time. For example, the user switches from looking at a projection interface on the display screen 251 of the smart TV 250 to looking at another projection interface. The duration can be set to 1 second, and this embodiment of the present application does not limit this.
[0273] It should be understood that Figures 8(d) to 8(e) only show the scene changes when the user's line of sight changes to looking at the game display interface 255 on the display screen 251. When the user's line of sight changes to looking at the picture display interface 254 or the video display interface 256 on the display screen 251, the corresponding projection interface being looked at can also have the same adjustment changes.
[0274] Please refer to Figures 9(a) to 9(c) for schematic diagrams of several scenarios of screen projection from a smartphone to a laptop provided in the embodiments of the present application. Initially, when the smartphone 310 and the laptop 320 successfully establish a communication connection for screen projection as shown in Figure 3, the display screen 321 of the laptop 320 will synchronously display the default mobile phone desktop 322 (screen projection interface) displayed on the display screen 311 of the smartphone 310, and the short message display interface 323 (screen projection interface) and video display interface 324 (screen projection interface) displayed on the virtual screen 313 of the smartphone 310. As shown in Figure 9(a), when the camera 325 detects that the user is not looking at the display screen 321, the laptop computer 320 sends an instruction to adjust the screen projection effect to the smartphone 310, and the smartphone 310 reduces at least one of the bit rate, frame rate or resolution of the default mobile phone desktop 312 being projected, and specifically can reduce at least one of the bit rate, frame rate or resolution of the default mobile phone desktop 312 being projected according to the scene preset rules of games and other categories; the smartphone 310 reduces at least one of the bit rate, frame rate or resolution of the short message display interface 313 being projected, and specifically can reduce at least one of the bit rate, frame rate or resolution of the short message display interface 313 being projected according to the scene preset rules of office pictures; the smartphone 310 reduces at least one of the bit rate, frame rate or resolution of the video display interface 315 being projected, and specifically can reduce at least one of the bit rate, frame rate or resolution of the video display interface 315 being projected according to the scene preset rules of video and music categories. Since the categories of application display interfaces are different, the scene preset rules are also different, that is, the priorities of bit rate, frame rate and resolution adjustment are also different.
[0275] More specifically, at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the application is reduced according to the preset scene rules, specifically including: when the display interface of the application belongs to the video and music category, the bit rate is preferentially reduced to the lowest bit rate at a certain time interval, and the frame rate is then reduced to the lowest frame rate, and finally the resolution is reduced to the lowest resolution; when the display interface of the application belongs to the office picture category, the frame rate is preferentially reduced to the lowest frame rate at a certain time interval, and the bit rate is then reduced to the lowest bit rate, and finally the resolution is reduced to the lowest resolution; when the display interface of the application belongs to the game and other categories, the bit rate is preferentially reduced to the lowest bit rate at a certain time interval, and the resolution is then reduced to the lowest resolution, and finally the frame rate is reduced to the lowest frame rate.
[0276] Figure 9(a) shows the encoding adjustment results and display effects of three application display interfaces on smartphone 310 at the sixth second, assuming a 2-second interval. The display clarity of the three application display interfaces decreases. Since the user is not looking at display 321, the visual experience is not affected, and the encoding power consumption of smartphone 310 is reduced.
[0277] It should be noted that the time interval here can also be understood as a time period, that is, the bit rate, frame rate or resolution of the application display interface is adjusted to the target value within a time period. Taking the short message display interface 314 displayed on the display screen 311 of the smart phone 310 as an example, it belongs to the office picture category. Since most of its pictures are still pictures and do not need to be refreshed frequently, the frame rate is relatively not very important, but the fineness of the displayed picture still needs to be guaranteed. Secondly, the degree of distortion cannot be too high. Therefore, after comprehensively considering various factors, the importance of its encoding is frame rate < bit rate < resolution. Assume that the short message display interface 314 has 3 levels of bit rate, 3 levels of frame rate, and 3 levels of resolution, as shown in Tables 1 to 3 respectively.
[0278] Assuming that the initial encoding bit rate of the short message display interface 314 is the highest bit rate of 10 Mbps, the frame rate is the highest frame rate of 60 fps, and the resolution is the highest resolution of 1080p, the smartphone 310 will first reduce the encoding frame rate of the short message display interface 314 to the lowest frame rate at a time interval of 2 seconds, then reduce the bit rate to the lowest bit rate, and finally reduce the resolution to the lowest resolution. More specifically, at 2 seconds, the encoding bit rate of the video display interface is 10mbps, the frame rate is 30fps, and the resolution is 1080p; at 4 seconds, the bit rate is 10mbps, the frame rate is 15fps (the lowest frame rate is maintained unchanged), and the resolution is 1080p; at 6 seconds, the bit rate is 5mbps, the frame rate is 15fps, and the resolution is 1080p; at 8 seconds, the bit rate is 2mbps (the lowest bit rate is maintained unchanged), the frame rate is 15fps, and the resolution is 1080p; at 10 seconds, the bit rate is 2mbps, the frame rate is 15fps, and the resolution is 720p; from 12 seconds onwards, the bit rate is 2mbps, the frame rate is 15fps, and the resolution is 360p and remains unchanged, in a low power consumption state.
[0279] The application display interfaces of the short message display interface 314 and the video display interface 315 displayed on the virtual screen 313 of the smart phone 310 are also similarly adjusted according to the scene preset rules of the categories to which the respective application display interfaces belong.
[0280] It should be noted that the above scenario only takes the example of the smartphone 310 lowering the bit rate, frame rate and resolution of the default mobile phone desktop 312, the short message display interface 314 and the video display interface 315 according to the scene preset rules. In a possible implementation method, the smartphone 310 can also lower one or a combination of any two of the bit rate, frame rate and resolution of the default mobile phone desktop 312, the short message display interface 314 and the video display interface 315 respectively. This application does not limit this.
[0281] It should be understood that as one or more of the bit rate, frame rate, and resolution of the application display interface decreases, the display clarity of each application display interface will decrease. In Figure 9(a), the display screen 321 of the laptop computer 320 still synchronously displays the display interface of each application with a reduced resolution. In another possible implementation, the smartphone 310 may not refresh the default mobile phone desktop 312, short message display interface 314, and video display interface 315 and synchronize them to the display screen 321. This application does not limit this.
[0282] Please refer to the scene changes in Figures 9(a) to 9(c). When the display screen 321 (with touch function) of the laptop computer 320 receives a user click on the video display interface 324 or the camera 325 detects that the user is looking at the video display interface 324 or the display screen 321 (with touch function) receives a user click on the video display interface 324 and the camera 325 detects that the user is looking at the video display interface 324 (as shown in Figure 9(b)), the laptop computer 320 sends an instruction to adjust the screen projection effect to the smart phone 310.
[0283] Smartphone 310 increases at least one of the bitrate, frame rate, or resolution of the video screen corresponding to video display interface 315 being projected. Specifically, at least one of the bitrate, frame rate, or resolution of the video screen corresponding to video display interface 315 may be increased according to preset rules for video and music scenarios. More specifically, at regular intervals, the resolution of video display interface 315 is prioritized to the highest resolution, the frame rate is then increased to the highest frame rate, and finally the bitrate is increased to the highest bitrate, as shown in the scenario shown in FIG9(c).
[0284] The smartphone 310 continues to reduce at least one of the bitrate, frame rate, or resolution of the default mobile desktop 312 being projected. Specifically, the smartphone 310 may reduce at least one of the bitrate, frame rate, or resolution of the default mobile desktop 312 according to preset rules for gaming and other scenarios until the bitrate, frame rate, or resolution reaches a minimum and remains unchanged. More specifically, at regular intervals, the bitrate of the default mobile desktop 312 is preferentially reduced to the minimum bitrate, the resolution is then reduced to the minimum resolution, and finally the frame rate is reduced to the minimum frame rate, as shown in the scenario shown in FIG9(c).
[0285] Smartphone 310 continues to reduce at least one of the bitrate, frame rate, or resolution of the short message display interface 313 being projected. Specifically, the bitrate, frame rate, or resolution of the short message display interface 313 may be reduced according to the preset rules for office image scenarios until the minimum bitrate, frame rate, or resolution is reached and then maintained. More specifically, at regular intervals, the frame rate of the short message display interface 313 is preferentially reduced to the lowest frame rate, the bitrate is then reduced to the lowest bitrate, and finally the resolution is reduced to the lowest resolution, as shown in the scenario shown in FIG9(c).
[0286] FIG9(c) shows, assuming the same time interval as FIG9(a), that of 2 seconds. When the display screen 321 detects that a user has clicked on the synchronously displayed video display interface 324, a 2-second interval has passed. The encoding adjustment results and display effects of the various application display interfaces on the smartphone 310 are as follows: the video display interface 315 has a higher definition and is projected onto the display screen 321 of the laptop computer 320 for simultaneous display; the default mobile phone desktop 312 and the short message display interface 314 have a lower definition and are projected onto the display screen 321 of the laptop computer 320 for simultaneous display. The video display interface 324 synchronously displayed on the display screen 321 is enlarged and centered, the default mobile phone desktop 322 is scaled down and displayed on the left edge of the display screen 321, and the short message display interface 323 is scaled down and displayed on the right edge of the display screen 321.
[0287] It should be understood that Figure 9(b) is only an exemplary display of the user clicking on the video display interface 324 to show attention. On the display screen 321 with a touch function, double-clicking, sliding, and other operations can also be used to indicate that the user is paying attention to the video display interface 324. This application does not limit this.
[0288] It should be noted that the video display interface 324 of the user's interest in FIG9 (c) belongs to the video and music category. Prioritizing the fineness of its display image, then ensuring its smoothness, and finally considering its encoding sampling accuracy and distortion, it is necessary to consider all factors. Therefore, after comprehensively considering all influencing factors, its encoding importance is bit rate < frame rate < resolution. Smartphone 310 increases the resolution of the video display interface 315 being projected to the highest resolution, then increases the frame rate to the highest frame rate, and finally increases the bit rate to the highest bit rate according to the scene preset rules of the video and music category. In another possible implementation, if smartphone 310 previously reduced one or any combination of the bit rate, frame rate, and resolution of video display interface 315 according to the set scene preset rules, then correspondingly, smartphone 310 may also increase one or any combination of the bit rate, frame rate, and resolution of video display interface 315 according to the set scene preset rules. This embodiment of the application is not limited to this. Since the default mobile phone homepage 312 and short message display interface 314 are not being used by the user, the bitrate, frame rate, and resolution of the video display interface being projected are still reduced according to the scene preset rules of their respective categories. Alternatively, the bitrate, frame rate, and resolution of each application display interface may be reduced individually, or in any combination thereof, and this application does not limit this.
[0289] It should be understood that the enlarged and centered display of the video display interface 324, the reduced display of the default mobile phone desktop 322 on the left edge of the display screen 321, and the reduced display of the short message display interface 323 on the right edge of the display screen 321 shown in FIG9 (c) are merely examples. The default mobile phone desktop 322 and the short message display interface 323 can also be reduced and arranged at the left, top, or right edge of the display screen, or the default mobile phone desktop 322 and the short message display interface 323 can be swapped for display. This application does not limit this. In addition, the embodiment of this application does not limit the ratio of the video display interface 324 to the default mobile phone desktop 322 and the short message display interface 323.
[0290] The screen projection method provided in the following embodiments of this application is applicable to any screen projection method. The following is combined with specific embodiments, taking the wireless screen projection protocol between the first device and the second device as an example to specifically illustrate the technical solution provided in the embodiments of this application.
[0291] In an embodiment of the present application, the second device can detect whether the user is paying attention to the first projection interface of the first device displayed on the second device and send an instruction to adjust the projection effect to the first device; and the first device adjusts the projection effect of the display interface of the corresponding application according to the received instruction to adjust the projection effect, so as to reduce the power consumption of the smartphone, improve battery life and enhance the user's visual experience.
[0292] Please refer to Figure 10, which shows a flowchart of a screen projection method provided by an embodiment of the present application when the second device detects that the user is not paying attention to the display interface of the first application projected by the first device, which is synchronously displayed on the second device. As shown in Figure 10, the screen projection method provided by the embodiment of the present application may include the following steps S1001-S1006:
[0293] S1001. The second device displays the first screen projection interface.
[0294] In the embodiment of the present application, the first projection interface corresponds to the display interface of the first application on the first device, and the display interface of the first application is part or all of all display interfaces on the first device. Displaying the first projection interface on the second device means that the second device synchronously displays the display interface of the first application projected from the first device to the second device.
[0295] It should be noted that, in the embodiment of the present application, the number of first devices may be one or more.
[0296] It should be understood that due to limitations in shape and size, the size and form of the display interface of the second device and the first device will be different. The first projection interface is at least the same as the content of the display interface of the first application on the corresponding first device, but may be different in display size and form.
[0297] For example, as shown in FIG1 , the first device is a smartphone 110, and the second device is a car 120. Smartphone 110 projects the map navigation application display interface currently displayed on display 111 onto display 121 of car 120. The first projected interface displayed on car 120, i.e., the map navigation application display interface shown on display 121, corresponds to the map navigation application display interface shown on display 111 of smartphone 110.
[0298] When there are multiple first devices and multiple screen projection interfaces, the screen projection scenario can be seen in Figure 2. The first devices are smartphone 210, smartphone 220, smartphone 230, and smartphone 240 (i.e., multiple first devices), and the second device is smart TV 250. Smartphone 210 projects the video display interface currently displayed on display 211 onto display 251 of smart TV 250; smartphone 220 projects the picture display interface currently displayed on display 221 onto display 251 of smart TV 250; smartphone 230 projects the game display interface currently displayed on display 231 onto display 251 of smart TV 250; and smartphone 240 projects the video display interface currently displayed on display 241 onto display 251 of smart TV 250. As shown in Figure 2, a total of four projection screen interfaces are displayed on the display screen 251 of the smart TV 250, among which the video display interface 253 (projection screen interface) corresponds to the video display interface on the display screen 211 of the smartphone 210; the picture display interface 254 (projection screen interface) corresponds to the picture display interface on the display screen 221 of the smartphone 220; the game display interface 255 (projection screen interface) corresponds to the game display interface on the display screen 231 of the smartphone 230; and the video display interface 256 (projection screen interface) corresponds to the video display interface on the display screen 241 of the smartphone 240.
[0299] When the number of first devices is one, but there are multiple projection interfaces, the projection scenario can be seen in Figure 3. The first device is a smartphone 310, and the second device is a laptop computer 320. While the smartphone 310 displays the default mobile phone desktop 312 on its screen 311, it receives the user's opening operation for the short message and video applications. In response to the user's opening operation for the short message and video applications, the smartphone 310 will render the short message display interface 314 and the video display interface 315 on the virtual screen 313. It should be noted that in this scenario, there are three application display interfaces on the smartphone 310, namely the mobile phone desktop 312, the short message display interface 314 and the video display interface 315. Then, the smartphone 310 projects the default mobile phone desktop 312, the short message display interface 314 and the video display interface 315 to the display screen 321 of the laptop computer 320 for synchronous display. Three projection interfaces are displayed on the laptop computer 320 , among which the default mobile phone desktop 322 (projection interface) corresponds to the default mobile phone desktop 312 on the smartphone 310 ; the short message display interface 323 (projection interface) corresponds to the short message display interface 314 on the smartphone 310 ; and the video display interface 324 (projection interface) corresponds to the video display interface 315 on the smartphone 310 .
[0300] S1002. The second device detects that the user is not paying attention to the first event of the first projection interface displayed on the second device.
[0301] In an embodiment of the present application, the first event in which the user is not paying attention to the first projection interface displayed on the second device may include but is not limited to at least one of the following events: the user's line of sight is not looking at the first projection interface, the user's head turns to an area other than the first projection interface, or the user does not touch the first projection interface.
[0302] For example, the second device can detect through a camera that the user's gaze does not fall on the first projection interface displayed on the second device. In one possible implementation, the second device can capture an image or video of the user's eyes through a camera and use a machine learning algorithm, such as a deep neural network algorithm, to calculate and determine that the user's gaze does not fall on the first projection interface displayed on the second device.
[0303] When the number of projection interfaces is one, taking Figure 7(a) as an example, the camera 122 of the car 120 detects that the user is paying attention to the road conditions ahead while concentrating on driving, and his eyes are focused on the front of the car, and he will not look at the map navigation application display interface on the display screen 121 of the car 120, that is, the projection interface.
[0304] When there are multiple first devices and multiple projection interfaces, taking Figure 8(a) as an example, the camera 252 of the smart TV 250 detects that the user's gaze is not focused on the four projection interfaces displayed on the display screen 250, but turns to look elsewhere.
[0305] When the number of first devices is one but there are multiple projection interfaces, taking Figure 9(a) as an example, the camera 325 of the laptop computer 320 detects that the user's line of sight is not looking at the three projection interfaces displayed on the display screen 321 of the laptop computer 320.
[0306] It should be noted that the user's disinterest in the first projection interface displayed on the second device can be a combination of multiple operations, and this embodiment of the application is not limited to this. Taking the scenario shown in Figure 7(a) as an example, the camera 122 of the vehicle 120 can detect the user's gaze not being directed at the display screen 121 and the user's head turning to an area other than the display screen 121. That is, the camera 122 of the vehicle 120 can simultaneously detect the head movement and eye gaze to determine that the user is indeed not paying attention to the map navigation application display interface displayed simultaneously on the display screen 121.
[0307] In one possible implementation, the second device can first detect when the user's head is turned toward an area other than the first projection interface displayed on the second device, and then detect when the user's gaze is no longer directed toward the first projection interface displayed on the second device. Upon detecting the head turn, preparations for adjusting the projection image can be made. Once the user's gaze stabilizes, the projection image adjustment strategy is executed, thereby speeding up processing.
[0308] In some embodiments, the second device needs to detect whether the user's line of sight is not focused on the first projection interface displayed by the second device for a certain period of time to determine that the user is indeed not paying attention to the first projection interface. The certain period of time can be adaptively set according to different scenarios. For example, in the driving scenario shown in Figure 7(a), the time can be set to 1 second to ensure a quick response; in the scenario of watching a smart TV as shown in Figure 8(a), the time can be set to 2 seconds to fully confirm that the user's line of sight is indeed not focused on the display screen of the smart TV to avoid misjudgment.
[0309] In some embodiments, the user may not pay attention to the first projection interface displayed on the second device. The user may also make a specific gesture to indicate that he is not paying attention, or the user may directly speak a control instruction of not paying attention. The embodiments of the present application do not limit this and will not be listed one by one.
[0310] In some embodiments, the second device may periodically detect, based on a preset time period, the first event that the user is not paying attention to the first projection interface displayed on the second device, in order to save power consumption of the second device. For example, the preset period may be pre-set in the second device. For example, the preset period may be 2 seconds, which is not limited in this embodiment of the present application.
[0311] S1003. The second device sends a first instruction for adjusting the screen projection effect to the first device.
[0312] In response to detecting a first event in which the user is not paying attention to the first projection interface displayed on the second device, the second device sends a first instruction to adjust the projection effect to the first device.
[0313] S1004. The first device adjusts the screen projection effect of the display interface of the first application according to the received first instruction.
[0314] In an embodiment of the present application, adjusting the screen projection effect of the display interface of the first application includes but is not limited to at least one of the following items: stopping the encoding of the video image corresponding to the display interface of the first application, stopping the encoding of the audio corresponding to the display interface of the first application, or reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
[0315] Taking Figure 7(a) as an example, after receiving the first command from vehicle 120, smartphone 110 stops encoding the video of the map navigation application interface displayed on display screen 111, while continuing to encode and send audio streams as normal. This saves power consumption of smartphone 110 to a certain extent and improves battery life. Optionally, smartphone 110 can also stop encoding both the video and audio of the map navigation application interface, not sending any streams, significantly saving power consumption of smartphone 110 and improving battery life.
[0316] It should be noted that when the first device includes display interfaces of multiple applications, from the perspective of saving power, the encoding of the video images and normal audio of the display interfaces of all multiple applications can be stopped; or the encoding of the video images and audio of the display interfaces of all multiple applications can be stopped at the same time. It is also possible to stop the encoding of the video images and normal audio of the display interfaces of some applications; or stop the encoding of the video images and audio of the display interfaces of some applications at the same time, which can also save power consumption of the first device. This embodiment of the present application is not limited to this.
[0317] In other embodiments, reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application includes but is not limited to: reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application of the first device according to the first scene preset rule, wherein the first scene preset rule includes bit rate, frame rate and resolution reduction rules formulated according to the application category to which the display interface of different applications belongs, and the application categories include video and music category, office picture category, game category and other categories.
[0318] In some embodiments, at least one of the bit rate, frame rate or resolution of the video screen corresponding to the display interface of the first application of the first device is reduced according to the preset rules of the first scene, specifically including: when the display interface of the first application belongs to the video and music category, the encoding bit rate is preferentially reduced to the lowest bit rate at a certain time interval, and the frame rate is then reduced to the lowest frame rate, and finally the resolution is reduced to the lowest resolution; when the display interface of the first application belongs to the office picture category, the frame rate is preferentially reduced to the lowest frame rate at a certain time interval, and the encoding bit rate is then reduced to the lowest bit rate, and finally the resolution is reduced to the lowest resolution; when the display interface of the first application belongs to the game and other categories, the encoding bit rate is preferentially reduced to the lowest bit rate at a certain time interval, and the resolution is then reduced to the lowest resolution, and finally the frame rate is reduced to the lowest frame rate.
[0319] Understandably, users have different user experience requirements for the display interface of different application categories. Therefore, the importance of bitrate, frame rate, and resolution in the encoding strategy for each application category varies, and therefore the adjustment priorities are also different. For example, for video and music, the importance order is: bitrate < frame rate < resolution. Therefore, the bitrate is prioritized, followed by frame rate, and finally resolution.
[0320] Taking Figure 8(a) as an example, smartphones 210, 220, 230 and 240 all receive the first instruction sent by the smart TV 250, and adjust the bit rate, frame rate and resolution according to the scene preset rules of the category to which the display interface of the projected application belongs.
[0321] Assume that there are three encoding bit rates, three frame rates, and three resolutions for all categories of applications, as shown in Tables 1 to 3 respectively.
[0322] Assume that the encoding bitrate, frame rate, and resolution of the four application display interfaces projected by smartphones 210, 220, 230, and 240, respectively, are as shown in Tables 1 to 3. Assume that the time interval is 2 seconds, and that these four application display interfaces are initially encoded at the highest bitrate of 10 Mbps, the highest frame rate of 60 fps, and the highest resolution of 1080p. Since video display interfaces belong to the video and music category, their encoding priority is: bitrate < frame rate < resolution. Therefore, smartphones 210 and 240 will prioritize reducing the encoding bitrate of their respective projected video display interfaces to the lowest bitrate, then reduce the frame rate to the lowest frame rate, and finally reduce the resolution to the lowest resolution, at 2-second intervals. The encoding priority of image display interfaces is: frame rate < bitrate < resolution. Therefore, smartphone 220 will prioritize reducing the encoding frame rate of the image display interface displayed on display screen 221 to the lowest frame rate, then reduce the bitrate to the lowest bitrate, and finally reduce the resolution to the lowest resolution, at 2-second intervals. The encoding importance of the game display interface is ranked as follows: bit rate < resolution < frame rate. Therefore, the smartphone 230 will prioritize reducing the encoding bit rate of the game display interface displayed on the display screen 231 to the lowest bit rate at intervals of 2 seconds, then reduce the resolution to the lowest resolution, and finally reduce the frame rate to the lowest frame rate.
[0323] More specifically, the bit rate, frame rate, and resolution of the video display interface projected by the smartphones 210 and 240 change over time as shown in Table 4:
[0324] Table 4 Changes of video display interface bit rate, frame rate and resolution over time
[0325] After 12 seconds, the bit rate of the video display interface projected by the smartphones 210 and 240 remains unchanged at 2 Mbps, the frame rate remains unchanged at 15 fps, and the resolution remains unchanged at 360p.
[0326] Table 5 shows the changes in the bit rate, frame rate, and resolution of the image display interface displayed on the display screen 221 of the smart phone 220 over time.
[0327] Table 5: Changes of bit rate, frame rate and resolution of the image display interface over time
[0328] After 12 seconds, the bit rate of the picture display interface displayed on the display screen 221 of the smart phone 220 remains unchanged at 2 Mbps, the frame rate remains unchanged at 15 fps, and the resolution remains unchanged at 360p.
[0329] Table 6 shows the changes in the bit rate, frame rate, and resolution of the game display interface displayed on the display screen 231 of the smartphone 230 over time.
[0330] Table 6: Changes of the bit rate, frame rate and resolution of the game display interface over time
[0331] After 12 seconds, the bit rate of the game display interface displayed on the display screen 231 of the smartphone 230 remains unchanged at 2 Mbps, the frame rate remains unchanged at 15 fps, and the resolution remains unchanged at 360p.
[0332] Taking Figure 9(a) as an example, smartphone 310 receives the first command sent by laptop computer 320 and adjusts the bitrate, frame rate, and resolution according to the scene preset rules of the category to which the projected application belongs. The same assumptions as in Figure 8(a) are used: assuming that all categories of applications have three encoding bitrates, three frame rates, and three resolutions, as shown in Tables 1 to 3, respectively, with a time interval of 2 seconds. Furthermore, the default initial encoding bitrate of 10 Mbps, the frame rate of 60 fps, and the resolution of 1080p are all set for the mobile phone desktop 312, short message display interface 314, and video display interface 315.
[0333] Table 7 shows the changes in the bit rate, frame rate, and resolution of the default mobile desktop 312 projected by the smartphone 310 over time:
[0334] Table 7 Changes of bit rate, frame rate and resolution of default mobile desktop 312 over time
[0335] After 12 seconds, the bit rate of the default mobile desktop 312 displayed on the smart phone 310 remains unchanged at 2 Mbps, the frame rate remains unchanged at 15 fps, and the resolution remains unchanged at 360p.
[0336] Table 8 shows the changes in the bit rate, frame rate, and resolution of the short message display interface 314 projected by the smart phone 310 over time:
[0337] Table 8: Changes in bit rate, frame rate, and resolution of the short message display interface 314 over time
[0338] After 12 seconds, the bit rate of the short message display interface 314 projected by the smart phone 310 remains unchanged at 2 Mbps, the frame rate remains unchanged at 15 fps, and the resolution remains unchanged at 360p.
[0339] Table 9 shows the changes in the bit rate, frame rate, and resolution of the video display interface 315 projected by the smartphone 310 over time.
[0340] Table 9: Changes in bit rate, frame rate, and resolution of the video display interface 315 over time
[0341] After 12 seconds, the bit rate of the video display interface 315 projected by the smartphone 310 remains unchanged at 2 Mbps, the frame rate remains unchanged at 15 fps, and the resolution remains unchanged at 360p.
[0342] Figures 8(a) and 9(a) take the example of reducing the encoding bit rate, frame rate and resolution of the video screen corresponding to the display interface of the first application in the first device. It should be noted that when the first device includes display interfaces of multiple applications, from the perspective of saving power consumption, the bit rate, frame rate and resolution of the video screen corresponding to the display interfaces of all multiple applications can be reduced according to the first scene preset rules; or the bit rate, frame rate and resolution of the video screen corresponding to the display interfaces of some applications can be reduced according to the first scene preset rules. The embodiments of the present application do not limit this.
[0343] It should be noted that Figures 8(a) and 9(a) are examples of respectively reducing the bit rate, frame rate and resolution of the video screen corresponding to the display interface of the application in each first device (there are multiple first devices in Figure 8(a)) according to the set scene preset rules. In a possible implementation method, Figures 8(a) and 9(a) can also respectively reduce one or a combination of any two of the bit rate, frame rate and resolution of the video screen corresponding to the display interface of the application in each first device according to the set scene preset rules. This application does not limit this.
[0344] In an embodiment of the present application, the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, and further includes: not displaying the display interface of the first application of the first device or not refreshing the display interface of the first application of the first device.
[0345] It should be noted that when the first device includes display interfaces of multiple applications, from the perspective of saving power consumption, the display interfaces of all applications may not be displayed or refreshed, or the display interfaces of some applications may not be displayed or refreshed, which can also save power consumption of the first device. This embodiment of the present application is not limited to this.
[0346] Taking Figure 7(a) as an example, the display screen 111 of the smartphone 110 is adjusted from displaying the map navigation application display interface in Figure 1 to no longer displaying the map navigation application display interface. Since the audio is still encoded, the smartphone 110 will still send audio to the car 120.
[0347] In some other embodiments, since the first device reduces the bit rate, frame rate and resolution of the display interface of the first application of the first device according to the preset rules of the first scene, the display clarity of the display interface of the first application will naturally decrease, and no additional adjustment of the display effect is required.
[0348] Taking Figure 8(a) as an example, as each smartphone (multiple first devices) reduces the bit rate, frame rate and resolution of the video image used by the display interface of each application according to the preset rules of the first scene, the display clarity of the display interface of the application on each smartphone will naturally decrease, that is, become blurred.
[0349] Taking Figure 9(a) as an example, as the smartphone 310 reduces the bit rate, frame rate and resolution of the default mobile phone desktop 312, short message display interface 314 and video display interface 315 according to the preset rules of the first scenario, the display clarity of the above three application display interfaces will naturally decrease.
[0350] After executing step S1004, in one possible implementation, the first device stops displaying the display interface of the first application, so there is no need to project the display interface of the first application after adjusting the projection effect to the second device for synchronous display, that is, the second device stops displaying the first projection interface.
[0351] Taking Figure 7(a) as an example, the display screen 111 of the smartphone 110 is turned off, the display screen 121 of the car 120 no longer synchronously displays the map navigation application display interface, and the audio data on the smartphone 110 is still broadcast synchronously, such as "The speed limit on the road ahead is 60KM / h."
[0352] Optionally, after step S1004, optional steps S1005 and S1006 are further included:
[0353] S1005. The first device projects the display interface of the first application after adjusting the projection effect according to the first instruction to the second device.
[0354] S1006. The second device displays the first screen projection interface after adjusting the screen projection effect.
[0355] Among them, in the embodiment of the present application, the first screen projection interface after adjusting the screen projection effect corresponds to the display interface of the first application after adjusting the screen projection effect on the first device.
[0356] Taking FIG8( a ) as an example, the display screen 251 of the smart TV 250 synchronously displays the application display interfaces of the smart phones 210 , 220 , 230 and 240 after adjusting the projection effects.
[0357] Taking Figure 9(a) as an example, the default mobile phone desktop 312, short message display interface 314 and video display interface 315 on the smartphone 310 after adjusting the screen projection effect are projected to the display screen 321 of the laptop computer 320 and synchronously displayed as the default mobile phone desktop 322, short message display interface 323 and video display interface 324.
[0358] In some embodiments, the first projection interface displayed by the second device after adjusting the projection effect may also include at least one of the following items: the first projection interface displayed in a reduced size, the first projection interface displayed at the edge of the screen, or the first projection interface with at least one of the bit rate, frame rate, and resolution reduced.
[0359] For example, in FIG8( a ), the video display interface 253 displayed on the display screen 251 of the smart TV 250 can be displayed in a reduced size, displayed at the edge of the screen 251, or both reduced size and displayed at the edge of the screen 251. Furthermore, the video display interface 253 corresponds to the video display interface on the display screen 211 of the mobile phone 210. In step S1004, by reducing at least one of its bit rate, frame rate, and resolution, the clarity of the video display interface on the display screen 211 is reduced; accordingly, the clarity of the video display interface 253 is also reduced.
[0360] For another example, in FIG9( a ), the short message display interface 323 displayed on the display screen 321 of the laptop computer 320 can be displayed in a reduced size, displayed at the edge of the screen 321, or both reduced size and displayed at the edge of the screen 321. Furthermore, the short message display interface 323 corresponds to the short message display interface 314 on the virtual screen 313 of the mobile phone 310. In step S1004, by reducing at least one of its bit rate, frame rate, and resolution, the clarity of the short message display interface 314 is reduced; accordingly, the clarity of the short message display interface 323 is also reduced.
[0361] In some embodiments, in response to an emergency, the first device can restore the projection effect of the display interface of the first application after adjusting the projection effect to the projection effect before adjusting the projection effect according to the first instruction, and the second device also restores to display the first projection interface.
[0362] Taking the scenario where Figure 7(a) changes to Figure 7(c) as an example, camera 122 initially detects that the user's gaze remains focused on the road ahead and performs the adjustments shown in Figure 7(a): smartphone 110 stops encoding the video and only encodes the audio; display 111 goes dark. The map navigation app on smartphone 110 calculates in the background that a right turn is imminent ahead. For safety reasons, smartphone 110 restarts encoding the video for the map navigation app's display interface and transmits the video and audio encoding streams to vehicle 120. Display 111 of smartphone 110 then re-displays the map navigation app's display interface, which is then synchronized with display 121 of vehicle 120, as shown in Figure 7(c).
[0363] It should be noted that the emergency event in Figure 7(c) is only an example of turning right, and it can also be any emergency situation encountered during driving, such as sudden braking, sudden stop, sudden acceleration, emergency avoidance, etc., and the embodiments of the present application do not limit this.
[0364] In the scenario shown in Figure 7(c), the car 120 can also respond to the sudden event of turning right. The car 120 sends an instruction to restore the screen projection effect to the smartphone 110. The smartphone 110 restarts the video screen encoding of the map navigation application display interface according to the instruction, and transmits the video screen code stream and audio code stream to the car 120. The display screen 111 of the smartphone 110 displays the map navigation application display interface and synchronizes it to the display screen 121 of the car 120 for display. This embodiment of the present application is not limited to this.
[0365] After the above steps S1005 to S1006 are processed, in the embodiment of the present application, the first device is in a low-power operation state without affecting the user's subjective visual experience, thereby saving power and improving battery life.
[0366] When the user focuses on the first projection interface displayed on the second device, the projection method provided in the embodiment of the present application may include the following steps S1101a-S1106b shown in Figure 11(a) and the following steps S1101a-S1106c shown in Figure 11(b).
[0367] It should be noted that steps S1102-S1106b can be performed before or after steps S1002-S1006, or can be performed in parallel with steps S1002-S1006, and this is not limited in the embodiments of the present application. It should be understood that the specific order of the steps described in Figures 11(a) to 11(b) is merely exemplary and is not intended to indicate that the described order is the only order in which these steps can be performed. A person of ordinary skill in the art will conceive of various ways to reorder the steps described in this application.
[0368] S1101a. The second device displays the first screen projection interface.
[0369] Regarding step S1101a, please refer to the introduction of S1001 in the above embodiment and will not be repeated here.
[0370] Optionally, when the second device also displays a second screen projection interface, the screen projection method provided in this embodiment of the present application may include step S1101b:
[0371] S1101b. The second device displays a second screen projection interface.
[0372] In the embodiment of the present application, the second projection screen corresponds to the display interface of the second application on the first device, and the display interface of the second application is part or all of all display interfaces on the first device. Displaying the second projection screen on the second device means that the second device synchronously displays the display interface of the second application projected from the first device to the second device.
[0373] It should be understood that due to limitations in shape and size, the size and form of the display interface of the second device and the first device will be different. The second projection interface is at least the same as the content of the display interface of the second application on the corresponding first device, but may be different in display size and form.
[0374] Taking Figure 3 as an example, the second device is a laptop computer 320, which displays three screen projection interfaces: the default mobile desktop 322 (screen projection interface) corresponds to the default mobile desktop 312 on the smartphone 310; the short message display interface 323 (screen projection interface) corresponds to the short message display interface 314 on the smartphone 310; and the video display interface 324 (screen projection interface) corresponds to the video display interface 315 on the smartphone 310. Assuming that the selected video display interface 324 is the first screen projection interface, the corresponding display interface of the first application is the video display interface 315 on the smartphone 310; the short message display interface 323 is the second screen projection interface, and the corresponding short message display interface 314 on the smartphone 310 is the display interface of the second application; the second screen projection interface can also be the default mobile desktop 322, and the corresponding default mobile desktop 312 on the smartphone 310 is the display interface of the second application.
[0375] S1102. The second device detects a second event in which the user pays attention to the first projection interface displayed on the second device.
[0376] In an embodiment of the present application, the second event in which the user pays attention to the first projection interface displayed on the second device may include but is not limited to at least one of the following events: the user's eyes are looking at the first projection interface, the user's head turns to the first projection interface, or the user touches the first projection interface.
[0377] When there is only one projection interface, taking Figure 7(b) as an example, when the user needs to view the map navigation application display interface, the camera 122 of the car 120 detects that the user's gaze is fixed on the map navigation application display interface displayed on the display screen 121.
[0378] When there are multiple first devices and multiple projection interfaces, taking Figure 8(b) as an example, the camera 252 of the smart TV 250 detects that the user's gaze is fixed on the video display interface 253 in the upper left corner of the four application display interfaces being displayed synchronously on the display screen 250.
[0379] When there is only one first device but multiple projection interfaces, refer to the scenario shown in FIG9( b ). At least one of the following events may indicate that the user is paying attention to the video display interface 324 :
[0380] 1. The display screen 321 of the laptop computer 320 detects that the user clicks the display screen 321 (having a touch function) and selects to focus on the video display interface 324;
[0381] 2. The camera 325 of the laptop computer 320 detects that the user is looking at the video display interface 324 .
[0382] In Figure 9(b), the first device is a smartphone 310, and the second device is a laptop computer 320. Smartphone 310 projects its default mobile desktop 312, short message display interface 314, and video display interface 315 onto laptop computer 320's display screen 321 for simultaneous display. Laptop computer 320 displays three projection interfaces: default mobile desktop 322 (projection interface) corresponds to default mobile desktop 312 on smartphone 310; short message display interface 323 (projection interface) corresponds to short message display interface 314 on smartphone 310; and video display interface 324 (projection interface) corresponds to video display interface 315 on smartphone 310. In step S1102, the user focuses on the video display interface 324, then the video display interface 324 is the first projection interface, then the corresponding display interface of the first application is the video display interface 315 on the smart phone 310; the short message display interface 323 is the second projection interface described in step S1101b, and the corresponding short message display interface 314 on the smart phone 310 is the display interface of the second application; the default mobile phone desktop 322 is also the second projection interface described in step S1101b, and the corresponding default mobile phone desktop 312 on the smart phone 310 is the display interface of the second application.
[0383] It should be noted that the user's focus on the first projection interface displayed on the second device can be a combination of multiple operations, which is not limited in this embodiment of the application. Taking the scenario shown in Figure 7(b) as an example, the camera 122 of the vehicle 120 can detect the user's gaze at the display screen 121 and the user's head turning towards the display screen 121 to determine that the user's focus is indeed on the map navigation application display interface displayed on the display screen 121.
[0384] In some embodiments, the second device needs to detect whether the user's line of sight is fixed on the first projection interface displayed on the second device for a certain period of time to determine whether the user's focus is indeed on the first projection interface. The certain period of time can be adaptively set according to different scenarios. For example, in the driving scenario shown in Figure 7(b), the time can be set to 1 second to ensure a quick response; in the scenario of watching a smart TV as shown in Figure 8(b), the time can be set to 2 seconds to fully confirm that the user's line of sight is indeed not focused on the display screen of the smart TV to avoid misjudgment.
[0385] In some embodiments, the user pays attention to the first projection interface displayed on the second device. The user may also make a specific gesture to indicate that he is paying attention to the first projection interface, or the user may directly speak the control command to pay attention to the first projection interface. The embodiments of the present application do not limit this and will not be listed one by one.
[0386] In some embodiments, the second device may periodically detect a second event in which the user focuses on the first projection interface displayed on the second device based on a preset time period, thereby saving power consumption of the second device. For example, the preset period may be pre-set in the second device. For example, the preset period may be 2 seconds, which is not limited in the embodiments of the present application.
[0387] S1103. The second device sends a second instruction for adjusting the screen projection effect to the first device.
[0388] In response to detecting a second event in which the user pays attention to the first projection interface displayed on the second device, the second device sends a second instruction to adjust the projection effect to the first device.
[0389] S1104a. The first device adjusts the screen projection effect of the display interface of the first application according to the received second instruction.
[0390] In an embodiment of the present application, the first device adjusts the screen projection effect of the display interface of the first application according to the second instruction, including at least one of the following items: turning on the encoding of the video picture corresponding to the display interface of the first application, turning on the encoding of the audio corresponding to the display interface of the first application, or increasing at least one of the bit rate, frame rate or resolution of the video picture corresponding to the display interface of the first application.
[0391] Taking the transition from Figure 7(a) to Figure 7(b) as an example, after receiving the second instruction sent by vehicle 120, smartphone 110 restarts encoding of the video image of the map navigation application display interface displayed on display screen 111, and the video image of the map navigation application display interface is redisplayed on display screen 111 as shown in Figure 7(b). The audio in Figure 7(a) is encoded normally, so it does not need to be restarted. Optionally, if smartphone 110 has previously stopped encoding both the video image and audio of the map navigation application display interface, then in Figure 7(b), both video image and audio encoding need to be restarted.
[0392] It should be noted that when the first device displays the display interfaces of multiple applications, if the encoding of the video images of all the display interfaces of the multiple applications was previously stopped (the audio was encoded normally); or the encoding of the video images and audio of all the display interfaces of the multiple applications was previously stopped simultaneously, then this step may also restart the encoding of the video images of some or all of the display interfaces of the applications (the audio is encoded normally); or restart the encoding of the video images and audio of some or all of the display interfaces of the applications simultaneously. This embodiment of the present application is not limited to this.
[0393] In other embodiments, improving at least one of the bit rate, frame rate or resolution of the video screen corresponding to the display interface of the first application includes but is not limited to: improving the bit rate, frame rate and resolution of the video screen corresponding to the display interface of the first application according to the second scene preset rules, and the second scene preset rules include bit rate, frame rate, resolution increase or decrease rules formulated according to the application categories to which the display interfaces of different applications belong, and the application categories include video and music categories, office picture categories, games and other categories.
[0394] In a possible embodiment, according to the preset rules of the second scene, improving the bit rate, frame rate and resolution of the video screen corresponding to the display interface of the first application includes but is not limited to: when the display interface of the first application belongs to the video and music category, the encoding resolution is preferentially improved to the highest resolution at a certain time interval, and then the frame rate is improved to the highest frame rate, and finally the bit rate is improved to the highest bit rate; when the display interface of the first application belongs to the office picture category, the resolution is preferentially improved to the highest resolution at a certain time interval, and then the encoding bit rate is improved to the highest bit rate, and finally the frame rate is improved to the highest frame rate; when the display interface of the first application belongs to the game and other categories, the encoding frame rate is preferentially improved to the highest frame rate at a certain time interval, and then the resolution is improved to the highest resolution, and finally the bit rate is improved to the highest bit rate.
[0395] Taking the scene shown in Figure 8(a) to Figure 8(b) as an example, after the smartphone 210 receives the second instruction sent by the smart TV 250, it increases the bit rate, frame rate and resolution of the video display interface displayed on the display screen 211. The video display interface belongs to the video music category, and the resolution, frame rate and bit rate are increased in order of importance. Still assuming that the time interval is 2 seconds, the encoding bit rate, frame rate and resolution of the video display interface have 3 levels as shown in Tables 1 to 3, then after 2 seconds, the video display interface on the display screen 211 changes from the (bit rate 2mbps, frame rate 30fps, resolution 1080p) shown in Figure 8(a) to the (bit rate 2mbps, frame rate 60fps, resolution 1080p) shown in Figure 8(b). The bit rate, frame rate and resolution of the video display interface change over time as shown in Table 10:
[0396] Table 10: Changes in bit rate, frame rate, and resolution of the video display interface displayed on the display screen 211 over time
[0397] Because the video display interface's resolution has reached its highest level, the frame rate is prioritized and increased at 2 seconds. After 6 seconds, the video display interface's bitrate stabilizes at 10 mpbs, the frame rate stabilizes at 60 fps, and the resolution stabilizes at 1080p. Through these steps, smartphone 210 can recover from a low-power state to a normal encoding state, without affecting the user's visual experience.
[0398] In another possible implementation, if the smartphone 210 previously lowered one or any two of the bit rate, frame rate, and resolution of the video display interface according to the set scene preset rules, then correspondingly, the smartphone 210 may also increase one or any two of the bit rate, frame rate, and resolution of the video display interface according to the set scene preset rules. This embodiment of the present application does not limit this.
[0399] Taking the scenario shown in Figure 9(a) as an example, after the smartphone 310 receives the second instruction sent by the laptop computer 320, it increases the bit rate, frame rate and resolution of the video display interface 315 displayed on the virtual screen 313. The video display interface 315 belongs to the video music category, and the resolution, frame rate and bit rate are increased in order of importance. Still assuming that the time interval is 2 seconds, the encoding bit rate, frame rate and resolution of the video display interface have three levels as shown in Tables 1 to 3, then after 2 seconds, the video display interface 315 changes from the (bit rate 2mbps, frame rate 30fps, resolution 1080p) shown in Figure 9(a) to the (bit rate 2mbps, frame rate 60fps, resolution 1080p) shown in Figure 9(c). The bit rate, frame rate and resolution of the video display interface change over time as shown in Table 11:
[0400] Table 11: Bit rate, frame rate, and resolution of the video display interface 315 over time
[0401] Because the resolution of the video display interface has reached the highest resolution, the frame rate is increased according to priority at 2 seconds. After 6 seconds, the bit rate of the video display interface 315 is stabilized at 10 mpbs, the frame rate is stabilized at 60 fps, and the resolution is stabilized at 1080p.
[0402] In another possible implementation, if the smartphone 310 previously lowered one or any two of the bit rate, frame rate, and resolution of the video display interface 315 according to the set scene preset rules, then correspondingly, the smartphone 310 may also increase one or any two of the bit rate, frame rate, and resolution of the video display interface 315 according to the set scene preset rules. This embodiment of the present application does not limit this.
[0403] In some embodiments, the first device adjusts the screen projection effect of the display interface of the first application according to the second instruction, and also includes: the first device displays the display interface of the first application or refreshes the display interface of the first application.
[0404] Taking the scene of FIG. 7( a ) as an example, the scene of FIG. 7( b ) changes to the scene of FIG. 7( a ), the display screen 111 of the smart phone 110 redisplays the map navigation application display interface.
[0405] Taking the scene in Figure 8(a) as an example, if the video display interface of the smartphone 210 in Figure 8(a) does not refresh the screen, then in Figure 8(b), when the camera 252 detects that the user is looking at the video display interface 253 in the upper left corner of the display screen 251, the video display interface on the display screen 211 of the smartphone 210 will refresh the screen.
[0406] Taking the scene in Figure 9(a) as an example, if the video display interface 315 of the smartphone 310 in Figure 9(a) does not refresh the screen, then when the user touches the video display interface 324 synchronously displayed on the display screen 321 of the laptop computer 320, the video display interface 315 of the smartphone 310 in Figure 9(c) will refresh the screen.
[0407] Optionally, when the second device also displays a second screen projection interface, the screen projection method provided in this embodiment of the present application may include step S1104b:
[0408] S1104b. The first device adjusts the screen projection effect of the display interface of the second application according to the received second instruction.
[0409] In an embodiment of the present application, the first device adjusts the screen projection effect of the display interface of the second application according to the received second instruction, including but not limited to: stopping the encoding of the video image corresponding to the display interface of the second application, stopping the encoding of the audio corresponding to the display interface of the second application, or reducing at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the second application.
[0410] In some embodiments, reducing at least one of the bit rate, frame rate or resolution of the video screen corresponding to the display interface of the second application includes: when the display interface of the second application belongs to the video and music category, preferentially reducing the encoding bit rate to the lowest bit rate at a certain time interval, then reducing the frame rate to the lowest frame rate, and finally reducing the resolution to the lowest resolution; when the display interface of the second application belongs to the office picture category, preferentially reducing the frame rate to the lowest frame rate at a certain time interval, then reducing the encoding bit rate to the lowest bit rate, and finally reducing the resolution to the lowest resolution; when the display interface of the second application belongs to the game and other categories, preferentially reducing the encoding bit rate to the lowest bit rate at a certain time interval, then reducing the resolution to the lowest resolution, and finally reducing the frame rate to the lowest frame rate.
[0411] Taking the scene shown in Figure 9(a) as an example, the default mobile phone desktop 322 and short message display interface 323 displayed simultaneously on the display screen 321 are application display interfaces that the user does not pay attention to. The default mobile phone desktop 312 displayed on the display screen 311 of the smartphone 310 belongs to the game and other categories, and the bit rate, resolution and frame rate are reduced in order of importance; the short message display interface 314 displayed on the virtual screen 313 of the smartphone 310 belongs to the office picture category, and the frame rate, bit rate and resolution are reduced in order of importance. Still assuming that the time interval is 2 seconds, the bit rate, frame rate and resolution of the above two application display interfaces have 3 levels as shown in Tables 1 to 3, then after 2 seconds, the above three application display interfaces change from the bit rate, frame rate and resolution shown in Figure 9(c) to the bit rate, frame rate and resolution shown in Figure 9(a). More specifically, the bit rate, frame rate and resolution of the above two application display interfaces change over time as shown in Tables 12 to 13:
[0412] Table 12: Changes in bitrate, frame rate, and resolution of the default mobile desktop 312 over time
[0413] Table 13: Changes in bit rate, frame rate, and resolution of the short message display interface 314 over time
[0414] After 6 seconds, the bitrate of the display interfaces of the above two applications stabilized at the lowest level of 2mpbs, the frame rate stabilized at the lowest level of 15fps, and the resolution stabilized at the lowest level of 360p.
[0415] In another possible implementation, the default mobile phone desktop 312 displayed on the display screen 311 of the smart phone 310 and the short message display interface 314 displayed on the virtual screen 313 can also reduce one or a combination of any two of the bit rate, frame rate and resolution, which is not limited in this application.
[0416] S1105a. The first device projects the display interface of the first application after adjusting the projection effect according to the second instruction to the second device.
[0417] Optionally, when the second device also displays a second screen projection interface, the screen projection method provided in this embodiment of the present application may include step S1105b:
[0418] S1105b. The first device projects the display interface of the second application after adjusting the projection effect according to the second instruction to the second device.
[0419] S1106a. The second device displays the first screen projection interface after adjusting the screen projection effect.
[0420] Among them, in an embodiment of the present application, the first projection interface after adjusting the projection effect corresponds to the display interface of the first application on the first device after adjusting the projection effect according to the second instruction.
[0421] Taking the scene of FIG. 7( a ) as an example, the scene of FIG. 7( b ) is changed to the scene of FIG. 7( b ), the smart phone 110 re-displays the map navigation application display interface on the display screen 111 and projects it onto the display screen 121 of the car 120 for synchronous display.
[0422] Taking the scene in Figure 8(a) as an example, if the video display interface of the smartphone 210 in Figure 8(a) has not been refreshed before, the video display interface on the display screen 211 of the smartphone 210 will refresh the screen at this time and be projected onto the display screen 251 of the smart TV 250 for synchronous display.
[0423] Taking the scene in Figure 9(a) as an example, if the video display interface 315 of the smartphone 310 in Figure 9(a) has not been refreshed before, the video display interface 315 will refresh the screen and be projected onto the display screen 321 of the laptop computer 320 to be synchronously displayed as the video display interface 324.
[0424] In one possible implementation, the first screen projection interface after adjusting the screen projection effect includes at least one of the following items:
[0425] The first projection interface displayed in an enlarged manner, the first projection interface displayed in the center, or the first projection interface with at least one of the bit rate, frame rate, and resolution increased.
[0426] Exemplarily, the first screen projection interface after adjusting the screen projection effect can be the first screen projection interface that is enlarged and displayed in the center.
[0427] Taking the changing scenes from Figure 8(a) to Figure 8(c) as an example, the initial scene is Figure 8(a). When camera 252 detects that the user is looking at video display interface 253 in the upper left corner of display screen 251, the scene changes to Figure 8(b), and can then quickly change to Figure 8(c). In Figure 8(c), smartphone 210 sends a command to smart TV 250 to enlarge and center video display interface 253 displayed simultaneously on smart TV 250; smart TV 250 enlarges and centers video display interface 253.
[0428] Taking the scene changes from Figure 9(a) to Figure 9(c) as an example, the initial scene is Figure 9(a). When display screen 321 responds to the click operation shown in Figure 9(b) to indicate focus on video display interface 324, the scene changes to Figure 9(c). Smartphone 310 sends a command to laptop computer 320 to enlarge and center video display interface 324 displayed simultaneously on laptop computer 320; laptop computer 320 enlarges and centers video display interface 324.
[0429] In one possible implementation, the specific process of enlarging the first projection interface includes:
[0430] Calculate the magnification ratio: If the size of the first projection interface displayed on the second device is a1×b1, and the size of the display area of the second device is a2×b2, the magnification ratio is the smaller value of a2 / a1 and b2 / b1, where a1 is the length of the first projection interface, b1 is the width of the first projection interface, a2 is the length of the display area of the second device, and b2 is the width of the display area of the second device; multiply the magnification ratio by the size of the first projection interface a1×b1 to enlarge the first projection interface.
[0431] Optionally, when the second device also displays a second screen projection interface, the screen projection method provided in this embodiment of the present application may include step S1106b:
[0432] Among them, in an embodiment of the present application, the second screen projection interface after adjusting the screen projection effect corresponds to the display interface of the second application on the first device after adjusting the screen projection effect according to the second instruction.
[0433] In one possible implementation, the second projection interface after adjusting the projection effect includes at least one of the following items: a second projection interface with a reduced display, a second projection interface displayed at the edge of the screen, or a second projection interface with at least one of the bit rate, frame rate, and resolution reduced.
[0434] Exemplarily, the second projection interface after adjusting the projection effect can be reduced and displayed at the edge of the screen.
[0435] Taking the changing scenes from Figure 9(a) to Figure 9(c) as an example, the initial scene is Figure 9(a). When the display screen 321 responds to the click operation shown in Figure 9(b) to indicate focus on the video display interface 324, the scene changes to Figure 9(c). Smartphone 310 sends an instruction to laptop 320 to shrink the default mobile desktop 312 displayed on the laptop and position it at the left edge of the display screen 321. Laptop 320 shrinks the default mobile desktop 312 and positions it at the left edge of the display screen 321. Smartphone 310 sends an instruction to laptop 320 to shrink the short message display interface 313 displayed on the laptop and position it at the right edge of the display screen 321. Laptop 320 shrinks the short message display interface 313 displayed on the laptop and positions it at the right edge of the display screen 321.
[0436] In some embodiments, zooming out and displaying the second projection interface specifically includes:
[0437] Calculate the reduction ratio: If the size of the second projection interface displayed on the second device is a3×b3, and the size of the display area of the second device is a2×b2, the reduction ratio is the smaller value of a2 / a3 and b2 / b3, where a3 is the length of the second projection interface, b3 is the width of the second projection interface, a2 is the length of the display area of the second device, and b2 is the width of the display area of the second device; multiply the reduction ratio by the size of the second projection interface a3×b3 to reduce the size of the second projection interface.
[0438] When the second device also displays a third screen projection interface, the screen projection method provided in the embodiment of the present application may further include the following steps S1101a-S1106c shown in Figure 11(b).
[0439] It should be noted that steps S1101a-S1106c can be executed after steps S1001-S1006, or can be executed independently and in parallel with steps S1001-S1006, and this embodiment of the present application is not limited to this.
[0440] S1101a. The second device displays the first screen projection interface.
[0441] Regarding step S1101a, please refer to the introduction of S1001 in the above embodiment and will not be repeated here.
[0442] Optionally, when the second device also displays a third screen projection interface, the screen projection method provided in this embodiment of the present application may include step S1101c:
[0443] S1101c. The second device displays the third screen projection interface.
[0444] In the embodiment of the present application, the third projection interface corresponds to the display interface of the third application on the third device. The third device is the remaining first devices among the multiple first devices except the first device where the first application is located.
[0445] S1102. The second device detects a second event in which the user pays attention to the first projection interface displayed on the second device.
[0446] Regarding step S1102, please refer to the introduction of S1102 in FIG11(a) in the above embodiment, which will not be described in detail.
[0447] Referring to FIG8( b ), the camera 252 of the smart TV 250 detects that the user is looking at the video display interface 253 in the upper left corner of the four application display interfaces being simultaneously displayed on the display screen 250. The video display interface 253 is the first screen projection interface, corresponding to the video display interface displayed on the display screen 211 of the first device, the smartphone 210. The third device can be the smartphone 220, whose image display interface displayed on the display screen 221 is the third application, and the image display interface 254 displayed on the smart TV 250 is the corresponding third screen projection interface. The third device can also be the smartphone 230, whose game display interface displayed on the display screen 231 is the third application, and the game display interface 255 displayed on the smart TV 250 is the corresponding third screen projection interface. The third device can also be the smartphone 240, whose video display interface displayed on the display screen 241 is the third application, and the video display interface 256 displayed on the smart TV 250 is the corresponding third screen projection interface.
[0448] Optionally, when the second device also displays a third screen projection interface, the screen projection method provided in this embodiment of the present application may include steps S1103c to S1104c:
[0449] S1103c. The second device sends a third instruction for adjusting the screen projection effect to the third device.
[0450] In response to detecting a second event in which the user pays attention to the first projection interface displayed on the second device, the second device sends a third instruction for adjusting the projection effect to the third device.
[0451] S1104c. The third device adjusts the screen projection effect of the display interface of the third application according to the received third instruction.
[0452] In an embodiment of the present application, the third device adjusts the screen projection effect of the display interface of the third application according to the received third instruction, including but not limited to: reducing at least one of the bit rate, frame rate and resolution of the video screen corresponding to the display interface of the third application.
[0453] In some embodiments, reducing at least one of the bit rate, frame rate and resolution of the video screen corresponding to the display interface of the third application includes: when the display interface of the third application belongs to the video and music category, preferentially reducing the encoding bit rate to the lowest bit rate at a certain time interval, then reducing the frame rate to the lowest frame rate, and finally reducing the resolution to the lowest resolution; when the display interface of the third application belongs to the office picture category, preferentially reducing the frame rate to the lowest frame rate at a certain time interval, then reducing the encoding bit rate to the lowest bit rate, and finally reducing the resolution to the lowest resolution; when the display interface of the third application belongs to the game and other categories, preferentially reducing the encoding bit rate to the lowest bit rate at a certain time interval, then reducing the resolution to the lowest resolution, and finally reducing the frame rate to the lowest frame rate.
[0454] Taking the scenario shown in Figure 8(a) as an example, the image display interface 254, game display interface 255, and video display interface 256 displayed simultaneously on display screen 251 are application display interfaces that the user is not interested in. Accordingly, the image display interface displayed on smartphone 220's display screen belongs to the office image category, with its frame rate, bit rate, and resolution decreasing in descending order of importance. The game display interface displayed on smartphone 230's display screen 231 belongs to the games and other categories, with its bit rate, resolution, and frame rate decreasing in descending order of importance. The video display interface displayed on smartphone 240's display screen 241 belongs to the video and music category, with its bit rate, frame rate, and resolution decreasing in descending order of importance. Assuming a 2-second interval, the bit rate, frame rate, and resolution of the three application display interfaces listed above each have three levels, as shown in Tables 1 through 3. After 2 seconds, the three application display interfaces change from the one shown in Figure 8(a) to the bit rate, frame rate, and resolution shown in Figure 8(b). More specifically, the bit rate, frame rate, and resolution of the above three application display interfaces change over time as shown in Tables 14 to 16:
[0455] Table 14 Changes of bit rate, frame rate and resolution of the image display interface over time
[0456] Table 15: Changes of the bit rate, frame rate and resolution of the game display interface over time
[0457] Table 16: Changes of bit rate, frame rate and resolution of video display interface over time
[0458] After 6 seconds, the bit rates of the display interfaces of the above three applications all stabilized at the lowest level of 2mpbs, the frame rates all stabilized at the lowest level of 15fps, and the resolutions all stabilized at the lowest level of 360p.
[0459] In another possible implementation, the picture display interface displayed on the display screen of the smartphone 220, the game display interface displayed on the display screen 231 of the smartphone 230, and the video display interface displayed on the display screen 241 of the smartphone 240 can also reduce one or a combination of any two of the bit rate, frame rate, and resolution, and this application does not limit this.
[0460] Optionally, when the second device also displays a third screen projection interface, the screen projection method provided in this embodiment of the present application may include step S1105c:
[0461] S1105c. The third device projects the display interface of the third application after adjusting the projection effect according to the third instruction to the second device.
[0462] S1106a. The second device displays the first screen projection interface after adjusting the screen projection effect.
[0463] Regarding step S1106a, reference may be made to the introduction of S1106a in FIG11(a) in the above embodiment, which will not be described in detail.
[0464] Optionally, when the second device also displays a third screen projection interface, the screen projection method provided in this embodiment of the present application may include step S1106c:
[0465] S1106c. The second device displays the third screen projection interface after adjusting the screen projection effect.
[0466] Among them, in an embodiment of the present application, the third projection interface after adjusting the projection effect corresponds to the display interface of the third application on the third device after adjusting the projection effect according to the third instruction.
[0467] In one possible implementation, the third projection interface after adjusting the projection effect includes at least one of the following items: a third projection interface that is displayed in a reduced size, a third projection interface that is displayed at the edge of the screen, or a third projection interface with at least one of the bit rate, frame rate, and resolution reduced.
[0468] Exemplarily, the third projection interface after adjusting the projection effect can be reduced and displayed at the edge of the screen.
[0469] Please refer to Figure 8(c). The smartphones 220, 230 and 240 respectively send instructions (third instructions) to the smart TV 250 to shrink the picture display interface 254, game display interface 255 and video display interface 256 displayed synchronously on the smart TV 250 and arrange them at the bottom edge of the display screen; the smart TV 250 shrinks the picture display interface 254, game display interface 255 and video display interface 256 and arrange them at the bottom edge of the display screen.
[0470] In some embodiments, zooming out and displaying the third projection interface specifically includes:
[0471] Calculate the reduction ratio: If the size of the third projection interface displayed on the second device is a3×b3, and the size of the display area of the second device is a2×b2, the reduction ratio is the smaller value of a2 / a3 and b2 / b3, where a3 is the length of the third projection interface, b3 is the width of the third projection interface, a2 is the length of the display area of the second device, and b2 is the width of the display area of the second device; multiply the reduction ratio by the size of the third projection interface a3×b3 to reduce the size of the third projection interface.
[0472] In some other embodiments, multiple projection interfaces are displayed on the second device, and the user's focus can be switched from the projection interface that is originally of interest to the projection interface that is not of interest. The display interface of the projection interface that is of interest and its corresponding application can execute steps S1101a, S1102, S1103, S1104a, S1105a and S1106a, the display interface of the projection interface that is not of interest and its corresponding application can execute steps S1101b, S1102, S1103, S1104b, S1105b and S1106b, and the display interface of the projection interface that is not of interest and its corresponding application can also execute steps S1101c, S1102, S1103c, S1104c, S1105c and S1106c.
[0473] Please refer to the scene change from Figure 8(d) to Figure 8(e). In the scene shown in Figure 8(d), camera 252 detects that the user is looking at game display interface 255 at the bottom edge of display screen 251, as shown in Figure 8(d). Smart TV 250 sends different instructions to adjust the screen projection effect to smartphones 230 and 210 respectively. Smartphone 230 increases the bitrate, frame rate, and resolution of the video display interface being projected according to the preset rules for games and other scenes; and sends an instruction to Smart TV 250 to enlarge and center the game display interface 255 displayed simultaneously on Smart TV 250. Smartphone 210 reduces the bitrate, frame rate, and resolution of the video display interface being projected according to the preset rules for video and music scenes; and sends an instruction to Smart TV 250 to shrink the video display interface 253 displayed simultaneously on Smart TV 250 and position it at the bottom edge of display screen 251. Smart TV 250 adjusts the display effect according to the corresponding instructions, and the adjustment results are shown in Figure 8(e).
[0474] Through the method provided in the above embodiments of the present application, the first device can adjust the projection effect according to the user's attention to the first projection interface displayed on the second device detected by the second device, thereby reducing the power consumption of the first device, improving the battery life of the first device, and improving the user's subjective visual experience.
[0475] It should be understood that the various schemes of the embodiments of the present application can be reasonably combined and used, and the explanations or descriptions of the various terms appearing in the embodiments can be referenced or explained with each other in the various embodiments, without limitation to this.
[0476] It should also be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0477] It is understandable that, in order to implement the functions of any of the above-mentioned embodiments, the first device and the second device include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0478] In the embodiment of the present application, the first device and the second device can be divided into functional modules. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.
[0479] For example, when the functional modules are divided in an integrated manner, FIG12 is a block diagram of a device according to an embodiment of the present application. For example, the electronic device may be a first device or a second device. As shown in FIG12 , the electronic device may include a processing unit 1210, a storage unit 1220, and a transceiver unit 1230.
[0480] Among them, when the electronic device is a second device, the processing unit 1210 is used to process the display of the first projection interface; detect whether the user is paying attention to the first projection interface displayed on the second device; in response to detecting a first event that the user is not paying attention to the first projection interface displayed on the second device, the second device sends a first instruction to adjust the projection effect to the first device; in response to detecting a second event that the user is paying attention to the first projection interface displayed on the second device, the second device sends a second instruction to adjust the projection effect to the first device. For example, the processing unit 1210 is used to support the device to execute the above steps S1001, S1002, S1006, S1101a, S1101b, S1101c, S1102, S1106a, S1106b, S1106c and / or other processes for the technology described in this application. The storage unit 1220 is used to store computer programs and processing data and / or processing results in the method provided in the embodiment of the present application. The transceiver unit 1230 is used to communicate with the first device. For example, it receives interface configuration information, control instructions, etc. of the projection interface from the first device. For another example, information is sent to the first device indicating whether the user is paying attention to the display interface of the second device.
[0481] It should be noted that the transceiver unit 1230 may include a radio frequency circuit. Specifically, the electronic device may receive and transmit wireless signals via the radio frequency circuit. Typically, the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. Furthermore, the radio frequency circuit may also communicate with other devices via wireless communications. The wireless communications may utilize any communication standard or protocol, including but not limited to Global System for Mobile Communications, General Packet Radio Service, Code Division Multiple Access, Wideband Code Division Multiple Access, Long Term Evolution, email, and Short Message Service.
[0482] It should be understood that the various modules in the electronic device can be implemented in software and / or hardware form, without limitation. In other words, the electronic device is presented in the form of functional modules. The "module" here can refer to an application-specific integrated circuit ASIC, a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above-mentioned functions. Optionally, in a simple embodiment, those skilled in the art can imagine that the portable device can take the form shown in Figure 13. The processing unit 1210 can be implemented by the processor 1310 shown in Figure 13. The transceiver unit 1230 can be implemented by the transceiver 1330 shown in Figure 13. Specifically, the processor is implemented by executing a computer program stored in the memory. Optionally, the memory is a storage unit within the chip, such as a register, cache, etc., and the storage unit can also be a storage unit within the computer device located outside the chip, such as the memory 1320 shown in Figure 13.
[0483] In an optional manner, when data transmission is implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is implemented in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disk (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)).
[0484] The steps of the method or algorithm described in conjunction with the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a detection device. Of course, the processor and the storage medium can also be present in the detection device as discrete components.
[0485] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
Claims
1. A screen projection method, applied to a second device, It is characterized in that The method comprises: The second device displays a first screen projection interface, wherein the first screen projection interface corresponds to a display interface of a first application on the first device; In response to detecting that the user is not paying attention to a first event of the first screen projection interface displayed on the second device, the second device sends a first instruction to adjust the screen projection effect to the first device.
2. The method according to claim 1, It is characterized in that The first event includes at least one of the following events: the user's line of sight is not fixed on the first projection interface, the user's head turns to an area other than the first projection interface, or the user does not touch the first projection interface.
3. The method according to claim 1, It is characterized in that After the second device sends the first instruction for adjusting the screen projection effect to the first device, the method further includes: The second device displays the first projection interface after adjusting the projection effect, and the first projection interface after adjusting the projection effect corresponds to the display interface of the first application on the first device after adjusting the projection effect according to the first instruction.
4. According to the method of claim 3, the first screen projection interface after adjusting the screen projection effect includes at least one of the following items: The first projection interface is displayed in a reduced size, the first projection interface is displayed at the edge of the screen, or the first projection interface has at least one of the bit rate, frame rate, and resolution reduced.
5. The method according to claim 1, It is characterized in that After the second device sends the first instruction for adjusting the screen projection effect to the first device, the method further includes: The second device stops displaying the first screen projection interface.
6. The method according to claim 5, It is characterized in that Also includes: In response to the emergency, the second device resumes displaying the first projection interface.
7. The method according to claim 6, It is characterized in that The emergency event includes a traffic navigation event.
8. The method according to any one of claims 1 to 5, It is characterized in that Also includes: In response to detecting a second event in which the user pays attention to the first projection interface, the second device sends a second instruction to adjust the projection effect to the first device.
9. The method according to claim 8, It is characterized in that The second event includes at least one of the following events: the user's eyes are fixed on the first projection interface, the user's head turns toward the first projection interface, or the user touches the first projection interface.
10. The method according to claim 8, It is characterized in that Also includes: The second device displays the first projection interface after adjusting the projection effect, and the first projection interface after adjusting the projection effect corresponds to the display interface of the first application on the first device after adjusting the projection effect according to the second instruction.
11. The method according to claim 10, wherein the first screen projection interface after adjusting the screen projection effect comprises at least one of the following items: The first projection interface is enlarged and displayed, the first projection interface is centered and displayed, or the first projection interface has at least one of the bit rate, frame rate and resolution increased.
12. The method according to claim 8, wherein the second device further displays a second screen projection interface. in, The second screen projection interface corresponds to a display interface of a second application on the first device, and the method further includes: The second device displays the second screen projection interface after adjusting the screen projection effect, and the second screen projection interface after adjusting the screen projection effect The second screen projection interface corresponds to the display interface of the second application on the first device after the screen projection effect is adjusted according to the second instruction.
13. The method according to claim 12, wherein the second screen projection interface after adjusting the screen projection effect comprises at least one of the following items: The second projection interface is displayed in a reduced size, the second projection interface is displayed at the edge of the screen, or the second projection interface has at least one of the bit rate, frame rate, and resolution reduced.
14. The method according to claim 8, It is characterized in that The second device further displays a third screen projection interface, wherein the third screen projection interface corresponds to a display interface of a third application on the third device, and the method further includes: The second device sends a third instruction for adjusting the screen projection effect of the display interface of the third application to the third device.
15. The method according to claim 14, further comprising: include: The second device displays the third projection interface after adjusting the projection effect, and the third projection interface after adjusting the projection effect corresponds to the display interface of the third application on the third device after adjusting the projection effect according to the third instruction.
16. The method according to claim 15, wherein the third screen projection interface after adjusting the screen projection effect comprises at least one of the following items: The third projection interface is displayed in a reduced size, the third projection interface is displayed at the edge of the screen, or the third projection interface has at least one of the bit rate, frame rate, and resolution reduced.
17. A screen projection method, It is characterized in that Applied to a screen projection system, the screen projection system includes a first device and a second device, and the method includes: The first device projects the display interface of the first application to the second device; The second device displays a first screen projection interface, wherein the first screen projection interface corresponds to a display interface of the first application on the first device; In response to detecting that the user does not pay attention to a first event of the first screen projection interface displayed on the second device, the second device sends a first instruction to adjust the screen projection effect to the first device; The first device receives the first instruction; The first device adjusts the screen projection effect of the display interface of the first application according to the first instruction.
18. The method according to claim 17, It is characterized in that The first event includes at least one of the following events: the user's line of sight is not fixed on the first projection interface, the user's head turns to an area other than the first projection interface, or the user does not touch the first projection interface.
19. The method according to claim 17, It is characterized in that The first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, including at least one of the following items: Stop encoding the video image corresponding to the display interface of the first application, stop encoding the audio image corresponding to the display interface of the first application, or reduce at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
20. The method according to claim 17 or 19, It is characterized in that After the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, the method further includes: The first device projects the display interface of the first application after adjusting the projection effect according to the first instruction to the second device; The second device displays the first projection interface after adjusting the projection effect, and the first projection interface after adjusting the projection effect corresponds to the display interface of the first application on the first device after adjusting the projection effect according to the first instruction.
21. The method according to claim 20, wherein the first screen projection interface after adjusting the screen projection effect comprises at least one of the following items: The first projection interface is displayed in a reduced size, the first projection interface is displayed at the edge of the screen, or the first projection interface has at least one of the bit rate, frame rate, and resolution reduced.
22. The method according to claim 17, It is characterized in that The first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, further comprising: The first device stops displaying the display interface of the first application.
23. The method according to claim 17 or 22, It is characterized in that After the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, the method further includes: The second device stops displaying the first screen projection interface.
24. The method according to claim 22, It is characterized in that Also includes: In response to the emergency, the first device resumes displaying the display interface of the first application, and the second device resumes displaying the first projection interface.
25. The method according to claim 24, It is characterized in that The emergency event includes a traffic navigation event.
26. The method according to any one of claims 17 to 25, It is characterized in that Also includes: In response to detecting a second event in which the user pays attention to the first screen projection interface, the second device sends a second instruction for adjusting the screen projection effect to the first device; The first device receives the second instruction; The first device adjusts the screen projection effect of the display interface of the first application according to the second instruction.
27. The method according to claim 26, It is characterized in that The second event includes at least one of the following events: the user's eyes are fixed on the first projection interface, the user's head turns toward the first projection interface, or the user touches the first projection interface.
28. The method according to claim 26, It is characterized in that The first device adjusts the screen projection effect of the display interface of the first application according to the second instruction, including at least one of the following items: Enable encoding of the video image corresponding to the display interface of the first application, enable encoding of the audio image corresponding to the display interface of the first application, or increase at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
29. The method according to any one of claims 26 to 28, It is characterized in that After the first device adjusts the screen projection effect of the display interface of the first application according to the second instruction, the method further includes: The first device projects the display interface of the first application after adjusting the screen projection effect according to the second instruction to the second device; The second device displays the first projection interface after adjusting the projection effect, and the first projection interface after adjusting the projection effect corresponds to the display interface of the first application on the first device after adjusting the projection effect according to the second instruction.
30. The method according to claim 29, wherein the first screen projection interface after adjusting the screen projection effect comprises at least one of the following items: The first projection interface is enlarged and displayed, the first projection interface is centered and displayed, or the first projection interface has at least one of the bit rate, frame rate and resolution increased.
31. The method according to claim 26, It is characterized in that The second device further displays a second screen projection interface, wherein the second screen projection interface corresponds to a display interface of a second application on the first device, and the method further includes: The first device adjusts the screen projection effect of the display interface of the second application according to the second instruction.
32. The method according to claim 31, It is characterized in that The first device adjusts the screen projection effect of the display interface of the second application according to the second instruction, including: Stop encoding the video image corresponding to the display interface of the second application, stop encoding the audio image corresponding to the display interface of the second application, or reduce at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the second application.
33. The method according to claim 31 or 32, It is characterized in that After the first device adjusts the screen projection effect of the display interface of the second application according to the second instruction, the method further includes: The first device projects the display interface of the second application after adjusting the screen projection effect according to the second instruction to the second device; The second device displays the second projection interface after adjusting the projection effect, and the second projection interface after adjusting the projection effect corresponds to the display interface of the second application on the first device after adjusting the projection effect according to the second instruction.
34. According to the method of claim 33, the second screen projection interface after adjusting the screen projection effect includes at least one of the following items: The second projection interface is displayed in a reduced size, the second projection interface is displayed at the edge of the screen, or the second projection interface has at least one of the bit rate, frame rate, and resolution reduced.
35. The method according to claim 26, It is characterized in that The second device further displays a third screen projection interface, wherein the third screen projection interface corresponds to a display interface of a third application on the third device, and the method further includes: The second device sends a third instruction for adjusting the screen projection effect of the display interface of the third application to the third device; The third device adjusts the screen projection effect of the display interface of the third application according to the third instruction.
36. The method according to claim 35, It is characterized in that The third device adjusts the screen projection effect of the display interface of the third application according to the third instruction, including: Stop encoding the video image corresponding to the display interface of the third application, stop encoding the audio image corresponding to the display interface of the third application, or reduce at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the third application.
37. The method according to claim 35 or 36, It is characterized in that After the third device adjusts the screen projection effect of the display interface of the third application according to the third instruction, the method further includes: The third device projects the display interface of the third application after adjusting the screen projection effect according to the third instruction to the second device; The second device displays the third projection interface after adjusting the projection effect, and the third projection interface after adjusting the projection effect corresponds to the display interface of the third application on the third device after adjusting the projection effect according to the third instruction.
38. The method according to claim 37, wherein the third screen projection interface after adjusting the screen projection effect comprises at least one of the following items: The third projection interface is displayed in a reduced size, the third projection interface is displayed at the edge of the screen, or the third projection interface has at least one of the bit rate, frame rate, and resolution reduced.
39. A screen projection method, applied to a first device, It is characterized in that The method comprises: The first device projects the display interface of the first application to the second device, so that the second device displays the first projection interface, wherein the first projection interface corresponds to the display interface of the first application on the first device; The first device receives a first instruction for adjusting a screen projection effect sent by the second device; The first device adjusts the screen projection effect of the display interface of the first application according to the first instruction.
40. The method according to claim 39, It is characterized in that The first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, including at least one of the following items: Stop encoding the video image corresponding to the display interface of the first application, stop encoding the audio image corresponding to the display interface of the first application, or reduce at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
41. The method according to claim 39 or 40, It is characterized in that After the first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, the method further includes: The first device will project the display interface of the first application after adjusting the projection effect according to the first instruction to the second device.
42. The method according to claim 41, It is characterized in that The first device adjusts the screen projection effect of the display interface of the first application according to the first instruction, further comprising: The first device stops displaying the display interface of the first application.
43. The method according to claim 42, It is characterized in that Also includes: In response to the emergency event, the first device resumes displaying the display interface of the first application.
44. The method according to claim 43, It is characterized in that The emergency event includes a traffic navigation event.
45. The method according to claim 39, It is characterized in that Also includes: The first device receives a second instruction for adjusting a screen projection effect sent by the second device; The first device adjusts the screen projection effect of the display interface of the first application according to the second instruction.
46. The method according to claim 45, It is characterized in that The first device adjusts the screen projection effect of the display interface of the first application according to the second instruction, including: Enable encoding of the video image corresponding to the display interface of the first application, enable encoding of the audio image corresponding to the display interface of the first application, or increase at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the first application.
47. The method according to claim 45 or 46, It is characterized in that After the first device adjusts the screen projection effect of the display interface of the first application according to the second instruction, the method further includes: The first device will project the display interface of the first application after adjusting the projection effect according to the second instruction to the second device.
48. The method according to claim 45, It is characterized in that The first device also projects a display interface of the second application to the second device, and the method further includes: The first device adjusts the screen projection effect of the display interface of the second application according to the second instruction.
49. The method according to claim 48, It is characterized in that The first device adjusts the screen projection effect of the display interface of the second application according to the second instruction, including: Stop encoding the video image corresponding to the display interface of the second application, stop encoding the audio image corresponding to the display interface of the second application, or reduce at least one of the bit rate, frame rate or resolution of the video image corresponding to the display interface of the second application.
50. The method according to claim 48 or 49, It is characterized in that After the first device adjusts the screen projection effect of the display interface of the second application according to the second instruction, the method further includes: The first device will project the display interface of the second application after adjusting the projection effect according to the second instruction to the second device.
51. A second device, It is characterized in that include: A memory, one or more processors and one or more programs; wherein the one or more programs are stored in the memory; characterized in that when the one or more processors execute the one or more programs, the second device executes the method as described in any one of claims 1 to 16.
52. A car, It is characterized in that include: Vehicle driving module, used to control various driving operations on the vehicle; A sensor module, used to detect signals related to the driving of the vehicle; The camera is used to detect whether the user is paying attention to the projection interface displayed in the car; a memory for storing instructions to be executed by one or more processors of the vehicle; A processor, when the processor executes the instructions in the memory, can enable the vehicle to execute the screen projection method described in any one of claims 1 to 16.
53. A first device, It is characterized in that include: A memory, one or more processors and one or more programs; wherein the one or more programs are stored in the memory; characterized in that when the one or more processors execute the one or more programs, the first device executes the method as described in any one of claims 39 to 50.
54. A screen projection system, It is characterized in that The screen projection system includes a first device and a second device, the second device is used to execute the screen projection method as described in any one of claims 1 to 16, and the first device is used to execute the screen projection method as described in any one of claims 39 to 50.
55. A chip, It is characterized in that The chip system includes a processing circuit and a storage medium, wherein the storage medium stores a computer program code; when the computer program code is executed by the processing circuit, the method according to any one of claims 1 to 50 is implemented.
56. A computer readable storage medium, It is characterized in that The computer-readable storage medium is used to store a computer program, and when the computer program is run on a computer, the computer is caused to perform the method according to any one of claims 1 to 50.
Citation Information
Patent Citations
Screen projection method, device and system
CN118555429A
Screen projection method and electronic equipment
CN112256224A
Screen projection method, screen projection device, electronic equipment, vehicle machine and screen projection system
CN113419697A
Multi-window screen projection method and electronic equipment
CN113556598A
Multi-window screen projection method and electronic equipment
CN113691846A
Cited By
Video narrowband high-definition adjustment method and system, intelligent terminal and storage medium
CN119364109A
