CN102999418A - Mobile phone monitoring method based on PC (personal computer) side - Google Patents

Mobile phone monitoring method based on PC (personal computer) side Download PDF

Info

Publication number
CN102999418A
CN102999418A CN2012104630858A CN201210463085A CN102999418A CN 102999418 A CN102999418 A CN 102999418A CN 2012104630858 A CN2012104630858 A CN 2012104630858A CN 201210463085 A CN201210463085 A CN 201210463085A CN 102999418 A CN102999418 A CN 102999418A
Authority
CN
China
Prior art keywords
mobile phone
information
window
cpu
log
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
CN2012104630858A
Other languages
Chinese (zh)
Other versions
CN102999418B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210463085.8A priority Critical patent/CN102999418B/en
Publication of CN102999418A publication Critical patent/CN102999418A/en
Application granted granted Critical
Publication of CN102999418B publication Critical patent/CN102999418B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a mobile phone monitoring method based on a PC (personal computer) side. The method is completed by operation at a PC terminal and comprises the following steps of: detecting the connection state between the PC side and a mobile phone; if the PC side is connected with the mobile phone, starting a data acquisition thread A, and if the PC side is not connected with the mobile phone, returning to the step (1); acquiring total process information, running process information and equipment information of the mobile phone by the data acquisition thread A and feeding back to a mobile phone system for displaying on a screen; clicking any one piece of running process information for selection; starting a data acquisition thread B to acquire the occupancy rate of a CPU (central processing unit) and a memory of the selected process information and displaying the acquired information situation in a window; judging whether the window is closed or not, and if the window is closed, ending the data acquisition thread B; and if the window is not closed, returning to the step (5) for continuing the acquisition. According to the method disclosed by the invention, the occupancy rate of the CPU and the memory against a process of the mobile phone can be monitored in real time on the PC side, and the power consumption of the single process of the mobile phone can be conveniently observed.

Description

A kind of mobile phone monitoring method based on the PC end
Technical field
The present invention relates to a kind of mobile phone monitoring method, specifically a kind of method of the CPU of mobile phone and internal memory etc. being carried out Real-Time Monitoring at PC end.
Background technology
The system of at present a lot of mobile phones all is the Android system, and such mobile phone need to be monitored the processor CPU of mobile phone and operating position and the performance of internal memory in the commercial production manufacturing.Has monitoring tool on the mobile phone of present Android platform, but the mobile phone of Android platform only allows single foreground administrative mechanism, in the Real-Time Monitoring comparatively limitation that seems, can't effectively carry out Real-Time Monitoring to information such as the running status of the CPU of mobile phone and performances.And the monitoring tool on the mobile phone, the transplantability of data storage and test result is all relatively poor, can't well finish statistics and the generation of data sheet, causes the CPU of mobile phone and the ruuning situation of internal memory to learn timely, is unfavorable for the stable of handset capability.
Summary of the invention
The technical problem to be solved in the present invention provide a kind of on the PC end mobile phone monitoring method of Real-Time Monitoring mobile phone individual process CPU and memory usage.
In order to solve the problems of the technologies described above, the present invention takes following technical method:
A kind of mobile phone monitoring method based on the PC end, the method is finished at the PC terminal operation, comprises step:
(1) connection status of detection PC end and mobile phone;
(2) if the PC end is connected with mobile phone, log-on data collecting thread A is if the PC end then returns step (1) without connecting mobile phone;
(3) data acquisition thread A to whole progress informations of mobile phone, move progress information and facility information and gather and feed back to cell phone system and show at screen;
(4) any one progress information that is moving is chosen in click;
(5) log-on data collecting thread B carries out the collection of CPU and internal memory occupation rate to the progress information of choosing and the information state that collects is shown in window; Perhaps press strong this process that finishes that finishes;
(6) judge whether window closes, if close, then end data collecting thread B; If window is not closed, then return step (5) and continue to gather.
Described method is further comprising the steps of:
(7) after detecting the PC end and mobile phone is connected, carry out the preservation of daily record LOG information;
(8) log-on data collecting thread C gathers preservation to various log informations, closes data acquisition thread C behind the elapsed time T.
The described progress information that moving comprises the performance page, shows the CPU of mobile phone integral body and the occupancy of internal memory.
The present invention finishes whole process in the PC terminal, realizes the Real Time Monitoring to mobile phone process CPU and memory usage, for the mobile telephone power consumption of following the tracks of single application sizable reference is arranged; Can use by any type on the Android platform, the data of record can be unified to gather to corresponding type, are convenient to do performance evaluation.
Description of drawings
Accompanying drawing 1 is principle of the invention schematic flow sheet;
Synoptic diagram when accompanying drawing 2 quits a program for the present invention;
Accompanying drawing 3 is operating process synoptic diagram of the present invention.
Embodiment
For the ease of those skilled in the art's understanding, the invention will be further described below in conjunction with accompanying drawing.
The present invention finishes in the drilling of PC terminal, and start-up routine carries out Real Time Monitoring to the mobile phone progress information on the PC terminal, especially the Real Time Monitoring of the CPU of individual process and memory usage.
As shown in Figure 1, a kind of mobile phone monitoring method based on the PC end, the method is finished at the PC terminal operation, comprises step: (1) PC end detects in real time, checks whether to be connected with mobile phone.
(2) be connected to mobile phone if the PC end detects, then start the data acquisition thread A on backstage, if the PC end is not connected to mobile phone, then return step (1), proceed to detect.
(3) data acquisition thread A to whole progress informations of mobile phone, move progress information and facility information gathers, gather after finishing related data with mobile phone and transfer back on the PC end and process, then the screen at mobile phone shows.Move progress information and comprising handset capability information.The processing that the data acquisition thread reaches data all is according to existing acquisition mode and processing mode, and its technology is those skilled in the art's common practise.Can also inquire about easily comprehensive page, move the relevant information of the page, the facility information page, four TAB pages of the performance page.All page info comprises all progress informations of system kernel, such as information such as user (USER), process number (PID), parent process number (PPID), virtual memory (VISZE), actual memory (RSS), process titles (NAME).Moving the page and showing the current progress information that is moving, can choose front 20 by the CPU occupation rate and show, also can choose front 15 or 30 and show, do not limiting at this, setting as required.Progress information comprises: process number (PID), CPU occupation rate (CPU%), virtual memory (VISZE), actual memory (RSS), process title (NAME) etc.The facility information page shows: unit type, production firm, firmware version, baseband version, version number, authority situation etc.The performance page shows whole CPU and the internal memory operating position of current system, can be set as every 0.5 second and refresh once, can show current process number and concrete cpu usage in page below, certainly, also can refresh once every 1 second or other times, set flexibly.
(4) any one progress information that is moving is chosen in click, this process of choosing is monitored checked.
(5) start back-end data collecting thread B and the progress information of choosing is carried out the collection of CPU and memory usage, then show in the window after the data back PC end that collects being processed on screen, the occupancy that in this window, can clearly show in real time CPU and the internal memory of this process, be convenient to follow the tracks of the performance of the individual process of mobile phone, in monitoring, can automatically identify the peak value of the occupancy of CPU and internal memory, the line item of going forward side by side, the result of monitoring can be saved to the data file of program place catalogue automatically, click inquire button and can inquire about interior CPU and internal memory operating position of this process a period of time, be convenient to inquiry in the future.Perhaps the process of choosing is pressed and finished strong this process that finishes, access the KILL instruction this process is closed.
Whether the window of (6) judging show process information closes, if close, then end data collecting thread B; If window is not closed, then return step (5) and continue to gather.
Can carry out reality to other processes with said method advances monitoring and checks.
In addition, whether (7) with after mobile phone is connected, can also select the preservation to daily record LOG information at PC end.(8) if need to preserve daily record LOG information, then log-on data collecting thread C gathers and passes back the PC end to various log informations and processes,
(7) after detecting the PC end and mobile phone is connected, carry out the preservation of daily record LOG information;
(8) log-on data collecting thread C gathers preservation to various log informations, closes data acquisition thread C behind the elapsed time T.This time T can be 2 seconds, 3 seconds or other times, and system detects automatically, with regard to autoshutdown collecting thread C, realizes the preservation to log information after the time surpasses the time of setting.
As shown in Figure 2, when the needs bolt down procedure, click quits a program, and detect the PC end and whether connect mobile phone, if connect mobile phone, end data collecting thread A then, successful bolt down procedure if the PC end does not connect mobile phone, then directly changes successfully bolt down procedure over to.
During concrete operations, as shown in Figure 3, behind the start-up routine, at first enter and welcome the interface, judge that then whether the PC end is connected with mobile phone, does not connect if, then reenter and welcome the interface to detect, then enter next step if connect, to enter main interface, to have whole pages under this main interface, move four TAB pages such as the page, the performance page, the facility information page.Then click the process of specifying the page from moving, can finish process operation to this process, also can choose detection to this process, gather related data by the data acquisition thread, obtain this CPU that chooses process and internal memory operating position and show by screen window.
In sum, the present invention mainly comprise the facility information of the CPU that to the CPU of whole processes on backstage, cell phone system foreground and memory usage, moving process and memory usage, inquiry mobile phone, in real time show the whole CPU of mobile phone and memory usage, show selected process CPU and five unit of internal memory operating position in a period of time in real time, and the result of monitoring automatically recorded generating report forms and be retained in the data file of program place catalogue, carry out professional analysis after being convenient to.Break away from the limitation of Android platform, in the production run of mobile phone, very important effect is played in the monitoring of mobile phone CPU and internal memory performance.

Claims (3)

1. mobile phone monitoring method based on PC end, the method is finished at the PC terminal operation, comprises step:
(1) connection status of detection PC end and mobile phone;
(2) if the PC end is connected with mobile phone, log-on data collecting thread A is if the PC end then returns step (1) without connecting mobile phone;
(3) data acquisition thread A to whole progress informations of mobile phone, move progress information and facility information and gather and feed back to cell phone system and show at screen;
(4) any one progress information that is moving is chosen in click;
(5) log-on data collecting thread B carries out the collection of CPU and internal memory occupation rate to the progress information of choosing and the information state that collects is shown in window; Perhaps press strong this process that finishes that finishes;
(6) judge whether window closes, if close, then end data collecting thread B; If window is not closed, then return step (5) and continue to gather.
2. the mobile phone monitoring method based on PC end according to claim 1, it is characterized in that: described method is further comprising the steps of:
(7) after detecting the PC end and mobile phone is connected, carry out the preservation of daily record LOG information;
(8) log-on data collecting thread C gathers preservation to various log informations, closes data acquisition thread C behind the elapsed time T.
3. the mobile phone monitoring method based on PC end according to claim 2, it is characterized in that: the described progress information that moving comprises the performance page, shows the CPU of mobile phone integral body and the occupancy of internal memory.
CN201210463085.8A 2012-11-16 2012-11-16 A kind of mobile phone monitoring method of Based PC end Expired - Fee Related CN102999418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210463085.8A CN102999418B (en) 2012-11-16 2012-11-16 A kind of mobile phone monitoring method of Based PC end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210463085.8A CN102999418B (en) 2012-11-16 2012-11-16 A kind of mobile phone monitoring method of Based PC end

Publications (2)

Publication Number Publication Date
CN102999418A true CN102999418A (en) 2013-03-27
CN102999418B CN102999418B (en) 2016-03-02

Family

ID=47928015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210463085.8A Expired - Fee Related CN102999418B (en) 2012-11-16 2012-11-16 A kind of mobile phone monitoring method of Based PC end

Country Status (1)

Country Link
CN (1) CN102999418B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184907A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Method for detecting awakening data of terminal application software in standby state and terminal
CN104750585A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Terminal detecting method and terminal detecting device
CN104980552A (en) * 2015-06-18 2015-10-14 惠州Tcl移动通信有限公司 Method and system for realizing automatic test of Android mobile terminal
CN105279068A (en) * 2015-10-23 2016-01-27 维沃移动通信有限公司 Method for displaying operation information of mobile terminal in real time and display device
CN106484490A (en) * 2015-09-02 2017-03-08 腾讯科技(深圳)有限公司 A kind of trace analysises method and apparatus of application program
CN108139963A (en) * 2015-10-16 2018-06-08 微软技术许可有限责任公司 Telemetering response system
CN108139961A (en) * 2015-10-16 2018-06-08 微软技术许可有限责任公司 Telemetering defines system
CN108337127A (en) * 2017-12-21 2018-07-27 中国平安人寿保险股份有限公司 application performance monitoring method, system, terminal and computer readable storage medium
CN109901966A (en) * 2019-01-14 2019-06-18 珠海金山网络游戏科技有限公司 A kind of handset capability occupies monitoring method and system
US10929272B2 (en) 2015-10-16 2021-02-23 Microsoft Technology Licensing, Llc Telemetry system extension
US11386061B2 (en) 2015-10-16 2022-07-12 Microsoft Technology Licensing, Llc Telemetry request system
CN115878432A (en) * 2023-02-16 2023-03-31 支付宝(杭州)信息技术有限公司 Process monitoring method in computing system and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281154A1 (en) * 2005-12-03 2010-11-04 International Business Corporation Methods and Apparatus for Remote Monitoring
CN101969450A (en) * 2010-02-10 2011-02-09 方小祥 System and method for remotely wirelessly checking security of progress of smart phone
CN102063363A (en) * 2010-01-26 2011-05-18 深圳市同洲电子股份有限公司 Memory footprint statistical device and method
CN102420903A (en) * 2011-11-28 2012-04-18 惠州Tcl移动通信有限公司 Mobile phone-based software processing method and mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281154A1 (en) * 2005-12-03 2010-11-04 International Business Corporation Methods and Apparatus for Remote Monitoring
CN102063363A (en) * 2010-01-26 2011-05-18 深圳市同洲电子股份有限公司 Memory footprint statistical device and method
CN101969450A (en) * 2010-02-10 2011-02-09 方小祥 System and method for remotely wirelessly checking security of progress of smart phone
CN102420903A (en) * 2011-11-28 2012-04-18 惠州Tcl移动通信有限公司 Mobile phone-based software processing method and mobile phone

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184907A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Method for detecting awakening data of terminal application software in standby state and terminal
CN104184907B (en) * 2013-05-27 2017-12-15 腾讯科技(深圳)有限公司 The detection method and terminal of the wake-up data of terminal application software in the standby state
CN104750585A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Terminal detecting method and terminal detecting device
CN104980552B (en) * 2015-06-18 2019-01-04 惠州Tcl移动通信有限公司 Realize the method and system of Android mobile terminal automatic test
CN104980552A (en) * 2015-06-18 2015-10-14 惠州Tcl移动通信有限公司 Method and system for realizing automatic test of Android mobile terminal
CN106484490A (en) * 2015-09-02 2017-03-08 腾讯科技(深圳)有限公司 A kind of trace analysises method and apparatus of application program
US10929272B2 (en) 2015-10-16 2021-02-23 Microsoft Technology Licensing, Llc Telemetry system extension
CN108139961A (en) * 2015-10-16 2018-06-08 微软技术许可有限责任公司 Telemetering defines system
CN108139963A (en) * 2015-10-16 2018-06-08 微软技术许可有限责任公司 Telemetering response system
US11288245B2 (en) 2015-10-16 2022-03-29 Microsoft Technology Licensing, Llc Telemetry definition system
US11386061B2 (en) 2015-10-16 2022-07-12 Microsoft Technology Licensing, Llc Telemetry request system
CN105279068B (en) * 2015-10-23 2019-01-22 维沃移动通信有限公司 A kind of method and display device of running of mobile terminal information real-time display
CN105279068A (en) * 2015-10-23 2016-01-27 维沃移动通信有限公司 Method for displaying operation information of mobile terminal in real time and display device
CN108337127A (en) * 2017-12-21 2018-07-27 中国平安人寿保险股份有限公司 application performance monitoring method, system, terminal and computer readable storage medium
CN109901966A (en) * 2019-01-14 2019-06-18 珠海金山网络游戏科技有限公司 A kind of handset capability occupies monitoring method and system
CN115878432A (en) * 2023-02-16 2023-03-31 支付宝(杭州)信息技术有限公司 Process monitoring method in computing system and related equipment
CN115878432B (en) * 2023-02-16 2023-05-12 支付宝(杭州)信息技术有限公司 Process monitoring method in computing system and related equipment

Also Published As

Publication number Publication date
CN102999418B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN102999418A (en) Mobile phone monitoring method based on PC (personal computer) side
CN102256290B (en) Method for collecting abnormal data of TD-SCDMA (Time Division-Synchronization Code Division Multiple Access) wireless communication network user terminal
CN109769261B (en) Network fault processing method and device
CN105302701A (en) Method, apparatus and device for testing reaction time of terminal user interface
CN105955876B (en) Data monitoring processing method and device
CN106528372B (en) Program operation monitoring system and method
CN102708049B (en) Mobile solution test result record and back method and system
Hasan et al. AudioSense: Enabling real-time evaluation of hearing aid technology in-situ
CN105069404A (en) Method and system for processing fingerprint information
CN102256297B (en) TD-SCDMA (Time Division-Synchronization Code Division Multiple Access) wireless communication network service user perception data collection method
CN105786693A (en) Self-testing execution system and method as well as mobile terminal
CN106095660A (en) The quality control method of application and device
CN105634793A (en) Network information processing method and c
CN107241650A (en) A kind of method of quick positioning playing Caton phenomenon reason
CN207067097U (en) A kind of environment pollution monitoring system
CN105786679A (en) Automatic test monitoring system and method and mobile terminal
CN110096612A (en) The acquisition methods and system of the online audio analysis data of voice log
WO2014066155A2 (en) Monitoring media consumption habits
CN103324777A (en) Android application program energy consumption modeling method based on time
CN201508207U (en) Data acquisition terminal for thermal power plant energy-conserving scheduling system
CN113542070A (en) Thermal data extraction method based on use frequency
CN109009093A (en) The analysis method of mobile eeg signal acquisition
CN106850783B (en) Across hole CT automation collection and long-distance monitoring method
CN111124820A (en) Method for realizing off-line monitoring and analysis of operating system and process resources
CN201611952U (en) Communication flow test device based on commercial data card

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160302