[go: up one dir, main page]

CN104199720A - Using method and system for sensor on mobile device in virtual machine - Google Patents

Using method and system for sensor on mobile device in virtual machine Download PDF

Info

Publication number
CN104199720A
CN104199720A CN201410422460.3A CN201410422460A CN104199720A CN 104199720 A CN104199720 A CN 104199720A CN 201410422460 A CN201410422460 A CN 201410422460A CN 104199720 A CN104199720 A CN 104199720A
Authority
CN
China
Prior art keywords
mobile device
sensor
virtual machine
service data
desktop cloud
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
CN201410422460.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 Yun Chao Artery Science And Technology Ltd
Original Assignee
Beijing Yun Chao Artery Science And Technology 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 Yun Chao Artery Science And Technology Ltd filed Critical Beijing Yun Chao Artery Science And Technology Ltd
Priority to CN201410422460.3A priority Critical patent/CN104199720A/en
Publication of CN104199720A publication Critical patent/CN104199720A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a using method and system for a sensor on a mobile device in a virtual machine and relates to the field of virtual machine application. The using method comprises the steps that 1, the mobile device obtains operation data of the sensor on the mobile device; 2, the mobile device transmits the obtained operation data of the sensor to a desktop cloud protocol client-side; 3, the desktop cloud protocol client-side transmits the received operation data of the sensor to the virtual machine according to a desktop cloud protocol; 4, the virtual machine receives the operation data of the sensor; 5, whether the operation data of the sensor are consistent with preset data in the virtual machine is judged, if yes, operation corresponding to the operation data of the sensor in the virtual machine is triggered, and if not, a current webpage is displayed. The using system comprises the mobile device, the desktop cloud protocol client-side and the virtual machine. By means of the using method and system, on the basis of a sensor assembly in the mobile device, the virtual machine can be used more conveniently and quickly on the mobile device.

Description

Using method and the system of sensor on a kind of mobile device in virtual machine
Technical field
The present invention relates to virtual machine application, relate in particular to sensor on a kind of mobile device using method and the system in virtual machine.
Background technology
Developing into for a kind of trend of mobile device also increased a lot of sensor devices, such as range sensor, gravity sensor, light sensor etc. on mobile device.The simultaneously a lot of application on mobile device have all used these sensors, but now in technology not by the sensor application on mobile device in virtual machine, do not given play to the exclusive advantage of mobile device.Therefore for desktop virtual, do not use the sensor providing on mobile device, therefore on mobile device, use virtual machine, can not provide service more easily for user.
Summary of the invention
The object of the present invention is to provide sensor on a kind of mobile device using method and the system in virtual machine, thereby solve the foregoing problems existing in prior art.
To achieve these goals, the using method of the sensor on a kind of mobile device of the present invention in virtual machine, the technical scheme of employing is as follows:
S1, mobile device obtain the service data of mobile device upper sensor;
The service data of the sensor obtaining is delivered to desktop cloud protocol client by S2, mobile device;
S3, by desktop cloud agreement, the service data of the described sensor receiving is delivered to virtual machine by desktop cloud protocol client;
S4, virtual machine receive the service data of described sensor;
S5, judge that whether the service data of described sensor is consistent with preset data in virtual machine, if consistent, trigger operation response corresponding with the service data of described sensor in virtual machine, if inconsistent, show current page.
Preferably, in step S1, described mobile device is the mobile device that is provided with sensor.
Preferably, in step S1, the sensor on described mobile device comprises range sensor and/or gravity sensor and/or light sensor.
Preferably, in step S5, preset data in described virtual machine, specifically refers to: the service data that triggers operation response corresponding with the service data of described sensor in virtual machine.
Preferably, described desktop cloud agreement is the procotol using in desktop virtual, and the protocol contents of described procotol can be changed.
Preferably, described desktop cloud protocol client, has following effect: the data that mobile device is obtained pass to virtual machine and sink virtual machine and pass to the data of mobile device.
The use system of sensor on a kind of mobile device of the present invention in virtual machine, this use system comprises: mobile device, desktop cloud protocol client and virtual machine; Described desktop cloud protocol client moves on described mobile device, and described desktop cloud protocol client is connected by desktop cloud agreement with described virtual machine.
Preferably, described virtual machine comprises: receiving element, data processing unit and performance element;
Receiving element, is responsible for receiving the sensor service data on mobile device;
Data processing unit, is responsible for converting the sensor service data receiving to service data in virtual machine;
Performance element, judges obtaining service data from data processing unit, then carries out and triggers corresponding operation response or show current page.
Preferably, described desktop cloud protocol client, by the api interface on mobile device, obtains the information on mobile device.
The invention has the beneficial effects as follows:
The present invention has given prominence to the characteristic on mobile device, using on the basis of its distinctive sensor module, uses more easily virtual machine on mobile device, makes the simpler method of virtual machine operations.
Brief description of the drawings
Fig. 1 is the process flow diagram of sensor on 1 one kinds of mobile devices of the specific embodiment using method in virtual machine;
Fig. 2 is the structural representation of sensor on 2 one kinds of mobile devices of the specific embodiment use system in virtual machine.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the present invention is further elaborated.Should be appreciated that embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Core of the present invention is the operation by catching mobile device upper sensor, by the operation in the corresponding virtual machine of its corresponding one-tenth, then pass to virtual machine inside by desktop cloud agreement, go to receive instruction by the program of virtual machine inside, make the process of corresponding operation.
With reference to Fig. 1, specific embodiment 1, the using method of the sensor on a kind of mobile device in virtual machine, the method is to realize according to following step:
S1, mobile device obtain the service data of mobile device upper sensor;
The service data of the sensor obtaining is passed to desktop cloud protocol client by S2, mobile device;
S3, by desktop cloud agreement, the service data of described sensor is passed to virtual machine by desktop cloud protocol client;
S4, virtual machine receive the service data of described sensor;
S5, judge that whether the service data of described sensor is consistent with preset data in virtual machine, if consistent, trigger operation response corresponding with the service data of described sensor in virtual machine, if inconsistent, show current page.
Wherein, when sensor described in step S1 on mobile device is the gravity sensor on mobile device, concrete use in reading file: described in step S5, in virtual machine, preset data is that the gravity sensor on mobile device is corresponding with the service data of page turning to the right to the service data of right, by the gravity sensor on mobile device, the service data of direction is corresponding with the service data of page turning left left, and the service data that the gravity sensor on mobile device is rolled is corresponding with the service data that exits operation.
Described desktop cloud agreement is the procotol using in desktop virtual, has the effect that virtualized desktop is sent to user side, and the protocol contents of described procotol can be changed.The foundation of described desktop cloud agreement needs desktop cloud protocol server end and desktop cloud protocol client, and described desktop cloud protocol server end is virtual machine, and described desktop cloud protocol client belongs to the client of described mobile device.
Described desktop cloud protocol client, has following effects: the data that mobile device is obtained pass to virtual machine and sink virtual machine and pass to the data of mobile device.
The agreement of desktop cloud described in this specific embodiment comprises finger RDP (RDP agreement), independent simple protocol (SPICE agreement) or the PCoIP agreement calculated, do not departing under the prerequisite of this specific embodiment principle, described desktop cloud agreement is not limited to above several procotols.
With reference to Fig. 2, specific embodiment 2, the use system of the sensor on a kind of mobile device in virtual machine, this use system comprises: mobile device, desktop cloud protocol client and virtual machine; Described desktop cloud protocol client operates on described mobile device, and described desktop cloud protocol client is connected by desktop cloud agreement with described virtual machine.
Described virtual machine comprises: receiving element, data processing unit and performance element; Receiving element, is responsible for receiving described mobile device upper sensor service data.Data processing unit, is responsible for converting the sensor service data receiving to service data in virtual machine; Performance element, judges obtaining service data from data processing unit, then carries out and triggers corresponding operation response or show current page.
Described desktop cloud protocol client is by the application programming interface on mobile device, i.e. api interface, obtains the information on mobile device.
Described desktop cloud agreement is the procotol using in desktop virtual, has the effect that virtualized desktop is sent to user side, and the protocol contents of described procotol can be changed.The foundation of described desktop cloud agreement needs desktop cloud protocol server end and desktop cloud protocol client, and described desktop cloud protocol server end is virtual machine, and described desktop cloud protocol client belongs to the client of described mobile device.
Described desktop cloud protocol client, has following effect: the data that mobile device is obtained pass to virtual machine and sink virtual machine and pass to the data of mobile device.
The agreement of desktop cloud described in this specific embodiment comprises finger RDP (RDP agreement), independent simple protocol (SPICE agreement) or the PCoIP agreement calculated, do not departing under the prerequisite of this specific embodiment principle, described desktop cloud agreement is not limited to above several procotols.
By adopting technique scheme disclosed by the invention, obtain following useful effect:
The present invention is the sensor of using in virtual machine on mobile device, has realized and on mobile device, has used more easily virtual machine, has given play to the advantage of mobile device.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (9)

1. the using method of the sensor on mobile device in virtual machine, is characterized in that, this using method comprises:
S1, mobile device obtain the service data of mobile device upper sensor;
The service data of the sensor obtaining is delivered to desktop cloud protocol client by S2, mobile device;
S3, by desktop cloud agreement, the service data of the described sensor receiving is delivered to virtual machine by desktop cloud protocol client;
S4, virtual machine receive the service data of described sensor;
S5, judge that whether the service data of described sensor is consistent with preset data in virtual machine, if consistent, trigger operation response corresponding with the service data of described sensor in virtual machine, if inconsistent, show current page.
2. method according to claim 1, is characterized in that, in step S1, described mobile device is the mobile device that is provided with sensor.
3. method according to claim 1, is characterized in that, in step S1, the sensor on described mobile device comprises range sensor and/or gravity sensor and/or light sensor.
4. method according to claim 1, is characterized in that, in step S5, preset data in described virtual machine, specifically refers to: the service data that triggers operation response corresponding with the service data of described sensor in virtual machine.
5. method according to claim 1, is characterized in that, described desktop cloud agreement is the procotol using in desktop virtual, and the protocol contents of described procotol can be changed.
6. method according to claim 1, is characterized in that, described desktop cloud protocol client, has following effect: the data that mobile device is obtained pass to virtual machine and sink virtual machine and pass to the data of mobile device.
7. the use system of the sensor on mobile device in virtual machine, is characterized in that, this use system comprises: mobile device, desktop cloud protocol client and virtual machine; Described desktop cloud protocol client moves on described mobile device, and described desktop cloud protocol client is connected by desktop cloud agreement with described virtual machine.
8. use system according to claim 7, is characterized in that, described virtual machine comprises: receiving element, data processing unit and performance element;
Receiving element, is responsible for receiving the sensor service data on mobile device;
Data processing unit, is responsible for converting the sensor service data receiving to service data in virtual machine;
Performance element, judges obtaining service data from data processing unit, then carries out and triggers corresponding operation response or show current page.
9. use system according to claim 7, is characterized in that, described desktop cloud protocol client, by the api interface on mobile device, obtains the information on mobile device.
CN201410422460.3A 2014-08-25 2014-08-25 Using method and system for sensor on mobile device in virtual machine Pending CN104199720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410422460.3A CN104199720A (en) 2014-08-25 2014-08-25 Using method and system for sensor on mobile device in virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410422460.3A CN104199720A (en) 2014-08-25 2014-08-25 Using method and system for sensor on mobile device in virtual machine

Publications (1)

Publication Number Publication Date
CN104199720A true CN104199720A (en) 2014-12-10

Family

ID=52085017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410422460.3A Pending CN104199720A (en) 2014-08-25 2014-08-25 Using method and system for sensor on mobile device in virtual machine

Country Status (1)

Country Link
CN (1) CN104199720A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577754A (en) * 2015-12-14 2016-05-11 深圳市深信服电子科技有限公司 Mobile virtualization-based positioning method and system in MDM
CN112287363A (en) * 2020-10-21 2021-01-29 麒麟软件有限公司 Sensor redirection method and system based on Android system remote desktop

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090036111A1 (en) * 2007-07-30 2009-02-05 Mobile Iron, Inc. Virtual Instance Architecture for Mobile Device Management Systems
CN101714154A (en) * 2009-08-14 2010-05-26 中电天讯信息技术(北京)有限公司 Method and system for carrying out interactive operation on server by utilizing comprehensive identification equipment
CN102081381A (en) * 2009-11-26 2011-06-01 上海拜翰网络科技有限公司 Digital household appliance control method and system based on virtual machine
CN102202289A (en) * 2011-04-13 2011-09-28 张�林 Method and system for remote calling software and hardware resources through mobile terminal
CN102413150A (en) * 2010-09-20 2012-04-11 联想(北京)有限公司 Server and virtual desktop control method and virtual desktop control system
CN102480525A (en) * 2010-11-30 2012-05-30 卡西欧计算机株式会社 Server unit in thin client system
CN103001989A (en) * 2011-09-16 2013-03-27 中兴通讯股份有限公司 Parameter receiving method and system
CN103428174A (en) * 2012-05-17 2013-12-04 云联(北京)信息技术有限公司 Interactive motion sensing game implementation method based on cloud computation
CN103533158A (en) * 2012-12-11 2014-01-22 Tcl集团股份有限公司 A mobile platform virtualization system and method
CN103607452A (en) * 2013-11-19 2014-02-26 北京云巢动脉科技有限公司 Method, device and system for acquiring virtual machine terminal data

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090036111A1 (en) * 2007-07-30 2009-02-05 Mobile Iron, Inc. Virtual Instance Architecture for Mobile Device Management Systems
CN101714154A (en) * 2009-08-14 2010-05-26 中电天讯信息技术(北京)有限公司 Method and system for carrying out interactive operation on server by utilizing comprehensive identification equipment
CN102081381A (en) * 2009-11-26 2011-06-01 上海拜翰网络科技有限公司 Digital household appliance control method and system based on virtual machine
CN102413150A (en) * 2010-09-20 2012-04-11 联想(北京)有限公司 Server and virtual desktop control method and virtual desktop control system
CN102480525A (en) * 2010-11-30 2012-05-30 卡西欧计算机株式会社 Server unit in thin client system
CN102202289A (en) * 2011-04-13 2011-09-28 张�林 Method and system for remote calling software and hardware resources through mobile terminal
CN103001989A (en) * 2011-09-16 2013-03-27 中兴通讯股份有限公司 Parameter receiving method and system
CN103428174A (en) * 2012-05-17 2013-12-04 云联(北京)信息技术有限公司 Interactive motion sensing game implementation method based on cloud computation
CN103533158A (en) * 2012-12-11 2014-01-22 Tcl集团股份有限公司 A mobile platform virtualization system and method
CN103607452A (en) * 2013-11-19 2014-02-26 北京云巢动脉科技有限公司 Method, device and system for acquiring virtual machine terminal data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577754A (en) * 2015-12-14 2016-05-11 深圳市深信服电子科技有限公司 Mobile virtualization-based positioning method and system in MDM
CN105577754B (en) * 2015-12-14 2019-01-08 深信服科技股份有限公司 Localization method and system in MDM based on mobile virtual
CN112287363A (en) * 2020-10-21 2021-01-29 麒麟软件有限公司 Sensor redirection method and system based on Android system remote desktop

Similar Documents

Publication Publication Date Title
EP2958274A3 (en) Server, and home device remote control system including the same
TWI671677B (en) Interactive processing method and device
CN104937525B (en) Use the content operation of slip gesture identification technology
RU2017120852A (en) GENERATION OF BROWSER OFFERS ON THE BASIS OF THINGS INTERNET DEVICE DEVICE
US9389706B2 (en) Method and system for mouse control over multiple screens
JP2017503243A5 (en)
CN108604234A (en) System and method for screenshot capture link
US20140071171A1 (en) Pinch-and-zoom, zoom-and-pinch gesture control
EP2985705A3 (en) Webpage access method and apparatus, and router
MX354969B (en) Method and device for accessing operator network.
WO2014200853A3 (en) Determining message data to present
CN106162362B (en) Video playing method and player
WO2014170760A3 (en) Systems and methods of eye tracking data analysis
JP2015049801A5 (en)
US10042419B2 (en) Method and apparatus for providing additional information of digital signage content on a mobile terminal using a server
CN106462911B (en) Method, device and system for providing cloud streaming service
CN104199720A (en) Using method and system for sensor on mobile device in virtual machine
CN110603813A (en) System and method for realizing video call and security monitoring through smart television
JP2013103405A5 (en)
CN104980807A (en) Method and terminal for multimedia interaction
KR102179768B1 (en) Electronic device and method for providing information based on 3 dimensional characters
EP2840500A3 (en) Information processing terminal and control method
WO2015081716A1 (en) Method, system, and related device for providing application service
CN105653386B (en) A kind of process collapse processing method and terminal device
WO2015109834A1 (en) Information sharing method and mobile terminal

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: 20141210