CN112099886A - Desktop display control method and device of mobile zero terminal - Google Patents
Desktop display control method and device of mobile zero terminal Download PDFInfo
- Publication number
- CN112099886A CN112099886A CN202010834302.4A CN202010834302A CN112099886A CN 112099886 A CN112099886 A CN 112099886A CN 202010834302 A CN202010834302 A CN 202010834302A CN 112099886 A CN112099886 A CN 112099886A
- Authority
- CN
- China
- Prior art keywords
- system desktop
- zero terminal
- mobile zero
- image
- mobile
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000005070 sampling Methods 0.000 claims description 63
- 238000010586 diagram Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a desktop display control method and device of a mobile zero terminal, relates to the computer technology, and can solve the problem that the desktop of a system displayed by the existing mobile zero terminal is not attractive enough. The specific technical scheme is as follows: acquiring system desktop wallpaper and a system desktop information image of a virtual machine corresponding to the mobile zero terminal, and acquiring the screen size and resolution of the mobile zero terminal; adjusting the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile zero terminal; generating a target desktop image according to the system desktop wallpaper and the system desktop information image after the size is adjusted; and sending the target desktop image to the mobile zero terminal so that the mobile zero terminal displays the target desktop image. The system desktop wallpaper and the system desktop information image of the virtual machine can be adjusted based on the acquired screen size and resolution of the mobile zero terminal, so that the displayed desktop image is attractive enough.
Description
Technical Field
The disclosure relates to the technical field of computers, in particular to a desktop display control method and device of a mobile zero terminal.
Background
When using a desktop virtualization device (zero terminal), an existing desktop virtualization user needs to log in a virtual machine allocated to a cloud server through the desktop zero terminal, so as to operate the cloud server and continuously acquire a desktop display image from the cloud server.
In order to enable a desktop virtualization system to realize mobile office, a supporting scheme of a mobile terminal is already provided at present, and according to a use habit at the mobile terminal side, a system desktop is undoubtedly a desktop image which is very high in display frequency and very important.
The existing system desktop is presented on the mobile zero terminal in a manner that the size of a desktop image is adjusted according to the resolution of the terminal equipment, so that the display on the mobile zero terminal side is often performed in a horizontal screen display manner. The desktop image presented by the method is not beautiful enough and also does not accord with the operation habit of the user at the mobile zero terminal side, and the presented icon is possibly too small, so that the operation of the user is inconvenient.
Disclosure of Invention
The embodiment of the disclosure provides a desktop display control method and device for a mobile zero terminal, which can solve the problems that a system desktop displayed by the existing mobile zero terminal is not beautiful enough and the operation of a user is inconvenient. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a desktop display control method of a mobile terminal, the method including:
acquiring system desktop wallpaper and a system desktop information image of a virtual machine corresponding to a mobile zero terminal, wherein the system desktop information image comprises: each program icon in the system desktop image, or each program icon and the taskbar image in the system desktop image;
acquiring the screen size and the resolution of the mobile zero terminal;
adjusting the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile zero terminal;
generating a target desktop image according to the system desktop wallpaper and the system desktop information image after the size is adjusted;
and sending the target desktop image to the mobile zero terminal so that the mobile zero terminal displays the target desktop image.
The desktop display control method for the mobile zero terminal provided by the embodiment of the disclosure comprises the following steps: acquiring system desktop wallpaper and a system desktop information image of a virtual machine corresponding to the mobile zero terminal, wherein the system desktop information image comprises: each program icon in the system desktop image, or each program icon and the taskbar image in the system desktop image; acquiring the screen size and resolution of the mobile zero terminal; adjusting the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile zero terminal; generating a target desktop image according to the system desktop wallpaper and the system desktop information image after the size is adjusted; and sending the target desktop image to the mobile zero terminal so that the mobile zero terminal displays the target desktop image. The system desktop wallpaper and the system desktop information image of the virtual machine can be adjusted based on the acquired screen size and resolution of the mobile zero terminal, so that the desktop image displayed by the mobile zero terminal is more in line with the display requirement of the mobile zero terminal, the displayed desktop image is more attractive enough and in line with the operation habit of a user at the side of the mobile zero terminal, and the displayed icon is also adjusted according to the size and resolution of the mobile zero terminal, so that the display requirement is more in line with, the size of the displayed icon is not too small, and the operation of the user is facilitated.
In an embodiment, the acquiring system desktop wallpaper and system desktop information image of a virtual machine corresponding to the mobile zero terminal includes:
detecting whether a virtual machine corresponding to the mobile zero terminal enters a system desktop or not;
and when detecting that the virtual machine corresponding to the mobile zero terminal enters the system desktop, acquiring system desktop wallpaper and the system desktop information image of the virtual machine corresponding to the mobile zero terminal.
In an embodiment, the acquiring system desktop wallpaper and the system desktop information image of the virtual machine corresponding to the mobile zero terminal includes:
acquiring system desktop wallpaper of a virtual machine corresponding to the mobile zero terminal;
acquiring a system desktop image of a virtual machine corresponding to the mobile zero terminal;
acquiring the system desktop wallpaper and a change area in the system desktop image;
and determining the system desktop information image in the change area from the change area according to the shape of the system desktop information image.
In one embodiment, the adjusting the size of the system desktop wallpaper and the size of the system desktop information image according to the screen size and the resolution of the mobile zero terminal includes:
determining the type of the mobile zero terminal according to the screen size of the mobile zero terminal;
and adjusting the size of the system desktop wallpaper and the size of the system desktop information image according to the type and the resolution of the mobile zero terminal.
In one embodiment, when the type of the mobile terminal is determined to be the first type terminal device, the system desktop information image includes: adjusting the size of the system desktop information image according to the type and the resolution of the mobile zero terminal comprises the following steps:
and performing up-sampling or down-sampling on the system desktop wallpaper, the program icons and the taskbar image in the same proportion according to the resolution of the mobile zero terminal.
In one embodiment, when the type of the mobile terminal is determined to be the second type terminal device, the system desktop information image includes: adjusting the size of the system desktop information image according to the type and the resolution of the mobile zero terminal comprises the following steps:
zooming the system desktop wallpaper according to the resolution of the mobile zero terminal;
performing up-sampling processing on each program icon according to the resolution of the mobile zero terminal;
and arranging all the program icons obtained after the up-sampling according to a preset mode.
In one embodiment, when it is determined that the type of the mobile terminal is the third type terminal device, the system desktop information image includes: adjusting the size of the system desktop information image according to the type and the resolution of the mobile zero terminal comprises the following steps:
zooming the system desktop wallpaper according to the resolution of the mobile zero terminal;
carrying out down-sampling processing on the width of the task bar according to the transverse resolution of the mobile zero terminal;
performing up-sampling or down-sampling processing on the taskbar after the down-sampling processing according to the longitudinal resolution of the mobile zero terminal;
carrying out up-sampling processing on each program icon according to the transverse resolution of the mobile zero terminal;
and arranging all the program icons obtained after the up-sampling according to a preset mode.
In one embodiment, the arranging the program icons obtained after the upsampling according to a preset mode includes:
and transversely arranging the program icons obtained after the up-sampling, wherein the interval between every two adjacent program icons is a preset width.
In one embodiment, the preset width comprises: a width of one of the program icons.
According to a second aspect of the embodiments of the present disclosure, there is provided a desktop display control apparatus of a mobile terminal, the apparatus including:
the system comprises a first acquisition module and a second acquisition module, wherein the first acquisition module is used for acquiring system desktop wallpaper and a system desktop information image of a virtual machine corresponding to a mobile zero terminal, and the system desktop information image comprises: each program icon in the system desktop image, or each program icon and the taskbar image in the system desktop image;
the second acquisition module is used for acquiring the screen size and the resolution of the mobile zero terminal;
the adjusting module is used for adjusting the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile zero terminal;
the generating module is used for generating a target desktop image according to the system desktop wallpaper and the system desktop information image after the size is adjusted;
and the sending module is used for sending the target desktop image to the mobile zero terminal so as to enable the mobile zero terminal to display the target desktop image.
In one embodiment, the first obtaining module includes:
the detection submodule is used for detecting whether a virtual machine corresponding to the mobile zero terminal enters a system desktop or not;
and the first obtaining sub-module is used for obtaining system desktop wallpaper and the system desktop information image of the virtual machine corresponding to the mobile zero terminal when detecting that the virtual machine corresponding to the mobile zero terminal enters the system desktop.
In one embodiment, the first obtaining module includes:
the second obtaining submodule is used for obtaining system desktop wallpaper of the virtual machine corresponding to the mobile zero terminal;
the third obtaining submodule is used for obtaining a system desktop image of a virtual machine corresponding to the mobile zero terminal;
the fourth obtaining submodule is used for obtaining the system desktop wallpaper and the change area in the system desktop image;
and the first determining submodule is used for determining the system desktop information image in the change area from the change area according to the shape of the system desktop information image.
In one embodiment, the adjustment module includes:
the second determining submodule is used for determining the type of the mobile zero terminal according to the screen size of the mobile zero terminal;
and the adjusting submodule is used for adjusting the size of the system desktop wallpaper and the size of the system desktop information image according to the type and the resolution of the mobile zero terminal.
In one embodiment, when the type of the mobile terminal is determined to be the first type terminal device, the system desktop information image includes: each program icon and each task bar image in the system desktop image, the adjusting module comprises:
and the first sampling sub-module is used for performing up-sampling or down-sampling on the system desktop wallpaper, the program icons and the taskbar image in the same proportion according to the resolution of the mobile zero terminal.
In one embodiment, when the type of the mobile terminal is determined to be the second type terminal device, the system desktop information image includes: each program icon in the system desktop image, the adjusting module comprises:
the first scaling submodule is used for scaling the system desktop wallpaper according to the resolution of the mobile zero terminal;
the second sampling submodule is used for carrying out up-sampling processing on each program icon according to the resolution of the mobile zero terminal;
and the first arrangement submodule is used for arranging the program icons obtained after the up-sampling according to a preset mode.
In one embodiment, when it is determined that the type of the mobile terminal is the third type terminal device, the system desktop information image includes: each program icon and each task bar image in the system desktop image, the adjusting module comprises:
the second scaling submodule is used for scaling the system desktop wallpaper according to the resolution of the mobile zero terminal;
the third sampling submodule is used for carrying out downsampling processing on the width of the taskbar according to the transverse resolution of the mobile zero terminal;
the fourth sampling submodule is used for carrying out up-sampling or down-sampling processing on the taskbar after the down-sampling processing according to the longitudinal resolution of the mobile zero terminal;
the fifth sampling submodule is used for performing up-sampling processing on each program icon according to the transverse resolution of the mobile zero terminal;
and the second arrangement submodule is used for arranging the program icons obtained after the up-sampling according to a preset mode.
In one embodiment, the first arrangement sub-module or the second arrangement sub-module includes:
and the arrangement submodule is used for transversely arranging the program icons obtained after the up-sampling, and the interval between every two adjacent program icons is a preset width.
In one embodiment, the preset width comprises: a width of one of the program icons.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a system structure diagram of a cloud server provided in an embodiment of the present disclosure;
fig. 2 is a flowchart of a desktop display control method of a mobile terminal according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a desktop display control method of a mobile terminal according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a desktop display control method of a mobile terminal according to an embodiment of the present disclosure;
fig. 5 is a structural diagram of a desktop display control device of a mobile terminal according to an embodiment of the present disclosure;
fig. 6 is a structural diagram of a first obtaining module in a desktop display control device of a mobile terminal according to an embodiment of the present disclosure;
fig. 7 is a structural diagram of a first obtaining module in a desktop display control device of a mobile terminal according to an embodiment of the present disclosure;
fig. 8 is a structural diagram of an adjustment module in a desktop display control apparatus of a mobile terminal according to an embodiment of the present disclosure;
fig. 9 is a structural diagram of an adjustment module in a desktop display control apparatus of a mobile terminal according to an embodiment of the present disclosure;
fig. 10 is a structural diagram of an adjustment module in a desktop display control apparatus of a mobile terminal according to an embodiment of the present disclosure;
fig. 11 is a structural diagram of an adjustment module in a desktop display control device of a mobile terminal according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Desktop virtualization, also commonly referred to as desktop cloud or virtual desktop, has been developed rapidly in recent years and is widely used in some office scenarios. The desktop virtualization can provide a flexible and safe desktop environment for a user, and the server is deployed in a desktop system in a virtualization manner, so that resources such as user data, an operating system and application are abstracted and virtualized, a great deal of convenience such as dynamic resource scheduling, user authentication and desktop management is brought to the user, and the user experience is almost consistent with that of the traditional physical PC desktop.
When using a desktop virtualization device (zero terminal), an existing desktop virtualization user needs to log in a virtual machine allocated to a cloud server through the desktop zero terminal, so as to operate the cloud server and continuously acquire a desktop display image from the cloud server. In order to enable the desktop virtualization system to realize mobile office, the existing solution has a supporting scheme of a mobile zero terminal, the mobile zero terminal is adopted to replace the existing smart phone, and the using method is as follows: after the mobile zero terminal establishes communication with the cloud server, inputting an account password, and logging in a corresponding virtual machine to obtain a desktop image of the corresponding virtual machine; and the virtual machine is reversely controlled through the mobile zero terminal, so that the control of the seen desktop image is realized.
Present high in the clouds server adopts windows system mostly, when carrying out desktop image display through removing zero terminal, then need show the desktop image under windows system in removing zero terminal side, under this kind of display condition, a problem that needs to solve is exactly: how to adapt to the display requirement of the mobile zero terminal side and meet the display requirement of the user.
According to the use habit of the mobile terminal side, the system desktop is undoubtedly a desktop image which is very high in display frequency and very important, because the mobile terminal user can continuously return to the system desktop in the operation process, and the user needs to check the application icons on the system desktop and click the application icons to open the corresponding application programs, and in general, when the mobile terminal is in standby, the system can automatically return to the system desktop, so that when the screen is lighted again, the user can see the system desktop at the first time.
Therefore, the user experience can be directly applied to the effect of the system desktop on the mobile zero terminal. The existing system desktop is presented on the mobile zero terminal in a manner that the size of a desktop image is adjusted according to the resolution of the terminal equipment, so that the display on the mobile zero terminal side is often performed in a horizontal screen display manner. The desktop image presented by the method is not beautiful enough and also does not accord with the operation habit of the user at the mobile zero terminal side, and the presented icon is possibly too small, so that the operation of the user is inconvenient; on the other hand, mobile zero terminal devices on the market are various in size, and even more, many manufacturers have also introduced mobile phones or tablets with foldable screens, and in this case, the resolution of the mobile zero terminal device using the same account may be constantly changing, so how to adjust the desktop display effect of the system according to the change of the resolution is also a problem to be considered in the present invention.
An embodiment of the present disclosure provides a system structure diagram of a cloud server, as shown in fig. 1, including: the mobile zero terminal comprises display devices (such as a desktop computer, a notebook computer, a tablet, a mobile phone and the like) with various sizes, and the display devices can be connected with the cloud server through a network and log in virtual machines distributed by the cloud server. The mobile terminal shown in fig. 1 includes at least: control instruction transmission capability, image reception capability, image decoding capability, and image display capability.
The embodiment of the present disclosure provides a desktop display control method of a mobile zero terminal, which may be applied to a system shown in fig. 1, and as shown in fig. 2, the desktop display control method of the mobile zero terminal includes the following steps:
101. acquiring system desktop wallpaper and a system desktop information image of a virtual machine corresponding to the mobile zero terminal, wherein the system desktop information image comprises: and each program icon in the system desktop image, or each program icon and the taskbar image in the system desktop image.
The cloud server can find the system desktop wallpaper from the system desktop setting information.
The system desktop information image refers to an image presented by a server end after entering a system desktop, and the image content presented in the windows system comprises: the system desktop wallpaper, the program icons and the taskbar images displayed on the system desktop wallpaper.
Since the screen sizes and resolutions of different types of mobile terminals may be different, the system desktop information images presented to the user may also be different, and thus in the present disclosure, the system desktop information images are divided into two categories, one category is: each program icon in the system desktop image; the other is that: each program icon and each task bar image in the system desktop image, namely, some types of mobile terminals can only display system desktop wallpaper of the virtual machine and each program icon in the system desktop image to a user; some types of mobile zero terminals may not only present the user with the system desktop wallpaper and various program icons in the system desktop image of the virtual machine, but also present the user with a taskbar image.
In one embodiment, the cloud server may first detect whether a virtual machine corresponding to the mobile zero terminal enters a system desktop; and when detecting that the virtual machine corresponding to the mobile zero terminal enters the system desktop, acquiring system desktop wallpaper and a system desktop information image of the virtual machine corresponding to the mobile zero terminal, otherwise, continuing the current detection, and only when detecting that the virtual machine corresponding to the mobile zero terminal enters the system desktop, acquiring the system desktop wallpaper and the system desktop information image of the virtual machine corresponding to the mobile zero terminal.
102. And acquiring the screen size and the resolution of the mobile zero terminal.
Different mobile zero terminals can show different system desktops to users due to different screen sizes and resolutions, and therefore the screen sizes and resolutions of the mobile zero terminals need to be obtained.
103. And adjusting the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile zero terminal.
Because different mobile zero terminals can display different system desktops to users due to different screen sizes and resolutions, after the screen sizes and resolutions of the mobile zero terminals are obtained, the sizes of the system desktop wallpapers and the system desktop information images need to be adjusted according to the screen sizes and resolutions of the mobile zero terminals, so that the adjusted sizes of the system desktop wallpapers and the system desktop information images meet the display requirements of the current mobile zero terminals, and the display effect is ensured.
In one embodiment, the type of the mobile zero terminal can be determined according to the screen size of the mobile zero terminal; and then adjusting the size of the system desktop wallpaper and the size of the system desktop information image according to the type and the resolution of the mobile zero terminal.
As an example, the mobile zero terminal is classified into three categories according to the screen size: mobile phone, PAD, PC;
specifically, the specific way of classifying the devices according to the screen size S is as follows:
when S < 7 inches, the mobile phone is determined;
PAD was confirmed when 7 < S < 14 inches;
when S > 14 inches, it was identified as PC.
104. And generating a target desktop image according to the system desktop wallpaper and the system desktop information image after the size is adjusted.
Illustratively, the method may be performed based on the resized system desktop wallpaper and individual program icons in the system desktop image
Illustratively, the target desktop image is generated from the resized system desktop wallpaper, various program icons in the system desktop image, and the taskbar image.
105. And sending the target desktop image to the mobile zero terminal so that the mobile zero terminal displays the target desktop image.
After the target desktop image is obtained, the cloud server sends the target desktop image to the mobile zero terminal, so that the mobile zero terminal displays the target desktop image after receiving the target desktop image.
The desktop display control method for the mobile zero terminal provided by the embodiment of the disclosure comprises the following steps: acquiring system desktop wallpaper and a system desktop information image of a virtual machine corresponding to the mobile zero terminal, wherein the system desktop information image comprises: each program icon in the system desktop image, or each program icon and the taskbar image in the system desktop image; acquiring the screen size and resolution of the mobile zero terminal; adjusting the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile zero terminal; generating a target desktop image according to the system desktop wallpaper and the system desktop information image after the size is adjusted; and sending the target desktop image to the mobile zero terminal so that the mobile zero terminal displays the target desktop image. The system desktop wallpaper and the system desktop information image of the virtual machine can be adjusted based on the acquired screen size and resolution of the mobile zero terminal, so that the desktop image displayed by the mobile zero terminal is more in line with the display requirement of the mobile zero terminal, the displayed desktop image is more attractive enough and in line with the operation habit of a user at the side of the mobile zero terminal, and the displayed icon is also adjusted according to the size and resolution of the mobile zero terminal, so that the display requirement is more in line with, the size of the displayed icon is not too small, and the operation of the user is facilitated.
Therefore, the method in the disclosure can enable the display of the windows desktop to be compatible with a plurality of different devices (desktop computers, notebook computers, tablets and mobile phones), thereby meeting the visual requirements and layout display of devices with different sizes.
In one embodiment, as shown in fig. 3, the above step 101 comprises the following sub-steps:
1011. and obtaining system desktop wallpaper of the virtual machine corresponding to the mobile zero terminal.
1012. And acquiring a system desktop image of the virtual machine corresponding to the mobile zero terminal.
1013. And acquiring the system desktop wallpaper and the change area in the system desktop image.
1014. And determining the system desktop information image in the change area from the change area according to the shape of the system desktop information image.
The cloud server respectively acquires system desktop wallpaper of a virtual machine corresponding to the mobile zero terminal and a system desktop image of the virtual machine corresponding to the mobile zero terminal, and the cloud server further acquires a system desktop information image in the current system desktop image after comparing the acquired system desktop wallpaper with the system desktop image, namely acquiring each program icon in the current system desktop image or a task bar image in the current system desktop image;
there are many ways to obtain each program icon and taskbar image in the current system desktop image through image comparison, and a specific image comparison method is given as follows:
calculating the difference between the two images of the system desktop image and the system desktop wallpaper, namely calculating the absolute difference between the two images, thereby obtaining the change area between the two images; and then, according to the shape information of the change area, identifying whether the current change area is a program icon or a task bar.
In the above processing steps, an important step is: the wallpaper part in the system desktop image is required to be ensured to be completely the same as the pixel value of the corresponding coordinate in the system desktop wallpaper, therefore, if the original wallpaper image is subjected to stretching deformation when the system desktop wallpaper is set, the original wallpaper image is required to be subjected to stretching deformation in the same way, and the stretched and deformed image is used as the required system desktop wallpaper to be compared with the system desktop image.
Continuing with the above example, the first type of terminal device may include: a computer; at this time, when it is determined that the type of the mobile terminal is the first type terminal device, the system desktop information image includes: adjusting the size of the system desktop information image according to the type and resolution of the mobile zero terminal by each program icon and the taskbar image in the system desktop image, wherein the method comprises the following steps:
and performing up-sampling or down-sampling on the system desktop wallpaper, each program icon and the taskbar image in the same proportion according to the resolution of the mobile zero terminal.
When the mobile zero terminal is a PC, the target desktop image is generated according to the background image, the program icon and the task bar after the size is adjusted. In this case, the desktop icons are directly rearranged on the resized background image in the original order of the icons and at the set pitch, and the taskbar is displayed below the background image.
Continuing with the above example, the second type of terminal device may include: PAD in a mobile phone or longitudinal screen state; at this time, in one embodiment, as shown in fig. 3, when it is determined that the type of the mobile terminal is the second type terminal device, the system desktop information image includes: each program icon in the system desktop image adjusts the size of the system desktop information image according to the type and the resolution of the mobile zero terminal, and the method comprises the following substeps:
1031. zooming the system desktop wallpaper according to the resolution of the mobile zero terminal;
1032. carrying out up-sampling processing on each program icon according to the resolution of the mobile zero terminal;
1033. and arranging the program icons obtained after the up-sampling according to a preset mode.
When the mobile zero terminal is the PAD, the horizontal and vertical screen states of the PAD are obtained, if the mobile zero terminal is the PAD, desktop wallpaper is zoomed according to the resolution of the mobile zero terminal, a taskbar is not displayed, each icon is subjected to up-sampling according to the horizontal resolution of the zero terminal (for example, each icon is subjected to up-sampling according to the horizontal resolution/11 of the zero terminal), all icons are transversely arranged, and all program icons obtained after the up-sampling are arranged according to a preset mode (for example, the horizontal interval between two icons is the width of one icon).
When the mobile zero terminal is a mobile phone, the desktop wallpaper is scaled according to the resolution of the mobile zero terminal, the taskbar is not displayed, each icon is up-sampled according to the zero terminal lateral resolution (for example, each icon is up-sampled according to the zero terminal lateral resolution/6.5), all icons are arranged laterally, and the program icons obtained after up-sampling are arranged according to a preset mode (for example, the lateral interval between two icons is 1/3 of one icon lateral resolution (width)).
Specifically, when the mobile zero terminal is a mobile phone or a PAD in a vertical screen, the target desktop image is generated according to the system desktop wallpaper and the program icon after the size is adjusted. In this case, all the program icons are displayed on the system desktop wallpaper after the size adjustment according to the original display sequence and the set interval, if one screen cannot display all the program icons, the program icons can be displayed in multiple screens, and therefore one-frame or multiple-frame target desktop images are generated according to the number of the program icons. When generating the multi-frame target desktop image, the multi-frame target desktop image at this time can be displayed on the mobile zero terminal in a slidable page-turning desktop image mode, and a user can switch different desktops through sliding operation and click a program icon.
Continuing with the above example, the third type of terminal device may include: PAD in a horizontal screen state; in one embodiment, as shown in fig. 4, when it is determined that the type of the mobile terminal is the third type terminal device, the system desktop information image includes: the method for adjusting the size of the system desktop information image according to the type and the resolution of the mobile zero terminal comprises the following substeps:
1034. zooming the system desktop wallpaper according to the resolution of the mobile zero terminal;
1035. carrying out down-sampling processing on the width of the task bar according to the transverse resolution of the mobile zero terminal;
1036. performing up-sampling or down-sampling processing on the task bar after the down-sampling processing according to the longitudinal resolution of the mobile zero terminal;
1037. carrying out up-sampling processing on each program icon according to the transverse resolution of the mobile zero terminal;
1038. and arranging the program icons obtained after the up-sampling according to a preset mode.
When the mobile zero terminal is the PAD, the horizontal and vertical screen states of the PAD are obtained, if the mobile zero terminal is the PAD, desktop wallpaper is zoomed according to the resolution of the mobile zero terminal, the width of the task bar is downsampled according to the horizontal resolution of the PAD (namely the width of the task bar is adjusted to be the same as the horizontal resolution of the PAD), the height of the task bar is upsampled or downsampled according to the vertical resolution/8 (namely the height of the task bar is set to be the vertical resolution/8 of the current PAD), the size of each icon is downsampled according to the horizontal resolution/13 of the zero terminal, and the icons are transversely arranged according to the size interval of the icons.
And when the PAD of the mobile zero terminal is in a horizontal screen, generating a target desktop image according to the background image, the program icon and the task bar after the size is adjusted. In this case, the desktop icons are directly rearranged on the resized background image in the original order of the icons and at the set pitch, and the taskbar is displayed below the background image.
In one embodiment, the arranging of the program icons obtained after the upsampling according to a preset mode includes:
and transversely arranging the program icons obtained after the up-sampling, wherein the interval between every two adjacent program icons is a preset width.
For example, the preset width may be a width of one icon.
It should be noted that, the "horizontal resolution" or the "vertical resolution" refers to the horizontal resolution or the vertical resolution of the mobile zero-terminal device in the current use state (horizontal screen or vertical screen); down-sampling, or down-sampling, refers to reducing an image; upsampling, or image interpolation, refers to enlarging an image.
In one embodiment, the above method may also be implemented by:
the method comprises the steps that program icons and taskbar images in system desktop wallpaper, system desktop images of a virtual machine corresponding to a mobile zero terminal are directly obtained, then a cloud server judges whether the taskbar needs to be displayed or not according to the obtained screen size, the size of the taskbar is adjusted when the taskbar needs to be displayed, if the taskbar does not need to be displayed, the taskbar is not concerned, and only the program icons in the system desktop wallpaper and the system desktop images are concerned.
Specifically, the cloud server judges whether the taskbar needs to be displayed according to the following modes:
determining the type of the current mobile zero terminal;
when the mobile zero terminal is determined to be a mobile phone, determining not to display the task bar;
when the mobile zero terminal is determined to be the PC, determining to display a task bar; and when the mobile zero terminal is the PAD, acquiring the horizontal and vertical screen states of the current PAD, displaying the taskbar if the PAD is the horizontal screen, and not displaying the taskbar if the PAD is the vertical screen.
Based on the desktop display control method of the mobile terminal described in the embodiments corresponding to fig. 2 to 4, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute the embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a desktop display control device of a mobile terminal, as shown in fig. 5, the device includes:
a first obtaining module 11, configured to obtain system desktop wallpaper and a system desktop information image of a virtual machine corresponding to a mobile zero terminal, where the system desktop information image includes: each program icon in the system desktop image, or each program icon and the taskbar image in the system desktop image;
a second obtaining module 12, configured to obtain a screen size and a resolution of the mobile terminal;
the adjusting module 13 is configured to adjust the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile terminal;
a generating module 14, configured to generate a target desktop image according to the system desktop wallpaper and the system desktop information image after the size adjustment;
a sending module 15, configured to send the target desktop image to the mobile zero terminal, so that the mobile zero terminal displays the target desktop image.
In one embodiment, as shown in fig. 6, the first obtaining module 11 includes:
the detection submodule 111 is configured to detect whether a virtual machine corresponding to the mobile zero terminal enters a system desktop;
the first obtaining sub-module 112 is configured to, when it is detected that the virtual machine corresponding to the mobile zero terminal enters the system desktop, obtain system desktop wallpaper and the system desktop information image of the virtual machine corresponding to the mobile zero terminal.
In one embodiment, as shown in fig. 7, the first obtaining module 11 includes:
a second obtaining submodule 113, configured to obtain system desktop wallpaper of a virtual machine corresponding to the mobile zero terminal;
a third obtaining sub-module 114, configured to obtain a system desktop image of a virtual machine corresponding to the mobile zero terminal;
a fourth obtaining sub-module 115, configured to obtain the system desktop wallpaper and the change area in the system desktop image;
and the first determining submodule 116 is used for determining the system desktop information image in the change area from the change area according to the shape of the system desktop information image.
In one embodiment, as shown in fig. 8, the adjusting module 13 includes:
the second determining submodule 131 is configured to determine the type of the mobile zero terminal according to the screen size of the mobile zero terminal;
and an adjusting sub-module 132, configured to adjust the size of the system desktop wallpaper and the size of the system desktop information image according to the type and the resolution of the mobile terminal.
In one embodiment, as shown in fig. 9, when it is determined that the type of the mobile terminal is the first type terminal device, the system desktop information image includes: each program icon and each taskbar image in the system desktop image, and the adjusting module 13 includes:
the first sampling sub-module 133 is configured to perform up-sampling or down-sampling on the system desktop wallpaper, each program icon, and the taskbar image in the same proportion according to the resolution of the mobile zero terminal.
In one embodiment, as shown in fig. 10, when it is determined that the type of the mobile terminal is the second type terminal device, the system desktop information image includes: each program icon in the system desktop image, the adjusting module 13 includes:
the first scaling submodule 134 is configured to scale the system desktop wallpaper according to the resolution of the mobile zero terminal;
the second sampling sub-module 135 is configured to perform upsampling processing on each program icon according to the resolution of the mobile zero terminal;
and the first arrangement sub-module 136 is configured to arrange the program icons obtained after the upsampling according to a preset manner.
In one embodiment, as shown in fig. 11, when it is determined that the type of the mobile terminal is the third type terminal device, the system desktop information image includes: each program icon and each taskbar image in the system desktop image, and the adjusting module 13 includes:
the second scaling submodule 137 is configured to scale the system desktop wallpaper according to the resolution of the mobile zero terminal;
a third sampling sub-module 138, configured to perform downsampling on the width of the taskbar according to the lateral resolution of the mobile zero terminal;
the fourth sampling sub-module 139 is configured to perform up-sampling or down-sampling on the taskbar after down-sampling processing according to the longitudinal resolution of the mobile zero terminal;
a fifth sampling sub-module 1310, configured to perform upsampling processing on each program icon according to the lateral resolution of the mobile zero terminal;
and a second arrangement submodule 1311, configured to arrange the program icons obtained after the upsampling according to a preset manner.
In one embodiment, the first arranging sub-module 136 or the second arranging sub-module 1311 includes:
and the arrangement submodule is used for transversely arranging the program icons obtained after the up-sampling, and the interval between every two adjacent program icons is a preset width.
In one embodiment, the preset width comprises: a width of one of the program icons.
Based on the desktop display control method of the mobile terminal described in the embodiments corresponding to fig. 2 to 4, the embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the data transmission method described in the embodiment corresponding to fig. 2 to 4, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (7)
1. A desktop display control method of a mobile zero terminal is characterized by comprising the following steps:
acquiring system desktop wallpaper and a system desktop information image of a virtual machine corresponding to a mobile zero terminal, wherein the system desktop information image comprises: each program icon in the system desktop image, or each program icon and the taskbar image in the system desktop image;
acquiring the screen size and the resolution of the mobile zero terminal;
adjusting the size of the system desktop wallpaper and the system desktop information image according to the screen size and the resolution of the mobile zero terminal;
generating a target desktop image according to the system desktop wallpaper and the system desktop information image after the size is adjusted;
and sending the target desktop image to the mobile zero terminal so that the mobile zero terminal displays the target desktop image.
2. The method according to claim 1, wherein the acquiring system desktop wallpaper and system desktop information images of the virtual machine corresponding to the mobile zero terminal comprises:
detecting whether a virtual machine corresponding to the mobile zero terminal enters a system desktop or not;
and when detecting that the virtual machine corresponding to the mobile zero terminal enters the system desktop, acquiring system desktop wallpaper and the system desktop information image of the virtual machine corresponding to the mobile zero terminal.
3. The method according to claim 1, wherein the acquiring the system desktop wallpaper and the system desktop information image of the virtual machine corresponding to the mobile zero terminal comprises:
acquiring system desktop wallpaper of a virtual machine corresponding to the mobile zero terminal;
acquiring a system desktop image of a virtual machine corresponding to the mobile zero terminal;
acquiring the system desktop wallpaper and a change area in the system desktop image;
and determining the system desktop information image in the change area from the change area according to the shape of the system desktop information image.
4. The method as claimed in claim 1, wherein the adjusting the size of the system desktop wallpaper and the size of the system desktop information image according to the screen size and resolution of the mobile zero terminal comprises:
determining the type of the mobile zero terminal according to the screen size of the mobile zero terminal;
and adjusting the size of the system desktop wallpaper and the size of the system desktop information image according to the type and the resolution of the mobile zero terminal.
5. The method of claim 4, wherein when the type of the mobile zero terminal is determined to be the first type terminal device, the system desktop information image comprises: adjusting the size of the system desktop information image according to the type and the resolution of the mobile zero terminal comprises the following steps:
and performing up-sampling or down-sampling on the system desktop wallpaper, the program icons and the taskbar image in the same proportion according to the resolution of the mobile zero terminal.
6. The method of claim 4, wherein when the type of the mobile terminal is determined to be the second type terminal device, the system desktop information image comprises: adjusting the size of the system desktop information image according to the type and the resolution of the mobile zero terminal comprises the following steps:
zooming the system desktop wallpaper according to the resolution of the mobile zero terminal;
performing up-sampling processing on each program icon according to the resolution of the mobile zero terminal;
and arranging all the program icons obtained after the up-sampling according to a preset mode.
7. The method of claim 4, wherein when the type of the mobile terminal is determined to be a third type terminal device, the system desktop information image comprises: adjusting the size of the system desktop information image according to the type and the resolution of the mobile zero terminal comprises the following steps:
zooming the system desktop wallpaper according to the resolution of the mobile zero terminal;
carrying out down-sampling processing on the width of the task bar according to the transverse resolution of the mobile zero terminal;
performing up-sampling or down-sampling processing on the taskbar after the down-sampling processing according to the longitudinal resolution of the mobile zero terminal;
and performing up-sampling processing on each program icon according to the transverse resolution of the mobile zero terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010834302.4A CN112099886A (en) | 2020-08-18 | 2020-08-18 | Desktop display control method and device of mobile zero terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010834302.4A CN112099886A (en) | 2020-08-18 | 2020-08-18 | Desktop display control method and device of mobile zero terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112099886A true CN112099886A (en) | 2020-12-18 |
Family
ID=73753962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010834302.4A Pending CN112099886A (en) | 2020-08-18 | 2020-08-18 | Desktop display control method and device of mobile zero terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112099886A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113660320A (en) * | 2021-08-03 | 2021-11-16 | 西安万像电子科技有限公司 | Vehicle-mounted terminal data sharing method and device and vehicle-mounted system |
CN113905086A (en) * | 2021-08-30 | 2022-01-07 | 西安万像电子科技有限公司 | Fire fighting system |
CN113971070A (en) * | 2021-10-28 | 2022-01-25 | 上海交通大学 | Method and system suitable for multi-virtual machine one-screen display |
CN114327725A (en) * | 2021-12-28 | 2022-04-12 | 珠海豹趣科技有限公司 | Personalized taskbar display method and device applied to Windows10 system |
CN116820636A (en) * | 2023-03-21 | 2023-09-29 | 广州南盾通讯设备有限公司 | Remote desktop display method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932327A (en) * | 2012-07-17 | 2013-02-13 | 上海金图信息科技有限公司 | Method and system for communicating zero-terminal equipment and desktop virtual machine |
CN103457965A (en) * | 2012-05-29 | 2013-12-18 | 索尼公司 | Virtual machine system and remote display method |
CN104516703A (en) * | 2013-09-30 | 2015-04-15 | 中国电信股份有限公司 | Method and system for achieving automatic adaption of virtual desktop screen resolution on Android terminal |
CN104731546A (en) * | 2015-04-01 | 2015-06-24 | 宁波Gqy视讯股份有限公司 | Method and system for capturing high-resolution picture to be displayed on large screen |
CN107360443A (en) * | 2016-05-09 | 2017-11-17 | 中兴通讯股份有限公司 | A kind of cloud desktop picture processing method, cloud desktop server and client |
CN108491174A (en) * | 2018-02-01 | 2018-09-04 | 西安万像电子科技有限公司 | Picture transmission method, apparatus and system |
CN110515686A (en) * | 2019-08-28 | 2019-11-29 | 联想(北京)有限公司 | A kind of image display method and apparatus |
-
2020
- 2020-08-18 CN CN202010834302.4A patent/CN112099886A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457965A (en) * | 2012-05-29 | 2013-12-18 | 索尼公司 | Virtual machine system and remote display method |
CN102932327A (en) * | 2012-07-17 | 2013-02-13 | 上海金图信息科技有限公司 | Method and system for communicating zero-terminal equipment and desktop virtual machine |
CN104516703A (en) * | 2013-09-30 | 2015-04-15 | 中国电信股份有限公司 | Method and system for achieving automatic adaption of virtual desktop screen resolution on Android terminal |
CN104731546A (en) * | 2015-04-01 | 2015-06-24 | 宁波Gqy视讯股份有限公司 | Method and system for capturing high-resolution picture to be displayed on large screen |
CN107360443A (en) * | 2016-05-09 | 2017-11-17 | 中兴通讯股份有限公司 | A kind of cloud desktop picture processing method, cloud desktop server and client |
CN108491174A (en) * | 2018-02-01 | 2018-09-04 | 西安万像电子科技有限公司 | Picture transmission method, apparatus and system |
CN110515686A (en) * | 2019-08-28 | 2019-11-29 | 联想(北京)有限公司 | A kind of image display method and apparatus |
Non-Patent Citations (1)
Title |
---|
肖俊龙: "基于云平台的移动终端图像水印技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 8, 15 August 2015 (2015-08-15), pages 138 - 42 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113660320A (en) * | 2021-08-03 | 2021-11-16 | 西安万像电子科技有限公司 | Vehicle-mounted terminal data sharing method and device and vehicle-mounted system |
CN113905086A (en) * | 2021-08-30 | 2022-01-07 | 西安万像电子科技有限公司 | Fire fighting system |
CN113971070A (en) * | 2021-10-28 | 2022-01-25 | 上海交通大学 | Method and system suitable for multi-virtual machine one-screen display |
CN113971070B (en) * | 2021-10-28 | 2024-05-28 | 上海交通大学 | Method and system suitable for multi-virtual machine on-screen display |
CN114327725A (en) * | 2021-12-28 | 2022-04-12 | 珠海豹趣科技有限公司 | Personalized taskbar display method and device applied to Windows10 system |
CN114327725B (en) * | 2021-12-28 | 2024-03-22 | 珠海豹趣科技有限公司 | Personalized taskbar display method and device applied to Windows10 system |
CN116820636A (en) * | 2023-03-21 | 2023-09-29 | 广州南盾通讯设备有限公司 | Remote desktop display method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112099886A (en) | Desktop display control method and device of mobile zero terminal | |
US9600595B2 (en) | Modification of windows across multiple displays | |
US9256349B2 (en) | User-resizable icons | |
CN104615336B (en) | A kind of information processing method and electronic equipment | |
US11551392B2 (en) | Graphic drawing method and apparatus, device, and storage medium | |
CN104834637B (en) | Webpage picture display method and device | |
CN108628510B (en) | Content display method and device, electronic equipment and readable storage medium | |
EP2747057A1 (en) | Text-enlargement display method | |
US20150332507A1 (en) | Positioning of projected augmented reality content | |
EP2797297A1 (en) | Multi-zone interface switching method and device | |
CN114237419B (en) | Display device and touch event identification method | |
CN107079198B (en) | Display device, system and control method thereof | |
CN110598140A (en) | Page adjusting method and device and server | |
CN113741763A (en) | Electronic book display method and device and electronic equipment | |
CN114356479B (en) | Page rendering method and device | |
CN110825993B (en) | Picture display method and device and electronic equipment | |
KR20140132938A (en) | Method for displaying web page and device thereof | |
CN107133022B (en) | Control display method and device in terminal equipment | |
CN114817664A (en) | Big data based data display method and related equipment | |
CN105630316B (en) | Display object arrangement method and electronic equipment | |
CN111880869A (en) | Picture adjusting method, device and system | |
US11532145B2 (en) | Multi-region image scanning | |
CN115698988A (en) | System and method for viewing incompatible web pages via remote browser instances | |
CN112099650A (en) | Screen display method and device, electronic equipment and computer readable storage medium | |
CN110568972A (en) | Method and device for presenting shortcut |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |