CN103268288A - Remote real machine debugging method and system of mobile terminal application software - Google Patents

Remote real machine debugging method and system of mobile terminal application software Download PDF

Info

Publication number
CN103268288A
CN103268288A CN2013102402866A CN201310240286A CN103268288A CN 103268288 A CN103268288 A CN 103268288A CN 2013102402866 A CN2013102402866 A CN 2013102402866A CN 201310240286 A CN201310240286 A CN 201310240286A CN 103268288 A CN103268288 A CN 103268288A
Authority
CN
China
Prior art keywords
terminal
protocol
controller
debugging
remote
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
CN2013102402866A
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 Testin Information Technology Co Ltd
Original Assignee
Beijing Testin Information Technology 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 Testin Information Technology Co Ltd filed Critical Beijing Testin Information Technology Co Ltd
Priority to CN2013102402866A priority Critical patent/CN103268288A/en
Publication of CN103268288A publication Critical patent/CN103268288A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a remote real machine debugging method and system of mobile terminal application software. The method comprises the following steps that a mobile terminal is connected to a control machine, and the control machine is connected and communicated with a client debugger through a TCP / IP (Transfer Control Protocol/Internet Protocol) protocol; a TCP / IP protocol forwarding layer and a terminal control layer are additionally arranged between a development tool and hardware, the application is deployed to a remote terminal, and the remote terminal is controlled; the control machine forwards the debugging commands from the client debugger to the terminal; the debugging data returned from the terminal is forwarded to the client debugger; and through the manipulation of real machine, a client adds a breakpoint to a correlation function, and carries out debugging in the source code environment. According to the technical scheme provided by the invention, developers can execute breakpoint hit, single step running, variable value checking and other operations on the remote terminal in the local source code environment, so that the positioning and checking of problems in the debugging process are greatly facilitated, and the testing efficiency of application software is improved.

Description

A kind of long-range prototype adjustment method and system of application software of mobile terminal
Technical field
The debugging field that the present invention relates to communicate by letter more specifically, relates to a kind of long-range prototype adjustment method and system of mobile intelligent terminal application software.
Background technology
At present, along with the fast development of mobile Internet, the model of mobile intelligent terminal and the mobile quantity of using have all obtained growth at full speed.Meanwhile, the fast development of mobile field makes mobile application affect our life more and more, at portable terminal, having every day ten hundreds of software to be developed for the mobile subscriber uses, it is fast that this field possesses renewal speed, the characteristics that life cycle is short, and the user is more and more higher to the requirement of function, performance, stability, so mobile application is also increasing to the demand of software debugging.
And the high speed development of mobile network, infotech and electronic technology, brought many-sided change for people's live and work, wherein the very important point is: terminal device presents the state of form variation, feature richnessization, for example, novel terminal devices such as panel computer, intelligent terminal have appearred, these terminal devices on function integrated voice, data, take pictures, function such as location, sensor.
Though these change life style and the working method that has changed people greatly, bring unprecedented enjoyment to people, but, also exposed the problem of terminal fragmentation gradually: the development of mobile network and microprocessor technology makes except traditional terminal device, as TV, computer, mobile phone, a lot of emerging terminal devices have appearred again, for example, intelligent terminal, panel computer, network player, it is more that the quantity of the terminal device that everyone has becomes, but the service collaboration between these terminal devices and data sharing mode and imperfection, cause a lot of inconvenience for life and use, simultaneously can not give full play to the function of these terminal devices, thereby cause the purchase cost of terminal device and use cost to rise.And because the problem of this terminal fragmentation has caused the mobile new difficulty of carrying out actual test on the different terminals that is applied in.
In existing technical scheme, mainly contain two kinds of settling modes:
First kind: present main flow intelligent terminal operating system all provides developing instrument to the developer, and the developer can carry out other debugging of code level in this locality to the terminal that is connected to computer (or simulator) by developing instrument.The shortcoming of this scheme is can only be at local operation.
Second kind: in order to solve the difficult problem of above-mentioned terminal test, occurred some long-range prototype control systems now, between user side and system end, transmitted data by ICP/IP protocol, allowed the user can move the Installation And Test of application at prototype.Can realize following function:
(1) sends the simulation steering order to terminal from user side;
(2) give user side from system end synchronous terminal on-screen data;
(3) VAS application-to-terminal service is installed.
The shortcoming of this scheme is to carry out the code level debugging to remote terminal, can only see the state that application software is moved in terminal, is difficult to search problem after going wrong.
Summary of the invention
In view of this, the present invention mainly solves the deficiency of above-mentioned two kinds of method of testings, adjustment method to remote terminal is provided, can make the developer in local source code environment, remote terminal be carried out that breakpoint hits, single step run, check operation such as variate-value, be very easy in the debug process the location of problem and search, improved the testing efficiency of application software.
The fundamental purpose of the embodiment of the invention is to provide a kind of method of recording the application testing script, uses this method and can generate the high test script of accuracy fast according to the needs of test script generation side.
Simultaneously, the another fundamental purpose of the embodiment of the invention is to provide a kind of system that records the application testing script, and this system can realize the needs according to test script generation side, generates the high test script of accuracy fast.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of long-range prototype adjustment method of application software of mobile terminal may further comprise the steps:
A, portable terminal are connected to controller, connect communication by ICP/IP protocol between controller and the client-side debug device;
B, between developing instrument and hardware, increase ICP/IP protocol and transmit layer and terminal key-course, application deployment to remote terminal, and is controlled remote terminal;
C, controller will be transmitted to terminal from the debug command of user side debugger;
D, the tune-up data that terminal is returned are transmitted to the client-side debug device;
E, control by prototype, user side adds breakpoint for the related function code, debugs under the source code environment.
Preferably, among the above-mentioned steps A, portable terminal is connected to controller by data line or wireless network.
Preferably, among the above-mentioned steps A, the existing debugging agreement of programming language that protocol format adopts each terminal platform to support.
Preferably, in the above-mentioned steps, adopt the terminal platform of Java language to use the JDWP agreement.
Preferably, among the above-mentioned steps B, developing instrument is exploitation separately, or the exploitation plug-in unit, carries out integrated under existing development environment.
Simultaneously, the present invention also provides a kind of long-range prototype debug system of application software of mobile terminal, comprises with lower unit:
Linkage unit makes portable terminal be connected to controller, connects communication by ICP/IP protocol between controller and the client-side debug device;
Remote control unit is used for increasing ICP/IP protocol and transmits layer and terminal key-course between developing instrument and hardware, application deployment is arrived remote terminal, and remote terminal is controlled;
Retransmission unit makes controller be transmitted to terminal from the debug command of user side debugger; And the tune-up data that terminal is returned is transmitted to the client-side debug device;
Debugging unit is used for controlling by prototype, makes user side add breakpoint for the related function code, debugs under the source code environment.
Preferably, in the above-mentioned linkage unit, portable terminal is connected to controller by data line or wireless network.
Preferably, in the above-mentioned linkage unit, the existing debugging agreement of programming language that protocol format adopts each terminal platform to support.
Preferably, in the above-mentioned linkage unit, adopt the terminal platform of Java language to use the JDWP agreement.
Preferably, in the above-mentioned remote control unit, developing instrument is exploitation separately, or the exploitation plug-in unit, carries out integrated under existing development environment.
This novel remote debugging method and system, not only possess the characteristics of saving great amount of manpower and material resources in traditional remote debugging technology, simultaneously, the developer carries out that breakpoint hits, single step run, checks operations such as variate-value remote terminal in local source code environment, be very easy in the debug process the location of problem and search, improved the testing efficiency of application software.
Description of drawings
Fig. 1 is the method flow diagram of in the prior art application software of mobile terminal being debugged;
Fig. 2 is to the method flow diagram of application software of mobile terminal remote debugging in the prior art;
Fig. 3 is the method flow diagram of the long-range prototype debugging of application software of mobile terminal according to an embodiment of the invention;
Figure 4 and 5 are operation scene graph of the long-range prototype debugging of application software of mobile terminal according to an embodiment of the invention.
Embodiment
Believe that by below in conjunction with the detailed description of accompanying drawing to specific embodiments of the invention, the feature and advantage of such scheme of the present invention can be more obvious.
In the present invention, Fig. 3 is the process flow diagram of the long-range prototype adjustment method of application software of mobile terminal according to an embodiment of the invention.
By the disclosed process flow diagram of Fig. 3 as can be known, the present invention proposes a kind of long-range prototype adjustment method of application software of mobile terminal, may further comprise the steps:
A, portable terminal are connected to controller, connect communication by ICP/IP protocol between controller and the client-side debug device;
B, between developing instrument and hardware, increase ICP/IP protocol and transmit layer and terminal key-course, application deployment to remote terminal, and is controlled remote terminal;
C, controller will be transmitted to terminal from the debug command of user side debugger;
D, the tune-up data that terminal is returned are transmitted to the client-side debug device;
E, control by prototype, user side adds breakpoint for the related function code, debugs under the source code environment.
Preferably, among the above-mentioned steps A, portable terminal is connected to controller by data line or wireless network.
Preferably, among the above-mentioned steps A, the existing debugging agreement of programming language that protocol format adopts each terminal platform to support.
Preferably, in the above-mentioned steps, adopt the terminal platform of Java language to use the JDWP agreement.
Preferably, among the above-mentioned steps B, developing instrument is exploitation separately, or the exploitation plug-in unit, carries out integrated under existing development environment.
In addition, for solving the problems of the technologies described above, the present invention also provides a kind of long-range prototype debug system of application software of mobile terminal, comprises with lower unit:
Linkage unit makes portable terminal be connected to controller, connects communication by ICP/IP protocol between controller and the client-side debug device;
Remote control unit is used for increasing ICP/IP protocol and transmits layer and terminal key-course between developing instrument and hardware, application deployment is arrived remote terminal, and remote terminal is controlled;
Retransmission unit makes controller be transmitted to terminal from the debug command of user side debugger; And the tune-up data that terminal is returned is transmitted to the client-side debug device;
Debugging unit is used for controlling by prototype, makes user side add breakpoint for the related function code, debugs under the source code environment.
Preferably, in the above-mentioned linkage unit, portable terminal is connected to controller by data line or wireless network.
Preferably, in the above-mentioned linkage unit, the existing debugging agreement of programming language that protocol format adopts each terminal platform to support.
Preferably, in the above-mentioned linkage unit, adopt the terminal platform of Java language to use the JDWP agreement.
Preferably, in the above-mentioned remote control unit, developing instrument is exploitation separately, or the exploitation plug-in unit, carries out integrated under existing development environment.
This novel remote debugging method and system, not only possess the characteristics of saving great amount of manpower and material resources in traditional remote debugging technology, simultaneously, the developer carries out that breakpoint hits, single step run, checks operations such as variate-value remote terminal in local source code environment, be very easy in the debug process the location of problem and search, improved the testing efficiency of application software.

Claims (10)

1. the long-range prototype adjustment method of an application software of mobile terminal is characterized in that, may further comprise the steps:
A, portable terminal are connected to controller, connect communication by ICP/IP protocol between controller and the client-side debug device;
B, between developing instrument and hardware, increase ICP/IP protocol and transmit layer and terminal key-course, application deployment to remote terminal, and is controlled remote terminal;
C, controller will be transmitted to terminal from the debug command of user side debugger;
D, the tune-up data that terminal is returned are transmitted to the client-side debug device;
E, control by prototype, user side adds breakpoint for the related function code, debugs under the source code environment.
2. method according to claim 1 is characterized in that, among the above-mentioned steps A, portable terminal is connected to controller by data line or wireless network.
3. method according to claim 1 is characterized in that, among the above-mentioned steps A, and the existing debugging agreement of programming language that protocol format adopts each terminal platform to support.
4. method according to claim 3 is characterized in that, uses the JDWP agreement at the terminal platform that adopts Java language.
5. method according to claim 1 is characterized in that, among the above-mentioned steps B, developing instrument is exploitation separately, or the exploitation plug-in unit, carries out integrated under existing development environment.
6. the long-range prototype debug system of an application software of mobile terminal is characterized in that, comprises with lower unit:
Linkage unit makes portable terminal be connected to controller, connects communication by ICP/IP protocol between controller and the client-side debug device;
Remote control unit is used for increasing ICP/IP protocol and transmits layer and terminal key-course between developing instrument and hardware, application deployment is arrived remote terminal, and remote terminal is controlled;
Retransmission unit makes controller be transmitted to terminal from the debug command of user side debugger; And the tune-up data that terminal is returned is transmitted to the client-side debug device;
Debugging unit is used for controlling by prototype, makes user side add breakpoint for the related function code, debugs under the source code environment.
7. system according to claim 6 is characterized in that, in the above-mentioned linkage unit, portable terminal is connected to controller by data line or wireless network.
8. system according to claim 6 is characterized in that, in the above-mentioned linkage unit, and the existing debugging agreement of programming language that protocol format adopts each terminal platform to support.
9. system according to claim 8 is characterized in that, uses the JDWP agreement at the terminal platform that adopts Java language.
10. system according to claim 8 is characterized in that, in the above-mentioned remote control unit, developing instrument is exploitation separately, or the exploitation plug-in unit, carries out integrated under existing development environment.
CN2013102402866A 2013-06-18 2013-06-18 Remote real machine debugging method and system of mobile terminal application software Pending CN103268288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102402866A CN103268288A (en) 2013-06-18 2013-06-18 Remote real machine debugging method and system of mobile terminal application software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102402866A CN103268288A (en) 2013-06-18 2013-06-18 Remote real machine debugging method and system of mobile terminal application software

Publications (1)

Publication Number Publication Date
CN103268288A true CN103268288A (en) 2013-08-28

Family

ID=49011919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102402866A Pending CN103268288A (en) 2013-06-18 2013-06-18 Remote real machine debugging method and system of mobile terminal application software

Country Status (1)

Country Link
CN (1) CN103268288A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699481A (en) * 2013-12-03 2014-04-02 华为技术有限公司 Code debugging method and code debugging system
CN103744784A (en) * 2014-01-06 2014-04-23 中国移动(深圳)有限公司 Method and system for automatically testing mobile phone applications
CN103902358A (en) * 2014-03-18 2014-07-02 北京领通科技有限公司 Mobile terminal remote debugging method and system and mobile terminal
CN104063323A (en) * 2014-07-03 2014-09-24 南昌欧菲生物识别技术有限公司 Mobile terminal and equipment controlling method and system thereof
CN104506655A (en) * 2015-01-08 2015-04-08 北京恒华伟业科技股份有限公司 Method and device for debugging mobile application
CN104616682A (en) * 2015-03-09 2015-05-13 广东欧珀移动通信有限公司 Blu-ray player test method, intelligent equipment and Blu-ray player
CN104778116A (en) * 2014-01-09 2015-07-15 深圳市中兴微电子技术有限公司 Multibreak software debugging device and method
CN105653448A (en) * 2015-12-25 2016-06-08 深圳中兴网信科技有限公司 Application debugging method, application debugging device and terminal
CN106506206A (en) * 2016-10-26 2017-03-15 合肥拓发信息科技有限公司 A kind of debugging platform used suitable for communication equipment
CN107168841A (en) * 2017-05-25 2017-09-15 北京云测信息技术有限公司 The remote test method and device of a kind of mobile device
CN108769175A (en) * 2018-05-22 2018-11-06 北京京东金融科技控股有限公司 Remote real machine access control method, device, storage medium and electronic equipment
CN109117361A (en) * 2018-06-21 2019-01-01 腾讯科技(深圳)有限公司 A kind of remote debugging method of small routine, relevant device and system
CN109460355A (en) * 2018-10-18 2019-03-12 黑龙江省博凯科技开发有限公司 The universal wireless debugger of MCU
CN112215587A (en) * 2020-12-11 2021-01-12 北京云测信息技术有限公司 Method, device and system for automatically executing business process interaction tasks by multiple devices
CN112988599A (en) * 2021-04-29 2021-06-18 腾讯科技(深圳)有限公司 Page debugging method and device, electronic equipment and storage medium
WO2022089371A1 (en) * 2020-10-29 2022-05-05 蜜曰科技(北京)有限公司 Remote control-based interaction method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780334A (en) * 2004-11-22 2006-05-31 乐金电子(中国)研究开发中心有限公司 Remote testing device and method for telephone connection service of mobile communication terminals
CN1901569A (en) * 2006-07-05 2007-01-24 华为技术有限公司 Remote regulating method and system
CN101126989A (en) * 2006-08-15 2008-02-20 凌阳科技股份有限公司 Mobile telephone emulation system and method therefor
CN102902618A (en) * 2011-07-28 2013-01-30 华为技术有限公司 Method and device for developing and debugging application programs of mobile equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780334A (en) * 2004-11-22 2006-05-31 乐金电子(中国)研究开发中心有限公司 Remote testing device and method for telephone connection service of mobile communication terminals
CN1901569A (en) * 2006-07-05 2007-01-24 华为技术有限公司 Remote regulating method and system
CN101126989A (en) * 2006-08-15 2008-02-20 凌阳科技股份有限公司 Mobile telephone emulation system and method therefor
CN102902618A (en) * 2011-07-28 2013-01-30 华为技术有限公司 Method and device for developing and debugging application programs of mobile equipment

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699481A (en) * 2013-12-03 2014-04-02 华为技术有限公司 Code debugging method and code debugging system
CN103744784A (en) * 2014-01-06 2014-04-23 中国移动(深圳)有限公司 Method and system for automatically testing mobile phone applications
CN103744784B (en) * 2014-01-06 2016-08-17 中国移动(深圳)有限公司 Mobile phone application automated testing method and system
CN104778116A (en) * 2014-01-09 2015-07-15 深圳市中兴微电子技术有限公司 Multibreak software debugging device and method
CN104778116B (en) * 2014-01-09 2018-09-18 深圳市中兴微电子技术有限公司 A kind of multibreak software debugging device and method
CN103902358A (en) * 2014-03-18 2014-07-02 北京领通科技有限公司 Mobile terminal remote debugging method and system and mobile terminal
CN104063323A (en) * 2014-07-03 2014-09-24 南昌欧菲生物识别技术有限公司 Mobile terminal and equipment controlling method and system thereof
CN104063323B (en) * 2014-07-03 2017-09-15 南昌欧菲生物识别技术有限公司 The method and system of mobile terminal and its control device
CN104506655A (en) * 2015-01-08 2015-04-08 北京恒华伟业科技股份有限公司 Method and device for debugging mobile application
CN104616682A (en) * 2015-03-09 2015-05-13 广东欧珀移动通信有限公司 Blu-ray player test method, intelligent equipment and Blu-ray player
CN104616682B (en) * 2015-03-09 2017-06-09 广东欧珀移动通信有限公司 Blu-ray player method of testing and smart machine, Blu-ray player
CN105653448A (en) * 2015-12-25 2016-06-08 深圳中兴网信科技有限公司 Application debugging method, application debugging device and terminal
CN106506206A (en) * 2016-10-26 2017-03-15 合肥拓发信息科技有限公司 A kind of debugging platform used suitable for communication equipment
CN107168841A (en) * 2017-05-25 2017-09-15 北京云测信息技术有限公司 The remote test method and device of a kind of mobile device
CN107168841B (en) * 2017-05-25 2020-05-12 北京云测信息技术有限公司 Remote testing method and device for mobile equipment
CN108769175A (en) * 2018-05-22 2018-11-06 北京京东金融科技控股有限公司 Remote real machine access control method, device, storage medium and electronic equipment
CN108769175B (en) * 2018-05-22 2020-07-31 京东数字科技控股有限公司 Remote real machine access control method and device, storage medium and electronic equipment
CN109117361A (en) * 2018-06-21 2019-01-01 腾讯科技(深圳)有限公司 A kind of remote debugging method of small routine, relevant device and system
CN109117361B (en) * 2018-06-21 2020-12-15 腾讯科技(深圳)有限公司 Remote debugging method, related equipment and system for small program
CN109460355A (en) * 2018-10-18 2019-03-12 黑龙江省博凯科技开发有限公司 The universal wireless debugger of MCU
CN109460355B (en) * 2018-10-18 2023-05-30 黑龙江省博凯科技开发有限公司 Universal MCU wireless debugger
WO2022089371A1 (en) * 2020-10-29 2022-05-05 蜜曰科技(北京)有限公司 Remote control-based interaction method
CN112215587A (en) * 2020-12-11 2021-01-12 北京云测信息技术有限公司 Method, device and system for automatically executing business process interaction tasks by multiple devices
CN112988599A (en) * 2021-04-29 2021-06-18 腾讯科技(深圳)有限公司 Page debugging method and device, electronic equipment and storage medium
CN112988599B (en) * 2021-04-29 2021-07-23 腾讯科技(深圳)有限公司 Page debugging method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103268288A (en) Remote real machine debugging method and system of mobile terminal application software
CN106021095B (en) A kind of Android application automated testing method based on push-mechanism
CN105302732B (en) A kind of automatic test approach and device of mobile terminal
CN106970790B (en) Application program creating method, related equipment and system
CN105868111A (en) Automatic testing method and device for mobile terminal game
CN104580480B (en) A kind of client remote automatically dispose system and method
CN103544100A (en) Method, system and client side for testing APP of portable data processing equipment
CN105450463B (en) Adjustment method, the device and system of hardware device
WO2014048215A1 (en) Development, compiling and debugging method and device for application
CN105338110A (en) Remote debugging method, platform and server
CN101119517A (en) Method of automatic downloading software from network server
CN103927256A (en) Method for controlling multiple Android devices
CN108614767A (en) A kind of remote debugging method and device
CN104935639A (en) Intelligent terminal, and applied distributed exploitation system and method
CN107148031A (en) A kind of method of testing of WiFi module software systems, apparatus and system
CN111522727A (en) Simulation object test method, device and system
CN104991862A (en) JTAG virtual technology based FPGA remote online debugging method
Huang et al. Remote mobile test system: a mobile phone cloud for application testing
CN113722020A (en) Interface calling method, device and computer readable storage medium
CN105141484A (en) Android equipment remote debugging method based on cloud server
CN104572428A (en) Complicated control testing method based on windows operating system
CN109299011A (en) A kind of test method and system of application program
CN110673862A (en) Wireless upgrading method, equipment and medium for embedded equipment firmware with dual-use multi-mode
WO2015035761A1 (en) Method and apparatus for performing assembly-level dynamic debugging of ios system
CN103927257A (en) Method and device for triggering android behavior event

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

RJ01 Rejection of invention patent application after publication