Search

EP-4738093-A1 - CROSS-DOMAIN DISPLAY METHOD AND APPARATUS UNDER VIRTUAL MANAGEMENT, AND DEVICE AND MEDIUM

EP4738093A1EP 4738093 A1EP4738093 A1EP 4738093A1EP-4738093-A1

Abstract

A method and an apparatus for cross-domain display based on virtualization management, a device, and a medium are provided, the method includes: in response to a triggered picture displaying operation, storing (S110), by a first display driver, a to-be-displayed picture in a first buffer queue, concurrently, storing, by a first virtual front-end driver, the to-be-displayed picture in a second buffer queue; and pulling (S120), by the first display driver, the to-be-displayed picture from the first buffer queue and driving a first display device to perform picture playing, concurrently, pulling, by a first virtual back-end driver, the to-be-displayed picture from the second buffer queue and driving, by a second display driver, a second display device to perform picture playing.

Inventors

  • LIU, LIANG
  • DONG, XIAOPING
  • YU, Benqiang

Assignees

  • Ecarx (Hubei) Tech Co., Ltd.

Dates

Publication Date
20260506
Application Date
20231008

Claims (11)

  1. A method for cross-domain display based on virtualization management, applied to one system-on-chip SOC comprising thereon at least a first operating system domain and a second operating system domain, wherein the first operating system domain integrates therein a first virtual front-end driver and a first display driver, and the first operating system domain is connected to a first display device; the second operating system domain integrates therein a first virtual back-end driver and a second display driver, and the second operating system domain is connected to a second display device; and the method comprises: in response to a triggered picture displaying operation, storing, by the first display driver, a to-be-displayed picture in a first buffer queue, concurrently, storing, by the first virtual front-end driver, the to-be-displayed picture in a second buffer queue, wherein the picture displaying operation is a play-triggering operation performed for a playback plug-in in the first operating system domain; and pulling, by the first display driver, the to-be-displayed picture from the first buffer queue and driving the first display device to perform picture playing, concurrently, pulling, by the first virtual back-end driver, the to-be-displayed picture from the second buffer queue and driving, by the second display driver, the second display device to perform picture playing.
  2. The method according to claim 1, wherein the second operating system domain further comprises a display-switching module; wherein the pulling, by the first virtual back-end driver, the to-be-displayed picture from the second buffer queue and driving, by the second display driver, the second display device to perform picture playing comprises: pulling, by the first virtual back-end driver, the to-be-displayed picture from the second buffer queue and sending the to-be-displayed picture to the display-switching module; sending, by the display-switching module, the to-be-displayed picture to the second display driver; and driving, by the second display driver, the second display device to perform picture playing.
  3. The method according to claim 1, wherein the first display device and the second display device are preset with an arrangement order, and display modes of the first display device and the second display device adopt an extended display mode.
  4. The method according to claim 1, further comprising: in response to a triggered picture stopping operation, switching the to-be-displayed picture displayed on the first display device to an original display picture, wherein the picture stopping operation is a play-stopping triggering operation performed for the playback plug-in in the first operating system domain.
  5. The method according to claim 4, wherein the SOC further comprises a third operating system domain, the third operating system domain is integrated with a second virtual front-end driver, and the second operating system domain is integrated with a second virtual back-end driver; and wherein in response to the triggered picture stopping operation, switching the to-be-displayed picture displayed on the first display device to the original display picture comprises: in response to the triggered picture stopping operation, storing, by the second virtual front-end driver, the original display picture in a third buffer queue; pulling, by the second virtual back-end driver, the original display picture from the third buffer queue, and driving, by the second display driver, the second display device to switch the to-be-displayed picture to the original display picture for picture playing.
  6. The method according to claim 5, wherein the pulling, by the second virtual back-end driver, the original display picture from the third buffer queue, and driving, by the second display driver, the second display device to switch the to-be-displayed picture to the original display picture for picture playing comprises: pulling, by the second virtual back-end driver, the original display picture from the third buffer queue and sending the original display picture to a display-switching module in the second operating system domain; sending, by the display-switching module, the original display picture to the second display driver; and driving, by the second display driver, the second display device to switch the to-be-displayed picture to the original display picture for picture playing.
  7. The method according to claim 1, wherein the second operating system domain is a privileged domain, and the first operating system domain and a third operating system domain are non-privileged domains.
  8. The method according to any one of claims 4 to 6, wherein the to-be-displayed picture is desktop image data corresponding to the first operating system domain after the play-triggering operation is performed for the playback plug-in, and the original display picture is desktop image data corresponding to a third operating system domain.
  9. An apparatus for cross-domain display based on virtualization management, integrated in one system-on-chip SOC comprising thereon at least a first operating system domain and a second operating system domain, wherein the first operating system domain integrates therein a first virtual front-end driver and a first display driver, and the first operating system domain is connected to a first display device; the second operating system domain integrates therein a first virtual back-end driver and a second display driver, and the second operating system domain is connected to a second display device; and the apparatus comprises: a first responding module, configured to: in response to a triggered picture displaying operation, store, by the first display driver, a to-be-displayed picture in a first buffer queue, concurrently, store, by the first virtual front-end driver, the to-be-displayed picture in a second buffer queue, wherein the picture displaying operation is a play-triggering operation performed for a playback plug-in in the first operating system domain; and a picture playing module, configured to: pull, by the first display driver, the to-be-displayed picture from the first buffer queue and drive the first display device to perform picture playing, concurrently, pull, by the first virtual back-end driver, the to-be-displayed picture from the second buffer queue and drive, by the second display driver, the second display device to perform picture playing.
  10. An electronic device, comprising: at least one system-on-chip SOC, wherein an SOC of the at least one SOC comprises a first operating system domain and a second operating system domain; the first operating system domain integrates therein a first virtual front-end driver and a first display driver, and the first operating system domain is connected to a first display device; the second operating system domain integrates therein a first virtual back-end driver and a second display driver, and the second operating system domain is connected to a second display device; and a memory in communication with the at least one SOC; wherein the memory stores a computer program executable by the at least one SOC, and the computer program is executed by the at least one SOC to enable the at least one SOC to execute the method for cross-domain display based on virtualization management according to any one of claims 1 to 8.
  11. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable an SOC to implement the method for cross-domain display based on virtualization management according to any one of claims 1 to 8 when executed.

Description

The present application claims priority to Chinese Patent Application No. 202310784011.2 and filed with the China National Intellectual Property Administration on June 29, 2023, which is hereby incorporated by reference in its entirety. TECHNICAL FIELD The present application relates to the field of display screen technologies and, in particular, to a method and an apparatus for cross-domain display based on virtualization management, a device, and a medium. BACKGROUND Nowadays, in intelligent cabin solutions, more and more operating systems run in a cabin to satisfy the experiences of users in different areas. To achieve this goal, if the number of system-on-chip (System on Chip, SOC) in the cabin is increased, the hardware cost of the automobile may be increased. Also, with the development of nano-refinements, the capacity of nano-SOC chips is getting higher and higher, and a single SOC running a single operating system often leads to hardware overcapacity. SUMMARY Embodiments of the present application provide a method and an apparatus for cross-domain display based on virtualization management, a device, and a medium. In a first aspect, this embodiment provides a method for cross-domain display based on virtualization management, applied to one system-on-chip (SOC) including thereon at least a first operating system domain and a second operating system domain, where the first operating system domain integrates therein a first virtual front-end driver and a first display driver, and the first operating system domain is connected to a first display device; the second operating system domain integrates therein a first virtual back-end driver and a second display driver, and the second operating system domain is connected to a second display device; and the method includes: in response to a triggered picture displaying operation, storing, by the first display driver, a to-be-displayed picture in a first buffer queue, concurrently, storing, by the first virtual front-end driver, the to-be-displayed picture in a second buffer queue, where the picture displaying operation is a play-triggering operation performed for a playback plug-in in the first operating system domain; andpulling, by the first display driver, the to-be-displayed picture from the first buffer queue and driving the first display device to perform picture playing, concurrently, pulling, by the first virtual back-end driver, the to-be-displayed picture from the second buffer queue and driving, by the second display driver, the second display device to perform picture playing. In a second aspect, this embodiment provides an apparatus for cross-domain display based on virtualization management, integrated in one system-on-chip (SOC) including thereon at least a first operating system domain and a second operating system domain, where the first operating system domain integrates therein a first virtual front-end driver and a first display driver, and the first operating system domain is connected to a first display device; the second operating system domain integrates therein a first virtual back-end driver and a second display driver, and the second operating system domain is connected to a second display device; and the apparatus includes: a first responding module, configured to: in response to a triggered picture displaying operation, store, by the first display driver, a to-be-displayed picture in a first buffer queue, concurrently, store, by the first virtual front-end driver, the to-be-displayed picture in a second buffer queue, where the picture displaying operation is a play-triggering operation performed for a playback plug-in in the first operating system domain; anda picture playing module, configured to: pull, by the first display driver, the to-be-displayed picture from the first buffer queue and drive the first display device to perform picture playing, concurrently, pull, by the first virtual back-end driver, the to-be-displayed picture from the second buffer queue and drive, by the second display driver, the second display device to perform picture playing. In a third aspect, this embodiment provides an electronic device, including: at least one system-on-chip (SOC), where an SOC of the at least one SOC includes a first operating system domain and a second operating system domain; the first operating system domain integrates therein a first virtual front-end driver and a first display driver, and the first operating system domain is connected to a first display device; the second operating system domain integrates therein a first virtual back-end driver and a second display driver, and the second operating system domain is connected to a second display device; anda memory in communication with the at least one SOC;where the memory stores a computer program executable by the at least one SOC, and the computer program is executed by the at least one SOC to enable the at least one SOC to execute the method for cross-domain display ba