CN106161740A - Contextual data grasping means under a kind of Mobile solution operation exception state and device - Google Patents
Contextual data grasping means under a kind of Mobile solution operation exception state and device Download PDFInfo
- Publication number
- CN106161740A CN106161740A CN201510152793.3A CN201510152793A CN106161740A CN 106161740 A CN106161740 A CN 106161740A CN 201510152793 A CN201510152793 A CN 201510152793A CN 106161740 A CN106161740 A CN 106161740A
- Authority
- CN
- China
- Prior art keywords
- app
- operation exception
- contextual data
- action
- courses
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention discloses the contextual data grasping means under a kind of Mobile solution operation exception state, described method includes: monitor the running status of APP in real time, and judge whether described running status is operation exception state, described operation exception state includes that described APP collapses, or the speed of service of described APP is less than threshold speed;The most described APP is in operation exception state, then capture described APP contextual data under described operation exception state, so that the developer of described APP analyzes the reason of described APP operation exception according to described contextual data, described contextual data include to this most relevant abnormal real time data and or the attribute information of current mobile terminal.Compared with prior art, in the present invention, APP developer can analyze the reason drawing APP operation exception, in order to the problem solving operation exception according to the contextual data of system grabs during abnormal generation, improve the function of APP further.
Description
Technical field
The present invention relates to data processing field, be specifically related to the scene under a kind of Mobile solution operation exception state
Data grab method and device.
Background technology
Along with popularizing of mobile terminal, Mobile solution, being called for short APP, kind is more and more diversified.Due to
The development level of APP developer differs, different simultaneously for APP mass standard of checking on, and causes difference to be opened
Send out the quality height of the APP of business.For the APP that quality is relatively low, there is the probability of operation exception in it
Will be bigger.It addition, the network environment residing for different mobile terminals, the operating system used, screen
The factors such as resolution also can affect the operation of APP, as induced the collapse (crash) of APP, causing APP
The generation of the performance issues such as operation is slow.
In order to repair the problems referred to above in time, improve the overall performance of APP, APP developer further
Need to understand in time the reason of APP operation exception.
At present, when APP occurs abnormal, mobile terminal can record and abnormal code storehouse occur, such as generation
The call relation of code, or surface layer information when meeting recording exceptional occurs, such as the url address of Network Abnormal.
But, the information of above-mentioned record is only capable of to open informs that APP developer has occurred and that extremely, and occurs
In which step, the foundation of the final cause finding APP operation exception can not be provided for APP developer.
Summary of the invention
In order to provide the analysis foundation of operation exception to APP developer, the invention provides a kind of movement should
With the contextual data grasping means under operation exception state and device.
The invention provides the contextual data grasping means under a kind of Mobile solution operation exception state, described side
Method includes:
Monitor the running status of APP in real time, and judge whether described running status is operation exception state,
Described operation exception state includes that described APP collapses, or the speed of service of described APP is less than speed
Degree threshold value;
The most described APP is in operation exception state, then capture described APP in described operation exception state
Under contextual data, in order to the developer of described APP according to described contextual data analyze described APP run
Abnormal reason, described contextual data include to this most relevant abnormal real time data and or current mobile eventually
The attribute information of end.
Preferably, described method also includes:
The described contextual data captured is uploaded onto the server;
When the developer of described APP accesses described server, described server is the exploitation of described APP
Person provides described contextual data, in order to the developer of described APP analyzes described APP according to described contextual data
The reason of operation exception.
Preferably, described crawl described APP contextual data under described operation exception state, including:
By accessing system api interface, obtain the attribute information of current mobile terminal, described attribute information bag
Include operating system, memory size, screen resolution, operator's informaiton and self-defining user profile.
Preferably, described method also includes:
The real time record user courses of action to described APP, and described courses of action are stored in internal memory;
Accordingly, described crawl described APP contextual data under described operation exception state, including:
By reading internal memory, obtaining the up-to-date courses of action of described user, described up-to-date courses of action are described
The user's N continuous before this is abnormal time courses of action, described N is natural number.
Preferably, described method also includes:
With default frequency, detect the quantity of courses of action in described internal memory;
When the courses of action in described internal memory are more than M bar, delete the courses of action of oldest stored, in order to
Keeping there are the up-to-date courses of action of M bar in described internal memory, described M is natural number.
Present invention also offers the contextual data grabbing device under a kind of Mobile solution operation exception state, described
Device includes:
Monitoring judge module, for the running status of monitoring APP in real time, and judges that described running status is
No for operation exception state, described operation exception state includes that described APP collapses, or described APP
The speed of service less than threshold speed;
Handling module, is in operation exception state for the most described APP, then captures described APP in institute
State the contextual data under operation exception state, in order to the developer of described APP divides according to described contextual data
Analysing the reason of described APP operation exception, described contextual data includes and this abnormal relevant real time data
With or the attribute information of current mobile terminal.
Preferably, described device also includes:
Upper transmission module, for uploading onto the server the described contextual data captured;Wherein, as described APP
Developer when accessing described server, the developer that described server is described APP provides described scene
Data, in order to the developer of described APP analyzes the former of described APP operation exception according to described contextual data
Cause.
Preferably, described handling module, including:
Obtain submodule, for by accessing system api interface, obtaining the attribute information of current mobile terminal,
Described attribute information includes operating system, memory size, screen resolution, operator's informaiton and self-defined
User profile.
Preferably, described device also includes:
Record memory module, for the real time record user courses of action to described APP, and by described behaviour
It is stored in internal memory as path;
Accordingly, described handling module, including:
Acquisition module, for by reading internal memory, obtaining the up-to-date courses of action of described user, described up-to-date
Courses of action are the described user N continuous before this is abnormal time courses of action, and described N is natural number.
Preferably, described device also includes:
Detection module, for default frequency, detects the quantity of courses of action in described internal memory;
Removing module, for when the courses of action in described internal memory are more than M bar, deleting oldest stored
Courses of action, in order to keeping there are the up-to-date courses of action of M bar in described internal memory, described M is natural number.
In the present invention, monitor the running status of APP in real time, and judge whether described running status is operation
Abnormality, described operation exception state includes that described APP collapses, or the operation of described APP
Speed is less than threshold speed;The most described APP is in operation exception state, then capture described APP in institute
State the contextual data under operation exception state, in order to the developer of described APP divides according to described contextual data
Analysing the reason of described APP operation exception, described contextual data includes and this abnormal relevant real time data
With or the attribute information of current mobile terminal.Compared with prior art, in the present invention, APP developer can
According to the contextual data of system grabs during abnormal generation, analyze the reason drawing APP operation exception, in order to
The problem solving operation exception, improves the function of APP further.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present application, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the application
Some embodiments, for those of ordinary skill in the art, in the premise not paying creative work
Under, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
Contextual data under a kind of Mobile solution operation exception state that Fig. 1 provides for the embodiment of the present invention captures
Method flow diagram;
Contextual data under the another kind of Mobile solution operation exception state that Fig. 2 provides for the embodiment of the present invention is grabbed
Access method flow chart;
Contextual data under a kind of Mobile solution operation exception state that Fig. 3 provides for the embodiment of the present invention captures
Structure drawing of device;
The part-structure schematic diagram of the client that Fig. 4 provides for the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only some embodiments of the present application rather than
Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making creation
Property work premise under the every other embodiment that obtained, broadly fall into the scope of the application protection.
With reference to Fig. 1, for the scene number under a kind of Mobile solution operation exception state that the embodiment of the present invention provides
According to grasping means flow chart, described method specifically may include that
S101: monitor the running status of APP in real time, and judge whether described running status is operation exception
State, described operation exception state includes that described APP collapses, or the speed of service of described APP
Less than threshold speed.
In the present embodiment, after mobile terminal installs APP, as long as described APP is in running status, system
Then can monitor the running status of described APP in real time.Meanwhile, system can judge the running status of described APP
Whether it is operation exception state.It is to say, the current operating conditions that system may determine that described APP is
The no state that collapse occurs for described APP, or whether be that the speed of service of described APP is less than speed threshold
Value, concrete, described threshold speed can be that the user oneself of current mobile terminal is arranged, it is also possible to is
When current mobile terminal is networked, server unification issues.It addition, threshold speed can be according to user's need
Modify, can revise at mobile terminal self, it is also possible to be that server unification is revised and unification issues.
S102: the most described APP is in operation exception state, then capture described APP different in described operation
The often contextual data under state, in order to the developer of described APP analyzes described APP according to described contextual data
The reason of operation exception, described contextual data includes maybe working as reach to this abnormal relevant real time data and
The attribute information of dynamic terminal.
In the present embodiment, if system is judging whether the running status of described APP is operation exception state
Time, determine that the running status of described APP is operation exception state, capture described APP the most immediately described
Contextual data under operation exception state.Wherein, the contextual data under operation exception state includes and this
Raw abnormal relevant real time data, the attribute information of current mobile terminal.Concrete, occur abnormal with this
Relevant real time data can include the internal memory surplus of current mobile terminal, CPU usage.Work as reach
The attribute information of dynamic terminal can include the operating system of current mobile terminal, memory size, screen resolution,
Operator's informaiton and self-defining user profile, such as subscriber mailbox etc..APP developer is occurred by analysis
The attribute information of the mobile terminal that abnormal APP is installed, it can be determined that the generation that certain class is abnormal with
Certain type of mobile terminal is relevant.It addition, the internal memory surplus of mobile terminal, CPU usage etc. are also
Certain type of APP operation exception can be caused.In practical operation, by accessing system api interface, obtain
Take and this abnormal relevant real time data, and the attribute information of current mobile terminal.Described APP's
Developer can analyze the reason of described APP operation exception according to described contextual data.
It addition, contextual data can also include the behaviour of described APP to this abnormal relevant real time data
Make the courses of action of user.In practical operation, once system determines that described APP is in operation exception state,
Then obtain user's courses of action to this APP.It is true that during APP runs, system is permissible
Real-time record operation user's courses of action to described APP, and the courses of action of record are stored in are
In the internal memory of system.When system determines that described APP is in operation exception state, system can be by reading
Internal memory, obtains the up-to-date courses of action of described user, each merit of APP as described in user clicks on or touches
The sequencing etc. of energy button.Concrete, APP developer can be somebody's turn to do according to the courses of action analysis of user
The abnormal cause of APP.
It should be noted that the up-to-date courses of action that system obtains by reading internal memory are that described user is at this
N continuous before exception time courses of action, described N is natural number.It is to say, only send out away from abnormal
Raw nearest operation several times, is only possible to the reason being to cause APP operation exception.
It addition, in practical operation, the present embodiment can also be by the method deleting the courses of action of storage in early days
The internal memory of management system.Concrete, system can detect the operation road in described internal memory with default frequency
The quantity in footpath.Courses of action quantity such as internal memory of detection every day ten two.When detecting in described internal memory
Courses of action more than M bar time, delete oldest stored courses of action, in order in described internal memory keep deposit
Having the up-to-date courses of action of M bar, described M is natural number.Concrete, M could be arranged to 30.
In the embodiment of the present invention, system monitors the running status of APP in real time, and judges described running status
Whether is operation exception state, described operation exception state includes that described APP collapses, or described
The speed of service of APP is less than threshold speed.The most described APP is in operation exception state, then capture institute
State APP contextual data under described operation exception state, in order to the developer of described APP is according to described
Contextual data analyzes the reason of described APP operation exception, and described contextual data includes abnormal relevant to this
Real time data and or the attribute information of current mobile terminal.Compared with prior art, APP in the present invention
Developer can analyze draw APP operation exception according to the contextual data of system grabs during abnormal generation
Reason, in order to the problem solving operation exception, improves the function of APP further.
With reference to Fig. 2, for the scene under the another kind of Mobile solution operation exception state that the embodiment of the present invention provides
Data grab method flow chart, described method includes:
S201: monitor the running status of APP in real time, and judge whether described running status is operation exception
State, described operation exception state includes that described APP collapses, or the speed of service of described APP
Less than threshold speed;
S202: the most described APP is in operation exception state, then capture described APP different in described operation
The often contextual data under state, in order to the developer of described APP analyzes described APP according to described contextual data
The reason of operation exception, described contextual data includes maybe working as reach to this abnormal relevant real time data and
The attribute information of dynamic terminal.
S201, S202 are identical with S101, S102 difference, are referred to understand, do not repeat them here.
S203: the described contextual data captured is uploaded onto the server.
In practical operation, the contextual data of each APP captured can be uploaded to same clothes by mobile terminal
Business device.Concrete, described server may be used for managing the contextual data of each APP, and opens for APP
Originator is checked.
S204: when the developer of described APP accesses described server, described server is described APP
Developer described contextual data is provided, in order to the developer of described APP analyzes according to described contextual data
The reason of described APP operation exception.
In practical operation, APP developer can be by username and password login service device registered in advance.
Meanwhile, can check or download the contextual data of described APP, in order to analyze according to these contextual data
The reason of described APP operation exception.
By the method for the present embodiment, APP developer can understand APP operation to server by unified login
Abnormal contextual data, and the reason of described APP operation exception is drawn according to these contextual data analyses.
With reference to Fig. 3, for the scene number under a kind of Mobile solution operation exception state that the embodiment of the present invention provides
According to grabbing device, described device specifically includes:
Monitoring judge module 301, for the running status of monitoring APP in real time, and judges described running status
Whether is operation exception state, described operation exception state includes that described APP collapses, or described
The speed of service of APP is less than threshold speed;
Handling module 302, is in operation exception state for the most described APP, then captures described APP
Contextual data under described operation exception state, in order to the developer of described APP is according to described scene number
According to analyzing the reason of described APP operation exception, described contextual data includes abnormal the most relevant real-time to this
Data and or the attribute information of current mobile terminal.
In practical operation, described device can also include: upper transmission module, for the described scene number that will capture
According to uploading onto the server;Wherein, when the developer of described APP accesses described server, described service
The developer that device is described APP provides described contextual data, in order to the developer of described APP is according to described
Contextual data analyzes the reason of described APP operation exception.
In a kind of implementation, described handling module may include that
Obtain submodule, for by accessing system api interface, obtaining the attribute information of current mobile terminal,
Described attribute information includes operating system, memory size, screen resolution, operator's informaiton and self-defined
User profile.
In another kind of implementation, described handling module may include that
Obtaining submodule, for when the judged result of described monitoring judge module is for being, acquisition is currently installed on
The attribute information of the mobile terminal of described APP, described attribute information include operating system, memory size,
CPU accounting, screen resolution, operator's informaiton and self-defining user profile.
In order to more convenient APP developer analyzes the reason of APP operation exception, described device also includes:
Record memory module, for the real time record user courses of action to described APP, and by described behaviour
It is stored in internal memory as path;
Accordingly, described handling module, including:
Acquisition module, for by reading internal memory, obtaining the up-to-date courses of action of described user, described up-to-date
Courses of action are the described user N continuous before this is abnormal time courses of action, and described N is natural number.
In order to safeguard the reflection performance of Installed System Memory, described device can also include:
Detection module, for default frequency, detects the quantity of courses of action in described internal memory;
Removing module, for when the courses of action in described internal memory are more than M bar, deleting oldest stored
Courses of action, in order to keeping there are the up-to-date courses of action of M bar in described internal memory, described M is natural number.
In the embodiment of the present invention, monitor judge module, for the running status of monitoring APP in real time, and sentence
Whether disconnected described running status is operation exception state, and described operation exception state includes that described APP occurs
Collapse, or the speed of service of described APP is less than threshold speed;Handling module, for the most described APP
It is in operation exception state, then captures described APP contextual data under described operation exception state, with
Toilet is stated the developer of APP and is analyzed the reason of described APP operation exception according to described contextual data, described
Contextual data include to this most relevant abnormal real time data and or the attribute information of current mobile terminal.With
Prior art is compared, and in the present invention, APP developer can be according to the scene number of system grabs during abnormal generation
According to, analyze the reason drawing APP operation exception, in order to the problem solving operation exception, the most perfect
The function of APP.
The embodiment of the present invention additionally provides a kind of terminal, as shown in Figure 4, for convenience of description, illustrate only
The part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, refer to embodiment of the present invention side
Method part.This terminal can include mobile phone, panel computer, PDA (Personal Digital Assistant,
Personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, personal computer etc.
Arbitrarily terminal unit, as a example by terminal is as mobile phone:
Fig. 4 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the terminal of embodiment of the present invention offer.
With reference to Fig. 4, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 410, memorizer 420,
Input block 430, display unit 440, sensor 450, voicefrequency circuit 460, Wireless Fidelity (wireless
Fidelity, WiFi) module 470, the parts such as processor 480 and power supply 490.People in the art
Member is appreciated that the handset structure shown in Fig. 4 is not intended that the restriction to mobile phone, can include than diagram
More or less of parts, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 4 each component parts of mobile phone carried out concrete introduction:
RF circuit 410 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially,
After the downlink information of base station is received, process to processor 480;It addition, data up for design are sent
To base station.Generally, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling
Clutch, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF is electric
Road 410 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use appoints
One communication standard or agreement, include but not limited to global system for mobile communications (Global System of
Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), broadband code
Divide multiple access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long
Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS)
Deng.
Memorizer 420 can be used for storing software program and module, and processor 480 is stored in by operation
The software program of reservoir 420 and module, thus perform the application of various functions and the data process of mobile phone.
Memorizer 420 can mainly include storing program area and storage data field, and wherein, storage program area can store behaviour
Make the application program (such as sound-playing function, image player function etc.) needed for system, at least one function
Deng;Storage data field can store data (the such as voice data, phone directory that the use according to mobile phone is created
Deng) etc..Additionally, memorizer 420 can include high-speed random access memory, it is also possible to include non-volatile
Property memorizer, for example, at least one disk memory, flush memory device or other volatile solid-state
Part.
Input block 430 can be used for receiving numeral or the character information of input, and produces and mobile phone 400
User setup and function control the input of relevant key signals.Specifically, input block 430 can include touching
Control panel 431 and other input equipments 432.Contact panel 431, also referred to as touch screen, can collect use
Family thereon or neighbouring touch operation (such as user uses any applicable object or attached such as finger, stylus
Part operation on contact panel 431 or near contact panel 431), and according to formula set in advance
Drive corresponding attachment means.Optionally, contact panel 431 can include touch detecting apparatus and touch control
Two parts of device.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation and bring
Signal, transmit a signal to touch controller;Touch controller receives touch letter from touch detecting apparatus
Breath, and it is converted into contact coordinate, then give processor 480, and can receive what processor 480 was sent
Order is also performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface acoustic wave etc. many
Type realizes contact panel 431.Except contact panel 431, input block 430 can also include other
Input equipment 432.Specifically, other input equipments 432 can include but not limited to physical keyboard, function
One in key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. or
Multiple.
Display unit 440 can be used for showing the information inputted by user or the information being supplied to user and hands
The various menus of machine.Display unit 440 can include display floater 441, optionally, can use liquid crystal
Show device (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting
Diode, OLED) etc. form configure display floater 441.Further, contact panel 431 can cover
Display floater 441, when contact panel 431 detects thereon or after neighbouring touch operation, sends place to
Reason device 480, to determine the type of touch event, is showing according to the type of touch event with preprocessor 480
Corresponding visual output is provided on panel 441.Although in the diagram, contact panel 431 and display floater
441 is to realize input and the input function of mobile phone as two independent parts, but in some embodiment
In, can be by integrated to contact panel 431 and display floater 441 and realize input and the output function of mobile phone.
Mobile phone 400 may also include at least one sensor 450, such as optical sensor, motion sensor and
Other sensors.Specifically, optical sensor can include ambient light sensor and proximity transducer, wherein, ring
Border optical sensor can regulate the brightness of display floater 441 according to the light and shade of ambient light, and proximity transducer can
When mobile phone moves in one's ear, close display floater 441 and/or backlight.As the one of motion sensor,
Accelerometer sensor can detect the size of (generally three axles) acceleration in all directions, can detect time static
Go out size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, the relevant trip of mobile phone attitude
Play, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for hands
Other sensors such as gyroscope that machine can also configure, barometer, drimeter, thermometer, infrared ray sensor,
Do not repeat them here.
Voicefrequency circuit 460, speaker 461, microphone 462 can provide the audio frequency between user and mobile phone to connect
Mouthful.The signal of telecommunication after the voice data conversion that voicefrequency circuit 460 can will receive, is transferred to speaker 761,
Acoustical signal output is converted to by speaker 461;On the other hand, the acoustical signal that microphone 462 will be collected
Be converted to the signal of telecommunication, voicefrequency circuit 460 after receiving, be converted to voice data, then by voice data output
After reason device 480 processes, through RF circuit 410 to be sent to such as another mobile phone or voice data is defeated
Go out to memorizer 420 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to receive by WiFi module 470
Sending e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet
Access.Although Fig. 4 shows WiFi module 470, but it is understood that, it is also not belonging to mobile phone
400 must be configured into, can omit completely as required in not changing the scope of essence of invention.
Processor 480 is the control centre of mobile phone, utilizes various interface and the whole mobile phone of connection each
Part, is stored in the software program in memorizer 420 and/or module by running or performing, and calls
It is stored in the data in memorizer 420, performs the various functions of mobile phone and process data, thus mobile phone is entered
Row integral monitoring.Optionally, processor 480 can include one or more processing unit;Preferably, process
Device 480 can integrated application processor and modem processor, wherein, application processor mainly processes operation
System, user interface and application program etc., modem processor mainly processes radio communication.It is appreciated that
, above-mentioned modem processor can not also be integrated in processor 480.
Mobile phone 400 also includes the power supply 490 (such as battery) powered to all parts, it is preferred that power supply
Can be logically contiguous with processor 480 by power-supply management system, thus realize pipe by power-supply management system
The functions such as reason charging, electric discharge and power managed.
Although not shown, mobile phone 400 can also include photographic head, bluetooth module etc., does not repeats them here.
The most in the present embodiment, the processor 480 in terminal can be according to following instruction, by one or one
The executable file that the process of individual above application program is corresponding is loaded in memorizer 420, and by processor
480 run the application program being stored in memorizer 420, thus realize following functions:
Monitor the running status of APP in real time, and judge whether described running status is operation exception state,
Described operation exception state includes that described APP collapses, or the speed of service of described APP is less than speed
Degree threshold value;
The most described APP is in operation exception state, then capture described APP in described operation exception state
Under contextual data, in order to the developer of described APP according to described contextual data analyze described APP run
Abnormal reason, described contextual data include to this most relevant abnormal real time data and or current mobile eventually
The attribute information of end.
Preferably, described method also includes:
The described contextual data captured is uploaded onto the server;
When the developer of described APP accesses described server, described server is the exploitation of described APP
Person provides described contextual data, in order to the developer of described APP analyzes described APP according to described contextual data
The reason of operation exception.
Preferably, described crawl described APP contextual data under described operation exception state, including:
By accessing system api interface, obtain the attribute information of current mobile terminal, described attribute information bag
Include operating system, memory size, screen resolution, operator's informaiton and self-defining user profile.
Preferably, described method also includes:
The real time record user courses of action to described APP, and described courses of action are stored in internal memory;
Accordingly, described crawl described APP contextual data under described operation exception state, including:
By reading internal memory, obtaining the up-to-date courses of action of described user, described up-to-date courses of action are described
The user's N continuous before this is abnormal time courses of action, described N is natural number.
Preferably, described method also includes:
With default frequency, detect the quantity of courses of action in described internal memory;
When the courses of action in described internal memory are more than M bar, delete the courses of action of oldest stored, in order to
Keeping there are the up-to-date courses of action of M bar in described internal memory, described M is natural number.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part
The part seeing embodiment of the method illustrates.Device embodiment described above is only schematically
, the wherein said unit illustrated as separating component can be or may not be physically separate
, the parts shown as unit can be or may not be physical location, i.e. may be located at one
Individual place, or can also be distributed on multiple NE.Can be selected it according to the actual needs
In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art
In the case of not paying creative work, i.e. it is appreciated that and implements.
It should be noted that in this article, the relational terms of such as first and second or the like be used merely to by
One entity or operation separate with another entity or operating space, and not necessarily require or imply these
Relation or the order of any this reality is there is between entity or operation.And, term " includes ", " bag
Contain " or its any other variant be intended to comprising of nonexcludability, so that include a series of key element
Process, method, article or equipment not only include those key elements, but also include being not expressly set out
Other key elements, or also include the key element intrinsic for this process, method, article or equipment.?
In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including
The process of described key element, method, article or equipment there is also other identical element.
Contextual data under a kind of Mobile solution operation exception the state above embodiment of the present invention provided
Grasping means and device are described in detail, and specific case used herein is to the principle of the present invention and reality
The mode of executing is set forth, and the explanation of above example is only intended to help to understand method and the core thereof of the present invention
Thought is thought;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, it is being embodied as
All will change in mode and range of application, in sum, this specification content should not be construed as this
The restriction of invention.
Claims (10)
1. the contextual data grasping means under a Mobile solution operation exception state, it is characterised in that institute
The method of stating includes:
Monitor the running status of APP in real time, and judge whether described running status is operation exception state,
Described operation exception state includes that described APP collapses, or the speed of service of described APP is less than speed
Degree threshold value;
The most described APP is in operation exception state, then capture described APP in described operation exception state
Under contextual data, in order to the developer of described APP according to described contextual data analyze described APP run
Abnormal reason, described contextual data include to this most relevant abnormal real time data and or current mobile eventually
The attribute information of end.
Method the most according to claim 1, it is characterised in that described method also includes:
The described contextual data captured is uploaded onto the server;
When the developer of described APP accesses described server, described server is the exploitation of described APP
Person provides described contextual data, in order to the developer of described APP analyzes described APP according to described contextual data
The reason of operation exception.
Method the most according to claim 1, it is characterised in that the described APP of described crawl is described
Contextual data under operation exception state, including:
By accessing system api interface, obtain the attribute information of current mobile terminal, described attribute information bag
Include operating system, memory size, screen resolution, operator's informaiton and self-defining user profile.
Method the most according to claim 1, it is characterised in that described method also includes:
The real time record user courses of action to described APP, and described courses of action are stored in internal memory;
Accordingly, described crawl described APP contextual data under described operation exception state, including:
By reading internal memory, obtaining the up-to-date courses of action of described user, described up-to-date courses of action are described
The user's N continuous before this is abnormal time courses of action, described N is natural number.
Method the most according to claim 4, it is characterised in that described method also includes:
With default frequency, detect the quantity of courses of action in described internal memory;
When the courses of action in described internal memory are more than M bar, delete the courses of action of oldest stored, in order to
Keeping there are the up-to-date courses of action of M bar in described internal memory, described M is natural number.
6. the contextual data grabbing device under a Mobile solution operation exception state, it is characterised in that institute
State device to include:
Monitoring judge module, for the running status of monitoring APP in real time, and judges that described running status is
No for operation exception state, described operation exception state includes that described APP collapses, or described APP
The speed of service less than threshold speed;
Handling module, is in operation exception state for the most described APP, then captures described APP in institute
State the contextual data under operation exception state, in order to the developer of described APP divides according to described contextual data
Analysing the reason of described APP operation exception, described contextual data includes and this abnormal relevant real time data
With or the attribute information of current mobile terminal.
Device the most according to claim 6, it is characterised in that described device also includes:
Upper transmission module, for uploading onto the server the described contextual data captured;Wherein, as described APP
Developer when accessing described server, the developer that described server is described APP provides described scene
Data, in order to the developer of described APP analyzes the former of described APP operation exception according to described contextual data
Cause.
Device the most according to claim 6, it is characterised in that described handling module, including:
Obtain submodule, for by accessing system api interface, obtaining the attribute information of current mobile terminal,
Described attribute information includes operating system, memory size, screen resolution, operator's informaiton and self-defined
User profile.
Device the most according to claim 6, it is characterised in that described device also includes:
Record memory module, for the real time record user courses of action to described APP, and by described behaviour
It is stored in internal memory as path;
Accordingly, described handling module, including:
Acquisition module, for by reading internal memory, obtaining the up-to-date courses of action of described user, described up-to-date
Courses of action are the described user N continuous before this is abnormal time courses of action, and described N is natural number.
Device the most according to claim 9, it is characterised in that described device also includes:
Detection module, for default frequency, detects the quantity of courses of action in described internal memory;
Removing module, for when the courses of action in described internal memory are more than M bar, deleting oldest stored
Courses of action, in order to keeping there are the up-to-date courses of action of M bar in described internal memory, described M is natural number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510152793.3A CN106161740A (en) | 2015-04-01 | 2015-04-01 | Contextual data grasping means under a kind of Mobile solution operation exception state and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510152793.3A CN106161740A (en) | 2015-04-01 | 2015-04-01 | Contextual data grasping means under a kind of Mobile solution operation exception state and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106161740A true CN106161740A (en) | 2016-11-23 |
Family
ID=57337395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510152793.3A Pending CN106161740A (en) | 2015-04-01 | 2015-04-01 | Contextual data grasping means under a kind of Mobile solution operation exception state and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161740A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681853A (en) * | 2016-12-30 | 2017-05-17 | 深圳天珑无线科技有限公司 | Application crashing processing method and mobile terminal |
CN108804299A (en) * | 2017-04-26 | 2018-11-13 | 腾讯科技(深圳)有限公司 | Application exception processing method and processing device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365732A (en) * | 2012-03-29 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for processing application program exception and mobile terminal |
CN103678091A (en) * | 2013-12-19 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for processing crash data of application software |
CN104253704A (en) * | 2013-06-28 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Terminal log reporting method, device and system |
CN104461899A (en) * | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | Method and system for analyzing resource consumption in testing process and testing terminal |
-
2015
- 2015-04-01 CN CN201510152793.3A patent/CN106161740A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365732A (en) * | 2012-03-29 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for processing application program exception and mobile terminal |
CN104253704A (en) * | 2013-06-28 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Terminal log reporting method, device and system |
CN103678091A (en) * | 2013-12-19 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for processing crash data of application software |
CN104461899A (en) * | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | Method and system for analyzing resource consumption in testing process and testing terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681853A (en) * | 2016-12-30 | 2017-05-17 | 深圳天珑无线科技有限公司 | Application crashing processing method and mobile terminal |
CN108804299A (en) * | 2017-04-26 | 2018-11-13 | 腾讯科技(深圳)有限公司 | Application exception processing method and processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104135501B (en) | Page sharing method, Apparatus and system | |
CN104572819B (en) | Clearing method and system for junk data | |
CN107357725B (en) | Application testing method and device | |
CN103336925B (en) | A kind of method and apparatus scanning acceleration | |
CN106126562A (en) | A kind of pop-up hold-up interception method and terminal | |
CN106534940A (en) | Method and device for displaying preview picture at live broadcasting entrance | |
CN104123276B (en) | The hold-up interception method of pop-up, device and system in a kind of browser | |
CN107092520A (en) | Recommendation method, device, storage medium and the mobile terminal of application program | |
CN109697010A (en) | A kind of suspended window position control method, terminal and computer readable storage medium | |
CN106203459A (en) | Image processing method and device | |
CN106203228A (en) | Two-dimensional code information transmission method, device and equipment | |
CN105992026A (en) | Method and device for displaying barrage comment information | |
CN106547844A (en) | A kind for the treatment of method and apparatus of user interface | |
CN104699501B (en) | A kind of method and device for running application program | |
CN106020844A (en) | Method and device for determining kernel running configurations in processor | |
CN106155717A (en) | A kind of method and apparatus that SDK is integrated into third party APK | |
CN106375582A (en) | Vibration control method and apparatus | |
CN105740145A (en) | Method and device for locating element in control | |
CN103399706B (en) | Page interaction, device and terminal | |
CN106155888A (en) | The detection method of webpage loading performance and device in a kind of Mobile solution | |
CN108897846A (en) | Information search method, equipment and computer readable storage medium | |
CN106294290A (en) | A kind of method and apparatus showing document | |
CN106100974A (en) | Information sharing method and device | |
CN106020945A (en) | Shortcut item adding method and device | |
CN107341094A (en) | The time-consuming measuring method of startup item and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161123 |
|
RJ01 | Rejection of invention patent application after publication |