CN103269293A - ADB debugging method by utilizing microwave communication equipment on android platform - Google Patents

ADB debugging method by utilizing microwave communication equipment on android platform Download PDF

Info

Publication number
CN103269293A
CN103269293A CN2013101395649A CN201310139564A CN103269293A CN 103269293 A CN103269293 A CN 103269293A CN 2013101395649 A CN2013101395649 A CN 2013101395649A CN 201310139564 A CN201310139564 A CN 201310139564A CN 103269293 A CN103269293 A CN 103269293A
Authority
CN
China
Prior art keywords
telecommunication devices
microwave telecommunication
debugging
commissioning device
debugged apparatus
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
Application number
CN2013101395649A
Other languages
Chinese (zh)
Other versions
CN103269293B (en
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.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201310139564.9A priority Critical patent/CN103269293B/en
Publication of CN103269293A publication Critical patent/CN103269293A/en
Application granted granted Critical
Publication of CN103269293B publication Critical patent/CN103269293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an ADB debugging method by utilizing microwave communication equipment on an android platform. According to the method, debugging equipment and equipment which is to be debugged and contains the android platform need to be provided, the debugging equipment comprises an order input module, microwave communication equipment and a data analysis module, the equipment to be debugged comprises a data storage module, a debugging tool ADB, microwave communication equipment and an order analysis module. After a debugging order is obtained through the microwave communication equipment in the debugging equipment, the debugging order is transmitted to the equipment to be debugged; the equipment to be debugged analyzes the debugging order through the order analysis module, and sends the analyzed debugging order to the debugging tool ADB to be debugged. According to the ADB debugging method by utilizing the microwave communication equipment on the android platform, the equipment to be debugged of the android platform can still be debugged on the condition that existing debugging technological means are all invalid, and the ADB debugging method by utilizing the microwave communication equipment on the android platform is simple in operation and high in debugging efficiency.

Description

Utilize microwave telecommunication devices to carry out the method for ADB debugging on the android platform
Technical field
The present invention relates to communication technical field, relate in particular to and utilize microwave telecommunication devices to carry out the method for ADB debugging on a kind of android platform.
Background technology
The smart machine of present up-to-date Android platform begins to support home radio HOME RF equipment, and the user can come mutual transferring voice by HOME RF equipment, and file etc. are realized sharing of information resource.This HOME RF equipment is a kind of of microwave telecommunication devices.In the smart machine of Android platform, when user's Android platform device breaks down, need use the debugging acid ADB (Android Debug Bridge) of Android platform self, it is the background program of an Android platform, constantly the inquiry debug command that receives and the result who sends debug command offers the attendant and analyzes and solve fault.It (is that PC utilizes the USB line to be connected with the Android platform device that breaks down that ADB on the Android platform of standard supports USB interface to connect debugging, then PC send debug command to the ADB transmitting system daily record of the ADB of faulty equipment and faulty equipment to PC, all use usb bus to transmit).ADB on the Android platform of standard also supports to utilize WIFI to come the ADB of long-range connection faulty equipment, debug (is that faulty equipment all is connected network with PC, PC utilizes network to send debug command to the ADB of faulty equipment, and the ADB of faulty equipment also utilizes network that system journal is sent to PC).Just there is so a kind of situation in this: be that usb bus cisco unity malfunction, WIFI can not normally be connected network if the part that faulty equipment breaks down is exactly usb bus with WIFI(), how does this carry out system debug and accident analysis as the commissioning staff so? therefore, this patent is designed the method for utilizing microwave telecommunication devices to carry out the ADB debugging on a kind of android platform, solves this problem.
" a kind of method of the terminal test based on the Android system " is provided in the prior art, see that publication number is: CN102917095A, open day be: the Chinese patent of 2013-02-06, this invention is used for solution and has when development and testing software the problem that need design at different chips now.The method of this inventive embodiments comprises: test lead is set up Socket with dut terminal and is connected by the ADB interface; And the Socket connection by setting up, the communication protocol that adopts the ADB interface to support, and carry out Signalling exchange and transfer of data between the dut terminal.Because this invention test lead is connected by setting up Socket between ADB interface and the tested terminal, when testing based on the tested terminal of different hardware platforms, as long as adopt the communication protocol of ADB interface support to communicate, and need not reduce the repeatability of testing software exploitation at the different different testing softwares of hardware platform exploitation.But this invention is the problem at the terminal test compatibility of Android system, is not to be at device fails in the Android system, calls the scheme that self debugging acid ADB debugs by newly-increased other approach.
Summary of the invention
The technical problem to be solved in the present invention is to provide the method for utilizing microwave telecommunication devices to carry out the ADB debugging on a kind of android platform, can under the situation that existing debugging technique means all lost efficacy the debugged apparatus of android platform be debugged.
The present invention is achieved in that the method for utilizing microwave telecommunication devices to carry out the ADB debugging on a kind of android platform, described method need provide the debugged apparatus of a commissioning device and band android platform, and described commissioning device comprises: instruction input module, microwave telecommunication devices and data resolution module; Described debugged apparatus comprises: data memory module, debugging acid ADB, microwave telecommunication devices and command analysis module; This method specifically comprises the steps:
The microwave telecommunication devices of step 1, unlatching commissioning device and debugged apparatus, two microwave telecommunication devices all connect in the same microwave telecommunication devices WLAN (wireless local area network); In the wireless local net topology, distribute separately a device address number;
Step 2, need the order of debugging by instruction input module input one, instruction input module is created an empty file one, and with the demanded storage of described debugging in file one;
The microwave telecommunication devices of step 3, instruction input module notice commissioning device, device address by debugged apparatus number, and utilizing the ICP/IP protocol message, the data field that described file one is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of debugged apparatus;
After the microwave telecommunication devices of step 4, debugged apparatus receive the ICP/IP protocol message, the data field that obtains the ICP/IP protocol message obtains to extract debug command by command analysis module from this document one in the android plateform system that file is saved in debugged apparatus in the lump;
Step 5, the mechanism of the Inter-Process Communication by android plateform system socket send to debugging acid ADB with debug command;
After step 6, debugging acid ADB obtain debug command, carry out this debug command, form the system journal of debugging, create an empty file two, and system journal is stored in this empty file two;
The file that contains system journal two that step 7, data memory module will produce sends to the microwave telecommunication devices of debugged apparatus, the device address of the microwave telecommunication devices of debugged apparatus by commissioning device number, and utilizing the ICP/IP protocol message, the data field that described file two is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of commissioning device;
After the microwave telecommunication devices of step 8, commissioning device received the ICP/IP protocol message, the data field that obtains the ICP/IP protocol message obtained file two and is saved in the commissioning device;
Step 9, data resolution module extract system journal from this document two, resolve and obtain debug results.
The present invention has following advantage: after the present invention obtains debug command by the microwave telecommunication devices in the commissioning device, send in the debugged apparatus again, debugged apparatus is resolved debug command by command analysis module, and the debug command after will resolving is issued debugging acid ADB and debugged.The present invention can also can debug the debugged apparatus of android platform under the situation that existing debugging technique means all lost efficacy; And simple to operate, debugging efficiency is fast.
Description of drawings
Fig. 1 is the inventive method schematic flow sheet.
Fig. 2 is principle of the invention frame diagram.
Embodiment
See also illustrated in figures 1 and 2, the present invention carries out the method for ADB debugging for utilizing microwave telecommunication devices on a kind of android platform, described method need provide the debugged apparatus of a commissioning device and band android platform, and described commissioning device comprises: instruction input module, microwave telecommunication devices and data resolution module; Described debugged apparatus comprises: data memory module, debugging acid ADB, microwave telecommunication devices and command analysis module; This method specifically comprises the steps:
The microwave telecommunication devices of step 1, unlatching commissioning device and debugged apparatus, two microwave telecommunication devices all connect in the same microwave telecommunication devices WLAN (wireless local area network); In the wireless local net topology, distribute separately a device address number; For example: the device address of the microwave telecommunication devices of debugged apparatus number is referred to as Addr_1, and the device address of the microwave telecommunication devices of commissioning device number is made as Addr_2;
Step 2, need the order of debugging by instruction input module input one, instruction input module is created an empty file one, and with the demanded storage of described debugging in file one;
The microwave telecommunication devices of step 3, instruction input module notice commissioning device, device address by debugged apparatus number, and utilizing the ICP/IP protocol message, the data field that described file one is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of debugged apparatus; This step is specially: the microwave telecommunication devices of instruction input module notice commissioning device, start the broadcasting of wireless local net topology, and the address of this broadcasting is the device address number of debugged apparatus; The microwave telecommunication devices of debugged apparatus receive the broadcasting of wireless local net topology, monitor the calling of commissioning device, then reply an ACK confirmation signal and give commissioning device, commissioning device is received this ACK confirmation signal, the microwave telecommunication devices of confirming debugged apparatus can have access to, commissioning device begins to send described file one, utilizes the ICP/IP protocol message, and the data field that described file one is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of debugged apparatus;
After the microwave telecommunication devices of step 4, debugged apparatus receive the ICP/IP protocol message, the data field that obtains the ICP/IP protocol message obtains to extract debug command by command analysis module from this document one in the android plateform system that file is saved in debugged apparatus in the lump;
Step 5, the mechanism of the Inter-Process Communication by android plateform system socket send to debugging acid ADB with debug command;
After step 6, debugging acid ADB obtain debug command, carry out this debug command, form the system journal of debugging, create an empty file two, and system journal is stored in this empty file two;
The file that contains system journal two that step 7, data memory module will produce sends to the microwave telecommunication devices of debugged apparatus, the device address of the microwave telecommunication devices of debugged apparatus by commissioning device number, and utilizing the ICP/IP protocol message, the data field that described file two is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of commissioning device; This step is specially: the file that contains system journal two that data memory module will produce sends to the microwave telecommunication devices of debugged apparatus, the microwave telecommunication devices of debugged apparatus start broadcasting in the wireless local net topology, the address of this broadcasting is the device address number of commissioning device; The microwave telecommunication devices of commissioning device receive the broadcasting of wireless local net topology, monitor the calling of debugged apparatus, then reply an ACK confirmation signal and give debugged apparatus, debugged apparatus is received this ACK confirmation signal, the microwave telecommunication devices of confirming commissioning device can have access to, debugged apparatus begins to send described file two, and utilizes the ICP/IP protocol message, and the data field that described file two is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of commissioning device;
After the microwave telecommunication devices of step 8, commissioning device received the ICP/IP protocol message, the data field that obtains the ICP/IP protocol message obtained file two and is saved in the commissioning device;
Step 9, data resolution module extract system journal from this document two, resolve and obtain debug results.
In the present invention, described commissioning device also comprises data disaply moudle, also comprises after described step 9: step 10, debug results is shown one by one by described data disaply moudle, finish debugging task one time.
Described microwave telecommunication devices are: home radio Home RF equipment, high performance radio local area network HiperLan equipment or interoperable radio communication WirelessHART equipment.
Wherein, microwave telecommunication devices: be responsible for realizing realizing between main frame and the mobile data devices communication.Be responsible in the present invention the debug command of commissioning device is sent to debugged apparatus, and obtain debug results from debugged apparatus and be transferred to commissioning device.
Instruction input module: be used for the input of commissioning staff's debug command.
Command analysis module: responsible debug command of sending from commissioning device by reading command in the microwave telecommunication devices of debugged apparatus and execution.
Socket: the communication mechanism between the process in the operating system is the important component of operating system; It is responsible for the data transmission between each module of device interior.
Debugging acid ADB:Android Debug Bridge is the debugging technique of Android platform internal standard, is responsible for receiving debug command, carries out debug command, obtains debug results, sends operations such as debug results.
Data memory module: be responsible for obtaining debug results from the debugging acid ADB of debugged apparatus, and be stored as file.
Data resolution module: be responsible for obtaining the file that contains debug results (being the file of data storage cell storage above-mentioned) that sends from debugged apparatus by the microwave telecommunication devices in the commissioning device, resolve.
Data disaply moudle: be responsible for showing the debug results that parses, obtain from debugged apparatus at the screen of commissioning device.
In a word, the present invention can also can debug the debugged apparatus of android platform under the situation that existing debugging technique means all lost efficacy; And simple to operate, debugging efficiency is fast.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.

Claims (5)

1. utilize microwave telecommunication devices to carry out the method for ADB debugging on an android platform, it is characterized in that: described method need provide the debugged apparatus of a commissioning device and band android platform, and described commissioning device comprises: instruction input module, microwave telecommunication devices and data resolution module; Described debugged apparatus comprises: data memory module, debugging acid ADB, microwave telecommunication devices and command analysis module; This method specifically comprises the steps:
The microwave telecommunication devices of step 1, unlatching commissioning device and debugged apparatus, two microwave telecommunication devices all connect in the same microwave telecommunication devices WLAN (wireless local area network); In the wireless local net topology, distribute separately a device address number;
Step 2, need the order of debugging by instruction input module input one, instruction input module is created an empty file one, and with the demanded storage of described debugging in file one;
The microwave telecommunication devices of step 3, instruction input module notice commissioning device, device address by debugged apparatus number, and utilizing the ICP/IP protocol message, the data field that described file one is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of debugged apparatus;
After the microwave telecommunication devices of step 4, debugged apparatus receive the ICP/IP protocol message, the data field that obtains the ICP/IP protocol message obtains to extract debug command by command analysis module from this document one in the android plateform system that file is saved in debugged apparatus in the lump;
Step 5, the mechanism of the Inter-Process Communication by android plateform system socket send to debugging acid ADB with debug command;
After step 6, debugging acid ADB obtain debug command, carry out this debug command, form the system journal of debugging, create an empty file two, and system journal is stored in this empty file two;
The file that contains system journal two that step 7, data memory module will produce sends to the microwave telecommunication devices of debugged apparatus, the device address of the microwave telecommunication devices of debugged apparatus by commissioning device number, and utilizing the ICP/IP protocol message, the data field that described file two is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of commissioning device;
After the microwave telecommunication devices of step 8, commissioning device received the ICP/IP protocol message, the data field that obtains the ICP/IP protocol message obtained file two and is saved in the commissioning device;
Step 9, data resolution module extract system journal from this document two, resolve and obtain debug results.
2. utilize microwave telecommunication devices to carry out the method for ADB debugging on the android platform according to claim 1, it is characterized in that: described commissioning device also comprises data disaply moudle, after described step 9, also comprise: step 10, debug results is shown one by one by described data disaply moudle, finish debugging task one time.
3. utilize microwave telecommunication devices to carry out the method for ADB debugging on the android platform according to claim 1, it is characterized in that: described microwave telecommunication devices are: home radio Home RF equipment, high performance radio local area network HiperLan equipment or interoperable radio communication WirelessHART equipment.
4. utilize microwave telecommunication devices to carry out the method for ADB debugging on the android platform according to claim 1, it is characterized in that: step 3 is specially: the microwave telecommunication devices of instruction input module notice commissioning device, start the broadcasting of wireless local net topology, the address of this broadcasting is the device address number of debugged apparatus; The microwave telecommunication devices of debugged apparatus receive the broadcasting of wireless local net topology, monitor the calling of commissioning device, then reply an ACK confirmation signal and give commissioning device, commissioning device is received this ACK confirmation signal, the microwave telecommunication devices of confirming debugged apparatus can have access to, commissioning device begins to send described file one, utilizes the ICP/IP protocol message, and the data field that described file one is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of debugged apparatus.
5. utilize microwave telecommunication devices to carry out the method for ADB debugging on the android platform according to claim 1, it is characterized in that: step 7 is specially: the file that contains system journal two that data memory module will produce sends to the microwave telecommunication devices of debugged apparatus, the microwave telecommunication devices of debugged apparatus start broadcasting in the wireless local net topology, the address of this broadcasting is the device address number of commissioning device; The microwave telecommunication devices of commissioning device receive the broadcasting of wireless local net topology, monitor the calling of debugged apparatus, then reply an ACK confirmation signal and give debugged apparatus, debugged apparatus is received this ACK confirmation signal, the microwave telecommunication devices of confirming commissioning device can have access to, debugged apparatus begins to send described file two, and utilizes the ICP/IP protocol message, and the data field that described file two is embedded into the ICP/IP protocol message sends to the microwave telecommunication devices of commissioning device.
CN201310139564.9A 2013-04-19 2013-04-19 Android platform utilize microwave telecommunication devices carry out the method for debugging acid ADB debugging Active CN103269293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310139564.9A CN103269293B (en) 2013-04-19 2013-04-19 Android platform utilize microwave telecommunication devices carry out the method for debugging acid ADB debugging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310139564.9A CN103269293B (en) 2013-04-19 2013-04-19 Android platform utilize microwave telecommunication devices carry out the method for debugging acid ADB debugging

Publications (2)

Publication Number Publication Date
CN103269293A true CN103269293A (en) 2013-08-28
CN103269293B CN103269293B (en) 2015-10-14

Family

ID=49012902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310139564.9A Active CN103269293B (en) 2013-04-19 2013-04-19 Android platform utilize microwave telecommunication devices carry out the method for debugging acid ADB debugging

Country Status (1)

Country Link
CN (1) CN103269293B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701874A (en) * 2013-12-11 2014-04-02 深圳市东微智能科技有限公司 Method and system for remote communications of ARM core board and panel
CN105868098A (en) * 2015-11-06 2016-08-17 乐视移动智能信息技术(北京)有限公司 Starting method and apparatus for android debug bridge and terminal
CN114979230A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle-mounted terminal remote debugging system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010550A1 (en) * 2006-05-30 2008-01-10 Texas Instruments Incorporated Efficient trace triggering
CN102917095A (en) * 2012-10-10 2013-02-06 青岛海信移动通信技术股份有限公司 Method and device for testing terminal based on Android
KR101251439B1 (en) * 2010-12-23 2013-04-05 주식회사 이노와이어리스 Automatical test system and method performance of smart phone using android debug bridge interface
CN103049375A (en) * 2012-12-07 2013-04-17 广东欧珀移动通信有限公司 Camera online debugging method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010550A1 (en) * 2006-05-30 2008-01-10 Texas Instruments Incorporated Efficient trace triggering
KR101251439B1 (en) * 2010-12-23 2013-04-05 주식회사 이노와이어리스 Automatical test system and method performance of smart phone using android debug bridge interface
CN102917095A (en) * 2012-10-10 2013-02-06 青岛海信移动通信技术股份有限公司 Method and device for testing terminal based on Android
CN103049375A (en) * 2012-12-07 2013-04-17 广东欧珀移动通信有限公司 Camera online debugging method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701874A (en) * 2013-12-11 2014-04-02 深圳市东微智能科技有限公司 Method and system for remote communications of ARM core board and panel
CN105868098A (en) * 2015-11-06 2016-08-17 乐视移动智能信息技术(北京)有限公司 Starting method and apparatus for android debug bridge and terminal
CN114979230A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle-mounted terminal remote debugging system and method
CN114979230B (en) * 2022-05-26 2024-02-02 重庆长安汽车股份有限公司 Remote debugging system and method for vehicle-mounted terminal

Also Published As

Publication number Publication date
CN103269293B (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN103269291B (en) Android platform utilize point-to-point radio-frequency apparatus carry out the method for ADB debugging
CN102917095B (en) A kind of method of the terminal test based on android system and device
CN103246586B (en) Method for utilizing USB (universal serial bus) storage equipment for ADB (android debug bridge) debugging on android platform
CN112653738B (en) Internet of things network debugging system and method
CN104853020A (en) Interaction test method and terminal thereof
CN102413500A (en) Method and system for testing throughput of wireless network card in wireless local area network
CN104581785A (en) Wireless network testing method, testing device and mobile terminal
CN103313292B (en) Inter-system measuring method based on single baseband chip dual link framework
CN104219003A (en) Communication device, test system and test method thereof
CN103269293B (en) Android platform utilize microwave telecommunication devices carry out the method for debugging acid ADB debugging
CN103259697B (en) Android platform utilize UWB equipment carry out the method for ADB debugging
CN103440187A (en) Hardware script-based automated CAN (Controller Area Network) bus test method
CN106487847A (en) A kind of information processing method and transfer server
CN100384287C (en) Radio communication detecting system
CN103778058A (en) TETRA digital trunked air interface test method and system based on TTCN-3
CN103246587B (en) Method for utilizing SD (secure digital) card for ADB (android debug bridge) debugging on android platform
CN103269292B (en) Short distance microwave telecommunication devices are utilized to carry out the method for debugging acid ADB debugging
CN103425123A (en) Automated testing method for CAN (controller area network) bus based on software script
CN101582928B (en) Adaptive device and data transmission method for communication of veneer and peripheral device
CN102377243B (en) Collocation method of 101 protocol parameter, collocation device thereof and collocation system thereof
CN101370231B (en) Mobile phone test system based on client/service mode
CN102202332B (en) Base station maintenance system
CN104391788A (en) State-model-based secure communication protocol testing method and system
CN104461629A (en) PC terminal and method for installing cellphone application program by PC terminal
CN104113449A (en) Link detection method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee before: Fuzhou Rockchip Semiconductor Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.