CN-122018834-A - Fly screen realization method and device for connecting screen, vehicle, medium and product
Abstract
The invention relates to the technical field of multi-screen interaction, and discloses a flying screen realization method, a flying screen realization device, a vehicle, a medium and a product for connecting screens, wherein the invention applies stack information by monitoring an android system, the task identification change of the target application father desktop application is used as a fly screen triggering basis, the limitation of distinguishing the screens by the display device identifiers of the traditional depending multiple screens is broken through, and the continuous screen scene is adapted. Meanwhile, after the screen flying is triggered, the audio focus and the voice zone of the target application are synchronously switched, so that the display content is ensured to be transferred, and the audio output and the interactive focus can be seamlessly connected. The method is free from additional hardware assistance, can flexibly expand to multi-screen scenes with more than two screens only by relying on an android system native stack mechanism, meets the requirements of vehicle-mounted continuous-screen multi-screen cooperation, and improves the use smoothness of users in multi-screen interaction.
Inventors
- ZHU HONGJIE
- ZHONG CHENGJIN
- WANG HONGBO
Assignees
- 北京梧桐车联科技有限责任公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251212
Claims (13)
- 1. A fly-screen implementation method of a continuous screen, wherein the continuous screen is a screen of an android system, a plurality of applications are deployed on the screen, and the continuous screen comprises a first screen and at least one second screen, and is characterized by comprising the following steps: monitoring application stack information in an android system; In response to detecting that the task identifier of the parent desktop application of the target application in the application stack information changes, determining to trigger a fly-screen operation, and acquiring a first task identifier before the parent desktop application changes and a second task identifier after the parent desktop application changes from the application stack information; And respectively switching the audio focus and the audio zone corresponding to the target application from the first screen corresponding to the first task identifier to the second screen corresponding to the second task identifier.
- 2. The method of claim 1, wherein switching the audio focus corresponding to the target application from a first screen corresponding to the first task identity to a second screen corresponding to the second task identity comprises: releasing the focus of the target application in a focus stack of a first screen corresponding to the first task identifier; and applying for the focus of the target application in a focus stack of a second screen corresponding to the second task identifier.
- 3. The method of claim 1, wherein switching the soundfield corresponding to the target application from the first screen corresponding to the first task identity to the second screen corresponding to the second task identity comprises: And removing the binding relation between the target application and the first sound emitting device, and binding the target application with the second sound emitting device, wherein the first sound emitting device belongs to a first screen corresponding to the first task identifier, and the second sound emitting device belongs to a second screen corresponding to the second task identifier.
- 4. A method according to claim 3, wherein before switching the audio focus and audio zone corresponding to the target application from the first screen corresponding to the first task identity to the second screen corresponding to the second task identity, the method further comprises: detecting the connection state of the second sound emitting device; and when the second audio equipment is detected to be in a connection state, executing the step of switching the audio focus and the audio zone corresponding to the target application from the first screen corresponding to the first task identifier to the second screen corresponding to the second task identifier.
- 5. The method according to claim 1, wherein the method further comprises: and responding to the starting operation of the connected screen, and respectively recording task identifiers of desktop applications corresponding to the first screen and each second screen from application stack information in the android system.
- 6. The method of claim 1, wherein after applying for the focus of the target application in the focus stack of the second screen corresponding to the second task identifier, the method further comprises: traversing the current focus stack of the second screen corresponding to the second task identifier, and carrying out arbitration processing on each focus in the current focus stack.
- 7. The method of claim 4, wherein the second sound emitting device is a bluetooth headset, and the detecting the connection state of the second sound emitting device comprises: and after receiving the broadcast of successful connection of the Bluetooth headset, determining that the second sound emitting device is in a connection state.
- 8. The method of claim 3, wherein unbinding the target application from the first audio device and binding the target application to the second audio device comprises: And releasing the binding relation between the application identifier of the target application and the audio equipment identifier corresponding to the first audio equipment, and binding the application identifier and the audio equipment identifier corresponding to the second audio equipment.
- 9. The method according to any one of claims 1-8, characterized in that the method comprises: Recording the current connected audio equipment identifier of the target application and the current task identifier of the target application.
- 10. The device for realizing the fly screen of the continuous screen is a screen of an android system, a plurality of applications are deployed on the screen, and the continuous screen comprises a first screen and at least one second screen, and is characterized by comprising the following components: The monitoring module is used for monitoring application stack information in the android system; The first processing module is used for responding to the detection that the task identifier of the parent desktop application of the target application in the application stack information changes, determining to trigger the fly-screen operation, and acquiring a first task identifier before the parent desktop application changes and a second task identifier after the parent desktop application changes from the application stack information; And the second processing module is used for respectively switching the audio focus and the audio zone corresponding to the target application from the first screen corresponding to the first task identifier to the second screen corresponding to the second task identifier.
- 11. A vehicle, characterized by comprising: A memory and a processor in communication with each other, the memory having stored therein computer instructions which, upon execution, cause the processor to perform the method of any of claims 1 to 9.
- 12. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 9.
- 13. A computer program product comprising computer instructions for causing a computer to perform the method of any one of claims 1 to 9.
Description
Fly screen realization method and device for connecting screen, vehicle, medium and product Technical Field The invention relates to the technical field of multi-screen interaction, in particular to a flying screen realization method and device for a continuous screen, a vehicle, a medium and a product. Background With the current increasing richness of automotive interior functions, multi-screen devices are gradually moved into automobiles. Along with the version change, the Android version of the automobile also comes to Android14, and for the version, a screen is connected on some automobile types, the original screen flying scheme is to distinguish different screens according to the display device identifier DISPLAY ID, so that the screen flying function among different screens is realized, and the screen connecting design belongs to a large screen because the screens are not distinguished on the physical level, so that the screen flying function cannot be realized, and therefore, how to realize the screen flying function for two or more screens under the Android system becomes a problem to be solved urgently. Disclosure of Invention The invention provides a method, a device, a vehicle, a medium and a product for realizing a flying screen of a continuous screen, which are used for solving the problem that a flying screen realizing scheme under an android system is difficult to apply to the continuous screen design in the related technology. In a first aspect, the invention provides a method for realizing a fly-screen with a screen, wherein the screen is a screen of an android system, a plurality of applications are deployed on the screen, the screen comprises a first screen and at least one second screen, and the method comprises the following steps: monitoring application stack information in an android system; In response to detecting that the task identifier of the parent desktop application of the target application in the application stack information changes, determining to trigger a fly-screen operation, and acquiring a first task identifier before the parent desktop application changes and a second task identifier after the parent desktop application changes from the application stack information; And respectively switching the audio focus and the audio zone corresponding to the target application from the first screen corresponding to the first task identifier to the second screen corresponding to the second task identifier. According to the invention, by monitoring android system application stack information, task identification change of target application father desktop application is used as a fly screen triggering basis, the limitation of distinguishing screens by using display device identifiers of a plurality of screens in the prior art is broken through, and a screen connection scene is adapted. Meanwhile, after the screen flying is triggered, the audio focus and the voice zone of the target application are synchronously switched, so that the display content is ensured to be transferred, and the audio output and the interactive focus can be seamlessly connected. The method is free from additional hardware assistance, can flexibly expand to multi-screen scenes with more than two screens only by relying on an android system native stack mechanism, meets the requirements of vehicle-mounted continuous-screen multi-screen cooperation, and improves the use smoothness of users in multi-screen interaction. In an optional implementation manner, switching the audio focus corresponding to the target application from the first screen corresponding to the first task identifier to the second screen corresponding to the second task identifier includes: releasing the focus of the target application in a focus stack of a first screen corresponding to the first task identifier; and applying for the focus of the target application in a focus stack of a second screen corresponding to the second task identifier. According to the method and the device, accurate migration of the audio focus is achieved through the mode that the target application focus is released on the first screen focus stack and the focus is reapplied on the second screen focus stack. The process follows the ordered logic of focus management, and avoids abnormal audio interaction caused by focus confusion. And the focus related adaptation development is not required to be carried out on the target application, all focus operations are completed by a system level, so that all three parties and local applications can normally respond to focus switching when flying the screen, the compatibility of different applications is improved, and the application adaptation cost is reduced. In an optional implementation manner, switching the audio region corresponding to the target application from the first screen corresponding to the first task identifier to the second screen corresponding to the second task identifier includes: And removing the bin