CN105141484A - Android equipment remote debugging method based on cloud server - Google Patents
Android equipment remote debugging method based on cloud server Download PDFInfo
- Publication number
- CN105141484A CN105141484A CN201510656908.2A CN201510656908A CN105141484A CN 105141484 A CN105141484 A CN 105141484A CN 201510656908 A CN201510656908 A CN 201510656908A CN 105141484 A CN105141484 A CN 105141484A
- Authority
- CN
- China
- Prior art keywords
- cloud server
- android device
- android
- developer
- intranet
- 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.)
- Granted
Links
Abstract
The invention relates to an android equipment remote debugging method based on a cloud server. According to the method, the cloud server is deployed in a public network, an embedded Linux system cluster is established in the intranet of the cloud server, and representative android equipment with high model coverage rate is connected through usb. In development and debugging, a debugging request transmitted by ADB CLIENT is forwarded to the embedded Linux host of the intranet of the cloud server, and debugging is performed on the android equipment connected through the usb. Developers can freely select representative android equipment with high model coverage rate to perform standardized real machine debugging at extremely low cost so that development speed is accelerated, the application release cycle is shortened and development cost is reduced.
Description
Technical field
The invention belongs to computer network facility technical field, it is the method for a kind of Android device deploy at public network Cloud Server debugging application, especially when the Integrated Development Environment (IDE) of Application and Development adopts Android debugging acid (ADB) to carry out debugging, for it provides the method for public network Android device remote debugging.。
Background technology
The developing instrument of current Android application all uses ADB to debug substantially, and in the exploitation of Android device application, the mode of employing is usually all on simulator or the equipment that connected by USB of the computer that uses of developer is debugged.Adopt the application coverage rate developed in this way less, run on different types after issue and easily produce some problems, for addressing these problems, needing to prepare these types and carrying out debugging amendment again.Apply perfect comparatively slow, incur loss through delay the opportunity applied and dominate the market.
In addition, this traditional debud mode randomness is comparatively large, can not set up the standard of application debugging and test, is difficult to the type coverage rate ensureing application, and enterprise can be made to increase many extra development costs.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of Android device remote debugging system based on Cloud Server is provided.
The present invention solves its technical problem and takes following technical scheme to realize:
Based on an Android device remote debugging method for Cloud Server, comprise step as follows:
(1) on public network, Cloud Server is set up, in the communication agent service of this Cloud Server deploy, be responsible for forwarding debug communications data between the main frame and the equipment route service of Cloud Server Intranet of developer, simultaneously, service is found in this Cloud Server deploy Android device, be responsible for the log-on message receiving Intranet Android device, and be distributed to developer's main frame;
(2) set up an embedded host cluster in the Intranet of Cloud Server, in mainframe cluster deploy Linux system, installation and operation ADBHOST program, connects Android device by usb, and to Cloud Server registration Android device;
(3) set up an equipment routing server in the Intranet of Cloud Server, in this equipment routing server deploy equipment route service, be responsible for the communication of Cloud Server being routed to the corresponding Linux main frame connecting Android device;
(4) in main frame deploy communication agent service of developer, this communication agent services listen the machine communication data port, be responsible for forwarding debug communications data between the ADBCLIENT and Cloud Server of the machine, detect the Android device mark that User Exploitation Android applies the IDE selection used simultaneously; Meanwhile, at main frame deploy developing instrument plug-in unit of developer, this plug-in unit is used for the Android device obtaining registration from Cloud Server, and IDE presents, and selects for developer, and issues the Android device mark of developer's selection;
(5) developer uses developing instrument developing plug Android to apply, the Android device that plug-in unit provides is selected the type that will debug, after clicking debug command, tune-up data, by forwarding the Android device arriving Cloud Server place Intranet layer by layer, realizes the long-range Android device debugging of public network.
And the machine communication data port in described step (4) is specially 5037 ports.
And the developing instrument plug-in unit in described step (4) and step (5) is specially Eclipse or is AndroidStudio.
Advantage of the present invention and good effect are:
The present invention gives a kind of long-range Android device application debug system based on Cloud Server, the randomness in the solution Android application development process that this system can be good, the problem that type coverage rate is low, debugging cost is high.Facilitate enterprise realize Android application and development standardization, shorten application release cycle, save development cost.
Accompanying drawing explanation
Fig. 1 is the connection diagram of the hardware device that the inventive method uses.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described, it is emphasized that embodiment of the present invention is illustrative, instead of determinate, can not in this, as the restriction to the scope of protection of the invention.
Based on an Android device remote debugging method for Cloud Server, as shown in Figure 1, it is as follows that the method comprising the steps of:
(1) on public network, set up Cloud Server, in the communication agent service of this Cloud Server deploy, be responsible between the main frame and the equipment route service of Cloud Server Intranet of developer, forwarding debug communications data, as shown in the four-headed arrow line in Fig. 1; Meanwhile, find service in this Cloud Server deploy Android device, be responsible for the log-on message receiving Intranet Android device, and be distributed to developer's main frame;
(2) set up an embedded host cluster in the Intranet of Cloud Server, in mainframe cluster deploy Linux system, installation and operation ADBHOST program, connects Android device by usb, and to Cloud Server registration Android device;
(3) set up an equipment routing server in the Intranet of Cloud Server, in this equipment routing server deploy equipment route service, be responsible for the communication of Cloud Server being routed to the corresponding Linux main frame connecting Android device;
(4) in main frame deploy communication agent service of developer, this communication agent services listen the machine communication data port, be responsible for forwarding debug communications data between the ADBCLIENT and Cloud Server of the machine, detect the Android device mark that User Exploitation Android applies the IDE selection used simultaneously; Simultaneously, at the plug-in unit of a main frame deploy developing instrument of developer, this plug-in unit is used for the Android device obtaining registration from Cloud Server, as shown in Figure 1, the data flow of long-range Android device registration is by shown in unidirectional arrow line, IDE presents, selects for developer, and issue the Android device mark of developer's selection;
Wherein, described the machine communication data port is specially 5037 ports.
(5) developer uses developing instrument developing plug Android to apply, the Android device that plug-in unit provides is selected the type that will debug, after clicking debug command, debug monitor service (DDMS) by Android and start ADBCLIENT, the debug communications of ADBCLIENT is forwarded to Cloud Server by after the agency service of this locality interpolation Android device mark, Cloud Server by communication forwarding to equipment route service, debug communications to be forwarded to the ADBHOST on corresponding built-in Linux by equipment route service according to device identification, set up the debugging passage of IDE and long-range Android device, realize the long-range Android device debugging of public network.
Wherein, described developing instrument plug-in unit is specially Eclipse or AndroidStudio.
Claims (3)
1., based on an Android device remote debugging method for Cloud Server, it is characterized in that: comprise step as follows:
(1) on public network, Cloud Server is set up, in the communication agent service of this Cloud Server deploy, be responsible for forwarding debug communications data between the main frame and the equipment route service of Cloud Server Intranet of developer, simultaneously, service is found in this Cloud Server deploy Android device, be responsible for the log-on message receiving Intranet Android device, and be distributed to developer's main frame;
(2) set up an embedded host cluster in the Intranet of Cloud Server, in mainframe cluster deploy Linux system, installation and operation ADBHOST program, connects Android device by usb, and to Cloud Server registration Android device;
(3) set up an equipment routing server in the Intranet of Cloud Server, in this equipment routing server deploy equipment route service, be responsible for the communication of Cloud Server being routed to the corresponding Linux main frame connecting Android device;
(4) in main frame deploy communication agent service of developer, this communication agent services listen the machine communication data port, be responsible for forwarding debug communications data between the ADBCLIENT and Cloud Server of the machine, detect the Android device mark that User Exploitation Android applies the IDE selection used simultaneously; Meanwhile, at main frame deploy developing instrument plug-in unit of developer, this plug-in unit is used for the Android device obtaining registration from Cloud Server, and IDE presents, and selects for developer, and issues the Android device mark of developer's selection;
(5) developer uses developing instrument developing plug Android to apply, the Android device that plug-in unit provides is selected the type that will debug, after clicking debug command, tune-up data, by forwarding the Android device arriving Cloud Server place Intranet layer by layer, realizes the long-range Android device debugging of public network.
2. the Android device remote debugging method based on Cloud Server according to claim 1, is characterized in that: the machine communication data port in described step (4) is specially 5037 ports.
3. the Android device remote debugging method based on Cloud Server according to claim 1, is characterized in that: the developing instrument plug-in unit in described step (4) and step (5) is specially Eclipse or AndroidStudio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510656908.2A CN105141484B (en) | 2015-10-12 | 2015-10-12 | Android equipment remote debugging method based on cloud server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510656908.2A CN105141484B (en) | 2015-10-12 | 2015-10-12 | Android equipment remote debugging method based on cloud server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105141484A true CN105141484A (en) | 2015-12-09 |
CN105141484B CN105141484B (en) | 2017-03-22 |
Family
ID=54726701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510656908.2A Active CN105141484B (en) | 2015-10-12 | 2015-10-12 | Android equipment remote debugging method based on cloud server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105141484B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463499A (en) * | 2017-08-08 | 2017-12-12 | 百度在线网络技术(北京)有限公司 | The long-range connection methods of ADB, device, equipment and storage medium |
CN107800791A (en) * | 2017-10-24 | 2018-03-13 | 海信集团有限公司 | A kind of method and apparatus debugged |
CN107888693A (en) * | 2017-11-21 | 2018-04-06 | 海信集团有限公司 | NB IOT apparatus debugging methods and server |
CN113094253A (en) * | 2019-12-23 | 2021-07-09 | 华为机器有限公司 | Equipment debugging method and device |
CN116166491A (en) * | 2023-04-23 | 2023-05-26 | 北京紫光青藤微系统有限公司 | Method, device, system, electronic equipment and medium for debugging mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103077061A (en) * | 2013-01-16 | 2013-05-01 | 珠海市君天电子科技有限公司 | Installing method of application software in Android equipment and system |
CN103902358A (en) * | 2014-03-18 | 2014-07-02 | 北京领通科技有限公司 | Mobile terminal remote debugging method and system and mobile terminal |
CN103927256A (en) * | 2013-01-16 | 2014-07-16 | 珠海市君天电子科技有限公司 | Method for controlling multiple Android devices |
CN104135520A (en) * | 2014-07-29 | 2014-11-05 | 广州金山网络科技有限公司 | Method and device for identifying Android terminal |
-
2015
- 2015-10-12 CN CN201510656908.2A patent/CN105141484B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103077061A (en) * | 2013-01-16 | 2013-05-01 | 珠海市君天电子科技有限公司 | Installing method of application software in Android equipment and system |
CN103927256A (en) * | 2013-01-16 | 2014-07-16 | 珠海市君天电子科技有限公司 | Method for controlling multiple Android devices |
CN103902358A (en) * | 2014-03-18 | 2014-07-02 | 北京领通科技有限公司 | Mobile terminal remote debugging method and system and mobile terminal |
CN104135520A (en) * | 2014-07-29 | 2014-11-05 | 广州金山网络科技有限公司 | Method and device for identifying Android terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463499A (en) * | 2017-08-08 | 2017-12-12 | 百度在线网络技术(北京)有限公司 | The long-range connection methods of ADB, device, equipment and storage medium |
CN107463499B (en) * | 2017-08-08 | 2020-10-13 | 百度在线网络技术(北京)有限公司 | ADB remote connection method, device, equipment and storage medium |
CN107800791A (en) * | 2017-10-24 | 2018-03-13 | 海信集团有限公司 | A kind of method and apparatus debugged |
CN107888693A (en) * | 2017-11-21 | 2018-04-06 | 海信集团有限公司 | NB IOT apparatus debugging methods and server |
CN113094253A (en) * | 2019-12-23 | 2021-07-09 | 华为机器有限公司 | Equipment debugging method and device |
CN116166491A (en) * | 2023-04-23 | 2023-05-26 | 北京紫光青藤微系统有限公司 | Method, device, system, electronic equipment and medium for debugging mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105141484B (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105141484A (en) | Android equipment remote debugging method based on cloud server | |
CN105302732B (en) | A kind of automatic test approach and device of mobile terminal | |
CN102594914B (en) | Remote debugging method based on cloud platform | |
US9348771B1 (en) | Cloud-based instrument driver system | |
CN105450463B (en) | Adjustment method, the device and system of hardware device | |
CN103457761B (en) | Cross-platform command line configuration interface implementation method | |
CN105740139B (en) | A kind of debugging embedded software method based on virtual environment | |
CN107749807B (en) | Network function verification method and verification system for NFV | |
CN104536890A (en) | Testing system, method and device | |
CN103927256A (en) | Method for controlling multiple Android devices | |
CN103686147B (en) | A kind of method of testing and device of cloning video monitoring emulation terminal | |
CN104468260A (en) | Recognition method, device and system for mobile terminal device | |
CN103685539A (en) | Method for running Windows system on home-made processor platform | |
CN105607998A (en) | System and method for performing embedded software debug online | |
CN107819611B (en) | Client test method based on IEC61850 multi-server simulation | |
CN111211934B (en) | Cluster remote communication test method and system | |
CN113162823A (en) | APP test simulation system and Internet of things simulation test method | |
CN106445611B (en) | Big data node system and automatic deployment method | |
CN107181606B (en) | Method and apparatus for controlling network nodes | |
CN104092747B (en) | USB dynamic connection methods and device under virtualized environment | |
WO2015035761A1 (en) | Method and apparatus for performing assembly-level dynamic debugging of ios system | |
US9329960B2 (en) | Methods, systems, and computer readable media for utilizing abstracted user-defined data to conduct network protocol testing | |
CN107861821B (en) | Mining method and device for module call relation and computer readable medium | |
CN103023726B (en) | Method and system for testing maximum mainframe connection number of network storage device | |
CN109634856B (en) | IOS intelligent terminal remote real machine debugging system and method based on cloud service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB03 | Change of inventor or designer information |
Inventor after: Chen Wenkang Inventor after: Zhao Guangjun Inventor after: Wang Ruying Inventor after: Li Xinrong Inventor after: Li Zhibin Inventor after: Lu Xiandong Inventor after: Zhang Haitao Inventor before: Li Zhibin Inventor before: Lu Xiandong Inventor before: Zhang Haitao |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |