CN106598811A - Abnormal event processing method and apparatus, and terminal - Google Patents
Abnormal event processing method and apparatus, and terminal Download PDFInfo
- Publication number
- CN106598811A CN106598811A CN201611177048.5A CN201611177048A CN106598811A CN 106598811 A CN106598811 A CN 106598811A CN 201611177048 A CN201611177048 A CN 201611177048A CN 106598811 A CN106598811 A CN 106598811A
- Authority
- CN
- China
- Prior art keywords
- anomalous event
- information
- specified location
- log information
- log
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3072—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention provides an abnormal event processing method and apparatus, and a terminal. The abnormal event processing method comprises the following steps: obtaining related system information upon the occurrence of an abnormal event in response to the detection of the abnormal event; and storing the obtained information to a first specified position. The related system information during the abnormality can be obtained in time, therefore when a developer analyzes and debugs a fault of the terminal, the developer can conveniently obtain the information necessary for analyzing and debugging the fault quickly and comprehensively, thereby reducing the analyzing and debugging difficulty of the fault of the terminal, accordingly the analyzing and debugging time is shortened, and the analyzing and debugging speed is accelerated, thereby solving problem that the related system information during the abnormality cannot be obtained in time in the case of the abnormality of the terminal system, resulting in relatively large difficulty for the developer to analyze and debug the fault of the terminal, a long analyzing and debugging time and a low speed in the prior art.
Description
【Technical field】
The present invention relates to the communications field, more particularly to a kind of anomalous event processing method, device and terminal.
【Background technology】
Currently, the terminal applies such as mobile phone and panel computer are extensive.With the continuous development of communication network, such as mobile phone peace
The terminals such as plate computer have become requisite communications and entertainment instrument in people's daily life.During the use of terminal such as
Fruit is broken down or other problemses, is the failure cause for judging terminal, and user generally requires the day for capturing terminal abnormal event
Will information, to obtain the ruuning situation and abnormity point of terminal.
In prior art, when system occurs abnormal, the log information of anomalous event can be stored in a certain by terminal
Under path.Exploitation analysis personnel need the log information that anomalous event is taken out from terminal, and need to obtain by various orders
Take various status informations and system configuration information of the system in exception.As during abnormal generation, developer is not necessarily on the scene
(and being that in most cases developer is absent from the scene), status information when frequently resulting in exception are lost, it is impossible to obtain in time
, it is abnormal that this is not easy to developer's analysis debugging very much.
In process of the present invention is realized, inventor has found that at least there are the following problems in prior art:
When terminal system occurs abnormal, it is impossible to pertinent system information when obtaining abnormal in time, cause developer point
The difficulty of analysis debugging terminal fault is larger, and analysis debug time length, speed are slow.
【The content of the invention】
In view of this, a kind of anomalous event processing method, device and terminal are embodiments provided, it is existing to solve
Have in technology when terminal system occurs abnormal, it is impossible to pertinent system information when obtaining abnormal in time, cause developer point
Analysis debugging terminal fault difficulty it is larger, analysis debug time length, slow-footed problem.
In a first aspect, the embodiment of the present invention provides a kind of anomalous event processing method, terminal, methods described bag are applied to
Include:
In response to detecting anomalous event, the pertinent system information when anomalous event occurs is obtained;
By the information Store for getting to the first specified location.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, it is described obtaining
Before pertinent system information when anomalous event occurs, methods described also includes:
In response to detecting the anomalous event, judge whether system has recorded the log information of the anomalous event;
According to the log information of the judged result process anomalous event.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, according to judgement knot
Fruit processes the log information of the anomalous event, including:
When system has recorded the log information of the anomalous event, the daily record letter of the anomalous event that system is recorded
Breath storage is to the second specified location.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, according to judgement knot
Fruit processes the log information of the anomalous event, including:
When system does not record the log information of the anomalous event, the log information of the anomalous event is actively recorded;
The log information of the anomalous event of active record is stored to the second specified location.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, actively record institute
The log information of anomalous event is stated, including:
Time point information and the exception that the anomalous event occurs are recorded in the log information of the anomalous event
The related process number information of event;
The pertinent system information when anomalous event occurs is obtained, including:According to record the time point information and
The process number information, obtains the pertinent system information when anomalous event occurs.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, will get
Information Store to before the first specified location, methods described also includes:
Detect whether the remaining active volume of first specified location is more than the capacity of the information for getting;
When the remaining active volume of first specified location is less than the capacity of the information for getting, according to specified
Deletion rule deletes the storage information in first specified location.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, will be described different
The log information of ordinary affair part is stored to before the second specified location, and methods described also includes:
Detect whether the remaining active volume of second specified location is more than the appearance of the log information of the anomalous event
Amount;
During the capacity of the log information for being less than the anomalous event in the remaining active volume of second specified location, press
The storage information in second specified location is deleted according to specified deletion rule.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, the phase relation
System information includes system status information and system configuration information.
Second aspect, the embodiment of the present invention provide a kind of anomalous event processing meanss, are arranged at terminal, described device bag
Include:
Acquisition module, in response to detecting anomalous event, obtaining the related system letter when anomalous event occurs
Breath;
Memory module, for by the information Store for getting to the first specified location.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described device is also
Including:
Judge module, for before the pertinent system information when anomalous event occurs is obtained, in response to detecting
The anomalous event, judges whether system has recorded the log information of the anomalous event;
Log processing module, for the log information according to the judged result process anomalous event.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, at the daily record
Reason module when for log information according to the judged result process anomalous event, specifically for:
When system has recorded the log information of the anomalous event, the daily record letter of the anomalous event that system is recorded
Breath storage is to the second specified location.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, at the daily record
Reason module when for log information according to the judged result process anomalous event, specifically for:
When system does not record the log information of the anomalous event, the log information of the anomalous event is actively recorded;
The log information of the anomalous event of active record is stored to the second specified location.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, at the daily record
Reason module when for actively recording the log information of the anomalous event, specifically for:
Time point information and the exception that the anomalous event occurs are recorded in the log information of the anomalous event
The related process number information of event;
The acquisition module when for obtaining the pertinent system information when anomalous event occurs, specifically for:Root
According to the time point information and the process number information of record, the pertinent system information when anomalous event occurs is obtained.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described device is also
Including:
First detection module, for, before by the information Store for getting to the first specified location, detecting described first
Whether the remaining active volume of specified location is more than the capacity of the information for getting;
First removing module, is less than the information for getting for the remaining active volume in first specified location
Capacity when, delete the storage information in first specified location according to specified deletion rule.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described device is also
Including:
Second detection module, for storing to before the second specified location in the log information by the anomalous event, inspection
Survey the remaining active volume of second specified location whether more than the anomalous event log information capacity;
Second removing module, is less than the day of the anomalous event for the remaining active volume in second specified location
During the capacity of will information, the storage information in second specified location is deleted according to specified deletion rule.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, the phase relation
System information includes system status information and system configuration information.
The third aspect, the embodiment of the present invention provide a kind of terminal, and the terminal includes:
Processor;
For storing the memorizer of the processor executable;
The processor is configured to:
In response to detecting anomalous event, the pertinent system information when anomalous event occurs is obtained;
By the information Store for getting to the first specified location.
With arbitrary possible implementation in terms of as above, it is further provided a kind of implementation, the terminal is
Mobile phone or panel computer.
The embodiment of the present invention has the advantages that:
Related system letter when the embodiment of the present invention occurs by when anomalous event occurs, obtaining automatically anomalous event
Breath, and specified location is stored the information into, pertinent system information during exception can be obtained in time, so as in developer point
During analysis debugging terminal fault, developer can be made convenient and swift and the information needed for analysis debugging failure is comprehensively got,
So as to reduce the analysis debugging difficulty to terminal fault, and then the time that analysis is debugged is reduced, accelerate analysis debugging speed.
【Description of the drawings】
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by to be used attached needed for embodiment
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area
For those of ordinary skill, without having to pay creative labor, can be with other attached according to these accompanying drawings acquisitions
Figure.
Fig. 1 is the first pass exemplary plot of anomalous event processing method provided in an embodiment of the present invention.
Fig. 2 is the second procedure exemplary plot of anomalous event processing method provided in an embodiment of the present invention.
Fig. 3 is the functional block diagram of anomalous event processing meanss provided in an embodiment of the present invention.
A kind of hardware architecture diagram of the terminal that Fig. 4 is provided by the embodiment of the present invention.
【Specific embodiment】
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail
State.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its
Its embodiment, belongs to the scope of protection of the invention.
The term for using in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting
The present invention." one kind ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims
It is also intended to include most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, represent
There may be three kinds of relations, for example, A and/or B can be represented:Individualism A, while there is A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent forward-backward correlation to liking a kind of relation of "or".
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when the detection (condition of statement
Or event) when " or " in response to detecting (condition or event of statement) ".
Embodiment one
A kind of anomalous event processing method is embodiments provided, the anomalous event processing method can apply to handss
The terminals such as machine, panel computer.The anomalous event processing method can realize by application program that the application program can be arranged on
In the terminals such as mobile phone, panel computer.
Fig. 1 is the first pass exemplary plot of anomalous event processing method provided in an embodiment of the present invention.At the anomalous event
Reason method flow is applied to terminal.As shown in figure 1, in the present embodiment, anomalous event processing method comprises the steps:
S101, in response to detecting anomalous event, obtains pertinent system information when anomalous event occurs;
S102, by the information Store for getting to the first specified location.
During a concrete implementation, pertinent system information when anomalous event occurs can be believed including system mode
Breath and system configuration information.For example, anomalous event occur when pertinent system information can include CPU information, internal storage state,
The necessary informations such as mount (carry) relevant information, file system state, configuration surroundings.
Wherein, the first specified location can be the storage location of user's space.
In some cases, when anomalous event occurs, terminal system is not remembered to the log information of anomalous event
Record, this can further increase the difficulty of developer's analysis debugging terminal fault.In order to avoid terminal system fails to record anomalous event
Log information situation, reduce abnormal log loss, can judge that when anomalous event occurs terminal system has not
There is the log information to anomalous event to record, if terminal system is not recorded to the log information of anomalous event,
The log information of anomalous event is actively recorded just, to guarantee not miss the log information of anomalous event.
Therefore, it is during a concrete implementation, before pertinent system information when anomalous event occurs is obtained, different
Often event-handling method can also include:In response to detecting anomalous event, judge whether system has recorded the anomalous event
Log information;The log information of the anomalous event is processed according to judged result.
When terminal system have recorded the log information of anomalous event or by not having recording exceptional in terminal system
When the log information of anomalous event is actively have recorded in the case of the log information of event, developer is to abnormal thing for convenience
The corresponding terminal fault of part is analyzed debugging, the storage of the log information of the anomalous event for having recorded can be arrived specified location,
So that developer is easily found.
Therefore, during a concrete implementation, the log information of the anomalous event is processed according to judged result, can be with
Including:When system has recorded the log information of the anomalous event, the log information storage of the anomalous event that system is recorded
To the second specified location.
Wherein, the second specified location can be the storage location of user's space.Second specified location can be with aforementioned storage
First specified location of pertinent system information when anomalous event occurs is identical.For example, phase when can occur anomalous event
The log information for closing system information and anomalous event is stored in the same file folder of user's space.
During a concrete implementation, the log information of the anomalous event is processed according to judged result, can be included:
When system does not record the log information of the anomalous event, the log information of the anomalous event is actively recorded;By active record
The log information of the anomalous event is stored to the second specified location.
In the log information of active recording exceptional event, can in the log information of anomalous event recording exceptional event
The time point information of the generation process number information related to anomalous event, so as to the time point information that occurred according to anomalous event and
The related process number information of anomalous event is obtaining the pertinent system information when anomalous event occurs.
Therefore, the log information of the anomalous event during a concrete implementation, is actively recorded, can be included:
The time point information of anomalous event generation process number related to the anomalous event is recorded in the log information of the anomalous event
Information;The system information when anomalous event occurs is obtained, including:According to the time point information and process number information of record, obtain
Take the pertinent system information when anomalous event occurs.
Due to the restriction of the memory capacity of the first specified location, when needing the log information storage of anomalous event to first
During specified location, the remaining active volume of the first specified location may not enough store the daily record letter of the anomalous event for needing storage
Breath, if now the log information of anomalous event is stored to the first specified location, it is possible to cause anomalous event to be stored
Log information information lose or the first specified location is damaged because storage information is excessive so that developer cannot be from the
One specified location gets the log information needed for analysis debugging failure.
Therefore, it is during a concrete implementation, before by the information Store for getting to the first specified location, different
Often event-handling method can also include:Detect the remaining active volume of the first specified location whether more than the information for getting
Capacity;When the remaining active volume of the first specified location is less than the capacity of the information for getting, delete according to specified deletion rule
Storage information in except the first specified location.
Wherein it is possible to pre-set the deletion rule of the first specified location in the terminal.For example, it is intended that deletion rule can be with
It is the log information that date oldest anomalous event is deleted according to setting deletion amount.
During a concrete implementation, store to before the second specified location in the log information by anomalous event,
Anomalous event processing method can also include:Detect whether the remaining active volume of the second specified location is more than the day of anomalous event
The capacity of will information;During the capacity of the log information for being less than anomalous event in the remaining active volume of the second specified location, according to
Specified deletion rule deletes the storage information in the second specified location.
Wherein, the deletion rule of the second specified location can be identical with the deletion rule of the first specified location, it is also possible to no
Together.
The anomalous event processing method of the present embodiment is described further below by example.
Fig. 2 is the second procedure exemplary plot of anomalous event processing method provided in an embodiment of the present invention.As shown in Fig. 2 this
In embodiment, anomalous event processing method comprises the steps:
S201, detects whether anomalous event, if anomalous event occurs, performs S202, if without abnormal
Event occurs, and repeats S201, continues detection;
S202, judges whether system has recorded the log information of the anomalous event, if system has recorded the anomalous event
Log information, perform S204, if system does not record the log information of the anomalous event, perform S203;
S203, records the log information of the anomalous event, performs S204;
The log information of anomalous event is copied to user storage space by S204;
S205, obtains the system status information and system configuration information when anomalous event occurs;
S206, the information Store that S205 is got to user storage space terminate.
Anomalous event processing method provided in an embodiment of the present invention, by when anomalous event occurs, obtaining automatically abnormal
Pertinent system information when event occurs, and specified location is stored the information into, phase relation during exception can be obtained in time
System information, so as in developer's analysis debugging terminal fault, developer being made convenient and swift and comprehensively got
Information needed for analysis debugging failure, so as to reduce the analysis debugging difficulty to terminal fault, and then reduce analysis debugging when
Between, accelerate analysis debugging speed.
Embodiment two
A kind of anomalous event processing meanss are embodiments provided, the anomalous event processing meanss can be realized aforementioned
Each step of anomalous event processing method in embodiment one.
Fig. 3 is the functional block diagram of anomalous event processing meanss provided in an embodiment of the present invention.In the present embodiment, abnormal thing
Part processing meanss are arranged at terminal, such as mobile phone, panel computer etc..As shown in figure 3, the anomalous event processing meanss include:
Acquisition module 310, in response to detecting anomalous event, obtaining related system letter when anomalous event occurs
Breath;
Memory module 320, for by the information Store for getting to the first specified location.
During a concrete implementation, anomalous event processing meanss can also include:Judge module, for obtaining
Before pertinent system information when anomalous event occurs, in response to detecting anomalous event, system whether recording exceptional is judged
The log information of event;Log processing module, for the log information of anomalous event is processed according to the judged result of judge module.
During a concrete implementation, log processing module is for according to the judged result process anomalous event
Log information when, specifically for:In the system log information of recording exceptional event, the anomalous event that system is recorded
Log information is stored to the second specified location.
During a concrete implementation, log processing module is for according to the judged result process anomalous event
Log information when, specifically for:In the log information of the non-recording exceptional event of system, the daily record of active recording exceptional event
Information;The log information of the anomalous event of active record is stored to the second specified location.
During a concrete implementation, log processing module is in the log information for active recording exceptional event
When, specifically for:The time point information that recording exceptional event occurs in the log information of anomalous event is related to anomalous event
Process number information;Acquisition module 310 for obtain anomalous event occur when pertinent system information when, specifically for:Root
According to the time point information and process number information of record, pertinent system information when anomalous event occurs is obtained.
During a concrete implementation, anomalous event processing meanss can also include:First detection module, for
Memory module 320 is held the residue for before the information Store for getting to the first specified location, detecting the first specified location available
Whether amount is more than the capacity of the information for getting;First removing module is little for the remaining active volume in the first specified location
When the capacity of the information for getting, the storage information in the first specified location is deleted according to specified deletion rule.
During a concrete implementation, anomalous event processing meanss can also include:Second detection module, for
The log information of anomalous event is stored log processing module the residue that the second specified location is detected to before the second specified location
Whether active volume is more than the capacity of the log information of anomalous event;Second removing module, in the surplus of the second specified location
When remaining active volume is less than the capacity of the log information of anomalous event, delete in the second specified location according to specified deletion rule
Storage information.
During a concrete implementation, pertinent system information can include that system status information and system configuration are believed
Breath.
Process as the anomalous event processing meanss in the present embodiment are able to carry out the anomalous event in previous embodiment one
Method, the part that the present embodiment is not described in detail refers to mutually speak on somebody's behalf anomalous event processing method in previous embodiment one
It is bright.
Anomalous event processing meanss provided in an embodiment of the present invention, by when anomalous event occurs, obtaining automatically abnormal
Pertinent system information when event occurs, and specified location is stored the information into, phase relation during exception can be obtained in time
System information, so as in developer's analysis debugging terminal fault, developer being made convenient and swift and comprehensively got
Information needed for analysis debugging failure, so as to reduce the analysis debugging difficulty to terminal fault, and then reduce analysis debugging when
Between, accelerate analysis debugging speed.
Embodiment three
A kind of terminal is present embodiments provided, the terminal includes processor and for storing the processor executable
Memorizer;Wherein, processor is configured to:In response to detecting anomalous event, related system when anomalous event occurs is obtained
Information;By the information Store for getting to the first specified location.
Wherein, terminal can be mobile phone, panel computer etc..
During a concrete implementation, processor can be additionally configured to:In response to detecting anomalous event, judge
The log information of system whether recording exceptional event;The log information of anomalous event is processed according to judged result.
During a concrete implementation, processor can be additionally configured to:In the day of system recording exceptional event
During will information, the log information of the anomalous event that system is recorded is stored to the second specified location.
During a concrete implementation, processor can be additionally configured to:In the day of the non-recording exceptional event of system
During will information, the log information of active recording exceptional event;By the log information storage of the anomalous event of active record to second
Specified location.
During a concrete implementation, processor can be additionally configured to:Remember in the log information of anomalous event
Record the time point information of the anomalous event generation process number information related to anomalous event;According to record time point information and enter
Journey information, obtains pertinent system information when anomalous event occurs.
During a concrete implementation, processor can be additionally configured to:By the information Store for getting to
Before one specified location, detect whether the remaining active volume of the first specified location is more than the capacity of the information for getting;
When the remaining active volume of one specified location is less than the capacity of the information for getting, first is deleted according to specified deletion rule and specified
Storage information in position.
During a concrete implementation, processor can be additionally configured to:The log information of anomalous event is being deposited
Before storing up the second specified location, detect whether the remaining active volume of the second specified location is more than the log information of anomalous event
Capacity;During the capacity of the log information for being less than anomalous event in the remaining active volume of the second specified location, delete according to specifying
Except the storage information in the second specified location of redundant rule elimination.
During a concrete implementation, pertinent system information can include that system status information and system configuration are believed
Breath.
Fig. 4 is referred to, a kind of hardware architecture diagram of its terminal provided by the embodiment of the present invention.
As shown in figure 4, terminal can include following one or more assemblies:Process assembly 402, memorizer 404, power supply group
Part 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, Yi Jitong
Letter component 416.
The integrated operation of 402 usual control terminal of process assembly, such as with display, call, data communication, camera behaviour
Make and record the associated operation of operation.Process assembly 402 can carry out execute instruction including one or more processors 420, with
The all or part of step of the anomalous event processing method in previous embodiment one is completed, is specifically included:It is different in response to detecting
Ordinary affair part, obtains pertinent system information when anomalous event occurs;By the information Store for getting to the first specified location.Example
Such as, process assembly 402 can include multi-media module, to facilitate the interaction between multimedia groupware 408 and process assembly 402.
Memorizer 404 is configured to store various types of data to support the operation in terminal.The example of these data
Including the instruction of any application program or method for operating in terminal, contact data, telephone book data, message, figure
Piece, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or combinations thereof reality
Existing, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is only
Read memorizer (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic
Disk or CD.
Power supply module 406 provides electric power for the various assemblies of terminal.Power supply module 406 can include power-supply management system,
One or more power supplys, and other and the component for generating for terminal, management and distribution electric power are associated.
Multimedia groupware 408 is included in the screen of one output interface of offer between the terminal and user.At some
In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Touch screen is may be implemented as, to receive the input signal from user.Touch panel includes one or more touch sensors
With the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detect the persistent period related to the touch or slide and pressure.In certain embodiments, multimedia
Component 408 includes a front-facing camera and/or post-positioned pick-up head.When terminal is in operator scheme, such as screening-mode or video
During pattern, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and rearmounted
Photographic head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike
Wind (MIC), when terminal is in operator scheme, such as call model, logging mode and speech recognition mode, mike is configured to
Receive external audio signal.The audio signal for being received can be further stored in memorizer 404 or via communication component 416
Send.In certain embodiments, audio-frequency assembly 410 also includes a speaker, for exports audio signal.
, for interface is provided between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 414 includes one or more sensors, for the state estimation of various aspects is provided for terminal.Example
Such as, sensor cluster 414 can detect the opening/closed mode of terminal, the relative localization of component, such as described component is whole
The display and keypad at end, sensor cluster 414 can be with the position change of one component of detection terminal or terminal, Yong Huyu
Presence or absence of, the temperature change of terminal orientation or acceleration/deceleration and terminal of terminal contact.Sensor cluster 414 can be with
Including proximity transducer, the presence of the object near detection when not having any physical contact is configured to.Sensor cluster
414 can also include optical sensor, such as CMOS or ccd image sensor, for used in imaging applications.In some embodiments
In, the sensor cluster 414 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature
Degree sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between terminal and other equipment.Terminal can
To access the wireless network based on communication standard, such as WiFi, 2G, 3G or 4G or combinations thereof.In an exemplary embodiment
In, communication component 416 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology,
Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, terminal can be by one or more application specific integrated circuits (ASIC), digital signal
Processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and module, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematic, for example, the module
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example, multiple modules or group
Part can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown
Or discuss coupling each other direct-coupling or communication connection can be by the indirect of some interfaces, device or module
Coupling is communicated to connect, and can be electrical, mechanical or other forms.
The module as separating component explanation can be or may not be it is physically separate, it is aobvious as module
The part for showing can be or may not be physical module, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional module in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, is used so that a computer including some instructions
Device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention each
The part steps of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvements done etc. are should be included within the scope of protection of the invention.
Claims (18)
1. a kind of anomalous event processing method, is applied to terminal, it is characterised in that methods described includes:
In response to detecting anomalous event, the pertinent system information when anomalous event occurs is obtained;
By the information Store for getting to the first specified location.
2. method according to claim 1, it is characterised in that obtaining the related system letter when anomalous event occurs
Before breath, methods described also includes:
In response to detecting the anomalous event, judge whether system has recorded the log information of the anomalous event;
According to the log information of the judged result process anomalous event.
3. method according to claim 2, it is characterised in that according to the daily record letter of the judged result process anomalous event
Breath, including:
When system has recorded the log information of the anomalous event, the log information of the anomalous event that system is recorded is deposited
Store up the second specified location.
4. method according to claim 2, it is characterised in that according to the daily record letter of the judged result process anomalous event
Breath, including:
When system does not record the log information of the anomalous event, the log information of the anomalous event is actively recorded;
The log information of the anomalous event of active record is stored to the second specified location.
5. method according to claim 4, it is characterised in that actively record the log information of the anomalous event, including:
Time point information and the anomalous event that the anomalous event occurs are recorded in the log information of the anomalous event
Related process number information;
The pertinent system information when anomalous event occurs is obtained, including:According to the time point information and described of record
Process number information, obtains the pertinent system information when anomalous event occurs.
6. method according to claim 1, it is characterised in that by the information Store for getting to the first specified location it
Before, methods described also includes:
Detect whether the remaining active volume of first specified location is more than the capacity of the information for getting;
When the remaining active volume of first specified location is less than the capacity of the information for getting, according to specified deletion
Storage information in first specified location described in redundant rule elimination.
7. the method according to claim 3 or 4, it is characterised in that arrive in the log information storage by the anomalous event
Before second specified location, methods described also includes:
Detect whether the remaining active volume of second specified location is more than the capacity of the log information of the anomalous event;
During the capacity of the log information for being less than the anomalous event in the remaining active volume of second specified location, according to finger
Determine deletion rule and delete the storage information in second specified location.
8. method according to claim 1, it is characterised in that the pertinent system information includes system status information and is
System configuration information.
9. a kind of anomalous event processing meanss, are arranged at terminal, it is characterised in that described device includes:
Acquisition module, in response to detecting anomalous event, obtaining the pertinent system information when anomalous event occurs;
Memory module, for by the information Store for getting to the first specified location.
10. device according to claim 9, it is characterised in that described device also includes:
Judge module, it is for before the pertinent system information when anomalous event occurs is obtained, described in response to detecting
Anomalous event, judges whether system has recorded the log information of the anomalous event;
Log processing module, for the log information according to the judged result process anomalous event.
11. devices according to claim 10, it is characterised in that the log processing module is for according to judged result
When processing the log information of the anomalous event, specifically for:
When system has recorded the log information of the anomalous event, the log information of the anomalous event that system is recorded is deposited
Store up the second specified location.
12. devices according to claim 10, it is characterised in that the log processing module is for according to judged result
When processing the log information of the anomalous event, specifically for:
When system does not record the log information of the anomalous event, the log information of the anomalous event is actively recorded;
The log information of the anomalous event of active record is stored to the second specified location.
13. devices according to claim 12, it is characterised in that the log processing module is described for actively record
During the log information of anomalous event, specifically for:
Time point information and the anomalous event that the anomalous event occurs are recorded in the log information of the anomalous event
Related process number information;
The acquisition module when for obtaining the pertinent system information when anomalous event occurs, specifically for:According to note
The time point information and the process number information of record, obtains the pertinent system information when anomalous event occurs.
14. devices according to claim 9, it is characterised in that described device also includes:
First detection module, for before by the information Store for getting to the first specified location, detecting that described first specifies
Whether the remaining active volume of position is more than the capacity of the information for getting;
First removing module, is less than the appearance of the information for getting for the remaining active volume in first specified location
During amount, the storage information in first specified location is deleted according to specified deletion rule.
15. devices according to claim 11 or 12, it is characterised in that described device also includes:
Second detection module, for storing to before the second specified location in the log information by the anomalous event, detects institute
State the remaining active volume of the second specified location whether more than the anomalous event log information capacity;
Second removing module, believes for daily record of the remaining active volume in second specified location less than the anomalous event
During the capacity of breath, the storage information in second specified location is deleted according to specified deletion rule.
16. devices according to claim 9, it is characterised in that the pertinent system information include system status information and
System configuration information.
17. a kind of terminals, it is characterised in that the terminal includes:
Processor;
For storing the memorizer of the processor executable;
The processor is configured to:
In response to detecting anomalous event, the pertinent system information when anomalous event occurs is obtained;
By the information Store for getting to the first specified location.
18. terminals according to claim 17, it is characterised in that the terminal is mobile phone or panel computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611177048.5A CN106598811B (en) | 2016-12-19 | 2016-12-19 | Anomalous event processing method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611177048.5A CN106598811B (en) | 2016-12-19 | 2016-12-19 | Anomalous event processing method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106598811A true CN106598811A (en) | 2017-04-26 |
CN106598811B CN106598811B (en) | 2019-06-25 |
Family
ID=58599455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611177048.5A Active CN106598811B (en) | 2016-12-19 | 2016-12-19 | Anomalous event processing method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598811B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367750A (en) * | 2018-12-26 | 2020-07-03 | 阿里巴巴集团控股有限公司 | Exception handling method, device and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011118610A (en) * | 2009-12-02 | 2011-06-16 | Canon It Solutions Inc | Portable terminal, control method thereof, program, and storage medium |
CN102820983A (en) * | 2011-11-18 | 2012-12-12 | 金蝶软件(中国)有限公司 | Method for collecting system abnormality information, and manager |
CN104951395A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | Debugging information processing method and device for embedded system |
CN105204969A (en) * | 2014-06-30 | 2015-12-30 | 腾讯科技(深圳)有限公司 | Abnormal log processing method and abnormal log processing device |
CN106201756A (en) * | 2016-07-12 | 2016-12-07 | 努比亚技术有限公司 | Log acquisition device, mobile terminal and method |
-
2016
- 2016-12-19 CN CN201611177048.5A patent/CN106598811B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011118610A (en) * | 2009-12-02 | 2011-06-16 | Canon It Solutions Inc | Portable terminal, control method thereof, program, and storage medium |
CN102820983A (en) * | 2011-11-18 | 2012-12-12 | 金蝶软件(中国)有限公司 | Method for collecting system abnormality information, and manager |
CN104951395A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | Debugging information processing method and device for embedded system |
CN105204969A (en) * | 2014-06-30 | 2015-12-30 | 腾讯科技(深圳)有限公司 | Abnormal log processing method and abnormal log processing device |
CN106201756A (en) * | 2016-07-12 | 2016-12-07 | 努比亚技术有限公司 | Log acquisition device, mobile terminal and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367750A (en) * | 2018-12-26 | 2020-07-03 | 阿里巴巴集团控股有限公司 | Exception handling method, device and equipment |
CN111367750B (en) * | 2018-12-26 | 2023-06-20 | 阿里巴巴集团控股有限公司 | Exception handling method, device and equipment thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106598811B (en) | 2019-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104156233B (en) | Light application off-line update method, device and terminal | |
CN104951377B (en) | The abnormality eliminating method and device of intelligent household terminal | |
CN104765552A (en) | Authority management method and device | |
CN104793846A (en) | Displaying method and device for interface of application program | |
CN103927081A (en) | Method and device for processing notification events | |
CN105607805A (en) | Corner mark processing method and apparatus for application icon | |
CN106484593A (en) | Log processing method, device and electronic equipment | |
CN105930247A (en) | Method, device and mobile terminal for processing problem of system restart | |
CN106101629A (en) | The method and device of output image | |
CN105808050A (en) | Information search method and device | |
CN106406562A (en) | Data processing method and device | |
CN109684406A (en) | Method, apparatus, equipment and the storage medium of redis cluster backup data across computer room | |
CN106126272A (en) | File system discharging method and device | |
CN106598704A (en) | Application program recovery method and apparatus | |
CN106648730A (en) | Processing method and device of abnormal application | |
CN106528385A (en) | System fluency monitoring method and apparatus, and terminal | |
CN105045686A (en) | File recovery method and apparatus | |
CN106249995B (en) | Notification method and device | |
CN109684123B (en) | Problem resource positioning method, device, terminal and storage medium | |
CN104035764A (en) | Object control method and relevant device | |
CN105975305A (en) | Operating system event processing method and device as well as terminal | |
CN105607979A (en) | Network interconnection control method and device | |
CN105868624A (en) | Application program authority management method and device | |
CN104899059A (en) | Method and apparatus for upgrading operating system | |
CN107239236A (en) | Method for writing data and device |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190531 Address after: 644005 Suger Intelligent Industrial Base, 31 Gangyuan Road, Lingang District, Yibin City, Sichuan Province Applicant after: Sichuan sac Communication Technology Co., Ltd. Applicant after: Yibin Chen'an Intelligent Manufacturing Co., Ltd. Address before: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong Applicant before: Shenzhen Tinno Wireless Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |