CN109359011A - A kind of Caton monitoring method, device and the terminal device of android system - Google Patents

A kind of Caton monitoring method, device and the terminal device of android system Download PDF

Info

Publication number
CN109359011A
CN109359011A CN201811213548.9A CN201811213548A CN109359011A CN 109359011 A CN109359011 A CN 109359011A CN 201811213548 A CN201811213548 A CN 201811213548A CN 109359011 A CN109359011 A CN 109359011A
Authority
CN
China
Prior art keywords
caton
android system
value
monitoring data
preset threshold
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
CN201811213548.9A
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201811213548.9A priority Critical patent/CN109359011A/en
Publication of CN109359011A publication Critical patent/CN109359011A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
    • G06F11/3423Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time where the assessed time is active or idle time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3495Performance evaluation by tracing or monitoring for systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention is suitable for intelligent terminal technical field, provide a kind of Caton monitoring method of android system, device and terminal device, by the Caton value for obtaining android system, and judge whether the Caton value is more than preset threshold, when the Caton value is more than preset threshold, obtain the Dump file and log information of the android system, according to the Dump file and log information, generate the Caton monitoring data of the android system, by obtaining corresponding Dump file and log information after acquisition android system in use generated Caton value, generate the Caton monitoring data of the android system, so that people can optimize work according to Caton problem of the Caton monitoring data to android system, it is full Foot people to android system in use caused by Caton carry out the demand of effective monitoring.

Description

A kind of Caton monitoring method, device and the terminal device of android system
Technical field
The invention belongs to intelligent terminal technical field more particularly to a kind of Caton monitoring methods of android system, device And terminal device.
Background technique
With popularizing for mobile Internet, mobile phone is people as movable intelligent carriers such as social, amusement, navigation Essential tool in life.As cell phone software developer, how to improve the application experience of software is one very big Challenge, and solve the problems, such as that the Caton of mobile phone is exactly one of them very big challenge.Current most of mobile phones are all to use Android system addresses only a part of Caton problem of mobile phone in exploitation test process.And mobile phone is in the use of user In the process, due to the diversification of scene, the difference of user operation habits, the appearance of part Caton situation is more random one Operation so that software developer can not reappearing user in use caused by Caton situation, therefore, it is necessary to monitor hand Machine in use caused by Caton situation so that software developer can carry out phase according to the Caton problem of mobile phone The Optimization Work answered.
Summary of the invention
In view of this, Caton monitoring method, device and the terminal the embodiment of the invention provides a kind of android system are set It is standby, it is not able to satisfy generated Caton progress effective monitoring during people are used for to solve existing android system Problem.
The first aspect of the embodiment of the present invention provides a kind of Caton monitoring method of android system, comprising:
Obtain the Caton value of the android system;
Judge whether the Caton value is more than preset threshold;
When the Caton value is more than preset threshold, the Dump file and log information of the android system are obtained;
According to the Dump file and the log information, the first Caton monitoring data of the android system is generated.
The second aspect of the embodiment of the present invention provides a kind of Caton monitoring device of android system, comprising:
Caton value acquiring unit, for obtaining the Caton value of the android system;
Caton value judging unit, for judging whether the Caton value is more than preset threshold;
First information file obtaining unit, for obtaining the Android system when the Caton value is more than preset threshold The Dump file and log information of system;
First Caton monitoring data generation unit, for according to the Dump file and the log information, described in generation First Caton monitoring data of android system.
The third aspect of the embodiment of the present invention provides a kind of intelligent terminal, comprising:
Memory, processor and storage are in the memory and the computer journey that can run on the processor Sequence, wherein the processor realizes the Android that the first aspect of the embodiment of the present invention provides when executing the computer program The step of Caton monitoring method of system.
Wherein, the computer program includes:
Caton value acquiring unit, for obtaining the Caton value of the android system;
Caton value judging unit, for judging whether the Caton value is more than preset threshold;
First information file obtaining unit, for obtaining the Android system when the Caton value is more than preset threshold The Dump file and log information of system;
First Caton monitoring data generation unit, for according to the Dump file and the log information, described in generation First Caton monitoring data of android system.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, wherein the first of the embodiment of the present invention is realized when the computer program is executed by processor The step of Caton monitoring method for the android system that aspect provides.
Wherein, the computer program includes:
Caton value acquiring unit, for obtaining the Caton value of the android system;
Caton value judging unit, for judging whether the Caton value is more than preset threshold;
First information file obtaining unit, for obtaining the Android system when the Caton value is more than preset threshold The Dump file and log information of system;
First Caton monitoring data generation unit, for according to the Dump file and the log information, described in generation First Caton monitoring data of android system.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the Caton by obtaining android system Value, and judge whether the Caton value is more than preset threshold, when the Caton value is more than preset threshold, obtain the android system Dump file and log information the Caton monitoring number of the android system is generated according to the Dump file and log information According to by obtaining corresponding Dump file and log letter after acquisition android system in use generated Caton value Breath, generates the Caton monitoring data of the android system, so that people can be according to the Caton monitoring data pair The Caton problem of android system optimizes work, and it is generated in use to android system to meet people The demand of Caton progress effective monitoring.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart of the Caton monitoring method of android system provided in an embodiment of the present invention;
Fig. 2 is a kind of implementation flow chart of method for generating the second Caton monitoring data provided in an embodiment of the present invention;
Fig. 3 is a kind of method specific implementation flow chart for generating third Caton monitoring data provided in an embodiment of the present invention;
Fig. 4 is a kind of specific implementation flow of method for generating the 4th Caton monitoring data provided in an embodiment of the present invention Figure;
Fig. 5 is a kind of schematic diagram of the Caton monitoring device of android system provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, system, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.Referring to FIG. 1, Fig. 1 shows a kind of implementation process of the Caton monitoring method of android system provided in an embodiment of the present invention, and details are as follows:
In step s101, the Caton value of the android system is obtained.
In embodiments of the present invention, it is set as the Android system when frame per second of android system being lower than a certain setting value Caton, the number that Caton value contains frame per second of the android system lower than a certain setting and continuously occurs has occurred in system.At this In, when the frame per second of android system being lower than a certain setting value, and n times should continuously occur lower than the frame per second of a certain setting value, It is defined as Caton value, N referred herein is the positive integer greater than zero, that is to say, that Caton value contains frame per second and number, the two Combination constitute the Caton value of android system.It is understood that number referred herein is interval preset time to frame The number that rate is acquired.
Optionally, step S101 specifically:
When the android system is in operating status, interval preset time obtains the Caton of the android system Value.
In embodiments of the present invention, the interval preset time for obtaining the Caton value of android system is greater than acquisition Android The frame per second acquisition interval time of system, to ensure that it is set that the Caton value of acquired android system can satisfy Condition set by Caton occurs for android system.
Herein, the Caton value that android system is obtained by interval preset time can reduce the acquisition frequency of Caton value Rate improves user experience to reduce the EMS memory occupation of android system, power consumption etc..
Optionally, step S101 is specifically included:
In the unlocking screen notification information for detecting the android system, start to obtain the android system Caton value;
In the screen lock notification information for detecting the android system, stop obtaining the android system Caton value.
In embodiments of the present invention, in order to further decrease the operating rate, EMS memory occupation, power consumption of android system Situations such as, user experience being correspondingly provided, being started when by being set in the unlocking screen notification information for detecting android system The Caton value for obtaining android system stops obtaining in the screen lock notification information for detecting android system The Caton value of android system only obtains user's generated Caton value during using android system, so that The Caton monitoring data of the android system is more targeted, enables software developer according to the Caton monitoring data It preferably carries out Caton case study and carries out related optimization, improve the working efficiency of software developer.
In step s 102, judge whether the Caton value is more than preset threshold.
In embodiments of the present invention, preset threshold is the standard value that Caton occurs for a preset android system, Such as the frame per second of android system continuous 5 times be lower than 20Hz.
Herein, judge whether acquired Caton value is more than preset threshold, for example acquired Caton value is frame per second company Continue 3 times and be lower than 20Hz, and is less than such as continuous 5 frame per second of preset standard value lower than 20Hz;Such as acquired Caton value is frame per second continuous 6 times lower than 20Hz, is more than preset standard value such as frame per second continuous 5 times lower than 20Hz.
In step s 103, when the Caton value is more than preset threshold, the Dump file of the android system is obtained And log information.
In embodiments of the present invention, when Caton value is more than preset threshold, illustrate at this moment android system is card At this moment problem of pausing obtains the Dump file and log information of android system, wherein contain Android in Dump file The system mode of system such as cpu usage, memory consumption situation, the application information and stack information that Caton occurs Deng.
In step S104, according to the Dump file and the log information, the first of the android system is generated Caton monitoring data.
In embodiments of the present invention, after getting the Dump file and log information of android system, while should The information such as device identification, the version identifier of android system generate the first Caton monitoring data of the android system, complete Effective monitoring to android system.
Optionally, it analyzes and solves in time for the ease of Caton problem of the software developer to the android system Corresponding Caton problem, after step s 104, further includes:
The first Caton monitoring data is transmitted through the network to background server, in order to the background server pair The android system carries out Caton analysis.
In embodiments of the present invention, after the first Caton monitoring data for generating android system, which is supervised Control data be uploaded to background server, background server after receiving the first Caton monitoring data, it is carried out parsing and Corresponding first Caton analysis data are generated after preliminary analysis, are asked with improving software developer to the Caton of the android system The analysis efficiency of topic.
Optionally, above-mentioned in order to reduce the pressure in terms of being frequently uploaded to bandwidth, operation brought by android system The first Caton monitoring data is transmitted through the network to background server in step specifically:
The first Caton monitoring data is transmitted through the network to background server according to preset time.
The frequency that the first Caton monitoring data is uploaded by reducing, in terms of reducing the bandwidth of android system, operation Pressure, so that user experience is more preferable.
Optionally, the preset threshold includes the first preset threshold and the second preset threshold, wherein the second preset threshold is big In the first preset threshold;After step s 102, further include the steps that generating the second Caton monitoring data, referring to FIG. 2, Fig. 2 A kind of specific implementation flow of method for generating the second Caton monitoring data provided in an embodiment of the present invention is shown, is described in detail such as Under:
In step s 201, when the Caton value is more than first preset threshold but is less than second preset threshold When, obtain corresponding log information in the Dump file and the first preset duration of the android system.
In embodiments of the present invention, the first preset threshold and the second preset threshold represent android system generation Caton Two different standard values, such as the first preset threshold are set as frame per second continuous 5 times lower than 20Hz, and the second preset threshold is set as Be lower than 20Hz frame per second continuous 10 times, this illustrate android system there is a situation where Catons it is not identical, in the android system Caton value be more than the second preset threshold when, illustrate that the Caton situation of android system is even more serious, need carry out more fully Analysis.
Herein, the first preset duration is preset before Caton occurs for android system and a certain tool later Front and back 30 seconds when Caton occur for body duration, such as android system, and corresponding log information is in the first preset duration The 30 seconds log informations in front and back when Caton occur for android system.
In embodiments of the present invention, it only obtains android system and the 30 seconds log informations in front and back when Caton occurs, be not The whole log informations for obtaining android system, can be improved the Caton analysis efficiency to android system, and reduce The operation pressure of android system, so that user experience is more preferable.
In step S202, according to corresponding log information in the Dump file and first preset duration, generate Second Caton monitoring data of the android system.
In embodiments of the present invention, when corresponding in the Dump file and the first preset duration for get android system After log information, while by information such as the device identification of the android system, version identifiers, the of the android system is generated Two Caton monitoring datas, complete the effective monitoring to android system.
Optionally, after step S202, further includes:
The second Caton monitoring data is transmitted through the network to background server, in order to the background server pair The android system carries out Caton analysis.
Optionally, above-mentioned in order to reduce the pressure in terms of being frequently uploaded to bandwidth, operation brought by android system The second Caton monitoring data is transmitted through the network to background server in step specifically:
The second Caton monitoring data is transmitted through the network to background server according to preset time.
Optionally, after step s 102, further include the steps that generating third Caton monitoring data, referring to FIG. 3, Fig. 3 A kind of specific implementation flow of method for generating third Caton monitoring data provided in an embodiment of the present invention is shown, is described in detail such as Under:
In step S301, when the Caton value is more than the second preset threshold, the Dump of the android system is obtained Corresponding log information in file and the second preset duration.
In embodiments of the present invention, more tight due to occurring when Caton value is more than the second preset threshold for android system The Caton situation of weight, therefore, it is desirable to more comprehensively there is a situation where Catons to analyze to it for log information for acquisition, that is, Say that the second preset duration is any duration value greater than the first preset duration.Such as the second corresponding log information in preset duration The 60 seconds log informations in front and back when occurring Caton for android system.
In step s 302, it according to corresponding log information in the Dump file and second preset duration, generates The third Caton monitoring data of the android system.
Optionally, after step S302, further includes:
The third Caton monitoring data is transmitted through the network to background server, in order to the background server pair The android system carries out Caton analysis.
Optionally, above-mentioned in order to reduce the pressure in terms of being frequently uploaded to bandwidth, operation brought by android system The third Caton monitoring data is transmitted through the network to background server in step specifically:
The third Caton monitoring data is transmitted through the network to background server according to preset time.
Optionally, after step S202, further include the steps that generating the 4th Caton monitoring data, referring to FIG. 4, Fig. 4 A kind of specific implementation flow of method for generating the 4th Caton monitoring data provided in an embodiment of the present invention is shown, is described in detail such as Under:
In step S401, the battery capacity, network state, running temperature of the android system are obtained, described in generation The hardware effort data of android system;
In step S402, according to the hardware effort data and the third Caton monitoring data, described in generation 4th Caton monitoring data of android system.
Optionally, after step S402, further includes:
The 4th Caton monitoring data is transmitted through the network to background server, in order to the background server pair The android system carries out Caton analysis.
Optionally, above-mentioned in order to reduce the pressure in terms of being frequently uploaded to bandwidth, operation brought by android system The 4th Caton monitoring data is transmitted through the network to background server in step specifically:
The 4th Caton monitoring data is transmitted through the network to background server according to preset time.
In embodiments of the present invention, by obtaining the Caton value of android system, and judge whether the Caton value is more than pre- If threshold value, when the Caton value is more than preset threshold, the Dump file and log information of the android system are obtained, according to this Dump file and log information generate the Caton monitoring data of the android system, are being used by obtaining android system Corresponding Dump file and log information are obtained after generated Caton value in the process, generates the Caton prison of the android system Data are controlled, so that people can optimize work according to Caton problem of the Caton monitoring data to android system, Meet people to android system in use caused by Caton carry out effective monitoring demand.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be controlled with its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to a kind of Caton monitoring method of android system described in foregoing embodiments, Fig. 5 shows of the invention real A kind of schematic diagram of the Caton monitoring device of android system of example offer is provided, for ease of description, is illustrated only and the present invention The relevant part of embodiment.
Referring to Fig. 5, which includes:
Caton value acquiring unit 51, for obtaining the Caton value of the android system;
Caton value judging unit 52, for judging whether the Caton value is more than preset threshold;
First information file obtaining unit 53, for obtaining the Android when the Caton value is more than preset threshold The Dump file and log information of system;
First Caton monitoring data generation unit 54, for generating institute according to the Dump file and the log information State the first Caton monitoring data of android system.
Optionally, the Caton value acquiring unit 51 includes:
Caton value starts to obtain subelement, in the unlocking screen notification information for detecting the android system, Start to obtain the Caton value of the android system;
Caton value stops obtaining subelement, in the screen lock notification information for detecting the android system, Stop obtaining the Caton value of the android system.
Optionally, the preset threshold includes the first preset threshold and the second preset threshold, the device further include:
Second message file acquiring unit, for when the Caton value is more than first preset threshold but is less than described When the second preset threshold, corresponding log information in the Dump file and the first preset duration of the android system is obtained;
Second Caton monitoring data generation unit, for according to corresponding in the Dump file and first preset duration Log information, generate the second Caton monitoring data of the android system.
Optionally, the device further include:
Third message file acquiring unit is used for when the Caton value is more than the second preset threshold, described in acquisition Corresponding log information in the Dump file of android system and the second preset duration;
Third Caton monitoring data generation unit, for according to corresponding in the Dump file and second preset duration Log information, generate the third Caton monitoring data of the android system.
Optionally, the device further include:
Hardware effort data generating unit, for obtaining the battery capacity, network state, operation of the android system Temperature generates the hardware effort data of the android system;
4th Caton monitoring data generation unit, for monitoring number according to the hardware effort data and the third Caton According to generating the 4th Caton monitoring data of the android system.
Optionally, the device further include:
First Caton monitoring data transmission unit, for the first Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
Optionally, the device further include:
Second Caton monitoring data transmission unit, for the second Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
Optionally, the device further include:
Third Caton monitoring data transmission unit, for the third Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
Optionally, the device further include:
4th Caton monitoring data transmission unit, for the 4th Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
In embodiments of the present invention, by obtaining the Caton value of android system, and judge whether the Caton value is more than pre- If threshold value, when the Caton value is more than preset threshold, the Dump file and log information of the android system are obtained, according to this Dump file and log information generate the Caton monitoring data of the android system, are being used by obtaining android system Corresponding Dump file and log information are obtained after generated Caton value in the process, generates the Caton prison of the android system Data are controlled, so that people can optimize work according to Caton problem of the Caton monitoring data to android system, Meet people to android system in use caused by Caton carry out effective monitoring demand.
Fig. 6 is a kind of schematic diagram for terminal device that one embodiment of the invention provides.As shown in fig. 6, the end of the embodiment End equipment 6 includes: processor 60, memory 61 and is stored in the memory 61 and can run on the processor 60 Computer program 62.The processor 60 realizes the card of above-mentioned each android system when executing the computer program 62 Step in monitoring method embodiment, such as step 101 shown in FIG. 1 is to 104.Alternatively, the processor 60 execute it is described The function of each unit in above-mentioned each system embodiment, such as the function of module 51 to 54 shown in Fig. 5 are realized when computer program 62.
Illustratively, the computer program 62 can be divided into one or more units, one or more of Unit is stored in the memory 61, and is executed by the processor 60, to complete the present invention.One or more of lists Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey Implementation procedure of the sequence 62 in the terminal device 6.For example, the computer program 62, which can be divided into Caton value, obtains list First 51, Caton value judging unit 52, first information file obtaining unit 53, the first Caton monitoring data generation unit 54, each list First concrete function is as follows:
Caton value acquiring unit 51, for obtaining the Caton value of the android system;
Caton value judging unit 52, for judging whether the Caton value is more than preset threshold;
First information file obtaining unit 53, for obtaining the Android when the Caton value is more than preset threshold The Dump file and log information of system;
First Caton monitoring data generation unit 54, for generating institute according to the Dump file and the log information State the first Caton monitoring data of android system.
Optionally, the Caton value acquiring unit 51 in the computer program 62 can also be divided into Caton value and start to obtain Subelement, Caton value is taken to stop obtaining subelement, each subelement concrete function is as described below:
Caton value starts to obtain subelement, in the unlocking screen notification information for detecting the android system, Start to obtain the Caton value of the android system;
Caton value stops obtaining subelement, in the screen lock notification information for detecting the android system, Stop obtaining the Caton value of the android system.
Optionally, the preset threshold includes the first preset threshold and the second preset threshold, and the computer program 62 is also The second message file acquiring unit, the second Caton monitoring data generation unit can be divided into, each unit concrete function is as follows:
Second message file acquiring unit, for when the Caton value is more than first preset threshold but is less than described When the second preset threshold, corresponding log information in the Dump file and the first preset duration of the android system is obtained;
Second Caton monitoring data generation unit, for according to corresponding in the Dump file and first preset duration Log information, generate the second Caton monitoring data of the android system.
Optionally, the computer program 62 can also be divided into third message file acquiring unit, third Caton prison Data generating unit is controlled, each unit concrete function is as follows:
Third message file acquiring unit is used for when the Caton value is more than the second preset threshold, described in acquisition Corresponding log information in the Dump file of android system and the second preset duration;
Third Caton monitoring data generation unit, for according to corresponding in the Dump file and second preset duration Log information, generate the third Caton monitoring data of the android system.
Optionally, the computer program 62 can also be divided into hardware effort data generating unit, the 4th Caton prison Data generating unit is controlled, each unit concrete function is as follows:
Hardware effort data generating unit, for obtaining the battery capacity, network state, operation of the android system Temperature generates the hardware effort data of the android system;
4th Caton monitoring data generation unit, for monitoring number according to the hardware effort data and the third Caton According to generating the 4th Caton monitoring data of the android system.
Optionally, the computer program 62 can also be divided into the first Caton monitoring data transmission unit, the unit Concrete function is as follows:
First Caton monitoring data transmission unit, for the first Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
Optionally, the computer program 62 can also be divided into the second Caton monitoring data transmission unit, the unit Concrete function is as follows:
Second Caton monitoring data transmission unit, for the second Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
Optionally, the computer program 62 can also be divided into third Caton monitoring data transmission unit, the unit Concrete function is as follows:
Third Caton monitoring data transmission unit, for the third Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
Optionally, the computer program 62 can also be divided into the 4th Caton monitoring data transmission unit, the unit Concrete function is as follows:
4th Caton monitoring data transmission unit, for the 4th Caton monitoring data to be transmitted through the network to backstage Server, in order to which the background server carries out Caton analysis to the android system.
The terminal device 6 can be the terminal devices such as desktop PC, notebook, palm PC and smart phone, It is also possible to the wearable devices such as Intelligent bracelet, smartwatch, bluetooth headset.The terminal device 6 may include, but be not limited only to, Processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 is only the example of terminal device 6, do not constitute pair The restriction of terminal device 6 may include perhaps combining certain components or different portions than illustrating more or fewer components Part, such as the terminal can also include input-output equipment, network access equipment, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as the hard disk or interior of terminal device 6 It deposits.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as be equipped on the terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6 Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the terminal other Program and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the system is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed system/terminal device and method, it can be with It realizes by another way.For example, system described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, system Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or system, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of Caton monitoring method of android system, which is characterized in that the described method includes:
Obtain the Caton value of the android system;
Judge whether the Caton value is more than preset threshold;
When the Caton value is more than preset threshold, the Dump file and log information of the android system are obtained;
According to the Dump file and the log information, the first Caton monitoring data of the android system is generated.
2. the method as described in claim 1, which is characterized in that the step of the Caton value for obtaining the android system, Include:
In the unlocking screen notification information for detecting the android system, start the Caton for obtaining the android system Value;
In the screen lock notification information for detecting the android system, stop the Caton for obtaining the android system Value.
3. method according to claim 1 or 2, which is characterized in that the preset threshold includes the first preset threshold and second Preset threshold, it is described judge the step of whether the Caton value is more than preset threshold after, comprising:
When the Caton value is more than first preset threshold but is less than second preset threshold, described in acquisition Corresponding log information in the Dump file of android system and the first preset duration;
According to corresponding log information in the Dump file and first preset duration, the android system is generated Second Caton monitoring data.
4. method as claimed in claim 3, it is described judge the step of whether the Caton value is more than preset threshold after, also Include:
When the Caton value be more than the second preset threshold when, obtain the android system Dump file and second it is default when Corresponding log information in long;
According to corresponding log information in the Dump file and second preset duration, the android system is generated Third Caton monitoring data.
5. method as claimed in claim 4, which is characterized in that in the step for generating third Caton monitoring data, also Include:
The battery capacity, network state, running temperature for obtaining the android system, generate the hardware of the android system Operational data;
According to the hardware effort data and the third Caton monitoring data, the 4th Caton of the android system is generated Monitoring data.
6. the method as described in claim 1, which is characterized in that the method also includes:
The first Caton monitoring data is transmitted through the network to background server, in order to which the background server is to described Android system carries out Caton analysis.
7. a kind of Caton monitoring device of android system, which is characterized in that described device includes:
Caton value acquiring unit, for obtaining the Caton value of the android system;
Caton value judging unit, for judging whether the Caton value is more than preset threshold;
First information file obtaining unit, for obtaining the android system when the Caton value is more than preset threshold Dump file and log information;
First Caton monitoring data generation unit, for according to the Dump file and the log information, described in generation First Caton monitoring data of android system.
8. device as described in claim 1, which is characterized in that the Caton value acquiring unit includes:
Caton value starts to obtain subelement, for starting in the unlocking screen notification information for detecting the android system Obtain the Caton value of the android system;
Caton value stops obtaining subelement, for stopping in the screen lock notification information for detecting the android system Obtain the Caton value of the android system.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program The step of Caton monitoring method of any one android system.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the Caton of realization android system as described in any one of claim 1 to 6 when the computer program is executed by processor The step of monitoring method.
CN201811213548.9A 2018-10-18 2018-10-18 A kind of Caton monitoring method, device and the terminal device of android system Pending CN109359011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811213548.9A CN109359011A (en) 2018-10-18 2018-10-18 A kind of Caton monitoring method, device and the terminal device of android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811213548.9A CN109359011A (en) 2018-10-18 2018-10-18 A kind of Caton monitoring method, device and the terminal device of android system

Publications (1)

Publication Number Publication Date
CN109359011A true CN109359011A (en) 2019-02-19

Family

ID=65345729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811213548.9A Pending CN109359011A (en) 2018-10-18 2018-10-18 A kind of Caton monitoring method, device and the terminal device of android system

Country Status (1)

Country Link
CN (1) CN109359011A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131611A (en) * 2019-12-18 2020-05-08 北京智明星通科技股份有限公司 Prompting method and device for solving mobile game jamming problem and mobile terminal
CN114691243A (en) * 2022-04-27 2022-07-01 深圳创维-Rgb电子有限公司 Application management method of intelligent terminal device, intelligent terminal device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070397A (en) * 2009-09-25 2011-04-07 Hitachi Constr Mach Co Ltd Machine failure monitor
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN106991034A (en) * 2017-04-01 2017-07-28 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal for monitoring interim card
CN108076386A (en) * 2017-12-22 2018-05-25 广州酷狗计算机科技有限公司 Video cardton detection method and device, storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070397A (en) * 2009-09-25 2011-04-07 Hitachi Constr Mach Co Ltd Machine failure monitor
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN106991034A (en) * 2017-04-01 2017-07-28 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal for monitoring interim card
CN108076386A (en) * 2017-12-22 2018-05-25 广州酷狗计算机科技有限公司 Video cardton detection method and device, storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131611A (en) * 2019-12-18 2020-05-08 北京智明星通科技股份有限公司 Prompting method and device for solving mobile game jamming problem and mobile terminal
CN114691243A (en) * 2022-04-27 2022-07-01 深圳创维-Rgb电子有限公司 Application management method of intelligent terminal device, intelligent terminal device and medium

Similar Documents

Publication Publication Date Title
CN107295594B (en) Method for switching network, device and mobile terminal
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN110381130A (en) The long connection method of keep-alive, device, communication terminal and storage medium
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN108566290A (en) service configuration management method, system, storage medium and server
CN104486138A (en) Flow monitoring method and device and monitoring server
CN103841129B (en) Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method
CN108540568A (en) Computing capability sharing method and smart machine
CN105517126B (en) Frequency range processing method, device and communication terminal in a kind of communication terminal
CN109359011A (en) A kind of Caton monitoring method, device and the terminal device of android system
CN109120524A (en) Link aggregation method and relevant device
CN107197489A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN108983951A (en) Function control method, device, equipment, storage medium and wearable device
CN105511273B (en) A kind of client operation management method and client
CN109257255A (en) A kind of flux monitoring method, phone wrist-watch, server and mobile terminal
CN108803304A (en) A kind of electricity-saving control method of smartwatch
CN104427118B (en) Method for recommending contents and mobile terminal
CN109614186A (en) Application program color switching method, system and terminal device
CN108986809A (en) A kind of portable device and its awakening method and device
CN109960485A (en) A kind of audio adjustment method, audio debugging apparatus and terminal device
CN109358927A (en) The method, apparatus and terminal device that application program is shown
CN110505655A (en) Data command processing method, storage medium and bluetooth shield
CN116388112B (en) Abnormal supply end power-off method, device, electronic equipment and computer readable medium
CN105607913B (en) The operation processing method and device of interconnecting application
CN107332988A (en) Information processing method, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219