CN104142852A - Method for achieving graph acceleration of android simulator on computer - Google Patents
Method for achieving graph acceleration of android simulator on computer Download PDFInfo
- Publication number
- CN104142852A CN104142852A CN201410379490.0A CN201410379490A CN104142852A CN 104142852 A CN104142852 A CN 104142852A CN 201410379490 A CN201410379490 A CN 201410379490A CN 104142852 A CN104142852 A CN 104142852A
- Authority
- CN
- China
- Prior art keywords
- data
- android simulator
- graph
- desktop system
- computer desktop
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention provides a method for achieving graph acceleration of an android simulator on a computer. The method comprises the steps that 1, when the android simulator operates, the android simulator transmits graph rendering data to a bridge; 2, the bridge packs the graph data and sends the graph data to a receiving program of a computer desktop system; 3, after the receiving program receives the data, the data are unpacked, and the unpacked data are sent to a graph drive of the computer desktop system to render a graph; 4, after rendering is finished through the computer desktop system, a data result is returned to the receiving program of the computer desktop system; 5, the data result is packed by the receiving program and sent to the bridge; 6, after receiving the data result, the bridge unpacks the data and sends the data to the android simulator; 7, after the android simulator receives the data result, rendering is finished. The graph rendering effect is good, and rendering efficiency is high.
Description
Technical field
The present invention relates to communication apparatus technical field, relate in particular to a kind of Android simulator figure accelerated method of realizing on computers.
Background technology
Current Android simulator (Android Emulator) graphics system is in virtual machine, to carry out render graphics, because dummy machine system is to process in computer cpu, cannot utilize so the local graphic hardware equipment of computer desktop system, thereby it is not ideal enough to have caused Android simulator to carry out graph rendering effect.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of Android simulator figure accelerated method of realizing on computers, has solved the figure acceleration problem of Android simulator, has improved graph rendering effect.
The present invention is achieved in that a kind of Android simulator figure accelerated method of realizing on computers, comprises the steps:
When step 1, the operation of Android simulator, Android simulator passes to a bridge by graph rendering data;
Step 2, described bridge are packed graph data, and send to the reception program of computer desktop system;
Step 3, reception program are received after data, are unpacked; Data after unpacking are sent to the graphics driver of computer desktop system and carry out render graphics;
Step 4, computer desktop system return to computer desktop system reception program by data result after playing up;
Step 5, reception program are packed data result, then send to described bridge;
Step 6, bridge receive after data result, and data are unpacked, and then send to Android simulator;
Step 7, Android simulator are received after data result, complete and play up.
Further, described data result comprises: function name, function parameter and function return value.
Further, in described step 3, graphics driver is carried out render graphics and is specially: the api function for figure is called and api function parameter is carried out serialization, then send to computer desktop system, the program that unpacks of computer desktop system unpacks, and the graphics system that graph of a correspondence API and data are put into computer is played up to operation.
Tool of the present invention has the following advantages: the present invention is forwarded to the graph data in Android simulator by bridge the reception program of computer desktop system, then rendering result is returned to Android simulator by bridge, to realize figure accelerator.Improved graph rendering effect, and rendering efficiency is high.
Accompanying drawing explanation
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
Refer to shown in Fig. 1, a kind of Android simulator figure accelerated method of realizing on computers of the present invention, comprises the steps:
When step 1, the operation of Android simulator, Android simulator passes to a bridge by graph rendering data;
Step 2, described bridge are packed graph data, and send to the reception program of computer desktop system;
Step 3, reception program are received after data, are unpacked; Data after unpacking are sent to the graphics driver of computer desktop system and carry out render graphics;
Step 4, computer desktop system return to computer desktop system reception program by data result after playing up; Described data result comprises: function name, function parameter and function return value.
Step 5, reception program are packed data result, then send to described bridge;
Step 6, bridge receive after data result, and data are unpacked, and then send to Android simulator;
Step 7, Android simulator are received after data result, complete and play up.
Wherein, in described step 3, graphics driver is carried out render graphics and is specially: the api function for figure is called and api function parameter is carried out serialization, then send to computer desktop system, the program that unpacks of computer desktop system unpacks, and the graphics system that graph of a correspondence API and data are put into computer is played up to operation.
In a word, the present invention is forwarded to the graph data in Android simulator by bridge the reception program of computer desktop system, then rendering result is returned to Android simulator by bridge, to realize figure accelerator.Improved graph rendering effect, and rendering efficiency is high.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (3)
1. realize on computers an Android simulator figure accelerated method, it is characterized in that, comprise the steps:
When step 1, the operation of Android simulator, Android simulator passes to a bridge by graph rendering data;
Step 2, described bridge are packed graph data, and send to the reception program of computer desktop system;
Step 3, reception program are received after data, are unpacked; Data after unpacking are sent to the graphics driver of computer desktop system and carry out render graphics;
Step 4, computer desktop system return to computer desktop system reception program by data result after playing up;
Step 5, reception program are packed data result, then send to described bridge;
Step 6, bridge receive after data result, and data are unpacked, and then send to Android simulator;
Step 7, Android simulator are received after data result, complete and play up.
2. the Android simulator figure accelerated method of realizing on computers according to claim 1, is characterized in that: described data result comprises: function name, function parameter and function return value.
3. the Android simulator figure accelerated method of realizing on computers according to claim 1, it is characterized in that: in described step 3, graphics driver is carried out render graphics and is specially: the api function for figure is called and api function parameter is carried out serialization, then send to computer desktop system, the program that unpacks of computer desktop system unpacks, and the graphics system that graph of a correspondence API and data are put into computer is played up to operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410379490.0A CN104142852A (en) | 2014-08-04 | 2014-08-04 | Method for achieving graph acceleration of android simulator on computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410379490.0A CN104142852A (en) | 2014-08-04 | 2014-08-04 | Method for achieving graph acceleration of android simulator on computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104142852A true CN104142852A (en) | 2014-11-12 |
Family
ID=51852033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410379490.0A Pending CN104142852A (en) | 2014-08-04 | 2014-08-04 | Method for achieving graph acceleration of android simulator on computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104142852A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104740872A (en) * | 2015-04-13 | 2015-07-01 | 北京奇虎科技有限公司 | Method and device for operating and controlling game program in simulated Android environment |
CN106844066A (en) * | 2017-01-22 | 2017-06-13 | 腾讯科技(深圳)有限公司 | One kind application operation method, apparatus and system |
CN110968395A (en) * | 2019-10-23 | 2020-04-07 | 华为技术有限公司 | Method for processing rendering instruction in simulator and mobile terminal |
WO2021204141A1 (en) * | 2020-04-10 | 2021-10-14 | 广州华多网络科技有限公司 | Video live-streaming control, bridging, stream control and broadcast control methods, and client |
WO2023273845A1 (en) * | 2021-06-30 | 2023-01-05 | 华为技术有限公司 | Multi-application screen recording method and apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521118A (en) * | 2011-11-11 | 2012-06-27 | 福建星网视易信息系统有限公司 | Automatic testing method of Android program |
CN103019764A (en) * | 2012-11-15 | 2013-04-03 | 深圳市宜搜科技发展有限公司 | Method and system for detecting installability of Andriod resource packages |
US20130159428A1 (en) * | 2011-12-19 | 2013-06-20 | Vmware, Inc. | Methods and apparatus for an e-mail-based management interface for virtualized environments |
CN103777999A (en) * | 2014-01-09 | 2014-05-07 | 深圳市星策网络科技有限公司 | Android software simulation method and device |
-
2014
- 2014-08-04 CN CN201410379490.0A patent/CN104142852A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521118A (en) * | 2011-11-11 | 2012-06-27 | 福建星网视易信息系统有限公司 | Automatic testing method of Android program |
US20130159428A1 (en) * | 2011-12-19 | 2013-06-20 | Vmware, Inc. | Methods and apparatus for an e-mail-based management interface for virtualized environments |
CN103019764A (en) * | 2012-11-15 | 2013-04-03 | 深圳市宜搜科技发展有限公司 | Method and system for detecting installability of Andriod resource packages |
CN103777999A (en) * | 2014-01-09 | 2014-05-07 | 深圳市星策网络科技有限公司 | Android software simulation method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104740872A (en) * | 2015-04-13 | 2015-07-01 | 北京奇虎科技有限公司 | Method and device for operating and controlling game program in simulated Android environment |
CN104740872B (en) * | 2015-04-13 | 2018-06-19 | 北京奇虎科技有限公司 | Simulate game program operation control method and device in Android environment |
CN106844066A (en) * | 2017-01-22 | 2017-06-13 | 腾讯科技(深圳)有限公司 | One kind application operation method, apparatus and system |
CN110968395A (en) * | 2019-10-23 | 2020-04-07 | 华为技术有限公司 | Method for processing rendering instruction in simulator and mobile terminal |
WO2021078161A1 (en) * | 2019-10-23 | 2021-04-29 | 华为技术有限公司 | Method for processing rendering instruction in simulator and mobile terminal |
CN110968395B (en) * | 2019-10-23 | 2024-02-09 | 华为技术有限公司 | Method for processing rendering instruction in simulator and mobile terminal |
WO2021204141A1 (en) * | 2020-04-10 | 2021-10-14 | 广州华多网络科技有限公司 | Video live-streaming control, bridging, stream control and broadcast control methods, and client |
WO2023273845A1 (en) * | 2021-06-30 | 2023-01-05 | 华为技术有限公司 | Multi-application screen recording method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104142852A (en) | Method for achieving graph acceleration of android simulator on computer | |
JP2011512590A5 (en) | ||
JP7101780B2 (en) | APP remote control method and related devices | |
CN103810021A (en) | Virtual desktop displaying method based on host machine under VDI and system thereof | |
WO2012154620A3 (en) | Massive simultaneous remote digital presence world | |
MY188092A (en) | Method and apparatus for simulating sound in virtual scenario, and terminal | |
JP2012059272A5 (en) | ||
WO2012033909A3 (en) | Method and system of simulating a data center | |
WO2010075458A3 (en) | Use of scientific models in environmental simulation | |
WO2007002943A3 (en) | Offline optimization pipeline for 3d content in embedded devices | |
CN103455356B (en) | Concurrence loading and rendering method of 3D (three-dimensional) models on multi-core mobile device | |
WO2010129216A3 (en) | System and method to embed behavior in a cad-based physical simulation | |
WO2014004650A1 (en) | Conversion of haptic events into screen events | |
CN109756766B (en) | Virtual gift display method, storage medium, electronic device and system of live broadcast platform | |
EP2187310A3 (en) | Method and system for simulating a plurality of devices | |
WO2009047502A3 (en) | Improved method of creating a computer model of the physical world | |
CN102360511A (en) | Application method of physical engine in 3D space object display | |
CN104615347A (en) | Method and device for achieving virtual and real picture synchronization | |
CN104866282B (en) | A kind of method and electronic equipment of control electronics | |
ATE406635T1 (en) | IRREGULAR BRAIDS AND EMBEDDED GEOMETRIC DESCRIPTION IN A COMPUTER GRAPHICS SYSTEM | |
CN106411712A (en) | Electronic gift display method and device | |
CN106776277A (en) | A kind of method of striding course test, device and electronic equipment | |
CN110465093B (en) | Method and device for analyzing inclusion redundant resources based on Unity | |
CN104717052B (en) | A kind of virtual checking system and method based on AFDX network switch chips | |
CN104486423B (en) | A method of generating wisdom tutoring system log-on message |
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 |
Application publication date: 20141112 |