CN104809030A - Android-based exception handling system and method - Google Patents

Android-based exception handling system and method Download PDF

Info

Publication number
CN104809030A
CN104809030A CN201510256343.9A CN201510256343A CN104809030A CN 104809030 A CN104809030 A CN 104809030A CN 201510256343 A CN201510256343 A CN 201510256343A CN 104809030 A CN104809030 A CN 104809030A
Authority
CN
China
Prior art keywords
abnormal
exception
module
information
abnormal information
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
CN201510256343.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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510256343.9A priority Critical patent/CN104809030A/en
Publication of CN104809030A publication Critical patent/CN104809030A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an Android-based exception handling system and an Android-based exception handling method. The Android-based exception handling system comprises an exception monitoring pile, an exception acquisition system, an exception management service system and a remote server, wherein the exception monitoring pile is used for monitoring program exception or business exception to generate exception point related information; the exception acquisition system is used for acquiring the exception point related information, and generating and reporting exception information to the exception management service system; the exception management service system is used for receiving exception information sent from the exception acquisition system, performing exception recognition and service restoration, and reporting the corresponding exception information to the remote server; the remote server is used for storing the exception information. Through the Android-based exception handling system and the Android-based exception handling method, an exception monitoring logic is inserted into a program segment which is possibly exceptional to monitor the program exception or the business exception, and the service restoration, and collection and uploading of the exception information are timely performed according to the type of the exception.

Description

A kind of abnormality processing system based on Android and disposal route
Technical field
The present invention relates to the technical field of abnormality processing, particularly relate to a kind of abnormality processing system based on Android and disposal route.
Background technology
Most of terminal all has the ability of trace routine run time error situation, enables program according to a kind of mode of standard, and when the generation detecting certain event, advising process is can make necessary reaction.In brief, when program occurs extremely, program will process accordingly for abnormal.This mechanism is collectively referred to as abnormal mechanism.
The treatment scheme of abnormal mechanism can comprise the following steps:
1, running into program occurs abnormal, terminates the method for this routine call immediately, does not return a value; Meanwhile, to dish out an exception object;
2, search for the exception handler that can process this exception and carry out exception catching, stop the continuation of calling the program of the method to perform.
Pathological system of the prior art, just gathers for user provides and uploads the passage of abnormal log, function singleness.
As application number be 201210122042.3, denomination of invention is the store method that the Chinese invention patent of " a kind of store method of running log and equipment " discloses a kind of running log, comprise: when operation exception appears in operating system, the random access memory being configured for the running log recording described operating system is operated in self-refresh mode; Reset to the application processor running described operating system, and keep Power Management Unit normally to work, described Power Management Unit is used for managing the power supply of described application processor and random access memory; After described application processor has resetted, obtain from described random access memory and preserved the running log of described operating system.
For another example application number is 201310494928.5, denomination of invention is the Chinese invention patent of " information feedback method during Android terminal operation exception and system " information feedback method when disclosing a kind of Android terminal operation exception, comprise step: A, when Android terminal operation exception, foreground application activity sends to perform to backstage system service and prints and the order of export, and described background system service has root authority; After B, background system service reception to order, start to print and derive the running log file of inner nuclear layer, system layer and application layer; C, foreground application activity obtain described running log file, and are operation exception information by user profile, running log file and non-conformance description Information encapsulation, feed back to user.
For another example application number is 201010565706.4, denomination of invention is disclose a kind of software application Information Collection System in the Chinese invention patent of " software application Information Collection System and method ", for collecting the use information of the software run in android system, described software application Information Collection System comprises: a database, uses information for storing software; One application program uses record collection module, for calling package manager, collecting access times and the service time of application program, and being added in described database; One prints preference collection module, for when print service is called, records the URI of print object, antiquarian and time-write interval, and is added to described database; One unexpected message collection module, for the unexpected message in collector journal crossfire, and is added to described database; And one first processing module, for checking the size of database file, if the size of database file is more than a predetermined file size, being then connected to the Internet, the data in database being sent to a receives information server, and emptying described database.
But existing Android abnormality processing system is limited for anomalous identification processing power, omnibearing monitoring cannot be carried out to abnormal.Such as: terminal delivery product has very large restriction to log content and daily record size; When user awareness is to program exception, extremely occur the long period, correlation log may be capped.The log information of now user's active acquisition submission is nonsensical.
In addition, it is all user's behavior initiatively that existing exception reports, and the behavior exists two shortcomings:
(1) poor in timeliness
When user awareness is to time abnormal, may lose abnormal real trigger point, the information provided may be nonsensical.
(2) poor user experience
The reporting functions of abnormal information is only provided, there is no preset exception handling logic, anomalous effects scope can not be controlled, and exception handling logic cannot be called to extremely carrying out recovery operation.
(3) maintenance cost is large
When an anomaly occurs, may have a huge impact user, the cost of positioning problems and the impact of problem very large.
Summary of the invention
The shortcoming of prior art in view of the above; the object of the present invention is to provide a kind of abnormality processing system based on Android and disposal route; come supervisory process exception or service exception may occur to insert abnormality monitoring logic in abnormal program segment, and carry out business recovery and abnormal information when abnormal generation in time according to Exception Type and collect and upload.
For achieving the above object and other relevant objects, the invention provides a kind of abnormality processing system based on Android, comprise anomaly monitoring stake, abnormal acquisition system, exception management service system and remote server; Described anomaly monitoring stake is used for supervisory programme exception or service exception, generates abnormity point relevant information; Described abnormal acquisition system, for obtaining abnormity point relevant information, generates and reports abnormal information to described exception management service system; The abnormal information that described exception management service system is sent for receiving described abnormal acquisition system, carries out anomalous identification and business recovery, and corresponding abnormal information is reported to described remote server; Described remote server is for storing abnormal information.
According to the above-mentioned abnormality processing system based on Android of power, wherein: multiple described anomaly monitoring stake is deployed in the APP layer of android system, Frameworks layer, HAL layer, Kernel layer and Drivers layer respectively.
The abnormality processing system based on Android above-mentioned according to power, wherein: described abnormal acquisition system comprises anomaly monitoring module, exception-triggered module, abnormal Knockdown block, abnormity point processing module and abnormal reporting module;
The abnormity point relevant information that described anomaly monitoring module is sent for obtaining described anomaly monitoring stake, and judge whether to trigger extremely;
Described exception-triggered module is used for, when judging to trigger abnormal, abnormity point relevant information being integrated into abnormal information and being sent to described abnormity point processing module;
Described abnormity point processing module is used for the abnormal information that described in circular wait, exception-triggered module is sent, and judges whether to need to assemble abnormal information, and the need of reporting abnormal information;
Described abnormal Knockdown block is for carrying out the assembling of abnormal information;
Described abnormal reporting module is used for abnormal information to report to described exception management service system.
Further, the abnormality processing system based on Android above-mentioned according to power, wherein: the abnormal information after abnormal information or assembling is stored in particular category according to the naming rule of specifying, so that described exception management service system obtains corresponding abnormal information by described abnormal reporting module.
The abnormality processing system based on Android above-mentioned according to power, wherein: described exception management service subsystem comprises abnormal receiver module, anomalous identification module, exception management module, abnormality processing module and daily record reporting module;
The abnormal information that described abnormal receiver module sends for receiving abnormal acquisition system, and legal abnormal information is sent to described exception management module;
Described exception management module is used for managing abnormal information, judges that abnormal information is the need of identifying, processing and upload;
Described anomalous identification module is used for according to abnormal information identification exception level;
Described abnormality processing module is used for adopting different disposal logic to carry out business recovery according to exception level;
Described daily record reporting module is used for uploading journal file to remote server.
Further, the abnormality processing system based on Android above-mentioned according to power, wherein: whether described daily record reporting module monitors particular category has journal file, and when there being journal file, upload journal file to remote server, clear up the local file in particular category simultaneously.
Meanwhile, the present invention also provides a kind of abnormality eliminating method based on Android, comprises the following steps:
Step S1, be deployed in multiple anomaly monitoring stake supervisory programme exception in android system or service exception, generate abnormity point relevant information;
Step S2, abnormal acquisition system obtain abnormity point relevant information, generate and report abnormal information to exception management service system;
Step S3, exception management service system receive the abnormal information that abnormal acquisition system is sent, and carry out anomalous identification and business recovery, and corresponding abnormal information is reported to remote server.
According to the above-mentioned abnormality eliminating method based on Android, wherein: multiple described anomaly monitoring stake is deployed in the APP layer of android system, Frameworks layer, HAL layer, Kernel layer and Drivers layer respectively.
According to the above-mentioned abnormality eliminating method based on Android, wherein: described abnormal acquisition system comprises anomaly monitoring module, exception-triggered module, abnormal Knockdown block, abnormity point processing module and abnormal reporting module;
Described anomaly monitoring module obtains the abnormity point relevant information that described anomaly monitoring stake is sent, and judges whether to trigger extremely;
Abnormity point relevant information, when judging to trigger abnormal, is integrated into abnormal information and is sent to described abnormity point processing module by described exception-triggered module;
The abnormal information that described in the circular wait of described abnormity point processing module, exception-triggered module is sent, and judge whether to need to assemble abnormal information, and the need of reporting abnormal information;
Described abnormal Knockdown block carries out the assembling of abnormal information;
Abnormal information is reported to described exception management service system by described abnormal reporting module.
According to the above-mentioned abnormality eliminating method based on Android, wherein: described exception management service subsystem comprises abnormal receiver module, anomalous identification module, exception management module, abnormality processing module and daily record reporting module;
Described abnormal receiver module receives the abnormal information that abnormal acquisition system is sent, and legal abnormal information is sent to described exception management module;
Described exception management module manages abnormal information, judges that abnormal information is the need of identifying, processing and upload;
Described anomalous identification module is according to abnormal information identification exception level;
Described abnormality processing module adopts different disposal logic to carry out business recovery according to exception level;
Described daily record reporting module uploads journal file to remote server.
As mentioned above, the abnormality processing system based on Android of the present invention and disposal route, have following beneficial effect:
(1) achieve conservation treatment during service exception, and abnormal information is reported to remote server; Anomaly monitoring stake is inserted in the exception that may occur; When after product delivery, be convenient to timely service exception information remote is provided in remote server, be convenient to research and develop task orientation, reduce cost and the difficulty of the rear positioning problems of delivery, and participate in without the need to user;
(2) anomaly monitoring stake covers each layer of android system, and comprise APP layer, Frameworks layer, HAL layer, Kernel layer and drive layer, coverage is larger;
(3) when an anomaly occurs, can identify immediately, and carry out abnormality processing and report, ageing good;
(4) preset exception handling logic, can control anomalous effects scope, and calls exception handling logic to extremely carrying out recovery operation, and Min. affects user and uses.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation of the abnormality processing system based on Android of the present invention;
Fig. 2 is shown as the framed structure schematic diagram of the abnormality processing system based on Android of the present invention;
Fig. 3 is shown as the process flow diagram of the abnormality eliminating method based on Android of the present invention.
Element numbers explanation
1 abnormality processing system
11 anomaly monitoring stakes
12 abnormal acquisition systems
121 anomaly monitoring modules
122 exception-triggered modules
123 abnormal Knockdown blocks
124 abnormity point processing modules
125 abnormal reporting module
13 exception management service systems
131 abnormal receiver modules
132 anomalous identification modules
133 exception management modules
134 abnormality processing modules
135 daily record reporting module
14 remote servers
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Abnormality processing system based on Android of the present invention, main terminaloriented product, can automatically can recover and collect first hand abnormal information, so that the product maintenance in later stage and upgrading by finishing service when terminal device occurs abnormal.Differently from existing abnormality processing system to be: namely the abnormality processing system based on Android of the present invention is preset in the android system of product in development; And when an anomaly occurs, can recover and collect to upload abnormal information by finishing service in real time.Wherein abnormal information is non-user sensitive information, comprises abnormal coding, abnormal Android log information and kernel log information, product information etc. when occurring.
See figures.1.and.2, the abnormality processing system 1 based on Android of the present invention comprises anomaly monitoring stake 11, abnormal acquisition system 12, exception management service system 13 and remote server 14.When service logic or programmed logic occur abnormal, can be detected by anomaly monitoring stake 11, and abnormity point relevant information is sent to abnormal acquisition system 12, again abnormal information is reported to exception management service system 13 after abnormal acquisition system 12 processes, exception management service system 13 carries out business recovery, and abnormal information is reported remote server.Preferably, remote server can adopt Remote WEB server.
Anomaly monitoring stake 11, for supervisory programme exception or service exception, generates abnormity point relevant information.Multiple anomaly monitoring stake 11 is deployed in each layer of Android respectively, is specifically related to APP layer, Frameworks layer, HAL layer, Kernel layer and Drivers layer.Wherein, in android system, APP layer, Frameworks layer and HAL layer can carry out communication by Socket and exception management service system; Kernel and driving can carry out communication by Netlink and exception management service system.
Abnormal acquisition system 12, for obtaining abnormity point relevant information, generates and reports abnormal information to exception management service system 13.Particularly, abnormal acquisition system 12 comprises anomaly monitoring module 121, exception-triggered module 122, abnormal Knockdown block 123, abnormity point processing module 124 and abnormal reporting module 125.
The abnormity point relevant information that anomaly monitoring module 121 is sent for obtaining anomaly monitoring stake, and judge whether to trigger extremely.Particularly, anomaly monitoring module 121 determines whether program exception or service exception according to abnormity point relevant information; If so, then judge to trigger extremely; If not, then any operation is not performed.
Abnormity point relevant information, for when judging to trigger abnormal, being integrated into abnormal information and being sent to abnormity point processing module 124 by exception-triggered module 122.
The abnormal information that abnormity point processing module 124 is sent for circular wait exception-triggered module, and judge whether to need to assemble abnormal information, and the need of reporting abnormal information.
Abnormal Knockdown block 123 is for carrying out the assembling of abnormal information.
Abnormal reporting module 125 is for reporting to exception management service system 13 by abnormal information.Particularly, the abnormal information after abnormal information or assembling is stored in particular category according to the naming rule of specifying by abnormal reporting module 125, such as directory A.Exception management service system 13 obtains corresponding abnormal information again from particular category.
Exception management service system 13 is cores of abnormality processing system, for receiving the abnormal information that abnormal acquisition system 12 is sent, carrying out anomalous identification and business recovery, and corresponding abnormal information is reported to remote server 14.Particularly, exception management service system 13 comprises abnormal receiver module 131, anomalous identification module 132, exception management module 133, abnormality processing module 134 and daily record reporting module 135.
The abnormal information that abnormal receiver module 131 sends for receiving abnormal acquisition system, and legal abnormal information is sent to exception management module 133.
Exception management module 133, for managing abnormal information, judges that abnormal information is the need of identifying, processing and upload.
Anomalous identification module 132 is for according to abnormal information identification exception level.
Abnormality processing module 134 is for adopting different disposal logic to carry out business recovery according to exception level.
Daily record reporting module 135 is for uploading journal file to remote server.Particularly, whether daily record reporting module monitors particular category (such as directory A) has journal file, and when there being journal file, uploads journal file to remote server 14, clears up the local file in particular category simultaneously.Preferably, WIFI can be adopted to carry out uploading of journal file.
Remote server 14 is for storing abnormal information, so that research and development task orientation, reduces cost and the difficulty of the rear positioning problems of delivery, and participates in without the need to user.
Therefore, utilize the abnormality processing system based on Android of the present invention, can when there is exception in program, carry out anomalous identification, abnormality processing, and relevant abnormal information is reported in abnormal WEB server, to provide abnormal relevant information on the other hand, be convenient to the positioning analysis of problem, and repair problem in time, the product quality of maintenance items.
Of the present invention based in the abnormality processing system of Android, anomaly monitoring stake is preset in service logic, and is indicated by unique coding; When an anomaly occurs, can by abnormal coded message and abnormal log information etc., lockout issue origination point rapidly and accurately, and the reason that problem occurs, be convenient to later maintenance.
Meanwhile, anomaly monitoring stake, abnormal acquisition system and exception management service system are independent of one another, and coupling is low, is convenient to the maintenance and expansion in later stage.
With reference to Fig. 3, the abnormality eliminating method based on Android of the present invention comprises the following steps:
Step S1, be deployed in multiple anomaly monitoring stake supervisory programme exception in android system or service exception, generate abnormity point relevant information.
Particularly, anomaly monitoring stake is deployed on the APP layer of android system, Frameworks layer, HAL layer, Kernel layer and Drivers layer.Wherein, in android system, APP layer, Frameworks layer and HAL layer can carry out communication by Socket and exception management service system; Kernel and driving can carry out communication by Netlink and exception management service system.
Step S2, abnormal acquisition system obtain abnormity point relevant information, generate and report abnormal information to exception management service system.
Particularly, abnormal acquisition system comprises anomaly monitoring module, exception-triggered module, abnormal Knockdown block, abnormity point processing module and abnormal reporting module.
Anomaly monitoring module obtains the abnormity point relevant information that anomaly monitoring stake is sent, and judges whether to trigger extremely.Particularly, anomaly monitoring module determines whether program exception or service exception according to abnormity point relevant information; If so, then judge to trigger extremely; If not, then any operation is not performed.
Abnormity point relevant information, when judging to trigger abnormal, is integrated into abnormal information and is sent to abnormity point processing module by exception-triggered module.
The abnormal information that abnormity point processing module circular wait exception-triggered module is sent, and judge whether to need to assemble abnormal information, and the need of reporting abnormal information.
Abnormal Knockdown block is assembled abnormal information.
Abnormal information is reported to exception management service system by abnormal reporting module.Particularly, the abnormal information after abnormal information or assembling is stored in particular category according to the naming rule of specifying by abnormal reporting module, such as directory A.Exception management service system obtains corresponding abnormal information again from particular category.
Step S3, exception management service system receive the abnormal information that abnormal acquisition system is sent, and carry out anomalous identification and business recovery, and corresponding abnormal information is reported to remote server.
Particularly, exception management service subsystem comprises abnormal receiver module, anomalous identification module, exception management module, abnormality processing module and daily record reporting module.
Abnormal receiver module receives the abnormal information that abnormal acquisition system is sent, and legal abnormal information is sent to exception management module.
Exception management module manages abnormal information, judges that abnormal information is the need of identifying, processing and upload.
Anomalous identification module is according to abnormal information identification exception level.
Abnormality processing module adopts different disposal logic to carry out business recovery according to exception level.
Daily record reporting module uploads journal file to remote server.Particularly, whether daily record reporting module monitors particular category (such as directory A) has journal file, and when there being journal file, uploads journal file to remote server, clears up the local file in particular category simultaneously.Preferably, WIFI can be adopted to carry out uploading of journal file.
It should be noted that, abnormality processing system based on Android of the present invention and disposal route apply to anomaly in the program operation process in android system and process, be hard-core for system version, the demand of mating different Android version can be met.
In sum, the abnormality processing system based on Android of the present invention and disposal route achieve conservation treatment during service exception, and abnormal information is reported to abnormal WEB server; Anomaly monitoring stake is inserted in the exception that may occur; When after product delivery, be convenient to timely service exception information remote is provided in abnormal WEB server, be convenient to research and develop task orientation, reduce cost and the difficulty of the rear positioning problems of delivery, and participate in without the need to user; Anomaly monitoring stake covers each layer of android system, and comprise APP layer, Frameworks layer, HAL layer, Kernel layer and drive layer, coverage is larger; When an anomaly occurs, can identify immediately, and carry out abnormality processing and report, ageing good; Preset exception handling logic, can control anomalous effects scope, and calls exception handling logic to extremely carrying out recovery operation, and Min. affects user and uses.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. based on an abnormality processing system of Android, it is characterized in that: comprise anomaly monitoring stake, abnormal acquisition system, exception management service system and remote server;
Described anomaly monitoring stake is used for supervisory programme exception or service exception, generates abnormity point relevant information;
Described abnormal acquisition system, for obtaining abnormity point relevant information, generates and reports abnormal information to described exception management service system;
The abnormal information that described exception management service system is sent for receiving described abnormal acquisition system, carries out anomalous identification and business recovery, and corresponding abnormal information is reported to described remote server;
Described remote server is for storing abnormal information.
2. the abnormality processing system based on Android according to claim 1, is characterized in that: multiple described anomaly monitoring stake is deployed in the APP layer of android system, Frameworks layer, HAL layer, Kernel layer and Drivers layer respectively.
3. the abnormality processing system based on Android according to claim 1, is characterized in that: described abnormal acquisition system comprises anomaly monitoring module, exception-triggered module, abnormal Knockdown block, abnormity point processing module and abnormal reporting module;
The abnormity point relevant information that described anomaly monitoring module is sent for obtaining described anomaly monitoring stake, and judge whether to trigger extremely;
Described exception-triggered module is used for, when judging to trigger abnormal, abnormity point relevant information being integrated into abnormal information and being sent to described abnormity point processing module;
Described abnormity point processing module is used for the abnormal information that described in circular wait, exception-triggered module is sent, and judges whether to need to assemble abnormal information, and the need of reporting abnormal information;
Described abnormal Knockdown block is for carrying out the assembling of abnormal information;
Described abnormal reporting module is used for abnormal information to report to described exception management service system.
4. the abnormality processing system based on Android according to claim 3, it is characterized in that: the abnormal information after abnormal information or assembling is stored in particular category according to the naming rule of specifying, so that described exception management service system obtains corresponding abnormal information by described abnormal reporting module.
5. the abnormality processing system based on Android according to claim 1, is characterized in that: described exception management service subsystem comprises abnormal receiver module, anomalous identification module, exception management module, abnormality processing module and daily record reporting module;
The abnormal information that described abnormal receiver module sends for receiving abnormal acquisition system, and legal abnormal information is sent to described exception management module;
Described exception management module is used for managing abnormal information, judges that abnormal information is the need of identifying, processing and upload;
Described anomalous identification module is used for according to abnormal information identification exception level;
Described abnormality processing module is used for adopting different disposal logic to carry out business recovery according to exception level;
Described daily record reporting module is used for uploading journal file to remote server.
6. the abnormality processing system based on Android according to claim 5, it is characterized in that: whether described daily record reporting module monitors particular category has journal file, and when there being journal file, upload journal file to remote server, clear up the local file in particular category simultaneously.
7. based on an abnormality eliminating method of Android, it is characterized in that: comprise the following steps:
Step S1, be deployed in multiple anomaly monitoring stake supervisory programme exception in android system or service exception, generate abnormity point relevant information;
Step S2, abnormal acquisition system obtain abnormity point relevant information, generate and report abnormal information to exception management service system;
Step S3, exception management service system receive the abnormal information that abnormal acquisition system is sent, and carry out anomalous identification and business recovery, and corresponding abnormal information is reported to remote server.
8. the abnormality eliminating method based on Android according to claim 7, is characterized in that: multiple described anomaly monitoring stake is deployed in the APP layer of android system, Frameworks layer, HAL layer, Kernel layer and Drivers layer respectively.
9. the abnormality eliminating method based on Android according to claim 7, is characterized in that: described abnormal acquisition system comprises anomaly monitoring module, exception-triggered module, abnormal Knockdown block, abnormity point processing module and abnormal reporting module;
Described anomaly monitoring module obtains the abnormity point relevant information that described anomaly monitoring stake is sent, and judges whether to trigger extremely;
Abnormity point relevant information, when judging to trigger abnormal, is integrated into abnormal information and is sent to described abnormity point processing module by described exception-triggered module;
The abnormal information that described in the circular wait of described abnormity point processing module, exception-triggered module is sent, and judge whether to need to assemble abnormal information, and the need of reporting abnormal information;
Described abnormal Knockdown block carries out the assembling of abnormal information;
Abnormal information is reported to described exception management service system by described abnormal reporting module.
10. the abnormality eliminating method based on Android according to claim 7, is characterized in that: described exception management service subsystem comprises abnormal receiver module, anomalous identification module, exception management module, abnormality processing module and daily record reporting module;
Described abnormal receiver module receives the abnormal information that abnormal acquisition system is sent, and legal abnormal information is sent to described exception management module;
Described exception management module manages abnormal information, judges that abnormal information is the need of identifying, processing and upload;
Described anomalous identification module is according to abnormal information identification exception level;
Described abnormality processing module adopts different disposal logic to carry out business recovery according to exception level;
Described daily record reporting module uploads journal file to remote server.
CN201510256343.9A 2015-05-19 2015-05-19 Android-based exception handling system and method Pending CN104809030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510256343.9A CN104809030A (en) 2015-05-19 2015-05-19 Android-based exception handling system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510256343.9A CN104809030A (en) 2015-05-19 2015-05-19 Android-based exception handling system and method

Publications (1)

Publication Number Publication Date
CN104809030A true CN104809030A (en) 2015-07-29

Family

ID=53693878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510256343.9A Pending CN104809030A (en) 2015-05-19 2015-05-19 Android-based exception handling system and method

Country Status (1)

Country Link
CN (1) CN104809030A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094974A (en) * 2015-08-14 2015-11-25 上海斐讯数据通信技术有限公司 Burst-mode signal processing method and system
CN105260290A (en) * 2015-09-28 2016-01-20 北京奇虎科技有限公司 Application exception information collection method and apparatus
CN105278996A (en) * 2015-11-03 2016-01-27 亚信科技(南京)有限公司 Log collection method and device and log service system
CN105404576A (en) * 2015-12-02 2016-03-16 小米科技有限责任公司 Anomaly information acquisition method and apparatus
CN105472417A (en) * 2015-11-24 2016-04-06 腾讯科技(深圳)有限公司 Method of acquiring video player abnormity and apparatus thereof
CN106055465A (en) * 2016-05-31 2016-10-26 广东能龙教育股份有限公司 Client error abnormal information statistical method
CN106201756A (en) * 2016-07-12 2016-12-07 努比亚技术有限公司 Log acquisition device, mobile terminal and method
CN106599180A (en) * 2016-12-13 2017-04-26 北京小米移动软件有限公司 Method and device for processing abnormal data
CN106648927A (en) * 2016-11-26 2017-05-10 上海亿账通互联网科技有限公司 Abnormal information collection method and server
CN106776263A (en) * 2015-11-23 2017-05-31 芋头科技(杭州)有限公司 A kind of robot exception handling device and method
CN107276789A (en) * 2017-05-19 2017-10-20 努比亚技术有限公司 Daily record method for uploading, device and computer-readable recording medium
CN107678928A (en) * 2017-10-31 2018-02-09 聚好看科技股份有限公司 The processing method and server of application program
CN108111328A (en) * 2016-11-24 2018-06-01 腾讯科技(深圳)有限公司 A kind of abnormality eliminating method and device
CN108280011A (en) * 2018-01-16 2018-07-13 北京小米移动软件有限公司 Daily record grasping means and device
CN108415727A (en) * 2017-11-30 2018-08-17 平安科技(深圳)有限公司 Abnormality eliminating method and storage medium in electronic device, Web application and developments
CN109254864A (en) * 2018-09-11 2019-01-22 北京奇艺世纪科技有限公司 A kind of application failure restorative procedure, device and electronic equipment
CN109547524A (en) * 2018-09-30 2019-03-29 青岛海尔科技有限公司 User behavior storage method, device, equipment and storage medium based on Physical Network
CN111314943A (en) * 2018-12-12 2020-06-19 比亚迪股份有限公司 Abnormal recovery method and device for vehicle-mounted multimedia and wireless module management system
CN111800810A (en) * 2020-06-30 2020-10-20 展讯通信(上海)有限公司 Intelligent device and system and method for recovering abnormity of WCN module thereof
WO2023005459A1 (en) * 2021-07-29 2023-02-02 Oppo广东移动通信有限公司 Exception handling method and apparatus, computer device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008210148A (en) * 2007-02-26 2008-09-11 Hitachi Information Systems Ltd Failure handling system and failure handling method
CN102306119A (en) * 2011-06-30 2012-01-04 北京新媒传信科技有限公司 System for capturing global exception and method
CN102981943A (en) * 2012-10-29 2013-03-20 新浪技术(中国)有限公司 Method and system for monitoring application logs
CN102999394A (en) * 2012-12-06 2013-03-27 大连奥林匹克电子城文豪电子经销处 Computer software fault diagnosis and repair system
CN103377094A (en) * 2012-04-12 2013-10-30 金蝶软件(中国)有限公司 Abnormity monitoring method and abnormity monitoring device
CN103530199A (en) * 2012-07-02 2014-01-22 腾讯科技(深圳)有限公司 Software running error repairing method, device and system
CN103995715A (en) * 2014-05-06 2014-08-20 百度在线网络技术(北京)有限公司 Application program repairing method and device and server
CN104216811A (en) * 2013-05-30 2014-12-17 腾讯科技(深圳)有限公司 Log collecting method and system of application program
CN104572318A (en) * 2013-10-24 2015-04-29 腾讯科技(深圳)有限公司 Report information obtaining method, device, equipment and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008210148A (en) * 2007-02-26 2008-09-11 Hitachi Information Systems Ltd Failure handling system and failure handling method
CN102306119A (en) * 2011-06-30 2012-01-04 北京新媒传信科技有限公司 System for capturing global exception and method
CN103377094A (en) * 2012-04-12 2013-10-30 金蝶软件(中国)有限公司 Abnormity monitoring method and abnormity monitoring device
CN103530199A (en) * 2012-07-02 2014-01-22 腾讯科技(深圳)有限公司 Software running error repairing method, device and system
CN102981943A (en) * 2012-10-29 2013-03-20 新浪技术(中国)有限公司 Method and system for monitoring application logs
CN102999394A (en) * 2012-12-06 2013-03-27 大连奥林匹克电子城文豪电子经销处 Computer software fault diagnosis and repair system
CN104216811A (en) * 2013-05-30 2014-12-17 腾讯科技(深圳)有限公司 Log collecting method and system of application program
CN104572318A (en) * 2013-10-24 2015-04-29 腾讯科技(深圳)有限公司 Report information obtaining method, device, equipment and system
CN103995715A (en) * 2014-05-06 2014-08-20 百度在线网络技术(北京)有限公司 Application program repairing method and device and server

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094974A (en) * 2015-08-14 2015-11-25 上海斐讯数据通信技术有限公司 Burst-mode signal processing method and system
CN105094974B (en) * 2015-08-14 2019-12-20 上海斐讯数据通信技术有限公司 Burst signal processing method and system
CN105260290A (en) * 2015-09-28 2016-01-20 北京奇虎科技有限公司 Application exception information collection method and apparatus
CN105278996A (en) * 2015-11-03 2016-01-27 亚信科技(南京)有限公司 Log collection method and device and log service system
CN106776263A (en) * 2015-11-23 2017-05-31 芋头科技(杭州)有限公司 A kind of robot exception handling device and method
CN105472417A (en) * 2015-11-24 2016-04-06 腾讯科技(深圳)有限公司 Method of acquiring video player abnormity and apparatus thereof
CN105472417B (en) * 2015-11-24 2020-02-07 腾讯科技(深圳)有限公司 Method and device for acquiring video player abnormity
CN105404576A (en) * 2015-12-02 2016-03-16 小米科技有限责任公司 Anomaly information acquisition method and apparatus
CN106055465A (en) * 2016-05-31 2016-10-26 广东能龙教育股份有限公司 Client error abnormal information statistical method
CN106201756A (en) * 2016-07-12 2016-12-07 努比亚技术有限公司 Log acquisition device, mobile terminal and method
CN106201756B (en) * 2016-07-12 2019-09-06 努比亚技术有限公司 Log acquisition device, mobile terminal and method
CN108111328B (en) * 2016-11-24 2021-03-26 腾讯科技(深圳)有限公司 Exception handling method and device
CN108111328A (en) * 2016-11-24 2018-06-01 腾讯科技(深圳)有限公司 A kind of abnormality eliminating method and device
CN106648927A (en) * 2016-11-26 2017-05-10 上海亿账通互联网科技有限公司 Abnormal information collection method and server
CN106648927B (en) * 2016-11-26 2018-02-27 上海壹账通金融科技有限公司 Abnormal information collection method and server
CN106599180A (en) * 2016-12-13 2017-04-26 北京小米移动软件有限公司 Method and device for processing abnormal data
CN107276789A (en) * 2017-05-19 2017-10-20 努比亚技术有限公司 Daily record method for uploading, device and computer-readable recording medium
CN107276789B (en) * 2017-05-19 2020-12-01 太仓鸿羽智能科技有限公司 Log uploading method and device and computer readable storage medium
CN107678928A (en) * 2017-10-31 2018-02-09 聚好看科技股份有限公司 The processing method and server of application program
CN108415727A (en) * 2017-11-30 2018-08-17 平安科技(深圳)有限公司 Abnormality eliminating method and storage medium in electronic device, Web application and developments
WO2019104894A1 (en) * 2017-11-30 2019-06-06 平安科技(深圳)有限公司 Electronic device, exception handling method in web application development, and storage medium
CN108280011A (en) * 2018-01-16 2018-07-13 北京小米移动软件有限公司 Daily record grasping means and device
CN109254864A (en) * 2018-09-11 2019-01-22 北京奇艺世纪科技有限公司 A kind of application failure restorative procedure, device and electronic equipment
CN109547524A (en) * 2018-09-30 2019-03-29 青岛海尔科技有限公司 User behavior storage method, device, equipment and storage medium based on Physical Network
CN111314943A (en) * 2018-12-12 2020-06-19 比亚迪股份有限公司 Abnormal recovery method and device for vehicle-mounted multimedia and wireless module management system
CN111800810A (en) * 2020-06-30 2020-10-20 展讯通信(上海)有限公司 Intelligent device and system and method for recovering abnormity of WCN module thereof
WO2022001313A1 (en) * 2020-06-30 2022-01-06 展讯通信(上海)有限公司 Smart device and wcn module exception recovery system thereof and method therefor
CN111800810B (en) * 2020-06-30 2022-09-13 展讯通信(上海)有限公司 Intelligent device and system and method for recovering abnormity of WCN module thereof
WO2023005459A1 (en) * 2021-07-29 2023-02-02 Oppo广东移动通信有限公司 Exception handling method and apparatus, computer device, and storage medium

Similar Documents

Publication Publication Date Title
CN104809030A (en) Android-based exception handling system and method
CN107038107B (en) Method and device for acquiring application blocking information
US9298525B2 (en) Adaptive fault diagnosis
CN104407964B (en) A kind of centralized monitoring system and method based on data center
DE102018113625A1 (en) ERROR INJECTION TESTING DEVICE AND METHOD
CN106681913A (en) Application not responding positioning system and method
CN107329877B (en) Air ticket business monitoring and executing system and method
CN101632093A (en) Be used to use statistical analysis to come the system and method for management of performance fault
CN102129372A (en) Root cause problem identification through event correlation
WO2016188100A1 (en) Information system fault scenario information collection method and system
CN110166297A (en) O&M method, system, equipment and computer readable storage medium
CN111143167B (en) Alarm merging method, device, equipment and storage medium for multiple platforms
CN110149653A (en) A kind of cloud fault of mobile phone monitoring method and system
CN107168844B (en) Performance monitoring method and device
CN109901889A (en) The full link monitoring method of supporting business system O&M based on J2EE platform
CN114172921A (en) Log auditing method and device for scheduling recording system
CN113472881B (en) Statistical method and device for online terminal equipment
CN114500316B (en) Method and system for inspecting equipment of Internet of things
US9542250B2 (en) Distributed maintenance mode control
CN115525392A (en) Container monitoring method and device, electronic equipment and storage medium
CN105007278A (en) Automatic real-time acquisition system and acquisition method for network safety log
CN114371980A (en) Call link performance monitoring method and device, computer equipment and storage medium
CN107480032A (en) A kind of method for monitoring self-help tax service terminal switch on condition
CN113868094A (en) Big data abnormal information monitoring system
CN113965447A (en) Online cloud diagnosis method, device, system, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150729

RJ01 Rejection of invention patent application after publication