CN106598804A - Abnormality processing method and apparatus - Google Patents

Abnormality processing method and apparatus Download PDF

Info

Publication number
CN106598804A
CN106598804A CN201611072933.7A CN201611072933A CN106598804A CN 106598804 A CN106598804 A CN 106598804A CN 201611072933 A CN201611072933 A CN 201611072933A CN 106598804 A CN106598804 A CN 106598804A
Authority
CN
China
Prior art keywords
abnormal
information
developer
title
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
CN201611072933.7A
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201611072933.7A priority Critical patent/CN106598804A/en
Publication of CN106598804A publication Critical patent/CN106598804A/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/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063112Skill-based matching of a person or a group to a task

Abstract

The invention provides an abnormality processing method and apparatus, and belongs to the technical field of computers. The method comprises the following steps: obtaining abnormal information in an abnormal file according to the contents of each row of information in the abnormal file; locating a name and a contact way of a developer according to the abnormal information; and pushing the abnormal information to the developer according to the name and the contact way of the developer. According to the abnormality processing method and apparatus provided by the invention, the abnormal information in the abnormal file is obtained, the name and the contact way of the developer are located according to the abnormal information, and the abnormal information is pushed to the developer according to the name and the contact way of the developer. As the abnormal file can be automatically analyzed in time, and the abnormality is allocated to each developer, the timeliness of processing the abnormal information is ensured. Meanwhile, as abnormality processing tasks are automatically allocated without manual analysis or allocation, the workload of the task allocation personnel can be greatly reduced, accordingly the abnormality processing efficiency is greatly improved, and the labor and time costs are reduced.

Description

Abnormality eliminating method and device
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of abnormality eliminating method and device.
Background technology
With the maturation of development technique, the application system of different purposes is more and more.In development mode, due to server Safe operation be basic guarantee that different application systems run well, carrying out process to the exception of server end so as to how is Individual crucial technical problem.Existing technological treatment is mainly by a special function mould for collecting user's abnormal data Block by being manually analyzed to abnormal document, obtains abnormal information storing abnormal document.Abnormal information is distributed to each Developer, by each developer according to each specific abnormal information processing exception.
During the present invention is realized, it is found that prior art at least has problems with:Due to by artificial mode Abnormal information is allocated be a very numerous and diverse and easy error process, a large amount of manpowers and time cost can be expended.Therefore, Abnormality processing it is inefficient, Expenses Cost is higher.
The content of the invention
The present invention provide it is a kind of overcome the problems referred to above or the abnormality eliminating method for solving the above problems at least in part and Device.
According to an aspect of the present invention, there is provided a kind of abnormality eliminating method, the method include:
According to the content of each row information in abnormal document, the abnormal information in abnormal document is obtained;
According to abnormal information, the title and contact method of developer are positioned;
According to the title and contact method of developer, abnormal information is pushed to developer.
According to a further aspect in the invention, there is provided a kind of exception handling device, the device include:
Acquisition module, for the content according to each row information in abnormal document, obtains the abnormal information in abnormal document;
Locating module, for according to abnormal information, positioning the title and contact method of developer;
Pushing module, for title and contact method according to developer, pushes abnormal information to developer.
The beneficial effect brought of technical scheme that the application is proposed is:
By the content according to each row information in abnormal document, the abnormal information in abnormal document is obtained.According to exception Information, positions the title and contact method of developer.According to the title and contact method of developer, abnormal letter is pushed to developer Breath.Due to automatically analyzing to abnormal document in time, and distributed to each developer extremely, so that it is guaranteed that abnormal Information processing it is ageing.Simultaneously as distribution abnormality processing task is automatically performed, and go forward side by side without being manually analyzed Row distribution such that it is able to greatly discharge the workload of distribution task personnel, and then drastically increase the efficiency for processing exception, And reduce artificial and time cost.
Description of the drawings
Schematic flow sheets of the Fig. 1 for a kind of abnormality eliminating method of the embodiment of the present invention;
Schematic flow sheets of the Fig. 2 for a kind of abnormality eliminating method of the embodiment of the present invention;
Content schematic diagrams of the Fig. 3 for a kind of abnormal information of the embodiment of the present invention;
Content schematic diagrams of the Fig. 4 for a kind of modification record of the embodiment of the present invention;
Structural representations of the Fig. 5 for a kind of exception handling device of the embodiment of the present invention;
Structural representations of the Fig. 6 for a kind of exception handling device of the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.Hereinafter implement Example is for illustrating the present invention, but is not limited to the scope of the present invention.
With the maturation of development technique, the application system of different purposes is more and more.In development mode, due to server Safe operation be basic guarantee that different application systems run well, carrying out process to the exception of server end so as to how is Individual crucial technical problem.Existing technological treatment is mainly by a special function mould for collecting user's abnormal data Block by being manually analyzed to abnormal document, obtains abnormal information storing abnormal document.Abnormal information is distributed to each Developer, by each developer according to each specific abnormal information processing exception.
Due to being manually analyzed to abnormal document typically periodically, that is to say, that usually carry out every a period of time Unified Analysis, so will result in abnormality processing not in time.In addition, it is individual abnormal information to be allocated by artificial mode The process of very numerous and diverse and easy error, can expend a large amount of manpowers and time cost.Therefore, abnormality processing is inefficient, consumption It is costly higher.For the problems referred to above, the present invention proposes that a sets of plan can allow automatic program identification exception level, according to exception Source file title, navigates to the developer of the source file, and notifies corresponding developer by corresponding mode.
In order to make it easy to understand, it is existing to the present invention relates to related name explanation:
Git:Git is a distributed version control system increased income, can effectively, the process of high speed is from very little to very Big Item version management.In addition, Git or Linus Torvalds are for help manage linux kernel and develop one The Version Control software of open source code.
Svn:SVN is the abbreviation of Subversion, is the version control system of an open source code.Compared to RCS (Revision Control System, program correcting control system) and CVS (Concurrent Version System, version This control system), use branch management system.Its design object is to replace CVS.Many Version Control clothes on the Internet Business moves to Subversion from CVS.That is SVN is exactly for one project of many people's joint developments, to reach common source Purpose.
Cvs:CVS is a C/S system, is a conventional code release control software, is mainly managed in open source software Used in.The code release control software similar with it has subversion.Multiple developers pass through a center version Control system carrys out log file version, so as to reach the purpose for ensureing file synchronization.
Using bag name:The unique identifier applied in Android, an application can only have a bag name.
The present embodiment and subsequent embodiment are implemented in server end, and acquiescence precondition is that client can periodically will be different Often information transmission is to server end.The abnormal information can be entered after the abnormal information that received server-side is passed over to client Row dissection process.
Based on the above, a kind of abnormality eliminating method is present embodiments provided.Referring to Fig. 1, the abnormality eliminating method stream Journey includes:101st, the content according to each row information in abnormal document, obtains the abnormal information in abnormal document;102nd, according to different Often information, positions the title and contact method of developer;103rd, the title and contact method according to developer, pushes to developer Abnormal information.
Method provided in an embodiment of the present invention, by the content according to each row information in abnormal document, obtains abnormal literary Abnormal information in part.According to abnormal information, the title and contact method of developer are positioned.According to title and the contact of developer Mode, pushes abnormal information to developer.Due to automatically analyzing to abnormal document in time, and distributed to each extremely Individual developer, so that it is guaranteed that abnormal information process is ageing.Simultaneously as distribution abnormality processing task is to be automatically performed , and without being manually analyzed and being allocated such that it is able to greatly discharge the workload of distribution task personnel, Jin Erji The earth improves and processes abnormal efficiency, and reduces artificial and time cost.
As a kind of alternative embodiment, according to the content of each row information in abnormal document, obtain different in abnormal document Normal information, including:
For arbitrary row information in abnormal document, in detecting arbitrary row information, whether include the first preset keyword;
When in detecting arbitrary row information comprising default first keyword, according to next row information life of arbitrary row information Into abnormal information.
As a kind of alternative embodiment, according to abnormal information, the title and contact method of developer are positioned, including:
According to abnormal information, corresponding application package name and anomaly source file name are obtained;
According to application package name and anomaly source file name, the modification record of abnormal source file is obtained;
The title and contact method of developer are extracted from modification record.
As a kind of alternative embodiment, the title and contact method of developer are extracted from modification record, including:
For any row data in modification record, in detection any row data, whether the second keyword is included;
When the second keyword is included in any row data are detected, extract the title and connection of developer in any row data It is mode.
As a kind of alternative embodiment, according to the title and contact method of developer, to developer push abnormal information it Before, also include:
Based on the exception level of abnormal information, corresponding push mode is selected.
Above-mentioned all optional technical schemes, can adopt the alternative embodiment for arbitrarily combining to form the present invention, and here is no longer Repeat one by one.
Based on the content provided by the corresponding embodiments of above-mentioned Fig. 1, a kind of abnormality processing side is embodiments provided Method.Referring to Fig. 2, the method flow that the present embodiment is provided includes:201st, the content according to each row information in abnormal document, obtains Abnormal information in abnormal document;202nd, the title and contact method of developer according to abnormal information, are positioned;203rd, based on exception The exception level of information, selects corresponding push mode;204th, the title and contact method according to developer, pushes to developer Abnormal information.
Wherein, 201, according to the content of each row information in abnormal document, obtain the abnormal information in abnormal document.
Before this step is performed, now Common Abnormity information is classified:
(1)java.lang.NullPointerException
The abnormal explanation is " program has met null pointer ", be exactly briefly have invoked un-initialized object or Person is non-existent object, i.e., the initialization of array and the initialization of array element are obscured.The initialization of array is logarithm Component is with the space for needing, and the array after initializing, element therein does not have instantiation, is still sky, so also needing (if it will call) is initialized to each element.
(2)java.lang.ClassNotFoundException
The abnormal explanation is " class specified is not present ".
(3)java.lang.ArithmeticException
The abnormal explanation is " mathematical operation is abnormal ", occurs in that computing as division by 0 will go out this in such as program The exception of sample.
(4)java.lang.ArrayIndexOutOfBoundsException
Abnormal explanation is " array index crosses the border ", has the operation to array mostly in a program due to existing, so as to Need to be checked when calling array, mainly be checked that the subscript called is the scope beyond array.In general, Show that (directly working as subscript with constant) calls and be less susceptible to out such mistake, but implicit expression (subscript being represented with variable) is just called Easily malfunction.Also a kind of situation, the length of the array defined in program are determined by some ad hoc approach, rather than thing First state.Now, the length of array need to be first looked over, in order to avoid there is this exception.
(5)java.lang.IllegalArgumentException
The abnormal explanation is " parameter error of method ", such as g.setColor (int red, int green, int Blue) three values in this method.If three values have a value that this exception occurs more than 255.When discovery, this is different Chang Shi, need to check whether the parameter transmission in method call occurs in that mistake.
(6)java.lang.IllegalAccessException
The abnormal explanation is " no access rights ", when application program will call a class, if current method does not have There are the access rights to such this exception occur.It should be noted that note is needed in the case of Package has been used in program Anticipate the exception.
(7) self-defined abnormal information:
Self-defined abnormal information is unobstructed should to be mainly the abnormal information that developer oneself dishes out, and this category information is in most cases It is to cause system crash, typically warning developer's program has abnormal extremely for these, but is also unlikely to allow program to produce Collapse.
Based on the above, abnormal information can be divided into two big class,
The urgent exception class of the first:That is system exception information, it is above-mentioned in belong to urgent exception class with what java started. It is primarily due to this kind of abnormal danger coefficient very high, application crash can be directly resulted in.
Which two is common exception class:Self-defined abnormal information class is referred to mainly.For example, a transmission can be defined whole The abnormal information of shape parameter mistake.When the scope of the value of one shaping parameter transmission of setting is 0 to 2, as a result developer is using When deliver one not in the integer 3. of prescribed limit at this point it is possible to a self-defined abnormal information of dishing out, point out exploitation Person's transmission data have exception.Such common exception primarily serves suggesting effect, can't cause the gross errors such as system crash.When So in addition to above two is classified, there can also be other to classify, the present embodiment is not especially limited to this.
The present embodiment obtains abnormal information in abnormal document not to the content according to each row information in abnormal document Mode makees concrete restriction, including but not limited to:For arbitrary row information in abnormal document, whether include in detecting arbitrary row information First preset keyword;When in detecting arbitrary row information comprising default first keyword, according to the next of arbitrary row information Row information generates abnormal information.Wherein, the first preset keyword can be FATAL keywords, and the present embodiment do not make to this specifically Limit.
Specifically, abnormal document can first be read in internal memory, the present embodiment is not especially limited to this.Can make in java File content is read with this class of BufferedReader, by the store path of file pass to BufferedReader this Class, this class can return the example of a reader.There is a method in reader examples for readLine, the main work(of the method Can return the row information in file.Wherein, if the end readLine for reading file will return sky.For the ease of Illustrate, the row information for returning can be designated as lineMsg.
After a row information in it have read abnormal document, can whether crucial comprising FATAL in this row information to inquiring about Word.Specifically, can call whether contains functions include FATAL in judging lineMsg.Return if comprising FATAL True, returns false if not comprising FATAL.
It should be noted that the readLine functions in reader examples have an important characteristic, i.e., when ceaselessly adjusting When using readLine, the information that can once return a line file is often called.When end of file is read, what readLine was returned It is empty.In addition, when in abnormal document, what content is also no, the content that readLine reads is that a null character string is (empty Character string is exactly what character string information for all not having).Now, calling whether contains function checks include During FATAL keywords, FATAL keywords cannot be inquired.
Understood based on the above, fileinfo can constantly be read by circulation, it is crucial until inquiring FATAL Word, so as to abnormal information can be generated according to next row information of that row information comprising FATAL keywords.
Specifically, once inquiring FATAL keywords, then the content before next row information colon is current exception Information.After FATAL information is read, readLine functions can be called to read next row information, this row information is labeled as exceptionMsg.Correspondingly, containing in exceptionMsg needs the abnormal information of inquiry.
With reference to the construction rule of exception stack in Fig. 3, it may be determined that the word content before colon is abnormal problem.Accordingly Ground, can be split by the split function pair exceptionMsg character strings in exceptionMsg.Wherein, split foundation Can be split according to colon.After split functions are split according to " colon fractionation " condition, split result can be encapsulated into In one array.By the 1st element for obtaining array, you can obtain abnormal information.For example, exception is obtained based on Fig. 3 Information is java.lang.NullPointerException.
Wherein, 202 the title and contact method of developer, according to abnormal information, are positioned.
Mode of the present embodiment not to according to abnormal information, positioning the title and contact method of developer makees concrete restriction, Including but not limited to:According to abnormal information, corresponding application package name and anomaly source file name are obtained;According to application program Bag name and anomaly source file name, obtain the modification record of abnormal source file;From modification record in extract developer title and Contact method.
Wherein, in Android exploitations, application package name is the unique identifier of an application program.It is generally abnormal to believe Application package name can be all included in breath, the source file title in this bag behind application package name, can be kept up with.Correspondingly, may be used Application package name is first parsed, then goes to parse anomaly source file name below.
Specifically, when corresponding application package name being obtained according to abnormal information, a line can be read by readLine Information, then judge this line whether comprising application package name by contains functions.If comprising application package name Contains functions can return true, if can return false not comprising application package name contains function.For example, Fig. 3 In at com.test.demo.activity.onclick (MainActivity.java:48), wherein com.test.demo It is application package name.
After application package name has been parsed, the content in this line most end bracket is anomaly source file name. Now, anomaly source file name need to be parsed.Specifically, substring functions can be first passed through and intercepts the content in bracket.Its In, the function of substring is to intercept character string.For example, after character string has been intercepted, in Fig. 3, above-mentioned example code is cut The content got is MainActivity.java:48. wherein, and MainActivity.java is the abnormal source file for needing to obtain Title.Now, recall split functions to split character string according to colon, so as to first unit got after splitting Element is anomaly source file name (the namely MainActivity.java in this example).
According to application package name and anomaly source file name, it may be determined that specific exception source file, so as to according to tool The source file of body can position the title and contact method of developer.
On stream, in order to safeguard the different editions of code, code can be managed using version tool.It is common Version control tool have SVN, GIT, CVS etc., the present embodiment is not especially limited to this.The present embodiment is being carried out using GIT Trustship is illustrated, identical with GIT positioning developer's processes for the process of other version control tools positioning developer.
There is query history to submit the function of record in Git, particular by calling git log fileName functions. By such input, git functions can just return all modifications record of this file of fileName, i.e. root in the above According to application package name and anomaly source file name, the modification record of abnormal source file is obtained.For example, changing record can be such as Fig. 4 It is shown.
Mode of the present embodiment not to the title and contact method of developer are extracted from modification record makees concrete restriction, bag Include but be not limited to:For any row data in modification record, in detection any row data, whether the second keyword is included;Work as detection When the second keyword is included in taking office data line, extract the title and contact method of developer in any row data.
In the diagram, it can be found that there is the title and connection that developer is behind field Author in modification record It is mode.Correspondingly, the second keyword in said process can be Author fields.
Based on the above, next in extractable modification record, all Aurhor (developer's title) are corresponding with Aurhor Mailbox message (contact method).It should be noted that contact method can be phone number, instant messaging account number or mailbox letter Breath, the present embodiment are not especially limited to this.For convenience of explanation, by the information flag that git log filename are returned can be logMsg.For logMsg, equally a row information can be read every time using readLine methods.For subsequent descriptions, will can read This row information got is labeled as logLine.After logLine is read, can be judged by calling contains functions Author keyword is included in logLine whether, if not comprising directly reading next row information, if comprising this can be parsed The content of Aurhor in row information.
As shown in Figure 4, Author colons content below is the title of developer.Therefore, can be by calling split letters Count to split character string, after the completion of fractionation, first element of array is the content before colon, second element of array is Colon content below.For second element of array can call split functions again, based on the content in Fig. 4, now Split functions can be split according to space, and after this time splitting, first element of array is the title of developer.
So that contact method is as mailbox message as an example, the particular content of mailbox message is as shown in Figure 4<>Interior content.This When, substring functions can be directly invoked to intercept<>Interior content, the content for intercepting out are the postal corresponding to developer Case information.
The title of developer and the contact method of developer can be got by above method.The above-mentioned mistake of circulating repetition The title of wherein all developers can all be parsed, can be saved in a set listAuthors afterwards by journey.Phase Ying Di, can be saved in set listMails after the mailbox message of wherein all developers is all parsed.
Wherein, 203, the exception level based on abnormal information, selects corresponding to push mode.
Based on the content in above-mentioned steps, it is known that abnormal information can be divided into urgent exception class with common exception class.It is right Can be notified according to following 3 aspects in the abnormal information of urgent exception class, first SMS notification, which two is the wechat public Number notify, which three is mail notification.For common abnormal information, can be notified by mail he, the present embodiment is to this It is not especially limited.
Wherein, 204, according to the title and contact method of developer, abnormal information is pushed to developer.
It is determined that developer title and contact method and determine push mode after, can to developer push abnormal information, So as to developer can carry out correspondingly abnormality processing.
Method provided in an embodiment of the present invention, by the content according to each row information in abnormal document, obtains abnormal literary Abnormal information in part.According to abnormal information, the title and contact method of developer are positioned.According to title and the contact of developer Mode, pushes abnormal information to developer.Due to automatically analyzing to abnormal document in time, and distributed to each extremely Individual developer, so that it is guaranteed that abnormal information process is ageing.Simultaneously as distribution abnormality processing task is to be automatically performed , and without being manually analyzed and being allocated such that it is able to greatly discharge the workload of distribution task personnel, Jin Erji The earth improves and processes abnormal efficiency, and reduces artificial and time cost.
In addition, the exception level based on abnormal information, selects corresponding push mode, push process can be allowed to more conform to Actual demand, allows developer to process exception in time.
A kind of exception handling device is embodiments provided, the device is used to perform the corresponding realities of above-mentioned Fig. 1 or Fig. 2 Apply the abnormality eliminating method provided in example.Referring to Fig. 5, the device includes:
Acquisition module 501, for the content according to each row information in abnormal document, obtains the abnormal letter in abnormal document Breath;
Locating module 502, for according to abnormal information, positioning the title and contact method of developer;
Pushing module 503, for title and contact method according to developer, pushes abnormal information to developer.
As a kind of alternative embodiment, acquisition module 501, for for arbitrary row information in abnormal document, detecting arbitrary Whether the first preset keyword is included in row information;When in detecting arbitrary row information comprising default first keyword, according to Next row information of arbitrary row information generates abnormal information.
As a kind of alternative embodiment, locating module 502, including:
First acquisition unit, for according to abnormal information, obtaining corresponding application package name and anomaly source file name;
Second acquisition unit, for according to application package name and anomaly source file name, obtaining repairing for abnormal source file Change record;
Extraction unit, for the title and contact method of developer are extracted from modification record.
As a kind of alternative embodiment, extraction unit, for for any row data in modification record, detecting arbitrary line number Whether the second keyword is included according in;When including the second keyword in any row data are detected, extract in any row data The title and contact method of developer.
As a kind of alternative embodiment, referring to Fig. 6, the device also includes:
Selecting module 504, for the exception level based on abnormal information, selects corresponding push mode.
Device provided in an embodiment of the present invention, by the content according to each row information in abnormal document, obtains abnormal literary Abnormal information in part.According to abnormal information, the title and contact method of developer are positioned.According to title and the contact of developer Mode, pushes abnormal information to developer.Due to automatically analyzing to abnormal document in time, and distributed to each extremely Individual developer, so that it is guaranteed that abnormal information process is ageing.Simultaneously as distribution abnormality processing task is to be automatically performed , and without being manually analyzed and being allocated such that it is able to greatly discharge the workload of distribution task personnel, Jin Erji The earth improves and processes abnormal efficiency, and reduces artificial and time cost.
Finally, the present processes are only preferably embodiment, are not intended to limit protection scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention Within the scope of.

Claims (10)

1. a kind of abnormality eliminating method, it is characterised in that methods described includes:
According to the content of each row information in abnormal document, the abnormal information in abnormal document is obtained;
According to the abnormal information, the title and contact method of developer are positioned;
According to the title and contact method of the developer, the abnormal information is pushed to the developer.
2. method according to claim 1, it is characterised in that the content according to each row information in abnormal document, The abnormal information in abnormal document is obtained, including:
For arbitrary row information in abnormal document, in detecting arbitrary row information, whether include the first preset keyword;
When in detecting arbitrary row information comprising default first keyword, believed according to the next line of arbitrary row information Breath generates abnormal information.
3. method according to claim 1, it is characterised in that described according to the abnormal information, positions the name of developer Claim and contact method, including:
According to the abnormal information, corresponding application package name and anomaly source file name are obtained;
According to the application package name and anomaly source file name, the modification record of abnormal source file is obtained;
The title and contact method of developer are extracted from the modification record.
4. method according to claim 3, it is characterised in that the title that developer is extracted from the modification record And contact method, including:
For any row data in the modification record, in detecting any row data, whether the second keyword is included;
When the second keyword is included in any row data are detected, extract the title of developer in any row data And contact method.
5. method according to claim 1, it is characterised in that the title and contact method according to the developer, Before the abnormal information is pushed to the developer, also include:
Based on the exception level of the abnormal information, corresponding push mode is selected.
6. a kind of exception handling device, it is characterised in that described device includes:
Acquisition module, for the content according to each row information in abnormal document, obtains the abnormal information in abnormal document;
Locating module, for according to the abnormal information, positioning the title and contact method of developer;
Pushing module, for title and contact method according to the developer, pushes the abnormal information to the developer.
7. device according to claim 6, it is characterised in that the acquisition module, for arbitrary in abnormal document Whether row information, include the first preset keyword in detecting arbitrary row information;Wrap in arbitrary row information is detected During containing default first keyword, abnormal information is generated according to next row information of arbitrary row information.
8. device according to claim 6, it is characterised in that the locating module, including:
First acquisition unit, for according to the abnormal information, obtaining corresponding application package name and anomaly source file name;
Second acquisition unit, for according to the application package name and anomaly source file name, obtaining repairing for abnormal source file Change record;
Extraction unit, for the title and contact method of developer are extracted from the modification record.
9. device according to claim 8, it is characterised in that the extraction unit, for in the modification record Whether any row data, include the second keyword in detecting any row data;Wrap in any row data are detected During containing the second keyword, the title and contact method of developer in any row data are extracted.
10. device according to claim 6, it is characterised in that described device also includes:
Selecting module, for the exception level based on the abnormal information, selects corresponding push mode.
CN201611072933.7A 2016-11-29 2016-11-29 Abnormality processing method and apparatus Pending CN106598804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611072933.7A CN106598804A (en) 2016-11-29 2016-11-29 Abnormality processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611072933.7A CN106598804A (en) 2016-11-29 2016-11-29 Abnormality processing method and apparatus

Publications (1)

Publication Number Publication Date
CN106598804A true CN106598804A (en) 2017-04-26

Family

ID=58593927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611072933.7A Pending CN106598804A (en) 2016-11-29 2016-11-29 Abnormality processing method and apparatus

Country Status (1)

Country Link
CN (1) CN106598804A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168876A (en) * 2017-05-15 2017-09-15 杭州时趣信息技术有限公司 A kind of method and device of static code detection
CN107590011A (en) * 2017-09-01 2018-01-16 武汉斗鱼网络科技有限公司 The querying method and system of mobile terminal APP error messages
CN110267215A (en) * 2019-05-21 2019-09-20 深圳壹账通智能科技有限公司 A kind of data detection method, equipment and storage medium
CN111399845A (en) * 2020-03-12 2020-07-10 北京字节跳动网络技术有限公司 Assertion method, assertion device, electronic equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425576A (en) * 2012-05-25 2013-12-04 腾讯科技(深圳)有限公司 Information feedback method and terminal
CN103634441A (en) * 2012-08-24 2014-03-12 腾讯科技(深圳)有限公司 Method and device for testing mobile terminal
CN105760302A (en) * 2016-02-29 2016-07-13 浪潮软件集团有限公司 Mobile application abnormal information processing method
CN105867930A (en) * 2016-04-05 2016-08-17 华为技术有限公司 Display method and device for function calling relation and terminal
CN105955862A (en) * 2016-04-15 2016-09-21 乐视控股(北京)有限公司 Abnormal problem monitoring positioning method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425576A (en) * 2012-05-25 2013-12-04 腾讯科技(深圳)有限公司 Information feedback method and terminal
CN103634441A (en) * 2012-08-24 2014-03-12 腾讯科技(深圳)有限公司 Method and device for testing mobile terminal
CN105760302A (en) * 2016-02-29 2016-07-13 浪潮软件集团有限公司 Mobile application abnormal information processing method
CN105867930A (en) * 2016-04-05 2016-08-17 华为技术有限公司 Display method and device for function calling relation and terminal
CN105955862A (en) * 2016-04-15 2016-09-21 乐视控股(北京)有限公司 Abnormal problem monitoring positioning method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168876A (en) * 2017-05-15 2017-09-15 杭州时趣信息技术有限公司 A kind of method and device of static code detection
CN107590011A (en) * 2017-09-01 2018-01-16 武汉斗鱼网络科技有限公司 The querying method and system of mobile terminal APP error messages
CN107590011B (en) * 2017-09-01 2020-06-16 武汉斗鱼网络科技有限公司 Method and system for inquiring APP (application) error information of mobile terminal
CN110267215A (en) * 2019-05-21 2019-09-20 深圳壹账通智能科技有限公司 A kind of data detection method, equipment and storage medium
CN110267215B (en) * 2019-05-21 2022-07-08 深圳壹账通智能科技有限公司 Data detection method, equipment and storage medium
CN111399845A (en) * 2020-03-12 2020-07-10 北京字节跳动网络技术有限公司 Assertion method, assertion device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
KR102464222B1 (en) Configurable annotations for privacy-sensitive user content
US11182490B2 (en) Obfuscation of user content in user data files
AU2017228580B2 (en) Automated functional diagram generation
CN106598804A (en) Abnormality processing method and apparatus
US10671753B2 (en) Sensitive data loss protection for structured user content viewed in user applications
CN103761476A (en) Characteristic extraction method and device
CN103473506A (en) Method and device of recognizing malicious APK files
CN103559447B (en) A kind of detection method, checkout gear and detection system based on Virus Sample feature
CN113434582B (en) Service data processing method and device, computer equipment and storage medium
CN111158716B (en) Version upgrade calling method and device, computer system and readable storage medium
CN111352631A (en) Interface compatibility detection method and device
Du et al. BlastGUI: A Python‐based Cross‐platform Local BLAST Visualization Software
CN114527993A (en) Application deployment method, device, equipment and medium
US7861242B2 (en) Mobile application morphing system and method
CN111538750A (en) Information restoration method and device, computer system and readable storage medium
US11893120B1 (en) Apparatus and method for efficient vulnerability detection in dependency trees
CN117688564B (en) Detection method, device and storage medium for intelligent contract event log
CN111124467B (en) Authority role display method, system, computer equipment and readable storage medium
CN115544134A (en) Data access method, device, computer equipment and storage medium
CN115618358A (en) Application file security detection method and device and server
CN114385952A (en) Page function item management method and device, computer equipment and readable storage medium
CN112214662A (en) Service relationship query method and device, electronic equipment and storage medium
CN112817601A (en) Configurable program generation method and device, electronic equipment and storage medium
CN115129298A (en) Service instance injection method and related equipment
CN115904381A (en) Method and device for establishing dependency relationship and storage 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

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication