CN104516703B - The method and system of virtual desktop screen resolution automatic adaptation is realized in android terminal - Google Patents
The method and system of virtual desktop screen resolution automatic adaptation is realized in android terminal Download PDFInfo
- Publication number
- CN104516703B CN104516703B CN201310460096.5A CN201310460096A CN104516703B CN 104516703 B CN104516703 B CN 104516703B CN 201310460096 A CN201310460096 A CN 201310460096A CN 104516703 B CN104516703 B CN 104516703B
- Authority
- CN
- China
- Prior art keywords
- parameter
- virtual machine
- screen resolution
- resolution
- android terminal
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
- G06F3/1462—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay with means for detecting differences between the image stored in the host and the images displayed on the remote displays
Abstract
The embodiment of the invention discloses a kind of method and system that virtual desktop screen resolution automatic adaptation is realized in android terminal, wherein, method includes:Android Android terminal reads the screen resolution parameter of the Android terminal;Parameter relay unit where screen resolution parameter is sent to virtual machine by Android terminal with the virtual machine mark id information for needing to access on physics host;Parameter relay unit is by half virtualization external controller interface pci bus of virtualization process in screen resolution parameter and virtual machine id information write-in physics host;Virtual machine corresponding to virtual machine ID reads screen resolution parameter from half virtualization pci bus, and according to screen resolution parameter adjustment Windows operating system resolution ratio so that Windows operating system resolution ratio is consistent with the screen resolution of Android terminal.When the embodiment of the present invention can solve that Windows operating system resolution ratio is inconsistent in Android terminal resolution ratio and virtual desktop, caused screen overflows or the problem of lack of fill.
Description
Technical field
The present invention relates to server virtualization and desktop virtual technology, and especially one kind is in Android(Android)Terminal
On realize the method and system of virtual desktop screen resolution automatic adaptation.
Background technology
Server virtualization refers to fictionalize multiple virtual machines on a physics host(VM), between each virtual machine
It is mutually isolated, and a kind of separate technology can be run simultaneously.It is only that one physics host is split into dozens of by the technology
Vertical virtual machine, each virtual function independent operating business, it is possible to achieve improve server resource utilization rate, improve the efficiency of management
Target.As the foundation class technology of cloud computing, server virtualization technology has obtained substantial amounts of application and popularization in recent years.Example
Such as, Internet data center(Internet Data Center, IDC)One physics host is invented 20 left sides by service provider
Right virtual machine, every virtual machine possesses independent operating system, network environment, then is leased to user.To IDC Service Provider
For can increase health service revenue, for user, hiring cost can be reduced.
Virtual desktop refers to that user relies on virtual desktop client program or terminal, passes through personal computer(PC), it is mobile
Terminal or thin terminal access the void come out based on server virtualization platform virtualization via desktop virtualization management platform certification
Plan machine.
Android operation system is current mobile terminal(Also referred to as mobile phone or mobile phone terminal)Use relatively broad one kind
Operating system.For convenience, Android terminal will be referred to as using the mobile terminal of Android operation system.In conventional desktop
In virtualized environment, when the form that user is produced by Android terminal access Microsoft(Windows)Operating system is virtual
After desktop, because Windows operating system resolution ratio is inconsistent in Android terminal resolution ratio and virtual desktop, void can be caused
Intend desktop and spilling is shown in Android terminal(I.e.:Windows operating system exquisitenesses desktop exceeds mobile phone screen)With filling not
Foot(I.e.:Windows operating system virtual desktop is less than mobile phone screen)The problem of.
During the present invention is realized, inventor has found, in conventional desktop virtualized environment, Android ends occurs
When holding Windows operating system resolution ratio mismatch in resolution ratio and virtual desktop, user needs modification Windows operations by hand
System virtualization desktop resolution ratio, tried one's best be modified as with mobile phone screen similar resolution, but due to Windows operating system
Acquiescence is available for the limited resolution that user selects, and still can not be modified as completely the same with mobile phone screen resolution ratio, can not solve
Virtual desktop is overflowing or the problem of lack of fill in Android terminal.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is:One kind is provided virtual desktop screen is realized in android terminal
The method and system of resolution ratio automatic adaptation, to solve Windows operating system in Android terminal resolution ratio and virtual desktop
When resolution ratio is inconsistent, caused screen overflows or the problem of lack of fill, facilitates user to be used by Android terminal
Windows operating system virtual desktop, improve the perception that user uses virtual desktop.
A kind of side that virtual desktop screen resolution automatic adaptation is realized in android terminal provided in an embodiment of the present invention
Method, including:
Android Android terminal reads the screen resolution parameter of the Android terminal;
The screen resolution parameter is sent to virtually by Android terminal with the virtual machine mark id information for needing to access
Parameter relay unit where machine on physics host;
The screen resolution parameter and the virtual machine id information are write the physics host by parameter relay unit
In half virtualization external controller interface pci bus of upper virtualization process;
Virtual machine corresponding to the virtual machine ID reads the screen resolution ginseng from the half virtualization pci bus
Number, and according to the screen resolution parameter adjustment Windows operating system resolution ratio so that Windows operating system is differentiated
Rate is consistent with the screen resolution of the Android terminal.
In one specific embodiment of the above method, parameter relay unit by the screen resolution parameter with it is described virtual
The half virtualization pci bus that machine id information writes virtualization process on the physics host includes:Parameter relay unit leads to
The socket unit crossed on the physics host writes the screen resolution parameter and the virtual machine id information
Enter in port corresponding to half virtualization pci bus;
Virtual machine corresponding to the virtual machine ID reads the screen resolution parameter from the half virtualization pci bus
Including:Port corresponding to parameter receiving unit from the half virtualization pci bus in virtual machine corresponding to the virtual machine ID
It is middle to read the screen resolution parameter.
In one specific embodiment of the above method, according to the screen resolution parameter adjustment Windows operating system
Resolution ratio includes:
Screen resolution parameter is transferred to the resolution adjustment unit in the virtual machine by parameter receiving unit;
Windows configuration adjustment interface units in virtual machine described in resolution adjustment cell call, adjustment Windows behaviour
Make systemic resolution, be the resolution ratio that the screen resolution parameter is specified by the Windows operating system resolution adjustment.
In one specific embodiment of the above method, the parameter type of the screen resolution parameter is integer.
It is provided in an embodiment of the present invention it is a kind of virtual desktop screen resolution automatic adaptation is realized in android terminal be
System, including:
Android terminal, for reading the screen resolution parameter of the Android terminal;And by the screen resolution
Parameter relay unit where parameter is sent to virtual machine with the virtual machine id information for needing to access on physics host;
Parameter relay unit, on physics host, for the screen resolution ginseng for sending the Android terminal
Number is write in half virtualization pci bus of virtualization process on the physics host with the virtual machine id information;
Virtualization process, on physics host, for the carrier as the virtual machine, provided for the virtual machine
Hardware device;
Half virtualization pci bus, in the virtualization process, for receiving and caching the screen resolution parameter
With the virtual machine id information;
Virtual machine, on physics host, by the virtual machine ID unique marks, for being virtualized from described half
The screen resolution parameter is read in pci bus, and according to the screen resolution parameter adjustment Windows operating system point
Resolution so that Windows operating system resolution ratio is consistent with the screen resolution of the Android terminal.
In one specific embodiment of said system, the Android terminal includes
System information elements, for storing the information parameter of Android terminal, including screen resolution parameter;
Resolution parameter reading unit, for accessing system information elements, obtain the screen resolution ginseng of Android terminal
Number;
Parameter transmitting element, screen resolution parameter and user for resolution parameter reading unit to be obtained need to visit
The virtual machine id information asked is sent to the parameter relay unit.
In one specific embodiment of said system, in addition to socket units, on the physics host;
The parameter relay unit, especially by the socket units on the physics host by the screen resolution
In parameter port corresponding with the virtualization pci bus of virtual machine id information write-in half;
The virtual machine also includes parameter receiving unit, for being read from port corresponding to the half virtualization pci bus
Take the screen resolution parameter.
In one specific embodiment of said system, the parameter receiving unit, it is additionally operable to pass screen resolution parameter
The resolution adjustment unit being defeated by the virtual machine;
The virtual machine also includes:
Resolution adjustment unit, for calling the Windows in the virtual machine to configure adjustment interface unit, adjustment
Windows operating system resolution ratio;
Windows configuration adjustment interface units, for adjusting Windows operating system resolution ratio, the Windows is grasped
The resolution ratio that the screen resolution parameter specifies is adjusted to as systemic resolution.
In one specific embodiment of said system, the parameter type of the screen resolution parameter is integer.
Virtual desktop screen resolution automatic adaptation is realized in android terminal based on what the above embodiment of the present invention provided
Method and system, can be by the screen after Android Android terminal reads the screen resolution parameter of the Android terminal
Parameter relay unit where resolution parameter is sent to virtual machine with the virtual machine id information for needing to access on physics host,
Parameter relay unit is empty by half of virtualization process in the screen resolution parameter and virtual machine id information write-in physics host
In planization pci bus, virtual machine corresponding to virtual machine ID reads screen resolution parameter from the half virtualization pci bus, and
According to the screen resolution parameter adjustment Windows operating system resolution ratio so that Windows operating system resolution ratio with
The screen resolution of Android terminal is consistent.Compared with prior art, the embodiment of the present invention can realize Android terminal screen
Reading, transmission, the storage of curtain resolution parameter, without user intervention, realize that Windows operating system is virtual by system automatically
Desktop completely can be shown in Android terminal, both do not spilt over, and be also not filled with deficiency, solve Android terminal resolution
When Windows operating system resolution ratio is inconsistent in rate and virtual desktop, caused screen overflows or the problem of lack of fill, side
Just user uses Windows operating system virtual desktop by Android terminal, improves the perception that user uses virtual desktop.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
The accompanying drawing of a part for constitution instruction describes embodiments of the invention, and is used to explain together with description
The principle of the present invention.
Referring to the drawings, according to following detailed description, the present invention can be more clearly understood, wherein:
Fig. 1 is one reality of method that the present invention realizes virtual desktop screen resolution automatic adaptation in Android terminal
Apply the flow chart of example.
Fig. 2 be the present invention realized in Android terminal virtual desktop screen resolution automatic adaptation method another
The flow chart of embodiment.
Fig. 3 is one reality of system that the present invention realizes virtual desktop screen resolution automatic adaptation in Android terminal
Apply the structural representation of example.
Embodiment
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should be noted that:Unless have in addition
Body illustrates that the unlimited system of part and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The scope of invention.
Simultaneously, it should be appreciated that for the ease of description, the size of the various pieces shown in accompanying drawing is not according to reality
Proportionate relationship draw.
The description only actually at least one exemplary embodiment is illustrative to be never used as to the present invention below
And its application or any restrictions that use.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent accompanying drawing in individual accompanying drawing.
Fig. 1 is one reality of method that the present invention realizes virtual desktop screen resolution automatic adaptation in Android terminal
Apply the flow chart of example.As shown in figure 1, the embodiment realizes virtual desktop screen resolution automatic adaptation in Android terminal
Method include:
110, Android terminal reads the screen resolution parameter of the Android terminal.
Exemplarily, the parameter type of the screen resolution parameter is integer, such as 1024*768, or 1280*800.
120, Android terminal identifies screen resolution parameter with the virtual machine for needing to access(ID)Information is sent to void
Parameter relay unit where plan machine on physics host.
One virtual machine of virtual machine ID unique marks therein.
130, parameter relay unit is by screen resolution parameter with being virtualized on virtual machine id information write-in physics host
Half virtualization external controller interface of process(Peripheral Component Interconnect, PCI)In bus.
140, the reading screen resolution parameter from half virtualization pci bus of virtual machine corresponding to virtual machine ID, and according to
Screen resolution parameter adjustment Windows operating system resolution ratio so that Windows operating system resolution ratio is whole with Android
The screen resolution at end is consistent.
The side that virtual desktop screen resolution automatic adaptation is realized in android terminal that the above embodiment of the present invention provides
Method, can be by the screen resolution parameter after Android Android terminal reads the screen resolution parameter of the Android terminal
Parameter relay unit where virtual machine id information with needing to access is sent to virtual machine on physics host, parameter transfer list
Member virtualizes pci bus by half of virtualization process in the screen resolution parameter and virtual machine id information write-in physics host
In, virtual machine corresponding to virtual machine ID reads screen resolution parameter from the half virtualization pci bus, and according to the screen point
Resolution parameter adjustment Windows operating system resolution ratio so that the screen of Windows operating system resolution ratio and Android terminal
Curtain resolution ratio is consistent.Compared with prior art, the embodiment of the present invention can realize the reading of Android terminal screen resolution parameter
Take, transmit, store, without user intervention, realize that Windows operating system virtual desktop can completely exist automatically by system
Show in Android terminal, both do not spilt over, be also not filled with deficiency, solve in Android terminal resolution ratio and virtual desktop
When Windows operating system resolution ratio is inconsistent, caused screen overflows or the problem of lack of fill, facilitates user to pass through
Android terminal uses Windows operating system virtual desktop, improves the perception that user uses virtual desktop.
Fig. 2 be the present invention realized in Android terminal virtual desktop screen resolution automatic adaptation method another
The flow chart of embodiment.As shown in Fig. 2 the embodiment realizes that virtual desktop screen resolution is fitted automatically in Android terminal
The method matched somebody with somebody includes:
210, Android terminal reads the screen resolution parameter of the Android terminal.
220, screen resolution parameter is sent to virtual machine institute by Android terminal with the virtual machine id information for needing to access
Parameter relay unit on physics host.
One virtual machine of virtual machine ID unique marks therein.
, it is necessary to input in advance in physics host when Android terminal user logs in physics host by Android terminal
The user account number and password that machine is set when registering, physics host is after the user account number and password are by checking, to Android
Terminal, which returns to the user, has the virtual machine ID of access right.Or user can also input void directly in Android terminal
Plan machine ID.
230, parameter relay unit passes through the socket on physics host(socket)Unit divides the screen received
In resolution parameter port corresponding with the virtualization pci bus of virtual machine id information write-in half.
Each port file is corresponding with a socket port of physics host.Screen resolution parameter and virtual machine
ID carries out transfer communication by corresponding socket port.
240, in port corresponding to the parameter receiving unit from half virtualization pci bus in virtual machine corresponding to virtual machine ID
Screen resolution parameter is read, and the screen resolution parameter is transferred to the resolution adjustment unit in virtual machine.
250, the Windows configuration adjustment interface units in resolution adjustment cell call virtual machine, adjustment Windows behaviour
Make systemic resolution, be the resolution ratio that screen resolution parameter is specified by Windows operating system resolution adjustment so that
Windows operating system resolution ratio is consistent with the screen resolution of Android terminal.
Fig. 3 is one reality of system that the present invention realizes virtual desktop screen resolution automatic adaptation in Android terminal
Apply the structural representation of example.The system of the embodiment can be used for the realization present invention is above-mentioned respectively to be realized virtually in Android terminal
Desktop screen resolutions automatic adaptation method embodiment.As shown in figure 3, it includes Android terminal, and positioned at physics host
On parameter relay unit, virtualization process and virtual machine, virtualization process includes half virtualization pci bus.Wherein:
Android terminal, for reading the screen resolution parameter of the Android terminal, the screen resolution parameter
Parameter type is integer;It is and the screen resolution parameter read is virtual with needing the virtual machine id information that accesses to be sent to this
Parameter relay unit where machine on physics host.One virtual machine of virtual machine ID unique marks therein.
Parameter relay unit, screen resolution parameter and virtual machine id information for Android terminal to be sent write
On the physics host of place in half virtualization pci bus of virtualization process.
Virtualization process, for the carrier as virtual machine, hardware device, including central processing unit are provided for virtual machine
(CPU), internal memory, network interface card, all hardware equipment including memory space, the corresponding virtual machine of a virtual machine process.
Half virtualization pci bus, in virtualization process, for receiving parameter relay unit and cached parameters transfer list
The screen resolution parameter and virtual machine id information of member write-in.Should virtualization pci bus can be partly one for virtual machine
System equipment, can be a file system for physics host.
Virtual machine, by virtual machine ID unique marks, for reading screen resolution ginseng from half virtualization pci bus
Number, and according to screen resolution parameter adjustment Windows operating system resolution ratio so that Windows operating system resolution ratio with
The screen resolution of Android terminal is consistent.
The above embodiment of the present invention provide virtual desktop screen resolution automatic adaptation is realized in android terminal be
System, can be by the screen resolution parameter after Android Android terminal reads the screen resolution parameter of the Android terminal
Parameter relay unit where virtual machine id information with needing to access is sent to virtual machine on physics host, parameter transfer list
Member virtualizes pci bus by half of virtualization process in the screen resolution parameter and virtual machine id information write-in physics host
In, virtual machine corresponding to virtual machine ID reads screen resolution parameter from the half virtualization pci bus, and according to the screen point
Resolution parameter adjustment Windows operating system resolution ratio so that the screen of Windows operating system resolution ratio and Android terminal
Curtain resolution ratio is consistent.Compared with prior art, the embodiment of the present invention can realize the reading of Android terminal screen resolution parameter
Take, transmit, store, without user intervention, realize that Windows operating system virtual desktop can completely exist automatically by system
Show in Android terminal, both do not spilt over, be also not filled with deficiency, solve in Android terminal resolution ratio and virtual desktop
When Windows operating system resolution ratio is inconsistent, caused screen overflows or the problem of lack of fill, facilitates user to pass through
Android terminal uses Windows operating system virtual desktop, improves the perception that user uses virtual desktop.
Further, referring back to Fig. 3, realize that virtual desktop screen resolution is automatic in Android terminal in the present invention
In another embodiment of the system of adaptation, the Android terminal specifically can include system information elements, resolution parameter is read
Take unit and parameter transmitting element.Wherein, system information elements, for storing the information parameter of Android terminal, including screen
Resolution parameter.Resolution parameter reading unit, for accessing system information elements, the screen for obtaining Android terminal is differentiated
Rate parameter.Parameter transmitting element is used to need to access with user by the screen resolution parameter that resolution parameter reading unit obtains
Virtual machine id information be sent to the parameter relay unit.
Further, referring back to Fig. 3, realize that virtual desktop screen resolution is automatic in Android terminal in the present invention
In another embodiment of the system of adaptation, the socket units on physics host can also be included, also wrapped in virtual machine
Include parameter receiving unit.Half virtualization pci bus is created that multiple ports, the corresponding end of a virtual machine according to preset configuration
Mouthful, the corresponding file of a port.Correspondingly, parameter relay unit will especially by the socket units on physics host
In screen resolution parameter port corresponding with the virtualization pci bus of virtual machine id information write-in half.Parameter receiving unit is used for
Screen resolution parameter is read from port corresponding to half virtualization pci bus.
Another implementation of the system of virtual desktop screen resolution automatic adaptation is realized in Android terminal in the present invention
In example, parameter receiving unit can be additionally used in the resolution adjustment unit being transferred to screen resolution parameter in virtual machine.Accordingly
Ground, referring back to Fig. 3, resolution adjustment unit and Windows configuration adjustment interface lists are also included in the embodiment, in virtual machine
Member.Wherein, resolution adjustment unit, for calling the Windows in virtual machine to configure adjustment interface unit, Windows is adjusted
Operating system resolution ratio.Windows configuration adjustment interface units, will for adjusting Windows operating system resolution ratio
Windows operating system resolution adjustment is the resolution ratio that screen resolution parameter is specified.
In Windows operating system, the open resolution ratio that can be adjusted to user on interface be it is limited, at present about
Fixed mode within 3, some are even less.The resolution ratio configuration of Windows operating system is configured by Windows adjusts
Whole interface unit opening can adjust the resolution of Windows operating system to user, user in a manner of being accessed by interface
Rate, without being limited to optional hubbed mode on Windows operating system interface.The embodiment of the present invention is getting Android
After the screen resolution parameter of terminal, adjustment interface unit is configured by Windows and adjusts Windows operating system resolution ratio.
Make it identical with the screen resolution of Android terminal.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and its
The difference of its embodiment, same or analogous part cross-reference between each embodiment.For system embodiment
For, because it is substantially corresponding with embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
Defend oneself bright.
Method, the system of the present invention may be achieved in many ways.For example, software, hardware, firmware or soft can be passed through
Part, hardware, firmware any combinations come realize the present invention method and system.The said sequence of the step of for methods described is only
It is to illustrate, is not limited to order described in detail above the step of method of the invention, unless otherwise especially
Explanation.In addition, in certain embodiments, the present invention can be also embodied as recording program in the recording medium, these program bags
Include the machine readable instructions for realizing the method according to the invention.Thus, the present invention also covering storage is used to perform according to this
The recording medium of the program of the method for invention.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The embodiment of the present invention can realize the reading, transmission, storage of Android terminal screen resolution parameter, without use
Family is intervened, and realizes that Windows operating system virtual desktop completely can be shown in Android terminal automatically by system,
Both do not spilt over, and be not filled with deficiency yet, and solved Windows operating system in Android terminal resolution ratio and virtual desktop and differentiate
When rate is inconsistent, caused screen overflows or the problem of lack of fill, facilitates user to use Windows by Android terminal
Operating system virtual desktop, improve the perception that user uses virtual desktop;
The embodiment of the present invention is applied to access the virtual machine based on kernel by Android terminal(K Virtual
Machine, KVM)The desktop virtual environment of framework, its application is can help to, is user-friendly, improve user's sense
Know.
Description of the invention provides for the sake of example and description, and is not exhaustively or by the present invention
It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Select and retouch
State embodiment and be to more preferably illustrate the principle and practical application of the present invention, and one of ordinary skill in the art is managed
The present invention is solved so as to design the various embodiments with various modifications suitable for special-purpose.
Claims (9)
- A kind of 1. method that virtual desktop screen resolution automatic adaptation is realized in android terminal, it is characterised in that including:Android Android terminal reads the screen resolution parameter of the Android terminal;The screen resolution parameter is sent to virtual machine institute by Android terminal with the virtual machine mark id information for needing to access Parameter relay unit on physics host, one virtual machine of virtual machine ID unique marks therein;Parameter relay unit writes the screen resolution parameter and the virtual machine id information empty on the physics host In half virtualization external controller interface pci bus of planization process;Virtual machine corresponding to the virtual machine ID reads the screen resolution parameter from the half virtualization pci bus, and According to the screen resolution parameter adjustment Windows operating system resolution ratio so that Windows operating system resolution ratio and institute The screen resolution for stating Android terminal is consistent.
- 2. according to the method for claim 1, it is characterised in that parameter relay unit is by the screen resolution parameter and institute Stating half virtualization pci bus of virtualization process on the virtual machine id information write-in physics host includes:Parameter transfer Unit is by the socket unit on the physics host by the screen resolution parameter and the virtual machine ID In port corresponding to the virtualization pci bus of information write-in half;Virtual machine corresponding to the virtual machine ID reads the screen resolution parameter bag from the half virtualization pci bus Include:In port corresponding to parameter receiving unit from the half virtualization pci bus in virtual machine corresponding to the virtual machine ID Read the screen resolution parameter.
- 3. according to the method for claim 2, it is characterised in that grasped according to the screen resolution parameter adjustment Windows Include as systemic resolution:Screen resolution parameter is transferred to the resolution adjustment unit in the virtual machine by parameter receiving unit;Windows configuration adjustment interface units in virtual machine described in resolution adjustment cell call, adjustment Windows operations system System resolution ratio, it is the resolution ratio that the screen resolution parameter is specified by the Windows operating system resolution adjustment.
- 4. according to the method described in claims 1 to 3 any one, it is characterised in that the parameter of the screen resolution parameter Type is integer.
- A kind of 5. system that virtual desktop screen resolution automatic adaptation is realized in android terminal, it is characterised in that including:Android terminal, for reading the screen resolution parameter of the Android terminal;And by the screen resolution parameter Parameter relay unit where virtual machine id information with needing to access is sent to virtual machine on physics host, it is therein virtual One virtual machine of machine ID unique marks;Parameter relay unit, on physics host, for the screen resolution parameter that sends the Android terminal with The virtual machine id information is write in half virtualization pci bus of virtualization process on the physics host;Virtualization process, on physics host, for the carrier as the virtual machine, hardware is provided for the virtual machine Equipment;Half virtualization pci bus, in the virtualization process, for receiving and caching the screen resolution parameter and institute State virtual machine id information;Virtual machine, on physics host, by the virtual machine ID unique marks, for total from the half virtualization PCI Read the screen resolution parameter in line, and according to the screen resolution parameter adjustment Windows operating system resolution ratio, So that Windows operating system resolution ratio is consistent with the screen resolution of the Android terminal.
- 6. system according to claim 5, it is characterised in that the Android terminal includesSystem information elements, for storing the information parameter of Android terminal, including screen resolution parameter;Resolution parameter reading unit, for accessing system information elements, obtain the screen resolution parameter of Android terminal;Parameter transmitting element, screen resolution parameter and user for resolution parameter reading unit to be obtained need what is accessed Virtual machine id information is sent to the parameter relay unit.
- 7. system according to claim 6, it is characterised in that also including socket units, positioned at the physics host On;The parameter relay unit, especially by the socket units on the physics host by the screen resolution parameter In port corresponding with the virtualization pci bus of virtual machine id information write-in half;The virtual machine also includes parameter receiving unit, for reading institute from port corresponding to the half virtualization pci bus State screen resolution parameter.
- 8. system according to claim 7, it is characterised in that the parameter receiving unit, be additionally operable to screen resolution Parameter is transferred to the resolution adjustment unit in the virtual machine;The virtual machine also includes:Resolution adjustment unit, for calling the Windows in the virtual machine to configure adjustment interface unit, adjust Windows Operating system resolution ratio;Windows configuration adjustment interface units, for adjusting Windows operating system resolution ratio, system is operated by the Windows System resolution adjustment is the resolution ratio that the screen resolution parameter is specified.
- 9. according to the system described in claim 5 to 8 any one, it is characterised in that the parameter of the screen resolution parameter Type is integer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310460096.5A CN104516703B (en) | 2013-09-30 | 2013-09-30 | The method and system of virtual desktop screen resolution automatic adaptation is realized in android terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310460096.5A CN104516703B (en) | 2013-09-30 | 2013-09-30 | The method and system of virtual desktop screen resolution automatic adaptation is realized in android terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104516703A CN104516703A (en) | 2015-04-15 |
CN104516703B true CN104516703B (en) | 2018-02-16 |
Family
ID=52792080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310460096.5A Active CN104516703B (en) | 2013-09-30 | 2013-09-30 | The method and system of virtual desktop screen resolution automatic adaptation is realized in android terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104516703B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106782360A (en) * | 2016-12-05 | 2017-05-31 | 广州视源电子科技股份有限公司 | LCDs lights determination method for parameter and determining device |
US10318321B2 (en) * | 2017-04-10 | 2019-06-11 | Hongfujin Precision Electronics(Tianjin)Co., Ltd. | Virtual desktop system and method of control |
CN107256153A (en) * | 2017-06-01 | 2017-10-17 | 浙江大学 | A kind of virtual machine RFB agreements desktop resolution ratio adaptively realizes system and method |
CN109246307A (en) * | 2018-10-19 | 2019-01-18 | 西安万像电子科技有限公司 | Data transmission method and device |
CN111796885A (en) * | 2019-08-01 | 2020-10-20 | 厦门雅基软件有限公司 | Display method and device of cloud application program and electronic equipment |
CN111258696A (en) * | 2020-01-15 | 2020-06-09 | 上海擎感智能科技有限公司 | Fast application display method and device |
CN112099886A (en) * | 2020-08-18 | 2020-12-18 | 西安万像电子科技有限公司 | Desktop display control method and device of mobile zero terminal |
CN112422868A (en) * | 2020-10-14 | 2021-02-26 | 西安万像电子科技有限公司 | Data processing method, terminal device and server |
CN112799557B (en) * | 2021-01-28 | 2022-03-22 | 青岛海信移动通信技术股份有限公司 | Ink screen display control method, terminal and computer readable storage medium |
CN114281289A (en) * | 2021-12-24 | 2022-04-05 | 南京机敏软件科技有限公司 | Method and system for ensuring adaptation of cloud mobile phone display picture and real mobile phone screen size |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101410803A (en) * | 2006-01-24 | 2009-04-15 | 思杰系统有限公司 | Methods and systems for providing access to a computing environment |
CN102083244A (en) * | 2009-11-26 | 2011-06-01 | 上海拜翰网络科技有限公司 | Mobile value added service system based on embedded type virtual machine mode |
CN102707946A (en) * | 2012-04-17 | 2012-10-03 | Tcl集团股份有限公司 | Application program interface processing method and device |
CN102918490A (en) * | 2010-04-01 | 2013-02-06 | 思杰系统有限公司 | Interacting with remote applications displayed within a virtual desktop of a tablet computing device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9047102B2 (en) * | 2010-10-01 | 2015-06-02 | Z124 | Instant remote rendering |
US8473851B2 (en) * | 2008-02-27 | 2013-06-25 | Cisco Technology, Inc. | Multi-party virtual desktop |
US8676949B2 (en) * | 2009-11-25 | 2014-03-18 | Citrix Systems, Inc. | Methods for interfacing with a virtualized computing service over a network using a lightweight client |
TWI453603B (en) * | 2010-06-30 | 2014-09-21 | Ibm | Platform independent information handling system, communication method, and computer program product thereof |
EP2622490B1 (en) * | 2010-10-01 | 2018-12-05 | Z124 | Cross-environment communication framework |
US9116563B2 (en) * | 2011-10-28 | 2015-08-25 | Honda Motor Co., Ltd. | Connecting touch screen phones in a vehicle |
-
2013
- 2013-09-30 CN CN201310460096.5A patent/CN104516703B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101410803A (en) * | 2006-01-24 | 2009-04-15 | 思杰系统有限公司 | Methods and systems for providing access to a computing environment |
CN102083244A (en) * | 2009-11-26 | 2011-06-01 | 上海拜翰网络科技有限公司 | Mobile value added service system based on embedded type virtual machine mode |
CN102918490A (en) * | 2010-04-01 | 2013-02-06 | 思杰系统有限公司 | Interacting with remote applications displayed within a virtual desktop of a tablet computing device |
CN102707946A (en) * | 2012-04-17 | 2012-10-03 | Tcl集团股份有限公司 | Application program interface processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104516703A (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104516703B (en) | The method and system of virtual desktop screen resolution automatic adaptation is realized in android terminal | |
US10185589B2 (en) | Dynamic provisioning of virtual video memory based on virtual video controller configuration | |
US10181305B2 (en) | Method of controlling display and electronic device for providing the same | |
CN104598257B (en) | The method and apparatus of remote application operation | |
US8924592B2 (en) | Synchronization of server-side cookies with client-side cookies | |
CN103942087B (en) | Live migration of virtual machine method and relevant apparatus and group system | |
US10261811B2 (en) | Systems and methods for contextually allocating emulation resources | |
CN104395887A (en) | Clientless cloud computing | |
CN109376322A (en) | A kind of grayscale version page access method, apparatus, computer equipment and computer storage medium | |
AU2018357874B2 (en) | Integrating cloud applications into a cloud service broker platform using an automated, universal connector package | |
CN109791471A (en) | Virtualize the non-volatile memory device at peripheral unit | |
TW201629783A (en) | Emulated endpoint configuration | |
HUE035735T2 (en) | Data redirection for universal serial bus devices | |
CN109542427A (en) | A kind of system customization method, apparatus and electronic equipment and storage medium | |
CN105378659A (en) | Method and system for enabling access of client device to remote desktop | |
US9166881B1 (en) | Methods and apparatus for adaptive bandwidth-based communication management | |
US20140123142A1 (en) | System and method for providing data analysis service in cloud environment | |
KR102174221B1 (en) | Virtualizing graphics processing in a provider network | |
US9847946B2 (en) | System and method for granular network access and accounting | |
KR20120096741A (en) | Virtual device cloud network system and method for providing applications on heterogeneous device platform | |
CN105847332A (en) | Desktop virtualization method, client device and server-side device | |
US10791103B2 (en) | Adapting remote display protocols to remote applications | |
US10027351B1 (en) | Virtualized hardware support for mobile devices | |
US8234332B2 (en) | Systems and methods for updating computer memory and file locations within virtual computing environments | |
Bhardwaj et al. | Appflux: Taming app delivery via streaming |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |