Operation system display method and device, electronic equipment and storage medium

By creating system carriers and allocating workspaces in the host operating system, the problems of high hardware costs and poor user experience in the existing technology are solved, and multiple operating systems are realized on a host at the same time, improving the user's work efficiency and user experience.

CN119690552APending Publication Date: 2025-03-25PHYTIUM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411479078.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing technical solutions have high hardware costs, low user efficiency, and poor user experience, which cannot effectively meet the needs of users to use multiple operating systems at the same time.

Method used

By creating a system carrier in the host operating system, running the guest operating system, and assigning a workspace to each operating system, the workspace corresponding to each display screen is determined based on the quantitative relationship between the workspace and the display screen, and the corresponding workspace operating system is displayed in full screen in each display screen.

Benefits of technology

It realizes the installation of multiple operating systems on a host machine, reduces hardware costs, improves user work efficiency and user experience. Users can intuitively obtain the content of the corresponding operating system and save the time wasted on switching between different devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690552A_ABST
    Figure CN119690552A_ABST
Patent Text Reader

Abstract

The invention provides an operating system display method and device, electronic equipment and a storage medium, and is applied to the technical field of computers, the method is applied to a host machine configured with at least one display screen, the host machine firstly creates at least one system carrier in a host machine operating system, and each system carrier runs a client operating system; then, a working area is distributed for each operating system, the working area corresponding to each display screen is determined based on the quantitative relation between the working areas and the display screens, and the operating system of the working area corresponding to the display screen is displayed in all the display screens in a full-screen mode. According to the method, multiple operating systems can be carried on one host machine, the hardware cost is effectively reduced, full-screen display is carried out on different display screens, a user can intuitively obtain the content of the corresponding operating system, the time wasted by switching work among different devices is saved, and the working efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an operating system display method, device, electronic device and storage medium. Background Art

[0002] In the actual application of computer equipment, users sometimes need to use multiple operating systems at the same time to meet different application requirements, such as Windows system for office work, Android system for Android application development, Linux system for open source application development, etc.

[0003] In order to meet the above practical application needs, in an existing solution, multiple computer devices are provided, and each computer device loads a different operating system. Since this solution requires users to switch between different devices, not only is the hardware cost high, but it also seriously reduces the user's work efficiency and the user experience is poor. Summary of the invention

[0004] In view of this, the present application is committed to providing an operating system display method, device, electronic device and storage medium to solve the problems of high hardware cost, low user work efficiency and poor user experience in the existing technical solutions.

[0005] In a first aspect, the present application provides an operating system display method, which is applied to a host machine configured with at least one display screen, the host machine including a host machine operating system, and the method includes:

[0006] Creating at least one system carrier in the host operating system, each of the system carriers running a client operating system, the system carriers including virtual machines or containers;

[0007] Allocating a workspace to the host operating system and each of the client operating systems;

[0008] Based on the quantitative relationship between the working areas and the display screens, determining the working area corresponding to each of the display screens;

[0009] The operating system of the corresponding workspace is displayed in full screen on each of the display screens.

[0010] In an optional implementation, determining the target workspace corresponding to each display screen based on the quantitative relationship between the workspaces and the display screens includes:

[0011] If the number of the working areas is less than or equal to the number of the display screens, determining a target display screen in the at least one display screen according to the number of the working areas, and allocating a working area to each of the target display screens;

[0012] If the number of the workspaces is greater than the number of the display screens, the target workspaces to be displayed preferentially are determined according to the number of the display screens, and a target workspace is allocated to each of the display screens.

[0013] In an optional implementation, the method provided in the first aspect of the present application further includes:

[0014] When the number of the working areas is less than the number of the display screens, a working area requiring multi-screen display is allocated to each redundant display screen;

[0015] The redundant display screen includes a display screen other than the target display screen in the at least one display screen, and the working area requiring multi-screen display includes any one of the working areas.

[0016] In an optional implementation, determining the target workspace to be displayed preferentially according to the number of display screens includes:

[0017] Obtaining a preset display priority of each of the workspaces;

[0018] According to the preset display priority order from high to low, the first N workspaces are used as target workspaces, where N is the number of the display screens and is a positive integer greater than or equal to 1.

[0019] In an optional implementation, the method provided in the first aspect of the present application further includes:

[0020] Obtaining a first adjustment instruction;

[0021] In response to the first adjustment instruction, determining a target candidate working area in at least one candidate working area, the candidate working area including working areas other than the first N working areas in each of the working areas;

[0022] The target candidate workspace is used as the target workspace of the display screen for collecting the display adjustment instruction.

[0023] In an optional implementation, determining a target candidate workspace from at least one candidate workspace includes:

[0024] Among the at least one candidate workspace, a candidate workspace with the highest preset display priority is determined as a target candidate workspace.

[0025] In an optional implementation, the method provided in the first aspect of the present application further includes:

[0026] Obtaining a second adjustment instruction;

[0027] In response to the second adjustment instruction, adjusting the working area corresponding to each of the display screens;

[0028] The operating system for displaying the corresponding workspace in full screen on each of the display screens comprises:

[0029] The adjusted operating system of the corresponding workspace is displayed in full screen on each of the display screens.

[0030] In an optional implementation, the obtaining the second adjustment instruction includes:

[0031] Displaying a user management interface on each of the display screens, respectively, the user management interface including a schematic diagram of the host operating system and each of the client operating systems;

[0032] Collecting a user's position adjustment operation on a target operating system in a user management interface of any of the display screens, the target operating system including the host operating system or any of the client operating systems;

[0033] A second adjustment instruction is generated based on the position adjustment operation.

[0034] In an optional implementation, the obtaining the second adjustment instruction includes:

