CN105550045A - Method, device and system for controlling virtual input by mobile terminal - Google Patents

Method, device and system for controlling virtual input by mobile terminal Download PDF

Info

Publication number
CN105550045A
CN105550045A CN201510921187.3A CN201510921187A CN105550045A CN 105550045 A CN105550045 A CN 105550045A CN 201510921187 A CN201510921187 A CN 201510921187A CN 105550045 A CN105550045 A CN 105550045A
Authority
CN
China
Prior art keywords
virtual
operating system
mobile terminal
host operating
virtual opetrating
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
Application number
CN201510921187.3A
Other languages
Chinese (zh)
Inventor
李林
谢京辉
王有存
吕鹏
郭晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510921187.3A priority Critical patent/CN105550045A/en
Publication of CN105550045A publication Critical patent/CN105550045A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, device and system for controlling virtual input by a mobile terminal. The method comprises following steps: building a connection channel between the mobile terminal and a host device, wherein the mobile terminal receives a control instruction of a user, sending the control instruction to the host device through the connection channel; providing the control instruction to a virtual operation system by the host operation system of the host device, displaying the control instruction on the virtual operation system by the virtual operation system. Through the method provided by the invention, the virtual environment of the PC is controlled on a mobile phone without depending on a keyboard and a mouse necessarily; because the mobile terminal such as the mobile phone can provide a visual and convenient touch screen operation mode and the mobile phone is not limited on the PC, the method, the device and the system of the invention are very convenient in use.

Description

Utilize method, Apparatus and system that mobile terminal controls virtual input
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method, the Apparatus and system that utilize mobile terminal to control virtual input.
Background technology
Universal along with mobile intelligent terminal in recent years, expedited the emergence of the develop rapidly of mobile Internet, application of a great variety and colourful now allows mobile intelligent terminal can meet the various demands of people.But due to technical bottleneck in some aspects, the flying power of such as battery, the size of screen and user inevitably limit to when using mobile device (precision etc. as operation), all can affect the experience of user.If the running environment of mobile terminal therefore can be simulated on PC, and give full play to the advantage of PC, the accurate operation etc. of the electric power such as continued, the gorgeous picture effect of giant-screen, keyboard and mouse, can meet the experience that user cannot obtain on mobile intelligent terminal to a great extent.
Such as, for many game players, the interface that hand is swum is transplanted on the PC of larger display, better gaming experience can be obtained.But, be limited to the input restriction of PC, only manipulate by the keyboard of PC or mouse opponent trip, very inconvenient, therefore, it is desirable to provide a kind of convenient control method, thus the running environment that PC simulates is controlled.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of method, the Apparatus and system that utilize mobile terminal to control virtual input that overcome the problems referred to above or solve the problem at least in part.According to one aspect of the present invention, a kind of method utilizing mobile terminal to control virtual input is provided, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, and described method comprises:
Set up the interface channel between described mobile terminal and described host equipment;
Described mobile terminal receives the control command of user, by described interface channel, described control command is sent to described host equipment;
Described control command is supplied to described virtual opetrating system by the host operating system of described host equipment, and control command shows by described virtual opetrating system in described virtual opetrating system.
Preferably, also comprise, set up the communication connection between described host operating system and described virtual opetrating system.
Preferably, described communication connection of setting up between described host operating system and described virtual opetrating system, comprising:
Described virtual opetrating system is started by the analogue enlargement program in described host operating system;
Described virtual opetrating system loads predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, and, by the virtual input service processes of described basic process initiation;
Described host operating system, according to the IP address of described virtual opetrating system, sets up the connection between described analogue enlargement program and described virtual input service processes.
Preferably,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
Preferably, described virtual machine is VirtualBox virtual machine;
Describedly start described virtual opetrating system by the analogue enlargement program in described host operating system, comprise: by the analogue enlargement programmed control VirtualBox virtual machine in described host operating system, by virtual opetrating system described in VirtualBox virtual machine activation.
Preferably, described virtual machine is VirtualBox virtual machine;
Described virtual opetrating system loads predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, comprising:
Described virtual opetrating system loads predefine script by init process, runs the client extensions assembly of VirtualBox virtual machine, by the client properties of the IP address of described virtual opetrating system write VirtualBox virtual machine;
Described host operating system reads the client properties of described VirtualBox virtual machine, obtains the IP address of described virtual opetrating system.
Preferably,
Described by the virtual input service processes of described basic process initiation, comprising: by init process initiation vinput process;
Described connection of setting up between described analogue enlargement program and described virtual input service processes, comprising: at the designated port of described virtual opetrating system, and described vinput process sets up the connection with described analogue enlargement program.
Preferably, the operating system of type identical with described virtual opetrating system is run on the mobile terminal; Realize controlling the virtual opetrating system parasitizing host operating system by starting an application program on the mobile terminal, described application program provides operating grip interface.
Preferably, described host operating system comprises Windows operating system, Mac operating system or (SuSE) Linux OS; Described virtual opetrating system comprises Android operation system.
A kind of device utilizing mobile terminal to control virtual input, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, described device is positioned at mobile terminal side, and described device comprises:
Unit set up by interface channel, for setting up the interface channel between described mobile terminal and described host equipment;
Control command processing unit, for the control command of user that described mobile terminal is received, send to described host equipment by described interface channel, make the host operating system of described host equipment described control command is supplied to described virtual opetrating system and show.
A kind of device utilizing mobile terminal to control virtual input, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, described device is positioned at host equipment side, and described device comprises:
Unit set up by interface channel, for setting up the interface channel between described host equipment and described mobile terminal;
Control command receiving element, for by described interface channel, receives the user control command that described mobile terminal sends;
Control command processing unit, for utilizing host operating system that described control command is supplied to described virtual opetrating system, makes to show described control command in described virtual opetrating system.
Preferably, also comprise, host's virtual communication unit, for setting up the communication connection between described host operating system and described virtual opetrating system.
Preferably, described host's virtual communication unit specifically comprises:
Start virtual controlling subelement, start described virtual opetrating system for the analogue enlargement program controlled in described host operating system;
Virtual ip address obtains subelement, for obtaining the IP address of described virtual opetrating system;
Virtual link sets up subelement, for the IP address according to described virtual opetrating system, sets up the connection between virtual input service processes in described analogue enlargement program and virtual opetrating system.
Preferably,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
Preferably, described virtual machine is VirtualBox virtual machine; Described startup virtual controlling subelement specifically for, by the analogue enlargement programmed control VirtualBox virtual machine in described host operating system, by virtual opetrating system described in VirtualBox virtual machine activation.
Preferably, described virtual machine is VirtualBox virtual machine; Described virtual ip address obtain subelement specifically for, read the client properties of described VirtualBox virtual machine, obtain the IP address of described virtual opetrating system.
Preferably, described virtual link set up subelement specifically for, at the designated port of described virtual opetrating system, the vinput process of described analogue enlargement program and described virtual opetrating system connects.
Utilize the system that mobile terminal controls virtual input, for using described mobile terminal as operating grip, the virtual opetrating system realized parasitizing host operating system controls, and described system comprises:
Mobile terminal, for setting up the interface channel between described host equipment, and receives the control command of user, by described interface channel, described control command is sent to described host equipment;
Host equipment, for described control command being supplied to described virtual opetrating system by host operating system, control command shows by described virtual opetrating system in described virtual opetrating system.
Preferably, described host operating system sets up the communication connection between described virtual opetrating system.
Preferably,
Described host operating system, for starting described virtual opetrating system by analogue enlargement program, and, according to the IP address of the described virtual opetrating system obtained, set up the connection between the input service processes in described analogue enlargement program and described virtual opetrating system, by described analogue enlargement program, described control command is sent to described input service processes;
Described virtual opetrating system, for loading predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, and, by the virtual input service processes of described basic process initiation, and, receive by described virtual input service processes the control command that described analogue enlargement program sends, described virtual opetrating system shows described control command.
Preferably,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
Preferably, described virtual machine is VirtualBox virtual machine;
Described host operating system, by analogue enlargement programmed control VirtualBox virtual machine, by virtual opetrating system described in VirtualBox virtual machine activation.
Preferably, described virtual machine is VirtualBox virtual machine;
Described virtual opetrating system, loads predefine script by init process, runs the client extensions assembly of VirtualBox virtual machine, by the client properties of the IP address of described virtual opetrating system write VirtualBox virtual machine;
Described host operating system, reads the client properties of described VirtualBox virtual machine, obtains the IP address of described virtual opetrating system.
Preferably,
Described virtual opetrating system, by init process initiation vinput process; And set up the connection with described analogue enlargement program by described vinput process at designated port.
Preferably, the operating system of type identical with described virtual opetrating system is run on the mobile terminal; Realize controlling the virtual opetrating system parasitizing host operating system by starting an application program on the mobile terminal, described application program provides operating grip interface
Preferably, described host operating system comprises Windows operating system, Mac operating system or (SuSE) Linux OS; Described virtual opetrating system comprises Android operation system.
Visible, by method provided by the invention, can manipulate the virtual environment of PC on such as mobile phone, and only need not rely on keyboard and the mouse of PC, because the mobile terminals such as mobile phone can provide the touch screen operation mode of intuitive and convenient, and mobile phone is not confined on PC, very easy to use.Such as, for game user, after adopting the inventive method, the operation and control interface that can provide at mobile phone manipulates, enjoy the large interface scene of game that PC provides, impression promotes simultaneously.
In a preferred embodiment of the invention, the input control program running on host operating system can get the IP address of virtual opetrating system, and host operating system sets up communication connection by this IP address and virtual opetrating system.Such as, the window that the simulator that can be implemented in host operating system represents is seen the image of android system actual motion, and on simulator window, carrying out input control by mobile terminal, the Android that user input data is sent to PC virtual by simulator environmentally shows.Mode of the present invention will no longer rely on representing and input control mode of VirtualBox, so would not affect by its drawback.The present invention's proposition is input control mode is be entirely Android customization, and can reach very smooth experience, therefore, the present invention effectively can improve fluency and the accuracy of input control.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the process flow diagram utilizing mobile terminal to the method that virtual input controls according to an embodiment of the invention;
Fig. 2 shows and a kind ofly in the method utilizing mobile terminal to control virtual input according to an embodiment of the invention sets up the process flow diagram be connected between host operating system with virtual opetrating system;
Fig. 3 shows a kind of according to an embodiment of the invention host operating system and virtual opetrating system schematic layout pattern;
Fig. 4 shows another kind of according to an embodiment of the invention host operating system and virtual opetrating system schematic layout pattern;
Fig. 5 shows another host operating system and virtual opetrating system schematic layout pattern according to an embodiment of the invention;
Fig. 6 shows and another kind ofly in the method utilizing mobile terminal to control virtual input according to an embodiment of the invention sets up the process flow diagram be connected between host operating system with virtual opetrating system;
Fig. 7 shows the system architecture schematic diagram utilizing mobile terminal to control virtual input according to an embodiment of the invention;
Fig. 8 shows the apparatus structure schematic diagram utilizing mobile terminal to control virtual input according to an embodiment of the invention;
Fig. 9 shows the apparatus structure schematic diagram utilizing mobile terminal to control virtual input in accordance with another embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
In order to realize the running environment simulating mobile terminal on PC, Android (android) simulator arises at the historic moment.Android simulator is the simulator of an energy in windows platform simulation Android mobile phone system, and Android simulator can simulate Android mobile phone running environment on computers, and Android simulator allows user also can experience Android game and application on computers.Relatively more conventional Android simulator has: AndroidSDK, BlueStacks, can run in PC system and apple iOS system, famous vmware virtual machine and VirtualBox virtual machine also can simulate Android system, and these simulator softwares all may operate at the Windows operating system platform of Microsoft at present.
It will be appreciated by those skilled in the art that operating system divides two classes, a class is primary, and a class is parasitic.Host operating system, belongs to primary type operating system, such as windows, linux etc.In the present invention, host operating system, also referred to as HostOS, Host system or Host end, such as, runs the operating system of VirtualBox virtual machine.Virtual opetrating system, belongs to the operating system of Parasita, colonizes in the operating system of primary class.In the present invention, virtual opetrating system, also referred to as GustOS, Gust system or Gust end, such as, runs on the operating system in VirtualBox virtual machine environment, especially, the present invention preferably refers to the android system run in VirtualBox virtual machine environment.Wherein, VirtualBox is a software virtual machine of increasing income, user can install on VirtualBox and the systems such as Solaris, Windows, DOS, Linux, OS/2Warp, BSD that perform as client operating system.In the present invention, host operating system includes but not limited to Windows operating system, Mac operating system or (SuSE) Linux OS; Virtual opetrating system includes but not limited to Android operation system.
The present invention is in order to solve in prior art the problem utilizing the mouse-keyboard of PC to virtual opetrating system manipulation inconvenience, a kind of method utilizing mobile terminal to control virtual input is proposed, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, host operating system operates in on mobile terminal independently host equipment (such as PC). and see Fig. 1, the method comprises:
S101: set up the interface channel between mobile terminal and host equipment.
Mobile terminal refers to portable set, such as other equipment of mobile phone, ipad and band display screen.For mobile phone, by setting up the connection between mobile phone and PC, both guarantees can transmission information.About the mode of the passage that connects, the present invention is not restricted, can be that wireless network connects, also can be wired connection, communicate as long as foundation can be communicated with both ensureing, such as, can connect by setting up network under same network environment, or by special application program foundation connection therebetween, or connect by starting bluetooth, wired connection can certainly be set up by transmission line, etc.
S102: mobile terminal receives the control command of user, by interface channel, control command is sent to host equipment.
Still for mobile phone, mobile phone receives the control command that user inputs on mobile phone, then this control command is sent to PC by interface channel.
Concrete, on mobile phone, can arrange an application program (APP) specially, be responsible for display and control order inputting interface by this application program, user is input of control commands on the surface.Such as, for mobile phone player, this application program shows the interface (such as comprising the buttons such as advance, retrogressing) of similar game operation handle, and user utilizes the touch screen of mobile phone to carry out the input of control command on the surface.
S103: control command is supplied to virtual opetrating system by the host operating system of host equipment, is shown control command by virtual opetrating system.
Such as, after the host operating system of PC receives the control command that mobile phone sends, host operating system is supplied to virtual opetrating system, under by virtual opetrating system control command being presented at the virtual operation environment of PC.Preferably, mobile phone runs the operating system of the same type with virtual opetrating system, like this, on PC during display and control order, because the two system is identical, does not therefore need extra unnecessary process, directly control command is carried out showing.Such as, virtual opetrating system is android system, it mobile phone is also android system, after mobile phone receives the control command of user, control command is sent to the host operating system of PC (being such as Windows system), control command is supplied to virtual opetrating system and android system by host system, by the order of virtual opetrating system display and control.
Visible, by method provided by the invention, can manipulate the virtual environment of PC on such as mobile phone, and only need not rely on keyboard and the mouse of PC, because the mobile terminals such as mobile phone can provide the touch screen operation mode of intuitive and convenient, and mobile phone is not confined on PC, very easy to use.Such as, for game user, after adopting the inventive method, the operation and control interface that can provide at mobile phone manipulates, enjoy the large interface scene of game that PC provides, impression promotes simultaneously.
In the step S103 of the above-mentioned method provided, the prerequisite performing " control command is supplied to virtual opetrating system by the host operating system of host equipment " establishes a communications link between host operating system and virtual opetrating system.In the prior art, generally rely on VirtualBox completely to realize being communicated with between host operating system with virtual opetrating system, but, realize virtual Android system by VirtualBox and at least there is following problem: first, because VirtualBox virtual machine is plug-in not customizable, therefore this for one wish oneself customization outward appearance product be in fact exactly unacceptable.Secondly, if there is no extra input control optimization component, VirtualBox the mouse movable scope of user can be locked on current virtual machine window, and in fact not smooth for the input control of the such Guest system of android yet.Namely, the scope of activities of mouse is locked in current window by VirtualBox can affect Consumer's Experience to a great extent, and can not ensure the smooth and easy of input control for different Guest systems.The scope of activities of mouse is locked in caused by the product strategy that current window is VirtualBox by VirtualBox.In addition, because VirtualBox is a general purpose virtual machine software of increasing income, the operating system that can run thereon is also not limited only to Android, although VirtualBox can provide input control for the Guest system run wherein, but because Guest system kind is a lot, so each very good effect can not be reached.Himself is just smooth not to the input control of Android.Therefore, the invention provides a kind of host operating system and be connected new paragon with between virtual opetrating system.
The a kind of of the present invention's proposition sets up the mode be connected between host operating system with virtual opetrating system, reduce the dependence to VirtualBox virtual machine as far as possible, while effectively improving Consumer's Experience, ensure good compatibility, and there is extraordinary extensibility technically.
Therefore, before the step S103 of method shown in Fig. 1, also comprise the step of the communication connection of setting up between host operating system and virtual opetrating system.
Set up the flow process of the communication connection between host operating system and virtual opetrating system see Fig. 2.
S201: start virtual opetrating system by the analogue enlargement program in host operating system.
Host operating system and virtual opetrating system need to set up network in advance and are connected, can be configured network connection by host system, such as, the virtual network being used for specially communicating by configuration (increase) connects, and host system and virtual system are communicated with in this virtual network is connected.Network between host operating system with virtual opetrating system is connected, is described as follows: 1) this virtual network connects can be provided by VirtualBox; 2) carrying out before startup virtual system virtual network configuration, is the routine operation before each startup, to ensure host and virtual system network-in-dialing; 3) strategy is, if this virtual link does not exist, then by virtual link that the virtual machine creating one of such as VirtualBox is new; If virtual link has created or existed, Connecting quantity (IP address, gateway etc.) is configured, to ensure that host is communicated with virtual system.
Set up after network is connected in host operating system and virtual opetrating system, start virtual opetrating system by the analogue enlargement program in host operating system.
In the present invention, analogue enlargement program, also referred to as player, in specific implementation, can realize this program at Android simulator.Foregoing, virtual opetrating system generally operates in the virtual machine as VirtualBox, therefore, in specific implementation, the player programmed control VirtualBox virtual machine in host operating system can be passed through, by VirtualBox virtual machine activation virtual opetrating system.
S202: virtual opetrating system loads predefine script by basic process, thus the IP address of virtual opetrating system is supplied to host operating system, and, by the virtual input service processes of basic process initiation.
Such as, virtual machine is VirtualBox virtual machine, and virtual opetrating system refers to android system.Specific implementation process is as follows, first, Android system loads predefine script (shell script) by its basic process (init process), run the client extensions assembly of VirtualBox virtual machine, by the client properties of the IP address of Android system write VirtualBox virtual machine; Then, host operating system reads the client properties of VirtualBox virtual machine, obtains the IP address of Android system.
It will be appreciated by those skilled in the art that in Android system, kernel starts voluntarily (is written into internal memory, bring into operation, and the device driver that initialization is all and data structure etc.) after, just by the mode of a startup user class program init, complete boot process.So init is first process (its process numbering is always 1) all the time.The present invention utilizes init process to load the shell script of a predefine function, realizes the control of the client extensions assembly to VirtualBox virtual machine.
Wherein, Shell script (ShellScript) is similar to the batch processing under Windows/Dos, namely put in a file in advance with all kinds of order, facilitate a program file of disposable execution, owing to employing the order under Linux/Unix, therefore shell script is more powerful than the batch processing under Windows, than higher by the program efficiency of other programs editor.
The client extensions assembly (VirtualBoxGuestAdditions) of VirtualBox virtual machine, strengthen bag also referred to as client, Main Function is to increase: the virtual display of Shared Folders, seamless window, 3D.Client extensions assembly is the set of a pile software package, operates in VirtualBox virtual machine, its object is to, and promotes the performance of virtual machine, increases the interactivity between Host and communication.Visible, in order to better realize the interaction between Host and Guest, VirtualBox provides Guest extension element.Therefore, in the present invention, before communication connection is set up, Host is passed in the IP address of Guest by client properties (guestproperty) mechanism provided by Guest extension element.
IP address, except by loading shell script, is supplied to outside Host by init process, and the virtual input service processes that also startup one is crucial in Android system, also referred to as Vinput process in the present invention.Vinput be in the present invention in order to reach control GuestAndroid system input, and and the critical processes be positioned in android system.By the mode that init controls, make while Android system starts, ensure that vinput process is also activated.
S203: host operating system, according to the IP address of virtual opetrating system, sets up the connection between analogue enlargement program and virtual input service processes.
Concrete, at the designated port of virtual opetrating system, can be set up by vinput process and establish a communications link with Player program.
By the scheme shown in above-mentioned Fig. 2, the simulator (i.e. Player) running on Host system has got the IP address of android system, Host sets up communication connection by the vinput process in this IP address and Android, the window that actual user represents at the simulator of Host system is seen the image of android system actual motion, and inputted on simulator window by keyboard/mouse, after the user input data obtained through and conversion by simulator, by communicating to connect the vinput process be sent in android system, vinput process then transfers these input data to working control to android system.
Foregoing, in prior art, the scope of activities of mouse is locked in current window by VirtualBox can affect Consumer's Experience to a great extent, and can not ensure the smooth and easy of input control for different Guest systems, the scope of activities of mouse is locked in caused by the product strategy that current window is VirtualBox by VirtualBox.And mode of the present invention no longer will rely on representing and input control mode of VirtualBox, so would not affect by its drawback.In addition, because VirtualBox is a general purpose virtual machine software of increasing income, the operating system that can run thereon is also not limited only to Android, although VirtualBox can provide input control for the Guest system run wherein, but because Guest system kind is a lot, so each very good effect can not be reached, himself is just smooth not to the input control of Android, and the present invention proposes to be input control mode to be entirely Android customization, very smooth experience can be reached.
Those skilled in the art understand, although technology above describes all premised on Host and Guest is on same physical machine, but because the Player that runs on Host and the actual only link of Android that runs on Guest are communication connections, as long as so this communication connection can be set up just can use technology of the present invention.Therefore, even if Player and Android runs on different physical machines, also virtual input control can be carried out.
Therefore, when specific implementation, above method includes but not limited to that virtual opetrating system and host operating system run on the situation of same operability or Same Physical PC, is equally applicable to the situation that virtual opetrating system runs on other operating system or other physics PC; In like manner, above method includes but not limited to the situation that virtual opetrating system is run with virtual machine form be equally applicable to the situation that virtual opetrating system runs on actual physical device.
For virtual opetrating system operation situation on a virtual machine, refer to Fig. 3 and Fig. 4.Wherein, Fig. 3 shows virtual machine and operates in situation on the physical equipment at host operating system place, namely, virtual machine operates on the equipment of host operating system place, virtual opetrating system operates in again on this virtual machine, such as, Guest operates on VirtualBox, VirtualBox operates on Host.Fig. 4 shows virtual machine and operates in situation on another physical equipment different from host operating system place physical equipment, such as, host operating system operates on the first equipment (as: PC1), virtual machine operates on the second equipment (e.g., PC2), virtual opetrating system operates in again on this virtual machine.
Virtual machine do not relied on for virtual opetrating system and operates in and the situation in host operating system place physical equipment phase independently another physical equipment, referring to Fig. 5.Fig. 5 shows virtual opetrating system and runs directly in situation on another physical equipment different from host operating system place physical equipment, such as, host operating system operates on the first equipment (as: PC), virtual opetrating system operates on the second equipment (e.g., mobile phone).Herein, require that the second equipment is can the equipment of direct operation system, such as smart mobile phone.
Visible, host operating system provided by the invention possesses with the scheme be connected between virtual opetrating system the ability implemented under distributed environment.
After executing the flow process shown in Fig. 2, the communication connection between host operating system and virtual opetrating system can be set up, that is, establish the connection in player program and virtual opetrating system between vinput process in host operating system.After in Fig. 1 step S103, host operating system receives the control command of mobile terminal transmission, can send to vinput process by player program, then virtual opetrating system shows control command.
Below from the angle that palyer program, VirtualBox, Android tripartite are mutual, the flow process communicated to connect between host operating system and virtual opetrating system of setting up that another embodiment of the present invention provides is described.Be appreciated that, what this another embodiment was taked is the layout shown in Fig. 3, namely, VirtualBox operates in Host end, Android (Guest end) operates in VirtualBox again, and wherein, palyer program realizes at Host end, coordinate with the vinput in Android the program realizing major function of the present invention, can realize in Android simulator.
Therefore, realization of the present invention comprises the analogue enlargement program Player operating in host operating system (Host) and the reception program vinput running virtual Android system (Guest), and operates in the Android system of virtual machine itself.
(1) logic of Player program
Player starts android system by calling VirtualBox; The IP address obtaining android system is attempted afterwards by the guestproperty mechanism of VirtualBox; After the IP address getting android system, establish a communications link with the vinput run in android system; Just the user that Player receives can be inputted the android system of transmission afterwards.
In above-mentioned prior art, run android system (not by the palyer program process control VirtualBox in Android simulator) by VirtualBox, normally can run Android, but owing to being limited to above-mentioned drawback, can not commercialization.Major premise of the present invention is the overall plan of Android simulator, although still need VirtualBox to run android system, but the work of whole VirtualBox is all backstage, sightless, and is presented to user and is: Android simulator (i.e. above-mentioned Player).Visible, the VirtualBox at running background is directly controlled by Android simulator, and have employed some new technologies and instead of the work originally needing VirtualBox to carry out, comprise taken over image play up work, and the present invention describe taken over input control work.
(2) android system logic
Android system starts, first be that linux kernel starts, start Android basis process init afterwards, this process meeting loading configuration file init.rc which describes init needs complete operation, comprises file system operation, control of authority and service processes etc.In this process, the present invention makes init process load a shell script especially, complete a key operations, namely, the IP address of current system is written to guestproperty by the Guest extension element (VirtualBoxGuestAdditions) by VirtualBox, with the IP address making outside Player can get current Android.Subsequently, the virtual input service processes of init process initiation is made, that is, vinput process.This process will to be set up with Player program at specific port waits and communicate.Once connect with Player program, the control command that the user constantly receiving the transmission of Player program inputs by vinput process on mobile phone, control command carries out processing and showing by virtual A ndroid system.
See Fig. 6, show the process flow diagram set up in accordance with another embodiment of the present invention and communicate to connect between host operating system and virtual opetrating system.
S601:player programmed control VirtualBox virtual machine activation android;
S602:android starts, comprise: linux kernel starts->android basis process init startup-> loading init.rc-> and runs virtual input service processes vinput, and wait and outside connect;
S603:Player program obtains the ip address of Android system, comprising: android runs init.vbox.sh and writes IP address to guestproperty, player from the guestproperty of VirtualBox reading IP address;
S604:Player program is set up tcp with the vinput process of android inside and is connected, and completes initialization;
The control command of user's input that S605:Player program holds mobile terminal receive to send from Host;
S606:Player program is sent to the vinput process of Android system by the communication port set up before;
S607:Android system shows the control command that vinput process receives.
See Fig. 7, show the system architecture schematic diagram utilizing mobile terminal to control virtual input according to an embodiment of the invention.This is used for using described mobile terminal as operating grip, and the virtual opetrating system realized parasitizing host operating system controls.This system comprises:
Mobile terminal 701, for setting up the interface channel between host equipment 702, and receives the control command of user, by interface channel, control command is sent to host equipment 702;
Host equipment 702, for control command being supplied to virtual opetrating system 7022 by host operating system 7021, control command shows by virtual opetrating system 7022 in virtual opetrating system 7022.
Preferably, host operating system 7021 sets up the communication connection between virtual opetrating system 7022.
Preferably,
Host operating system 7021, for starting virtual opetrating system 7022 by analogue enlargement program, and, according to the IP address of the virtual opetrating system 7022 obtained, set up the connection between the input service processes in analogue enlargement program and virtual opetrating system 7022, by analogue enlargement program, control command is sent to input service processes;
Virtual opetrating system 7022, for loading predefine script by basic process, thus the IP address of virtual opetrating system 7022 is supplied to host operating system 7021, and, by the virtual input service processes of basic process initiation, and, the control command of being sent by virtual input service processes reception analogue enlargement program, display and control order in virtual opetrating system 7022.
Preferably,
Virtual opetrating system 7022 operates in in host operating system 7021 place physical equipment phase independently another physical equipment; Or,
Virtual opetrating system 7022 is run on a virtual machine, and wherein, virtual machine operates on the physical equipment at host operating system 7021 place, or virtual machine operates on another physical equipment different from host operating system 7021 place physical equipment.
Preferably,
Virtual machine is VirtualBox virtual machine;
Host operating system 7021, by analogue enlargement programmed control VirtualBox virtual machine, by VirtualBox virtual machine activation virtual opetrating system 7022.
Preferably,
Virtual machine is VirtualBox virtual machine;
Virtual opetrating system 7022, loads predefine script by init process, runs the client extensions assembly of VirtualBox virtual machine, by the client properties of the IP address of virtual opetrating system 7022 write VirtualBox virtual machine;
Host operating system 7021, reads the client properties of VirtualBox virtual machine, obtains the IP address of virtual opetrating system 7022.
Preferably,
Virtual opetrating system 7022, by init process initiation vinput process; And set up the connection with analogue enlargement program by vinput process at designated port.
Preferably, mobile terminal 701 runs the operating system of type identical with virtual opetrating system 7022; The virtual opetrating system realized parasitizing host operating system by starting an application program 7011 on mobile terminal 701 controls, and application program 7011 provides operating grip interface
Preferably, host operating system 7011 comprises Windows operating system, Mac operating system or (SuSE) Linux OS; Virtual opetrating system 7022 comprises Android operation system.
Corresponding with such scheme, the present invention also provides a kind of device utilizing mobile terminal to control virtual input, for using mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, host operating system operates in on mobile terminal independently host equipment, and device is positioned at mobile terminal side, see Fig. 8, this device comprises:
Unit 801 set up by interface channel, for setting up the interface channel between mobile terminal and host equipment;
Control command processing unit 802, for the control command of user received by mobile terminal, sends to host equipment by interface channel, makes the host operating system of host equipment control command is supplied to virtual opetrating system and show.
Corresponding with such scheme, the present invention also provides a kind of device utilizing mobile terminal to control virtual input, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, and described device is positioned at host equipment side, see Fig. 9, described device comprises:
Unit 901 set up by interface channel, for setting up the interface channel between described host equipment and described mobile terminal;
Control command receiving element 902, for by described interface channel, receives the user control command that described mobile terminal sends;
Control command processing unit 903, for utilizing host operating system that described control command is supplied to described virtual opetrating system, makes to show described control command in described virtual opetrating system.
Preferably, this device also comprises, host's virtual communication unit 904, for setting up the communication connection between described host operating system and described virtual opetrating system.
Described host's virtual communication unit 904 specifically comprises:
Start virtual controlling subelement 9041, start described virtual opetrating system for the analogue enlargement program controlled in described host operating system;
Virtual ip address obtains subelement 9042, for obtaining the IP address of described virtual opetrating system;
Virtual link sets up subelement 9043, for the IP address according to described virtual opetrating system, sets up the connection between virtual input service processes in described analogue enlargement program and virtual opetrating system.
Preferably,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
Preferably, described virtual machine is VirtualBox virtual machine; Described startup virtual controlling subelement 9041 specifically for, by the analogue enlargement programmed control VirtualBox virtual machine in described host operating system, by virtual opetrating system described in VirtualBox virtual machine activation.
Preferably, described virtual machine is VirtualBox virtual machine; Described virtual ip address obtain subelement 9042 specifically for, read the client properties of described VirtualBox virtual machine, obtain the IP address of described virtual opetrating system.
Preferably, described virtual link set up subelement 9043 specifically for, at the designated port of described virtual opetrating system, the vinput process of described analogue enlargement program and described virtual opetrating system connects.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the device utilizing mobile terminal to control virtual input of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Visible, the invention provides following scheme:
A1, a kind of method utilizing mobile terminal to control virtual input, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, and described method comprises:
Set up the interface channel between described mobile terminal and described host equipment;
Described mobile terminal receives the control command of user, by described interface channel, described control command is sent to described host equipment;
Described control command is supplied to described virtual opetrating system by the host operating system of described host equipment, and control command shows by described virtual opetrating system in described virtual opetrating system.
A2, the method for claim 1, also comprise, and sets up the communication connection between described host operating system and described virtual opetrating system.
A3, method as described in A2, described communication connection of setting up between described host operating system and described virtual opetrating system, comprising:
Described virtual opetrating system is started by the analogue enlargement program in described host operating system;
Described virtual opetrating system loads predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, and, by the virtual input service processes of described basic process initiation;
Described host operating system, according to the IP address of described virtual opetrating system, sets up the connection between described analogue enlargement program and described virtual input service processes.
A4, method as described in A3,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
A5, method as described in A4, described virtual machine is VirtualBox virtual machine;
Describedly start described virtual opetrating system by the analogue enlargement program in described host operating system, comprise: by the analogue enlargement programmed control VirtualBox virtual machine in described host operating system, by virtual opetrating system described in VirtualBox virtual machine activation.
A6, method as described in A4, described virtual machine is VirtualBox virtual machine;
Described virtual opetrating system loads predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, comprising:
Described virtual opetrating system loads predefine script by init process, runs the client extensions assembly of VirtualBox virtual machine, by the client properties of the IP address of described virtual opetrating system write VirtualBox virtual machine;
Described host operating system reads the client properties of described VirtualBox virtual machine, obtains the IP address of described virtual opetrating system.
A7, method as described in A3,
Described by the virtual input service processes of described basic process initiation, comprising: by init process initiation vinput process;
Described connection of setting up between described analogue enlargement program and described virtual input service processes, comprising: at the designated port of described virtual opetrating system, and described vinput process sets up the connection with described analogue enlargement program.
A8, the method for claim 1, run the operating system of type identical with described virtual opetrating system on the mobile terminal; Realize controlling the virtual opetrating system parasitizing host operating system by starting an application program on the mobile terminal, described application program provides operating grip interface.
A9, method as described in any one of A1-A8, described host operating system comprises Windows operating system, Mac operating system or (SuSE) Linux OS; Described virtual opetrating system comprises Android operation system.
B10, a kind of device utilizing mobile terminal to control virtual input, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, described device is positioned at mobile terminal side, and described device comprises:
Unit set up by interface channel, for setting up the interface channel between described mobile terminal and described host equipment;
Control command processing unit, for the control command of user that described mobile terminal is received, send to described host equipment by described interface channel, make the host operating system of described host equipment described control command is supplied to described virtual opetrating system and show.
C11, a kind of device utilizing mobile terminal to control virtual input, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, described device is positioned at host equipment side, and described device comprises:
Unit set up by interface channel, for setting up the interface channel between described host equipment and described mobile terminal;
Control command receiving element, for by described interface channel, receives the user control command that described mobile terminal sends;
Control command processing unit, for utilizing host operating system that described control command is supplied to described virtual opetrating system, makes to show described control command in described virtual opetrating system.
C12, device as described in C11, also comprise, host's virtual communication unit, for setting up the communication connection between described host operating system and described virtual opetrating system.
C13, device as described in C12, described host's virtual communication unit specifically comprises:
Start virtual controlling subelement, start described virtual opetrating system for the analogue enlargement program controlled in described host operating system;
Virtual ip address obtains subelement, for obtaining the IP address of described virtual opetrating system;
Virtual link sets up subelement, for the IP address according to described virtual opetrating system, sets up the connection between virtual input service processes in described analogue enlargement program and virtual opetrating system.
C14, device as described in C13,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
C15, device as described in C14, described virtual machine is VirtualBox virtual machine; Described startup virtual controlling subelement specifically for, by the analogue enlargement programmed control VirtualBox virtual machine in described host operating system, by virtual opetrating system described in VirtualBox virtual machine activation.
C16, device as described in C14, described virtual machine is VirtualBox virtual machine; Described virtual ip address obtain subelement specifically for, read the client properties of described VirtualBox virtual machine, obtain the IP address of described virtual opetrating system.
C17, device as described in C13, described virtual link set up subelement specifically for, at the designated port of described virtual opetrating system, the vinput process of described analogue enlargement program and described virtual opetrating system connects.
D18, a kind of system utilizing mobile terminal to control virtual input, for using described mobile terminal as operating grip, the virtual opetrating system realized parasitizing host operating system controls, and described system comprises:
Mobile terminal, for setting up the interface channel between described host equipment, and receives the control command of user, by described interface channel, described control command is sent to described host equipment;
Host equipment, for described control command being supplied to described virtual opetrating system by host operating system, control command shows by described virtual opetrating system in described virtual opetrating system.
D19, the system utilizing mobile terminal to control virtual input as described in D18, described host operating system sets up the communication connection between described virtual opetrating system.
D20, the system utilizing mobile terminal to control virtual input as described in D19,
Described host operating system, for starting described virtual opetrating system by analogue enlargement program, and, according to the IP address of the described virtual opetrating system obtained, set up the connection between the input service processes in described analogue enlargement program and described virtual opetrating system, by described analogue enlargement program, described control command is sent to described input service processes;
Described virtual opetrating system, for loading predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, and, by the virtual input service processes of described basic process initiation, and, receive by described virtual input service processes the control command that described analogue enlargement program sends, described virtual opetrating system shows described control command.
D21, the system utilizing mobile terminal to control virtual input as described in D20,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
D22, the system utilizing mobile terminal to control virtual input as described in D21, described virtual machine is VirtualBox virtual machine;
Described host operating system, by analogue enlargement programmed control VirtualBox virtual machine, by virtual opetrating system described in VirtualBox virtual machine activation.
D23, the system utilizing mobile terminal to control virtual input as described in D21, described virtual machine is VirtualBox virtual machine;
Described virtual opetrating system, loads predefine script by init process, runs the client extensions assembly of VirtualBox virtual machine, by the client properties of the IP address of described virtual opetrating system write VirtualBox virtual machine;
Described host operating system, reads the client properties of described VirtualBox virtual machine, obtains the IP address of described virtual opetrating system.
D24, the system utilizing mobile terminal to control virtual input as described in D20,
Described virtual opetrating system, by init process initiation vinput process; And set up the connection with described analogue enlargement program by described vinput process at designated port.
D25, the system utilizing mobile terminal to control virtual input as described in D18, run the operating system of type identical with described virtual opetrating system on the mobile terminal; Realize controlling the virtual opetrating system parasitizing host operating system by starting an application program on the mobile terminal, described application program provides operating grip interface
D26, the system utilizing mobile terminal to control virtual input as described in any one of D18-D26, described host operating system comprises Windows operating system, Mac operating system or (SuSE) Linux OS; Described virtual opetrating system comprises Android operation system.

Claims (10)

1. the method utilizing mobile terminal to control virtual input, it is characterized in that, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, and described method comprises:
Set up the interface channel between described mobile terminal and described host equipment;
Described mobile terminal receives the control command of user, by described interface channel, described control command is sent to described host equipment;
Described control command is supplied to described virtual opetrating system by the host operating system of described host equipment, and control command shows by described virtual opetrating system in described virtual opetrating system.
2. the method for claim 1, is characterized in that, also comprises, and sets up the communication connection between described host operating system and described virtual opetrating system.
3. method as claimed in claim 2, it is characterized in that, described communication connection of setting up between described host operating system and described virtual opetrating system, comprising:
Described virtual opetrating system is started by the analogue enlargement program in described host operating system;
Described virtual opetrating system loads predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, and, by the virtual input service processes of described basic process initiation;
Described host operating system, according to the IP address of described virtual opetrating system, sets up the connection between described analogue enlargement program and described virtual input service processes.
4. method as claimed in claim 3, is characterized in that,
Described virtual opetrating system operates in in described host operating system place physical equipment phase independently another physical equipment; Or,
Described virtual opetrating system is run on a virtual machine, wherein, described virtual machine operates on the physical equipment at described host operating system place, or described virtual machine operates on another physical equipment different from described host operating system place physical equipment.
5. method as claimed in claim 4, it is characterized in that, described virtual machine is VirtualBox virtual machine;
Describedly start described virtual opetrating system by the analogue enlargement program in described host operating system, comprise: by the analogue enlargement programmed control VirtualBox virtual machine in described host operating system, by virtual opetrating system described in VirtualBox virtual machine activation.
6. method as claimed in claim 4, it is characterized in that, described virtual machine is VirtualBox virtual machine;
Described virtual opetrating system loads predefine script by basic process, thus the IP address of described virtual opetrating system is supplied to described host operating system, comprising:
Described virtual opetrating system loads predefine script by init process, runs the client extensions assembly of VirtualBox virtual machine, by the client properties of the IP address of described virtual opetrating system write VirtualBox virtual machine;
Described host operating system reads the client properties of described VirtualBox virtual machine, obtains the IP address of described virtual opetrating system.
7. method as claimed in claim 3, is characterized in that,
Described by the virtual input service processes of described basic process initiation, comprising: by init process initiation vinput process;
Described connection of setting up between described analogue enlargement program and described virtual input service processes, comprising: at the designated port of described virtual opetrating system, and described vinput process sets up the connection with described analogue enlargement program.
8. the device utilizing mobile terminal to control virtual input, it is characterized in that, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, and described device is positioned at mobile terminal side, and described device comprises:
Unit set up by interface channel, for setting up the interface channel between described mobile terminal and described host equipment;
Control command processing unit, for the control command of user that described mobile terminal is received, send to described host equipment by described interface channel, make the host operating system of described host equipment described control command is supplied to described virtual opetrating system and show.
9. the device utilizing mobile terminal to control virtual input, it is characterized in that, for using described mobile terminal as operating grip, realize controlling the virtual opetrating system parasitizing host operating system, wherein, described host operating system operates in on described mobile terminal independently host equipment, and described device is positioned at host equipment side, and described device comprises:
Unit set up by interface channel, for setting up the interface channel between described host equipment and described mobile terminal;
Control command receiving element, for by described interface channel, receives the user control command that described mobile terminal sends;
Control command processing unit, for utilizing host operating system that described control command is supplied to described virtual opetrating system, makes to show described control command in described virtual opetrating system.
10. the system utilizing mobile terminal to control virtual input, is characterized in that, for using described mobile terminal as operating grip, the virtual opetrating system realized parasitizing host operating system controls, and described system comprises:
Mobile terminal, for setting up the interface channel between described host equipment, and receives the control command of user, by described interface channel, described control command is sent to described host equipment;
Host equipment, for described control command being supplied to described virtual opetrating system by host operating system, control command shows by described virtual opetrating system in described virtual opetrating system.
CN201510921187.3A 2015-12-11 2015-12-11 Method, device and system for controlling virtual input by mobile terminal Pending CN105550045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510921187.3A CN105550045A (en) 2015-12-11 2015-12-11 Method, device and system for controlling virtual input by mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510921187.3A CN105550045A (en) 2015-12-11 2015-12-11 Method, device and system for controlling virtual input by mobile terminal

Publications (1)

Publication Number Publication Date
CN105550045A true CN105550045A (en) 2016-05-04

Family

ID=55829242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510921187.3A Pending CN105550045A (en) 2015-12-11 2015-12-11 Method, device and system for controlling virtual input by mobile terminal

Country Status (1)

Country Link
CN (1) CN105550045A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536218A (en) * 2017-03-01 2018-09-14 徐恺 Pilot Operational Equipment and its application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1215575A2 (en) * 2000-12-15 2002-06-19 DoCoMo Communications Laboratories USA, Inc. Method and system for effecting migration of application among heterogeneous device
CN202120198U (en) * 2011-05-31 2012-01-18 郭少豪 Mobile touch system
CN104679524A (en) * 2015-03-17 2015-06-03 郑波 Method for controlling computer through mobile phone
CN104740872A (en) * 2015-04-13 2015-07-01 北京奇虎科技有限公司 Method and device for operating and controlling game program in simulated Android environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1215575A2 (en) * 2000-12-15 2002-06-19 DoCoMo Communications Laboratories USA, Inc. Method and system for effecting migration of application among heterogeneous device
CN202120198U (en) * 2011-05-31 2012-01-18 郭少豪 Mobile touch system
CN104679524A (en) * 2015-03-17 2015-06-03 郑波 Method for controlling computer through mobile phone
CN104740872A (en) * 2015-04-13 2015-07-01 北京奇虎科技有限公司 Method and device for operating and controlling game program in simulated Android environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536218A (en) * 2017-03-01 2018-09-14 徐恺 Pilot Operational Equipment and its application

Similar Documents

Publication Publication Date Title
CN104740872B (en) Simulate game program operation control method and device in Android environment
CN105477854B (en) Applied to the handle control method of intelligent terminal, apparatus and system
CN106844066B (en) Application operation method, device and system
US20180104574A1 (en) Universal game controller
US8924989B2 (en) System and method for integrated hardware platform for flash applications with distributed objects
US20020130834A1 (en) System and method for universal control of devices
JP2019536554A (en) Object display method, terminal device, and computer storage medium
CN105573816A (en) Virtual input method, device and system
US20230405452A1 (en) Method for controlling game display, non-transitory computer-readable storage medium and electronic device
TW202217541A (en) Location adjusting method, device, equipment, storage medium, and program product for virtual buttons
Baldauf et al. Your browser is the controller: advanced web-based smartphone remote controls for public screens
CN105573817A (en) Virtual input control method, device and system
CN105521603A (en) Virtual input control method, apparatus and system for running games
CN105550017A (en) Method, apparatus and system for performing virtual input control for application
CN112827163B (en) Game paddle simulation method and mobile device
CN105550046A (en) Virtual control method, device and system
CN105550045A (en) Method, device and system for controlling virtual input by mobile terminal
TWI629641B (en) Universally adaptive control system for entertainment application programs on mobile device
CN110737454A (en) Software project updating method and device, computer equipment and storage medium
CN112346763A (en) Method and device for updating application APK
CN109460280A (en) Run method, the terminal of program
KR101284791B1 (en) Method and apparatus for implementing computer operating system using mobile terminal
CN112206525A (en) Information processing method and device for hand-twisting virtual article in UE4 engine
Hayun Java ME on Symbian OS: inside the smartphone model
CN109800024A (en) Realize the method and device of the publication of physical hardware control program, physical hardware control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160504