[0035] Displaying a floating window control on each of the display screens respectively, wherein the floating window control includes at least a system switching sub-control;

[0036] In response to a user triggering operation on a system switching sub-control in any of the floating window controls, a second adjustment instruction is generated.

[0037] In an optional implementation, the host machine is further configured with an external input device;

[0038] The obtaining of the second adjustment instruction comprises:

[0039] Monitoring input operations of the external input device;

[0040] A second adjustment instruction is generated based on the input operation.

[0041] In an optional implementation, the method provided in the first aspect of the present application further includes:

[0042] transferring target data of the first operating system to the second operating system so that the first operating system and the second operating system share the target data;

[0043] The first operating system includes the host operating system and any one of the client operating systems, and the second operating system includes the host operating system and other operating systems in the client operating systems except the first operating system.

[0044] In an optional implementation, the transferring the target data of the first operating system to the second operating system includes:

[0045] In response to the copy instruction of the first operating system, storing the target data to the clipboard;

[0046] In response to a paste instruction of the second operating system, the target data is pasted to the second operating system.

[0047] In a second aspect, the present application provides an operating system display device, which is applied to a host machine configured with at least one display screen, the host machine including a host machine operating system, and the device including:

[0048] A creation unit, configured to create at least one system carrier in the host operating system, each of the system carriers running a client operating system, the system carriers including virtual machines or containers;

[0049] An allocation unit, configured to allocate a workspace to the host operating system and each of the client operating systems respectively;

[0050] A determining unit, configured to determine the working area corresponding to each of the display screens based on the quantitative relationship between the working areas and the display screens;

[0051] The display unit is used to display the operating system of the corresponding workspace in full screen on each of the display screens.

[0052] In a third aspect, the present application provides an electronic device, including:

[0053] Memory, used to store programs;

[0054] A processor is used to call the program in the memory to execute the operating system display method as described in any one of the first aspects of the present application.

[0055] In a fourth aspect, the present application provides a computer-readable storage medium having a program stored thereon, wherein the program enables a computer to execute an operating system display method as described in any one of the first aspects of the present application.

[0056] Based on the above content, the operating system display method provided by the present application is applied to a host machine configured with at least one display screen. The host machine first creates at least one system carrier in the host machine operating system, each system carrier runs a client operating system, and then allocates a workspace to the host machine operating system and each client operating system respectively, and based on the quantitative relationship between the workspace and the display screen, determines the workspace corresponding to each display screen, and displays the operating system of the workspace corresponding to the display screen in full screen on each display screen. Through the display method provided by the present application, it is possible to carry multiple operating systems on a host machine, effectively reducing hardware costs, and, compared with the prior art of displaying multiple operating systems on the same display screen, each operating system of the present display method is displayed in full screen on different display screens, and the user can intuitively obtain the content of the corresponding operating system, saving the time wasted in switching between different devices, effectively improving work efficiency, and providing a better user experience.

[0057] Furthermore, the system carrier in the present method includes a virtual machine or a container, that is, it can support the installation of a client operating system based on virtual machine technology and container technology, and has a wider scope of application. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0059] Figure 1 It is a schematic diagram of a multi-operating system application scenario in the prior art.

[0060] Figure 2 It is a structural schematic diagram of a host machine provided by this application.

[0061] Figure 3 This is a flow chart of an operating system display method provided by this application.

[0062] Figure 4 This is a flowchart of another operating system display method provided by the present application.

[0063] Figure 5 This is a flowchart of another operating system display method provided by the present application.

[0064] Figure 6a-6c It is a schematic diagram for adjusting the display effect of the operating system.

[0065] Figure 7 It is a software architecture diagram of the operating system display method provided by this application.

[0066] Figure 8 It is a schematic diagram of the software and hardware architecture of the host machine provided by this application.

[0067] Fig. 9 It is a structural schematic diagram of an electronic device provided by this application. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0069] As mentioned above, in the actual application of computer equipment, users sometimes need to use multiple different operating systems at the same time to meet different application needs. For example, using Windows system to meet office needs, using Android system to meet the development of various application software under the Android ecosystem, and using Linux system to meet open source application development, etc.

[0070] The prior art provides a variety of solutions to meet the above practical application needs. For example, in one existing solution, multiple computer devices are provided to users, each of which is loaded with a different operating system. Figure 1 As shown in the example, a personal computer, a laptop and a tablet are provided to the user, wherein the personal computer is installed with Linux system, the laptop is installed with Windows system, and the tablet is installed with Android system. When working, the user can choose different computer devices according to actual application needs. Figure 1 The solution shown requires the user to switch between different computer devices, which not only has high hardware costs, but also seriously reduces the user's work efficiency and provides a poor user experience.

[0071] To solve the above problems, the present application provides an operating system display method, which is applied to electronic devices. Figure 2 As shown, the electronic device is used as a host and is equipped with at least one display screen ( Figure 2 In the example of three display screens, the host machine is installed with a host operating system, such as a Linux system. It can be seen that the other two operating systems configured on the host machine are Windows and Android. Figure 2As shown, through the display method provided by the present application, it is possible to carry multiple operating systems on a host machine, effectively reducing hardware costs. Moreover, compared with the prior art of displaying multiple operating systems on the same display screen, in the present display method, each operating system is displayed in full screen on different display screens. The user can intuitively obtain the content of the corresponding operating system, saving the time wasted in switching between different devices, effectively improving work efficiency, and providing a better user experience.

[0072] Based on the above, see Figure 3 , the operating system display method provided in this application includes the following steps.

[0073] S100: Create at least one system carrier in a host operating system, and each system carrier runs a client operating system.

[0074] Virtualization technology is a technology that combines or differentiates existing hardware resources (such as processors, memory, and disk space) so that these resources appear as one or more operating environments, thereby providing a configuration that is superior to the original hardware resources. Virtualization technology can transform hardware resources into logically manageable resources to break down the barriers between physical structures.

[0075] Virtual machine technology and container technology are typical technical directions of virtualization technology. A virtual machine specifically refers to a complete computer system that runs in a completely isolated environment and has complete hardware system functions, simulated by software. Any work that can be done in a physical computer (i.e., the host machine) can be done in a virtual machine. Correspondingly, container technology, as another virtualization technology, is also called operating system layer virtualization. Container technology virtualizes the operating system kernel and allows user space software instances to be divided into several independent units. Each software instance is also called a container.

[0076] In view of the fact that both virtual machines and containers support the installation and use of independent operating systems, the operating system display method provided by the present application integrates virtual machine technology and container technology, that is, the system carrier described in this embodiment and any subsequent embodiments can be a virtual machine or a container. Of course, it can also be other virtualization technologies that can support the installation and use of independent operating systems. They will not be described in detail here one by one. Without exceeding the core idea of ​​the present application, they also fall within the scope of protection of the present application.

[0077] In an optional embodiment, after the user starts the operating system display method provided by the present application through a specific operation, such as double-clicking the start icon, a user management interface is displayed to the user. The user management interface includes a selection space for virtual machines, containers, and other virtualization solutions. The user can select a virtual machine or container or other virtualization solutions as a system carrier according to his or her own application requirements. After determining the specific selected system carrier, the host machine responds to the user's creation operation and creates at least one system carrier in the host machine operating system.

[0078] In practical applications, as an optional implementation method, when the host operating system is a Linux system, the QEMU-KVM software architecture can be configured, wherein QEMU (Quick Emulator) is a virtualization system implemented purely by software, including a complete set of virtual machine implementations, including processor virtualization, memory virtualization, and virtualization of other hardware devices, and KVM (Kernel-based Virtual Machine) is an open source virtualization solution based on the Linux kernel. Its basic idea is to add a virtual machine management module on the basis of the Linux kernel. In existing applications, KVM only provides virtualization of processor and memory management. Therefore, KVM needs to use other tools to simulate devices. KVM and QEMU are combined to form the QEMU-KVM software architecture, in which KVM loads the virtualization of processors and memory, and QEMU is responsible for the virtualization of other devices that should be reduced, such as input and output devices. As for the specific creation process of the virtual machine, it can be realized by referring to the relevant technology, which will not be described in detail here.

[0079] Correspondingly, the creation of containers can be implemented based on LXC (Linux Containers) technology. LXC can create a virtual execution environment in the host operating system. A virtual execution environment is a container. In actual applications, specific resources such as processors and memory space can be bound to the container, and independent network nodes can also be provided. As for the specific creation process of the container, please refer to the relevant technical implementation, which will not be described in detail here.

[0080] It should be noted that for the same host operating system, users can choose a virtual machine or a container as the system carrier according to application requirements, but cannot choose both a virtual machine and a container as the system carrier at the same time.

[0081] After the system carriers are created, an operating system, ie, a client operating system, may be installed in each system carrier. In actual applications, the client operating systems installed in each system carrier may be different from each other.

[0082] Furthermore, for a host machine that has completed the creation of a system carrier, the method may first identify information such as the installed client operating system and the specific number of configured display screens.

[0083] S110: Allocate a workspace to the host operating system and each client operating system respectively.

[0084] After the installation of the client operating system is completed, the host machine further allocates a workspace to the host operating system and each client operating system, that is, each operating system corresponds to a workspace, and the workspaces corresponding to the operating systems are different.

[0085] In an optional implementation, the Linux system is used as the host operating system, and multiple workspaces can be created based on the workspace division mechanism of the Linux system, and a workspace is allocated to each operating system. As for the specific implementation of the creation and allocation process of the workspace, reference can be made to the relevant technology and will not be described in detail here.

[0086] It is understandable that the host operating system runs before the client operating system. Assuming that the workspace corresponding to the host operating system is the first workspace, each system carrier is actually created in the first workspace. When executing this step, a workspace is allocated to each system carrier, that is, a workspace is allocated to each client operating system. In the case where no client operating system is created, it can be understood that the host operating system has not configured a workspace, and the hardware resources of the entire host belong to the host operating system. Of course, it can also be understood that only a unique workspace is pre-allocated for the host operating system.

[0087] S120: Determine the work area corresponding to each display screen based on the quantitative relationship between the work areas and the display screens.

[0088] There are three types of quantitative relationships between work areas and display screens: one is that the number of work areas is greater than the number of display screens, the second is that the number of work areas is equal to the number of display screens, and the third is that the number of work areas is less than the number of display screens. Under different quantitative relationships, the corresponding relationship between the display screens and the work areas is different. Therefore, it is necessary to determine the work area corresponding to each display screen according to the actual quantitative relationship. As for the specific determination of the corresponding relationship between the display screen and the work area, it will be detailed in subsequent embodiments and will not be described in detail here.

[0089] It can be understood that there is a one-to-one correspondence between the operating system and the workspace, that is, the number of workspaces created by this method is consistent with the number of operating systems loaded on the host machine. Therefore, the workspace corresponding to each display screen can also be determined based on the quantitative relationship between the operating system and the display screen. Correspondingly, the quantitative relationship between the operating system and the display screen is the same as the quantitative relationship between the workspace and the display screen. For details, please refer to the above content and will not be repeated here.

[0090] S130, displaying the operating system of the corresponding workspace in full screen on each display screen.

[0091] After determining the workspace corresponding to each display screen, the host machine displays the operating system of the workspace corresponding to the display screen in full screen on each display screen. Figure 2 As shown, the Linux system, that is, the host operating system, is located in the first working area, corresponding to display screen A. The client operating system includes Windows system and Android system, wherein the Windows system is located in the second working area, corresponding to display screen B, and the Android system is located in the third working area, corresponding to display screen C. After the above steps, the corresponding operating system is finally displayed in full screen on display screens A, B, and C.

[0092] It can be understood that the host machine is connected to each display screen respectively, and based on virtualization technology and the operating system display method provided by this application, it supports full-screen display of multiple different operating systems. To facilitate user operation, the host operating system and each client operating system can share other hardware resources of the host machine, such as input and output devices such as mouse and keyboard.

[0093] Furthermore, the method can also provide a hidden floating window control in each display screen, and share the host's USB device or printer and other external devices with each client operating system based on the transparent transmission function through the floating window control, so as to fully utilize the hardware resources. At the same time, since it is a hidden floating window control, it is in a hidden state when the user is not in use, which will not affect the user's use of each operating system. Furthermore, the floating window control is displayed on each display screen, and the user can choose the display screen closest to him or the most convenient to operate the floating window control in actual application, which is convenient and quick, and helps to improve the user's experience.

[0094] In summary, through the display method provided by the present application, it is possible to carry multiple operating systems on a host machine, support the integration and management of virtualization technologies such as virtualization and containerization on a single hardware, realize the simultaneous operation of multiple operating systems, and effectively reduce hardware costs. Moreover, compared with the prior art of displaying multiple operating systems on the same display screen, the present display method displays each operating system in full screen on different display screens, and the user can intuitively obtain the content of the corresponding operating system, saving the time wasted in switching between different devices, effectively improving work efficiency, and providing a better user experience.

[0095] Furthermore, the system carrier in the present method includes a virtual machine or a container, that is, it can support the installation of a client operating system based on virtual machine technology and container technology, and has a wider scope of application.

[0096] Furthermore, the support for multiple operating systems relies on virtualization technology. Based on virtualization technology, the hardware resource allocation of the host machine can be dynamically adjusted according to the real-time needs of the host operating system and each client operating system. This can not only meet the operating requirements of different operating systems, but also make full use of hardware resources.

[0097] The following introduces the optional implementation of the operating system display method provided by the present application in combination with the specific quantitative relationship between the workspace and the display screen.

[0098] When the number of workspaces is less than or equal to the number of display screens, the operating system display method provided by the present application may include the following steps: Figure 4 The following steps are shown.

[0099] S200: Create at least one system carrier in a host operating system.

[0100] In an optional implementation, the specific implementation of S200 can refer to Figure 3 The relevant contents of S100 in the illustrated embodiment will not be repeated here.

[0101] S210: Allocate a workspace to the host operating system and each client operating system respectively.

[0102] In an optional implementation, the specific implementation of S210 can refer to Figure 3 The relevant contents of S110 in the illustrated embodiment will not be repeated here.

[0103] S220: Determine a target display screen in at least one display screen according to the number of workspaces, and allocate a workspace to each target display screen.

[0104] When the number of workspaces is less than or equal to the number of display screens, the display screens are configured based on the number of workspaces to ensure that each workspace corresponds to at least one display screen. As mentioned above, in the present application, the operating system corresponds to the workspace one by one. Based on this, the workspaces can also be allocated according to the number of operating systems, that is, according to the number of operating systems, the target display screen is determined in at least one display screen, and a workspace is allocated to each target display screen, that is, an operating system is allocated to each target display screen.

[0105] Based on the above content, when the number of workspaces is equal to the number of display screens, all display screens configured by the host machine are used as target display screens, and each workspace corresponds to a target display screen. Moreover, due to the one-to-one correspondence, the target display screens corresponding to each workspace are different.

[0106] When the number of workspaces is less than the number of display screens, it means that some display screens may be idle. Based on this, assuming that the number of workspaces is M, where M is a positive integer ≥ 1, in an optional implementation, M of all display screens can be used as target display screens, that is, the target display screens for displaying the operating system are determined among all display screens according to the number of workspaces, thereby ensuring a one-to-one correspondence between the workspaces and the target display screens. As for the specific selection of the M target display screens, it can be determined in combination with the positional relationship of each display screen in the actual application scenario and the application requirements, and will not be described in detail here.

[0107] Furthermore, as mentioned above, when the target display screen is selected according to the number of workspaces, some display screens will be idle. Based on this, this embodiment defines the idle display screens other than the aforementioned target display screen in at least one display screen configured by the host machine as redundant display screens.

[0108] In actual applications, there may be workspaces that require multi-screen display. Of course, the workspace that requires multi-screen display can be any of the aforementioned workspaces, for example, it can be a workspace corresponding to the host operating system, or it can be a workspace corresponding to any client operating system. It can be understood that there is a unique correspondence between the operating system and the workspace. Therefore, the workspace that requires multi-screen display described in this embodiment can also be understood as an operating system that requires multi-screen display. For example, for the host operating system, there are multiple application software running on it. In actual applications, multiple users may need to view the running information of a certain application software, and multiple users are located in different locations. In this case, the same content can be displayed to different users through redundant display screens.

[0109] Based on the above content, as a preferred implementation, the method can also allocate a work area that requires multi-screen display to each redundant display screen when the number of work areas is less than the number of display screens. Based on this, each display screen corresponds to a work area, and each work area may correspond to one or more display screens.

[0110] S230, displaying the operating system of the corresponding workspace in full screen on each display screen.

[0111] In an optional implementation, the specific implementation of S230 can refer to Figure 3 The relevant contents of S130 in the illustrated embodiment will not be repeated here.

[0112] In summary, the operating system display method provided in this embodiment can solve the display problem of each operating system when the number of workspaces is less than or equal to the number of display screens. It can also realize the installation of multiple operating systems on a host machine and the simultaneous operation of multiple operating systems, effectively reducing hardware costs. Users can intuitively obtain the content of the corresponding operating system, saving time wasted in switching between different devices, and effectively improving work efficiency. On this basis, the relationship between redundant display screens and workspaces can also be configured to achieve redundant display of some or even all workspaces, greatly improving the convenience of users viewing the operation of the operating system and helping to improve the user experience.

[0113] When the number of workspaces is greater than the number of display screens, the operating system display method provided by the present application may include the following steps: Figure 5 The following steps are shown.

[0114] S300: Create at least one system carrier in a host operating system.

[0115] In an optional implementation, the specific implementation of S300 can refer to Figure 3 The relevant contents of S100 in the illustrated embodiment will not be repeated here.

[0116] S310: Allocate a workspace to the host operating system and each client operating system respectively.

[0117] In an optional implementation, the specific implementation of S310 can refer to Figure 3 The relevant contents of S110 in the illustrated embodiment will not be repeated here.

[0118] S320 , determining a target workspace to be displayed preferentially according to the number of display screens, and allocating a target workspace to each display screen.

[0119] When the number of workspaces is greater than the number of display screens, the operating systems corresponding to all workspaces cannot be displayed at the same time. Therefore, it is necessary to configure the target workspaces that are displayed first based on the number of display screens, and assign a target workspace to each display screen, so that there is a one-to-one correspondence between the display screens and the target workspaces, ensuring that the operating system corresponding to the target workspace can be displayed on the corresponding display screen first.

[0120] Based on the above content, when the number of workspaces is equal to the number of display screens, all display screens configured by the host machine are used as target display screens, and each workspace corresponds to a target display screen. Moreover, due to the one-to-one correspondence, the target display screens corresponding to each workspace are different.

[0121] When the number of workspaces is greater than the number of display screens, it means that at least one workspace cannot be displayed at the same time. Based on this, it is assumed that the number of display screens is N, where N is a positive integer ≥ 1. Based on this, N workspaces among all workspaces can be used as target workspaces, that is, the target workspaces to be displayed first are determined among all workspaces according to the number of display screens.

[0122] In an optional implementation, each workspace created by the host is configured with a preset display priority. The host first obtains the preset display priority of each workspace, and then selects the first N workspaces as target workspaces in descending order of the preset display priority. Figure 2 As shown, the display priority of the workspace corresponding to the host operating system (Linux system) is the highest, the display priority of the workspace corresponding to the client operating system (Windows system) is the second highest, and the display priority of the workspace corresponding to the client operating system (Android system) is the lowest. When the host machine only includes display screen A and display screen B, the workspace corresponding to the host operating system and the workspace corresponding to the Windows system should be used as the target workspace, and a target workspace should be assigned to each display screen to ensure a one-to-one correspondence between the display screen and the workspace.

[0123] S330, displaying the operating system of the corresponding workspace in full screen on each display screen.

[0124] In an optional implementation, the specific implementation of S330 can refer to Figure 3 The relevant contents of S130 in the illustrated embodiment will not be repeated here.

[0125] To sum up, the operating system display method provided in this embodiment can solve the display problem of each operating system when the number of workspaces is greater than the number of display screens. It can also realize the installation of multiple operating systems on a host machine and the simultaneous operation of multiple operating systems, effectively reducing hardware costs, while effectively improving user work efficiency, and ensuring that the operating system corresponding to the target workspace will be displayed first.

[0126] It can be understood that according to the method provided in the aforementioned embodiment of the present application, when the number of workspaces is greater than the number of display screens, selecting the target workspace according to the number of display screens will cause some workspaces to be unable to be displayed because there are no corresponding display screens, and the user will not be able to view the running status of the operating system corresponding to the corresponding workspace. Based on this, on the basis of the aforementioned embodiment, the present application provides another operating system display method, so that the user can switch the display of the operating system according to needs.

[0127] To facilitate the presentation of the scheme, Figure 5 On the basis of the illustrated embodiment, the first N workspaces among the workspaces created by the host, that is, the workspaces other than the target workspace, are defined as candidate workspaces. Further, in the case where the user needs to view the workspace that is not currently displayed, the user provides a first adjustment instruction to the host through one of the multiple display screens configured by the host, and the host determines a target candidate workspace to be displayed in at least one candidate workspace in response to the first adjustment instruction provided by the user, and at the same time, the obtained target candidate workspace is used as the target workspace of the display screen that receives the aforementioned first adjustment instruction, and the adjustment and replacement of the target workspace corresponding to the display screen is completed. Based on this, the host can display the operating system corresponding to the target candidate workspace through the display screen, so that the user can switch the operating system displayed on the display screen.

[0128] As an optional implementation, the target candidate workspace may be selected based on the preset display priorities corresponding to the workspaces. Specifically, among at least one candidate workspace, the candidate workspace with the highest preset display priority is determined as the target candidate workspace.

[0129] Furthermore, when the target workspace is selected in order of preset display priorities from high to low, after completing the adjustment and replacement of the target workspace corresponding to any display screen, the preset display priority of the replaced workspace should be the one with the highest display priority among the candidate workspaces. If the target workspace is still replaced according to the aforementioned rules, other candidate workspaces may be unable to be displayed for a long time. Based on this, as an optional implementation method, the replaced workspace may be temporarily not used as a candidate workspace before all workspaces are traversed. Only after all workspaces are traversed, that is, all workspaces that are not currently matched with the display screen are used as candidate workspaces again, and the aforementioned replacement and adjustment operation is repeated to ensure that the operating system corresponding to each workspace can be displayed.

[0130] Of course, the switching of workspaces (i.e., the switching of operating systems) can also refer to other rules, such as switching according to a preset cycle order, or switching according to the operating system load rate, etc., which will not be described in detail here. Unless it exceeds the core idea of ​​this application, it also falls within the scope of protection of this application.

[0131] As mentioned above, the operating system display method provided by the present application provides a floating window control at each display screen. On the basis of the specific aforementioned functions, the switching function of the displayed content and the power on and off functions of each workspace can also be integrated into the floating window control, so that the user can operate the corresponding workspace through any display screen, further improving the convenience of operation.

[0132] It is understandable that the number of workspaces being greater than the number of display screens is a more common application scenario. For example, when applied to a tablet computer, this type of host machine is usually only configured with one display screen. In this case, on the basis of supporting full-screen display of multiple operating systems, it is ensured that the user can easily and quickly switch the operating system displayed by the host machine, and ensure that the user can use any client operating system as conveniently as using the host operating system. This is particularly critical in practical applications. The operating system display method provided in the above embodiment of the present application can effectively solve this practical application demand. That is, when the workspaces are more than the number of display screens, the present application provides a workspace switching mode. By switching the workspaces according to the above method, the user can be provided with seamless switching between different operating systems, that is, the application needs of users operating different operating systems are met. At the same time, it can also ensure that each operating system has an independent display interface when displayed. Compared with the related technical solutions of displaying different operating systems in multiple windows on the same display interface, the user experience of this solution is better.

[0133] Furthermore, based on the display of different operating systems by the operating system display method provided in any of the aforementioned embodiments, the operating system display method provided in the present application also supports the adjustment of the operating system display mode. After the display of the operating system is completed according to any of the aforementioned embodiments, the host machine can further obtain the second adjustment instruction provided by the user, and adjust the work area corresponding to each display screen according to the obtained second adjustment instruction, that is, change the correspondence between the display screen and the work area, and after the adjustment, display the adjusted operating system of the corresponding work area in full screen on each display screen, thereby satisfying the user's switching of the display of the operating system on each display screen.

[0134] It is understandable that the display of the adjusted workspace can be implemented by referring to the relevant contents of the display of the workspace in the aforementioned embodiment, which will not be repeated here. This embodiment mainly introduces the implementation method of the host machine obtaining the second adjustment instruction. Correspondingly, the acquisition process of the aforementioned first adjustment instruction can also refer to this part of the content.

[0135] In an optional implementation, the host machine displays the user management interface on each display screen, combined with Figure 6a As shown in FIG. 1 , the user management interface includes a schematic diagram of the host operating system (Linux system) and each client operating system (Windows system and Android system). Figure 6a In the example shown, each operating system is displayed in the form of a thumbnail with subtitles. In actual applications, other content can also be selected to represent the corresponding operating system. This application does not specifically limit the representation method of each operating system in the user management interface.

[0136] The user can select any display screen to adjust the position of any operating system displayed in the user management interface. To facilitate the description of the solution, the following content defines the operating system selected by the user for position adjustment as the target operating system. In actual applications, the target operating system can be any one of the host operating system and the client operating system. Based on this, when the user adjusts the position of the target operating system through the user management interface provided by a certain display screen, the host machine can collect the user's position adjustment operation through the display screen, and then generate a second adjustment instruction based on the obtained position adjustment operation.

[0137] by Figure 6a The following scenario is used as an example. Before the user adjusts the operating system position, the display effects of each operating system on each display can be seen in Figure 2As shown, screen A displays the Linux system, screen B displays the Windows system, and screen C displays the Android system. Assume that the user adjusts the positions of the Windows system and the Android system through the user management interface displayed on screen B, and moves the position of the Android system forward. For example, the user can long press the schematic diagram of the Android system, and after activating the adjustable position state, follow Figure 6a By dragging the Android system icon in the direction indicated by the arrow, the positions of the Android system icon and the Windows system icon can be changed. The specific implementation of this position adjustment operation collection process can refer to the relevant technology and will not be described in detail here.

[0138] In the user management interface, the adjusted display can be seen in Figure 6b As shown, the position of the Android system has been swapped with the position of the Windows system. In response to the user's position adjustment operation, the host generates a second adjustment instruction to adjust the workspaces corresponding to display screens B and C, that is, to adjust the workspace corresponding to display screen B to the workspace corresponding to the Android system, and correspondingly, to adjust the workspace corresponding to display screen C to the workspace corresponding to the Windows system. After the adjustment, the host displays the operating system corresponding to each workspace in full screen according to the correspondence between the adjusted display screens and the workspaces. For specific display effects, see Figure 6c As shown, the Android system is displayed on display screen B, and the Windows system is displayed on display screen C.

[0139] In another optional implementation, a floating window control may also be displayed in each display screen. Based on the aforementioned embodiment, the floating window control further includes a system switching sub-control. The host generates a second adjustment instruction in response to a user triggering operation on the system switching sub-control in any floating window control. In actual applications, the system switching sub-control may have a variety of different switching functions, such as forward switching, backward switching, cyclic switching, automatic switching according to a preset switching cycle, etc., which will not be described in detail here. Without exceeding the core idea of ​​the present application, they also fall within the scope of protection of the present application.

[0140] In another optional implementation, the host machine is configured with an external input device, such as a mouse, a keyboard, etc. The host machine monitors the input operation of the external device and generates a second adjustment instruction based on the input operation obtained. In practical applications, an agent program can be deployed in each system carrier (the agent program execution operation is also part of the display method provided by the present application), and the agent program is used to monitor the input operation of each external input device. In practical applications, the second adjustment instruction can be triggered by setting a specific input operation. For example, when the user presses a combination of keys on the keyboard at the same time, a second adjustment instruction is generated. For example, when the user clicks the left mouse button, the user moves according to a preset movement trajectory, thereby generating a second adjustment instruction. Of course, other specific input operations can also be set, which will not be described in detail here. Without exceeding the core idea of ​​the present application, they also belong to the scope of protection of the present application.

[0141] Furthermore, the operating system display method provided by the present application also supports data sharing between different operating systems. The host operating system and any one of the client operating systems are used as the first operating system, and correspondingly, the host operating system and other operating systems other than the first operating system in the client operating system are used as the second operating system. The host can transfer the target data of the first operating system to the second operating system, so that the first operating system and the second operating system can share the aforementioned target data.

[0142] In an optional implementation, data sharing can be achieved by utilizing the clipboard function of the operating system. A user triggers a copy operation on target data in a first operating system, and the host machine responds to the copy instruction of the first operating system to store the target data in the clipboard. Furthermore, a user triggers a paste instruction in a second operating system, and the host machine responds to the paste instruction of the second operating system to paste the target data from the clipboard to the second operating system, thereby completing the copy operation of the target data from the first operating system to the second operating system and achieving sharing of the target data.

[0143] To summarize, the operating system display method provided in any embodiment of the present application integrates virtual machine and container technology to provide a unified and simple operating system management mode. Users can quickly and conveniently create system carriers, create different operating systems through system carriers, and realize different operating systems on the same host machine. Compared with the prior art, if you want to start virtual machines and containers at the same time, you must download and install their respective tool software and complete the configuration of corresponding parameters. The operating system display method provided by the present application can effectively reduce the user's learning cost.

[0144] Furthermore, when multiple virtual machines and containers are enabled at the same time, different operating systems are displayed through different windows on the same desktop. If the window is not displayed in full screen, it will not provide users with a smooth system experience, and the system will not be able to continue operating when the window loses focus. Through this method, each operating system can be assigned its own display screen, and each operating system can be displayed in full screen mode. When the user uses it, it is as if they are using it on a device with a real physical host system of Windows system or Android system, allowing users to perfectly experience different systems on the same hardware device, optimizing the user experience.

[0145] Furthermore, each display screen adopts a method of sharing external input devices, and provides a hideable floating window control, supporting functions such as USB device and shared printer transmission.

[0146] The present application also provides an operating system display platform, corresponding to the operating system display method provided in the above embodiment, combined with Figure 7 As shown, the operating system display platform provided by the present application includes an operating system display device, a user management interface and at least one agent program, each agent program is deployed in a corresponding system carrier, and the agent program can monitor the input operation of each external input device. Of course, the agent program can also realize other functions, which will not be repeated here. The user management interface and each agent program communicate with the operating system display device respectively.

[0147] The operating system display device provided by the present invention is introduced below. The operating system display device provided by the present invention belongs to the same application concept as the operating system display method provided by the embodiment of the present application, can execute the operating system display method provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing the operating system display method. For technical details not described in detail in this embodiment, please refer to the operating system display method provided by the embodiment of the present application, and will not be repeated here.

[0148] Combination Figure 7 As shown, the operating system display device provided by the present application includes:

[0149] A creation unit, configured to create at least one system carrier in a host operating system, each system carrier running a client operating system, the system carrier including a virtual machine or a container;

[0150] An allocation unit, used to allocate a workspace to the host operating system and each client operating system respectively;

[0151] A determination unit, configured to determine the work area corresponding to each display screen based on the quantitative relationship between the work areas and the display screens;

[0152] The display unit is used to display the operating system of the corresponding workspace in full screen on each display screen.

[0153] Furthermore, the operating system display method provided by the present application can be applied to the host machine in the following manner: Figure 8 As shown. The hardware platform refers to the hardware resources of the host machine, such as the processor, memory, hard disk, motherboard, and external devices, etc., which are not listed here one by one. The host operating system runs on the hardware platform of the host machine. The operating system display platform provided by this application is the application software of the host operating system, which runs in the operating environment provided by the host operating system. Further, combined with Figure 7 As shown, the operating system display platform provides users with a user management interface and system carriers required to run each operating system, such as the aforementioned virtual machines and containers. For details, please refer to the aforementioned related content, which will not be repeated here.

[0154] Below, reference Fig. 9 To describe the electronic device provided by the embodiment of the present invention, the electronic device provided by the embodiment may include: at least one processor 100, at least one communication interface 200, at least one memory 300 and at least one communication bus 400;

[0155] In the embodiment of the present invention, the number of the processor 100, the communication interface 200, the memory 300, and the communication bus 400 is at least one, and the processor 100, the communication interface 200, and the memory 300 communicate with each other through the communication bus 400; obviously, Fig. 9 The communication connections shown for the processor 100, the communication interface 200, the memory 300, and the communication bus 400 are merely optional;

[0156] Optionally, the communication interface 200 may be an interface of a communication module, such as an interface of a GSM module; the processor 100 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention.

[0157] The memory 300 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0158] The processor 100 is specifically used to execute the application program in the memory to implement the steps of the operating system display method described above.

[0159] In some embodiments, this embodiment further provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash disk, an SD (Secure Digital Memory Card) card, an MMC (Multimedia Card) card, etc., in which one or more instructions for implementing the above steps are stored. When the one or more instructions are executed by one or more processors, the processors execute the operating system display method described above. For the relevant specific implementation, please refer to the above description, which will not be repeated here.

[0160] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the operating system display method according to various embodiments of the present application described in the above content of this specification.

[0161] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0162] Those skilled in the art will appreciate that the contents disclosed in this disclosure may be subject to various modifications and improvements. For example, the various devices or components described above may be implemented by hardware, or by software, firmware, or a combination of some or all of the three.

[0163] In addition, although the present disclosure makes various references to certain units in the system according to embodiments of the present disclosure, any number of different units can be used and run on the client and / or server. The units are only illustrative, and different aspects of the system and method can use different units.

[0164] Flowcharts are used in this disclosure to illustrate the steps of the method according to the embodiments of the present disclosure. It should be understood that the preceding or following steps are not necessarily performed precisely in order. On the contrary, various steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes.

[0165] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, etc. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of a software functional module. The present disclosure is not limited to any particular form of combination of hardware and software.

[0166] Unless otherwise defined, all terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the present disclosure belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and should not be interpreted in an idealized or highly formal sense, unless explicitly defined as such herein.

[0167] The above is an explanation of the present disclosure and should not be considered as a limitation thereof. Although several exemplary embodiments of the present disclosure are described, it will be readily understood by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present disclosure. Therefore, all such modifications are intended to be included within the scope of the present disclosure as defined in the claims. It should be understood that the above is an explanation of the present disclosure and should not be considered to be limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present disclosure is defined by the claims and their equivalents.

Claims

1. An operating system display method, characterized in that: A host machine for configuring at least one display screen, the host machine including a host machine operating system, the method comprising: Creating at least one system carrier in the host operating system, each of the system carriers running a client operating system, the system carriers including virtual machines or containers; Allocating a workspace to the host operating system and each of the client operating systems; Based on the quantitative relationship between the working areas and the display screens, determining the working area corresponding to each of the display screens; The operating system of the corresponding workspace is displayed in full screen on each of the display screens.

2. The method according to claim 1, characterized in that The step of determining the target working area corresponding to each display screen based on the quantitative relationship between the working areas and the display screens includes: If the number of the working areas is less than or equal to the number of the display screens, determining a target display screen in the at least one display screen according to the number of the working areas, and allocating a working area to each of the target display screens; If the number of the workspaces is greater than the number of the display screens, the target workspaces to be displayed preferentially are determined according to the number of the display screens, and a target workspace is allocated to each of the display screens.

3. The method according to claim 2, characterized in that The method further comprises: When the number of the working areas is less than the number of the display screens, a working area requiring multi-screen display is allocated to each redundant display screen; The redundant display screen includes a display screen other than the target display screen in the at least one display screen, and the working area requiring multi-screen display includes any one of the working areas.

4. The method according to claim 2, characterized in that: The target workspace to be displayed first is determined according to the number of the display screens, including: Obtaining a preset display priority of each of the workspaces; According to the preset display priority order from high to low, the first N workspaces are used as target workspaces, where N is the number of the display screens and is a positive integer greater than or equal to 1.

5. The method according to claim 4, characterized in that The method further comprises: Obtaining a first adjustment instruction; In response to the first adjustment instruction, determining a target candidate working area in at least one candidate working area, the candidate working area including working areas other than the first N working areas in each of the working areas; The target candidate workspace is used as a target workspace of the display screen for collecting the first adjustment instruction.

6. The method according to claim 5, characterized in that The determining of a target candidate workspace from at least one candidate workspace includes: Among the at least one candidate workspace, a candidate workspace with the highest preset display priority is determined as a target candidate workspace.

7. The method according to claim 1, characterized in that The method further comprises: Obtaining a second adjustment instruction; In response to the second adjustment instruction, adjusting the working area corresponding to each of the display screens; The operating system for displaying the corresponding workspace in full screen on each of the display screens comprises: The adjusted operating system of the corresponding workspace is displayed in full screen on each of the display screens.

8. The method according to claim 7, characterized in that The obtaining of the second adjustment instruction comprises: Displaying a user management interface on each of the display screens, respectively, the user management interface including a schematic diagram of the host operating system and each of the client operating systems; Collecting a user's position adjustment operation on a target operating system in a user management interface of any of the display screens, the target operating system including the host operating system or any of the client operating systems; A second adjustment instruction is generated based on the position adjustment operation.

9. The method according to claim 7, characterized in that: The obtaining of the second adjustment instruction comprises: Displaying a floating window control on each of the display screens respectively, wherein the floating window control includes at least a system switching sub-control; In response to a user triggering operation on a system switching sub-control in any of the floating window controls, a second adjustment instruction is generated.

10. The method according to claim 7, characterized in that The host machine is also configured with an external input device; The obtaining of the second adjustment instruction comprises: Monitoring input operations of the external input device; A second adjustment instruction is generated based on the input operation.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: transferring target data of the first operating system to the second operating system so that the first operating system and the second operating system share the target data; The first operating system includes the host operating system and any one of the client operating systems, and the second operating system includes the host operating system and other operating systems in the client operating systems except the first operating system.

12. The method according to claim 11, characterized in that The transferring the target data of the first operating system to the second operating system comprises: In response to the copy instruction of the first operating system, storing the target data to the clipboard; In response to a paste instruction of the second operating system, the target data is pasted to the second operating system.

13. An operating system display device, characterized in that: A host machine for configuring at least one display screen, the host machine including a host machine operating system, the device including: A creation unit, configured to create at least one system carrier in the host operating system, each of the system carriers running a client operating system, the system carriers including virtual machines or containers; An allocation unit, configured to allocate a workspace to the host operating system and each of the client operating systems respectively; A determining unit, configured to determine a working area corresponding to each of the display screens based on a quantitative relationship between the working areas and the display screens; The display unit is used to display the operating system of the corresponding workspace in full screen on each of the display screens.

14. An electronic device, characterized in that: include: Memory, used to store programs; A processor, configured to call the program in the memory to execute the operating system display method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: A program is stored thereon, the program causing a computer to execute the operating system display method according to any one of claims 1 to 12.