CN104572318A - Report information obtaining method, device, equipment and system - Google Patents

Report information obtaining method, device, equipment and system Download PDF

Info

Publication number
CN104572318A
CN104572318A CN201310507278.3A CN201310507278A CN104572318A CN 104572318 A CN104572318 A CN 104572318A CN 201310507278 A CN201310507278 A CN 201310507278A CN 104572318 A CN104572318 A CN 104572318A
Authority
CN
China
Prior art keywords
key function
reporting information
code
function point
abnormal
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
Application number
CN201310507278.3A
Other languages
Chinese (zh)
Other versions
CN104572318B (en
Inventor
张扬超
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310507278.3A priority Critical patent/CN104572318B/en
Publication of CN104572318A publication Critical patent/CN104572318A/en
Application granted granted Critical
Publication of CN104572318B publication Critical patent/CN104572318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses report information obtaining method, device, equipment and system, and belongs to the technical field of a computer. The method comprises the following steps that in the application program executing process, whether key function points pre-specified in a key function item in an application program are abnormal or not is detected; if the abnormality occurs, the abnormal information for indicating that abnormality occurs in the key function points in the key function item is obtained; the report information is sent to a server, wherein the report information includes the abnormal information. When the condition that a certain key function item in the application program generates abnormality is detected, the reporting information including the abnormal information is sent to the server; the problem of low maintenance efficiency on the stability of the key function item of the application program in the prior art is solved; and the effect of greatly improving the maintenance efficiency on the stability of the key function item of the application program is achieved.

Description

Reporting information acquisition methods, device, equipment and system
Technical field
The present invention relates to field of computer technology, particularly a kind of reporting information acquisition methods, device, equipment and system.
Background technology
Usually, basic several function items can be included in application program, some of them function items can affect the normal operation of this application program, these function items are called key function item, and each key function item is made up of a lot of function point, part can cause key function item and occur that abnormal function point is called key function point.Therefore, in order to the stability of maintenance applications, reporting of user can be encouraged to be used for representing the reporting information of key function point operation exception.
At present, a kind of reporting information acquisition methods existed can be: run some application programs on the client, when the one or more key function points in key function item in this application program operationally occur abnormal, user can by contact method disclosed in this development company (such as, the communication modes such as phone, chat application or mail) reporting information of the key function of this appearance exception point is reported this development company, so that the reparation personnel in this development company repair the error message reported.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem: when the key function point in the application in key function item occurs abnormal, some user may not select the situation of the appearance exception to key function point to report, whether can normally run because key function point determines corresponding key function item, therefore the stability of the key function item of the existing reporting information acquisition methods application programs efficiency comparison that carries out safeguarding is low.
Summary of the invention
The problem that stability in order to the key function item solving application programs in the prior art efficiency comparison that carries out safeguarding is low, embodiments provides a kind of reporting information acquisition methods, device, equipment and system.Described technical scheme is as follows:
First aspect, provide a kind of reporting information acquisition methods, described method comprises:
In the implementation of application program, detect preassigned key function point in the key function item in described application program and whether occur exception;
If testing result is that in the key function item in described application program, preassigned key function point occurs abnormal, then obtains the described key function point be used to indicate in described key function item and occur abnormal abnormal information;
Send reporting information to server, described reporting information comprises described abnormal information.
Second aspect, provide a kind of reporting information acquisition methods, described method comprises:
The reporting information that receiving terminal sends, described reporting information comprises the key function point be used to indicate in key function item and occurs abnormal abnormal information;
Determine the reparation personnel corresponding with described key function item according to the corresponding relation prestored, described corresponding relation comprises the contact method of key function item, reparation personnel and described reparation personnel;
Send prompting message according to described contact method to described reparation personnel, described prompting message is repaired the described key function point in described key function item for described reporting information for reminding described reparation personnel.
The third aspect, provide a kind of reporting information acquisition device, described device comprises:
Detection module, in the implementation of application program, detects preassigned key function point in the key function item in described application program and whether occurs exception;
Abnormal information acquisition module, for being that in the key function item in described application program, preassigned key function point occurs abnormal in the testing result of described detection module, then obtaining the described key function point be used to indicate in described key function item and occur abnormal abnormal information;
Reporting information sending module, for sending reporting information to server, described reporting information comprises described abnormal information.
Fourth aspect, provide a kind of reporting information acquisition device, described device comprises:
Reporting information receiver module, for the reporting information that receiving terminal sends, described reporting information comprises the key function point be used to indicate in key function item and occurs abnormal abnormal information;
Reparation personnel determination module, for determining the reparation personnel corresponding with described key function item according to the corresponding relation that prestores, described corresponding relation comprises the contact method of key function item, reparation personnel and described reparation personnel;
Prompting message sending module, for sending prompting message according to described contact method to described reparation personnel, described prompting message is repaired the described key function point in described key function item for described reporting information for reminding described reparation personnel.
5th aspect, provides a kind of terminal, and described terminal comprises the reporting information acquisition device as described in the third aspect.
6th aspect, provides server, and described server comprises the reporting information acquisition device as described in fourth aspect.
7th aspect, provide a kind of reporting information and obtain system, described system comprises server and at least one terminal, and described server is connected with described terminal respectively by cable network mode or wireless network mode;
Described server is the server described in the 6th aspect;
Described terminal is the terminal described in the 5th aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By after beginning executive utility, detect the key function point preset in application program and whether occur exception, if a certain key function point occurs abnormal, send reporting information to server, in this reporting information, comprise the abnormal information being used to indicate this key function point and occurring exception; The problem that the stability solving the key function item of application programs in the prior art efficiency comparison that carries out safeguarding is low; Due to terminal can key function point in key function item occur abnormal time, spontaneously send reporting information to server, the effect of the efficiency when stability therefore reaching the key function item that greatly can improve application programs is safeguarded.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of the implementation environment involved by reporting information acquisition methods provided in section Example in the present invention;
Fig. 2 is the method flow diagram of the reporting information acquisition methods provided in one embodiment of the invention;
Fig. 3 is the method flow diagram of the reporting information acquisition methods provided in another embodiment of the present invention;
Fig. 4 is the schematic diagram that the present invention observes the stability of key function item on stream;
Fig. 5 is the schematic diagram that the reporting information provided in one embodiment of the invention obtains system;
Fig. 6 is the schematic diagram that the reporting information provided in one embodiment of the invention obtains system.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Shown in Figure 1, it illustrates the schematic diagram of the implementation environment involved by reporting information acquisition methods that section Example in the present invention provides.This implementation environment can comprise: the product 120 of Internet firm, server 140, terminal 160 and repair terminal 180.
The product 120 of Internet firm is generally Gong the terminal 160 that this Internet firm issues and installs and the application program used, application program, chat application, antivirus applet, browser and input method etc. such as conversing, include several basic key function item in this product 120, in each key function item, comprise the key function point affecting key function item and normally run.
Server 140 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.Server 140 can by a part of information display on display platform 142, and server 140 can also receive the data that other-end 160 sends, and can send data to terminal 160, and in addition, server 140 can also send data to reparation terminal 180.
Terminal 160 can include but not limited to: smart mobile phone, panel computer, intelligent television, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.Terminal 160 can be installed and be used the product 120 of Internet firm, and terminal 160 can also be connected with server 140 by cable network mode or wireless network mode, and terminal 160 can send data to server 140, also can receive data from server 140.
Repair terminal 180 be generally the developer of Internet firm or repair the terminal at personnel place, in order to the personnel of the personnel and repairing phase that distinguish the development phase, developer and reparation personnel are called respectively in literary composition, in actual applications, developer and reparation personnel can be same or same a group of people.Be positioned at and repair the reparation personnel of terminal 180 and can check content on display platform 142, can also repair produced problem in the product 120 of this Internet firm.
Shown in Figure 2, the method flow diagram of the reporting information acquisition methods provided in one embodiment of the invention is provided.The present embodiment is mainly applied in implementation environment involved in Fig. 1 with this reporting information acquisition methods and is illustrated.This reporting information acquisition methods can comprise:
201, terminal, in the implementation of application program, detects preassigned key function point in the key function item in application program and whether occurs exception;
After terminal is provided with application program, this application program then can perform on the terminal.
Application program can comprise multiple basic function items usually, and for example, the function items that can be used in the application program conversed usually can comprise call function, search message registration function, address book function etc.Some basic function items may affect the normal operation of application program to a great extent, therefore these can be affected to a great extent the function items that application program normally runs and be called key function item.
Can comprise multiple function point in each function items, some of them function point can affect the normal operation of function items to a great extent, therefore these is affected to a great extent the function point that function items normally runs and is called key function point.Application program still for call is example, and for this function items of address list, the key function point that it may comprise is the function point to inquiring about in address list, or adds the function point etc. of contact method to address list.
202, terminal is that in the key function item in application program, preassigned key function point occurs abnormal in testing result, then obtain this key function point be used to indicate in this key function item and occur abnormal abnormal information;
In actual applications, developer can when developing application, analyze the key function point of each key function item, and in the run time version of application program, adding the monitor code can monitored key function point and whether normally run, this monitor code can obtain the abnormal information being used to indicate this key function point and occurring exception.Usually, in order to avoid confusion, one section of monitor code can be set for each key function point.
When a key function point occurs abnormal, repair this key function point for the ease of reparation personnel, monitor code then needs feedback key function item, key function point and which kind of has occurred abnormal.Some exceptions due to a key function point appearance can be developed personnel and predict, and therefore developer can preset one group for representing that the exception coding of which kind of exception appears in key function point.For example, call the exception that this key function point may exist to have: dial interruption, blind sound maybe cannot be put through when dialing.Now; respectively in advance for above-mentioned three kinds of exceptions arrange different exception codings; the exception coding such as pre-set is respectively 1,2 and 3; like this after monitor code obtains some abnormal codings according to the exception occurred, it is abnormal that reparation personnel finally can determine according to this exception coding known which kind of has appearred in this key function point.
203, terminal to server sends reporting information, and reporting information comprises abnormal information;
Namely after terminal determines abnormal information, this abnormal information can be sent to server, to obtain repairing feedback.
204, the reporting information that server receiving terminal sends;
205, server determines the reparation personnel corresponding with key function item according to the corresponding relation prestored, and corresponding relation comprises key function item, reparation personnel and repairs the contact method of personnel;
Due to key function item normally by identical developer develop, therefore this corresponding relation can comprise key function item, the reparation personnel of this key function item, the contact method of this reparation personnel.Certainly, all key function Xiang Jun of some application program are developed by identical developer, and this corresponding relation can comprise application program, the reparation personnel of this application program, the contact method of this reparation personnel; Or key function point is developed by different developers, and this corresponding relation can comprise key function point, the reparation personnel of this key function point and the contact method of this reparation personnel.Here it should be noted that, in order to improve remediation efficiency, the personnel of reparation can be same or same a group of people with the developer of correspondence.
After server receives this reporting information, determine that key function item in this reporting information and the corresponding relation prestored just can learn the reparation personnel that can repair key function point in this key function item.
206, server sends prompting message according to contact method to reparation personnel, and prompting message is repaired for the key function point of reporting information to this key function item for reminding reparation personnel.
Server is to after reparation personnel send prompting message, and reparation personnel repair the key function point of key function item according to after prompting message.
It should be added that, 201 to 203 may be embodied to the reporting information acquisition methods into taking terminal as executive agent, and 204 to 206 may be embodied to the reporting information acquisition methods into taking server as executive agent.
In sum, the reporting information acquisition methods that the embodiment of the present invention provides, by after beginning executive utility, terminal detects the key function point preset in application program and whether occurs exception, if a certain key function point occurs abnormal, reporting information is sent to server, the abnormal information being used to indicate this key function point and occurring exception is comprised in this reporting information, corresponding, server can receive reporting information, and reporting information is sent to corresponding reparation personnel, by reparation personnel to occurring that abnormal key function point is repaired; The problem that the stability solving the key function item of application programs in the prior art efficiency comparison that carries out safeguarding is low; Because terminal when the key function point of key function item occurs abnormal, spontaneously can send reporting information to server, the effect of the efficiency when stability therefore reaching the key function item that greatly can improve application programs is safeguarded.
Shown in Figure 3, the method flow diagram of the reporting information acquisition methods provided in another embodiment of the present invention is provided.The present embodiment is applied in implementation environment involved in Fig. 1 with this reporting information acquisition methods and is illustrated.This reporting information acquisition methods can comprise:
301, in the implementation of application program, terminal utilizes code corresponding to the key function point in the monitor code detection key function item preset in the application whether to occur exception when performing;
Usually, in this Develop Application System stage, developer will determine the key function item in this application program, and the code that analysis of key function items is corresponding, analyze the key function point in key function item further, can be provided with monitor code in the position of these key function points, whether these monitor codes there is exception for monitoring corresponding key function point.
302, occur abnormal when performing if testing result is the code that the key function point preset in monitor code detection key function item is in the application corresponding, whether the exception that terminal utilizes this monitor code to detect the appearance of this key function point is preassigned exception;
Monitor code can detect the exception that this key function point occurs, such as calling the exception that may exist has: dial interruption, blind sound maybe cannot be put through when dialing.In actual applications, developer can predict the exception that key function point occurs, namely developer can predict the exception that this key function point may occur, then arrange monitor code, this monitor code can be judged, and whether the exception detected is the exception that developer predicts in advance.
303, if testing result be this key function point occur exception be preassigned exception, terminal utilize this monitor code to determine the exception corresponding with preassigned exception is numbered;
In actual applications; multiple exception may be there is in a key function point; developer can arrange an abnormal numbering usually for each of key function point prediction is abnormal; like this; the exception occurred when monitor code determination key function point is certain preassigned exception, then return an exception corresponding with this preassigned exception and number.
The exception of key function point is numbered one-to-one relationship with abnormal, and after developer sets this corresponding relation, meeting notification server and the reparation personnel in later stage, after learning this exception numbering with Deterministic service device or reparation personnel, know what the exception of the key function point that this exception numbering is corresponding is.
304, terminal utilizes this monitor code that key function item, key function point and abnormal numbering are defined as being used to indicate the abnormal information occurring exception with this key function point in this key function item;
Occur abnormal particular content in order to ensure server or known the learning of reparation personnel, this abnormal information needs to comprise the key function item corresponding with there is abnormal key function point, this key function point and the exception determined is numbered.
305, terminal utilize monitor code the abnormal information determined to be sent to pre-set in the application report code;
Usually, in the development phase, developer is in order to ensure after monitor code gets the abnormal information of key function point, can automatically this abnormal information be informed to server, now can also increase in the code body of application program may be used for server send include the reporting information of abnormal information report code.Therefore, when arranging monitor code, also need by monitor code arrange function be: after monitor code knows abnormal information, can this be sent to report code abnormal information.
306, terminal utilizes the abnormal information reporting code to receive monitor code transmission;
307, terminal utilizes and reports Code obtaining to perform the terminal iidentification of the terminal of this application program;
Report code after the abnormal information receiving monitor code transmission; show that abnormal situation occurs to there is key function point; now need to report this abnormal information to server; when this key function point can carry out remote repairing; in order to ensure determine the reparation code that may be used for repairing this key function point reparation personnel after, receive this reparation code, usually also need the terminal iidentification of the terminal performing this application program to send to server or reparation personnel.Therefore, report code before sending abnormal information to server, also need the terminal iidentification obtaining the terminal performing this application program.
Preferably; in order to ensure that reparation personnel can carry out correct reparation according to the content reported to abnormal information; developer usually can in the development phase; by reporting the function setting of code to be except the terminal iidentification of terminal except executive utility can be obtained, also add the function can knowing other additional informations.
Additional information is the information that reparation personnel can be helped to repair abnormal information, and the information such as the abnormal version number of the application program corresponding to key function point or some configuration parameters of this terminal such as occur.Wherein, the terminal iidentification of the terminal of executive utility can regard as the one of additional information.
Reparation personnel can learn it is that the relevant abnormalities problem of this key function point has appearred in the application program of which version according to the version number of application program, and can repair this abnormal problem for this version; Reparation personnel can carry out remote repairing according to the terminal iidentification of terminal to relevant terminal; Reparation personnel can also generate one section of reparation code can repaired key function point according to some configuration parameters of terminal.
308, terminal utilizes and reports code to send reporting information to server, and reporting information comprises abnormal information and terminal iidentification;
Terminal can send reporting information according to cable network mode or wireless network direction server.
Preferably, above-mentioned other the additional information be mentioned to can also be comprised in reporting information, also namely, reporting information can comprise abnormal information and additional information, and this additional information can comprise this terminal iidentification, the version number of this application program, the configuration parameter etc. of this terminal.
309, this reporting information that server receiving terminal sends;
310, determine the reparation personnel corresponding with this key function item according to the corresponding relation prestored, corresponding relation comprises the contact method of key function item, reparation personnel and this reparation personnel;
Due to key function item normally by identical developer develop, therefore this corresponding relation can comprise key function item, the reparation personnel of this key function item, the contact method of this reparation personnel.Certainly, all key function Xiang Jun of some application program be by identical developer develop time, this corresponding relation can comprise application program, the reparation personnel of this application program, the contact method of this reparation personnel; Or key function point is developed by different developers, and this corresponding relation can comprise key function point, the reparation personnel of this key function point and the contact method of this reparation personnel.Here it should be noted that, in order to improve remediation efficiency, the personnel of reparation can be same or same a group of people with the developer of correspondence.
After server receives this reporting information, determine that key function item in this reporting information and the corresponding relation prestored just can learn the reparation personnel that can repair key function point in this key function item.
It should be added that, before execution 310, to the same in reporting information, server can also occur that abnormal key function point is added up, the version number of such as corresponding with this key function point application program, the configuration parameter etc. of terminal, and after statistics, determine the reparation personnel corresponding with key function point, the content come out (is comprised abnormal information, terminal configuration parameters, terminal iidentification, the information such as application version) send to the reparation personnel determined or the content of showing statistics at display platform, so that the personnel that repair repair the key function point that appearance is abnormal according to these contents.
311, server sends prompting message according to this contact method to reparation personnel, and prompting message is repaired for the key function point reminding reparation personnel corresponding to reporting information;
Under normal circumstances, server, after receiving reporting information, can be added up the content of reporting information and show, like this after reparation personnel receive prompting message, just can repair key function point according to the content of the displaying viewed.
Preferably, the version number of application program that the abnormal information of the key function point of the appearance exception come out, statistics can also obtain by server and the configuration parameter of terminal send to reparation personnel as prompting message, like this, reparation personnel can repair this key function point according to these information.
General, server can be added up key function point within a predetermined period of time, and such as every 24 hours statistics once, or each week statistics is once; Corresponding, server is often added up once, can send to corresponding reparation personnel by adding up the recent statistics result obtained.
312, server receives the reparation code being used for the key function point corresponding to reporting information and repairing;
When reparation personnel are after receiving prompting message, can analyze the exception of the key function point in reporting information and additional information, after determining the reason and solution occurring exception, if the exception that this key function point occurs is because the reason such as running environment (configuration parameter of such as terminal) of terminal causes, the exception that then can occur for this key function item in this terminal is write one section and is repaired code, and this section of reparation code is sent to server, namely perform 313.For example, when terminal is double-card dual-standby pattern, now for the application program called if there is the exception that cannot dial, when the abnormal information of correspondence is reported server, after server informs reparation personnel, it is owing to not selecting SIM(Subscriber Identity Module that reparation People Analysis goes out this exception that cannot dial, client identification module) card, now, then can write the reparation code that a section is selected wherein SIM card, and this reparation code is sent to terminal by server; Corresponding, terminal after receiving this reparation code, then can select one of them SIM card to call.
When reparation personnel are after receiving prompting message, find that the exception of this key function point is not caused by the reason of terminal, reparation personnel can repair to generate new version to the key function point of the application program of current version; Or reparation code is made the form of plug-in unit, given the terminal of the application program using this version by Web Publishing, so that terminal installs this plug-in unit, thus complete the reparation to this key function item.
313, reparation code is sent to this terminal by server;
Specifically can comprise: the terminal iidentification comprised in server determination reporting information; Reparation code is sent to terminal corresponding to this terminal iidentification by server.
314, the reparation code for repairing key function point that terminal reception server sends;
In actual applications, in the development phase, developer can pre-set reception code in the application program of terminal, and this reception code may be used for reparation code or other information of reception server transmission.Like this, when application program from server to this terminal send repair code time, this reception code just can receive reparation code.
315, terminal utilizes reparation code to repair key function point.
Application program in terminal can utilize the content that this reparation code reparation is relevant, to repair this key function point.
In order to whether the key function point after can finding out reparation is stablized, server can be added up the reporting information corresponding to key function point in each predetermined time interval, specifically can comprise: the quantity of reporting information corresponding with the key function point of this key function item in statistics predetermined amount of time; The quantity of the reporting information corresponding with the key function point of this key function item of statistics is shown at display platform.Like this, developer just can learn the feedback repaired this key function point, can determine the stability of this key function item according to the reparation feedback of all key function points in key function item.
It should be added that, 301 to 308 and 314 and 315 may be embodied to the reporting information acquisition methods into taking terminal as executive agent, and 309 to 313 may be embodied to the reporting information acquisition methods into taking server as executive agent.
In sum, the reporting information acquisition methods that the embodiment of the present invention provides, by after beginning executive utility, detect the key function point preset in application program and whether occur exception, if a certain key function point occurs abnormal, reporting information is sent to server, comprise in this reporting information and be used to indicate the abnormal abnormal information of this key function point appearance and relevant additional information, corresponding server can notify that after receiving reporting information reparation personnel are to occurring that abnormal key function point is repaired; The problem that the stability solving the key function item of application programs in the prior art efficiency comparison that carries out safeguarding is low; Because terminal when key function item occurs abnormal, spontaneously can send reporting information to server, the effect of the efficiency when stability therefore reaching the key function item that greatly can improve application programs is safeguarded.
In order to ensure can be provided with the monitor code with above-mentioned functions and to report code in the application program issued, developer just needs application programs to carry out monitor code in the stage of exploitation and reports the setting of code.
In a possible implementation, shown in Figure 4, it illustrates the schematic diagram that the present invention observes the stability of key function item on stream.In the Develop Application System stage, can comprise the steps:
401, determine key function item;
In the Develop Application System stage, developer carries out initial analysis to this application program, to determine the key function item of this application program.
It should be added that, developer said here and reparation personnel are commonly referred to as same or same a group of people, express development phase and repairing phase, therefore these personnel have been described as developer and reparation personnel respectively to know.
402, list key function point;
The code of developer to the key function item determined is assessed, and lists in code logic the key point of the key function item affecting application program, using these key points as the key function corresponding with key function item point.
403, add and report code;
Developer add in the application can be used for reporting relevant information to server report code, these relevant informations can comprise abnormal information and additional information etc.
In the operational phase of application program, can comprise the steps:
404, statistical report information is also shown;
The reporting information of server meeting statistical report, and the item that reports in the reporting information of statistics is shown.Specifically, server can count the version number of the application program reported in predetermined amount of time corresponding to some key function points and the configuration parameter etc. of terminal.
At repairing phase, can comprise the steps:
405, problem identificatioin and recovery scenario;
Reparation personnel position according to the problem that server is shown and determine corresponding recovery scenario, and give this server by the result feedback of reparation.Such as, to this key function point, reparation personnel can occur that abnormal reason is analyzed according to the parameter of statistics, and can determine recovery scenario.
406, remote repairing.
To can the key function item of remote repairing, server can make corresponding remote repairing to the terminal corresponding to this key function item, and such as server can send for repairing the reparation code occurring abnormal key function point to terminal; Corresponding, the application program in terminal, after the reparation code receiving server transmission, can be repaired relevant key function point according to repairing code.
It can thus be appreciated that, by in the Develop Application System stage, the monitor code being used for monitoring key function point and the code that reports that is used for reporting are increased in application program, terminal is when performing this application program, when a certain key function point in this application program occurs abnormal, the monitor code corresponding with this key function point just can know the abnormal information corresponding with this key function point, report code just automatically this abnormal information can be reported server, such reparation personnel then can repair this exception in the shortest, and server can to occurring that abnormal key function point is added up, thus make reparation personnel clearly learn the stability of reparation.
Shown in Figure 5, the reporting information that it illustrates provides in one embodiment of the invention obtains the schematic diagram of system.This reporting information obtains system and can be applied in implementation environment involved in Fig. 1.This reporting information obtains system and can comprise: server and at least one terminal.
Terminal can comprise reporting information acquisition device 520, and this reporting information acquisition device 520 can include but not limited to: detection module 521, abnormal information acquisition module 522 and reporting information sending module 523.
Detection module 521, may be used in the implementation of application program, detects preassigned key function point in the key function item in described application program and whether occurs exception;
Abnormal information acquisition module 522, may be used in the testing result of described detection module 521 is that in the key function item in described application program, preassigned key function point occurs abnormal, then obtain the described key function point be used to indicate in described key function item and occur abnormal abnormal information;
Reporting information sending module 523, may be used for sending reporting information to server, described reporting information comprises described abnormal information.
Server can comprise reporting information acquisition device 540, and this reporting information acquisition device 540 can include but not limited to: reporting information receiver module 541, reparation personnel determination module 542 and prompting message sending module 543.
Reporting information receiver module 541, may be used for the reporting information that receiving terminal sends, and described reporting information comprises the key function point be used to indicate in key function item and occurs abnormal abnormal information;
Reparation personnel determination module 542, may be used for determining the reparation personnel corresponding with described key function item according to the corresponding relation that prestores, and described corresponding relation comprises the contact method of key function item, reparation personnel and described reparation personnel;
Prompting message sending module 543, may be used for sending prompting message according to described contact method to described reparation personnel, described prompting message is repaired for the described key function point of described reporting information to described key function item for reminding described reparation personnel.
In sum, the reporting information that the embodiment of the present invention provides obtains system, by after beginning executive utility, detect the key function point preset in application program and whether occur exception, if a certain key function point occurs abnormal, send reporting information to server, comprise in this reporting information and be used to indicate the abnormal abnormal information of this key function point appearance and relevant additional information; The problem that the stability solving the key function point of application programs in the prior art efficiency comparison that carries out safeguarding is low; Because terminal when key function point occurs abnormal, spontaneously can send reporting information to server, the effect of the efficiency when stability therefore reaching the key function point that greatly can improve application programs is safeguarded.
Shown in Figure 6, the reporting information that it illustrates provides in one embodiment of the invention obtains the schematic diagram of system.This reporting information obtains system and can be applied in the implementation environment related in Fig. 1.This reporting information obtains system and can comprise: server and at least one terminal.
Terminal can comprise reporting information acquisition device 620, and this reporting information acquisition device 620 can include but not limited to: detection module 621, abnormal information acquisition module 622 and reporting information sending module 623.
Detection module 621, may be used in the implementation of application program, detects preassigned key function point in the key function item in application program and whether occurs exception;
Abnormal information acquisition module 622, may be used in the testing result of detection module 621 is that in the key function item in application program, preassigned key function point occurs abnormal, then obtain the key function point be used to indicate in key function item and occur abnormal abnormal information;
Reporting information sending module 623, may be used for sending reporting information to server, reporting information comprises abnormal information.
Preferably, detection module 621, may be used for:
Code corresponding to the key function point in the monitor code detection key function item preset in the application is utilized whether to occur exception when performing;
Abnormal information acquisition module 622, can comprise: detecting unit 622a, abnormal numbering determining unit 622b, abnormal information determining unit 622c and abnormal information transmitting element 622d.
Detecting unit 622a, whether the exception that may be used for detecting the appearance of key function point is preassigned exception;
Abnormal numbering determining unit 622b, may be used for when the exception that the testing result of detecting unit 622a is the appearance of key function point be preassigned abnormal time, the exception corresponding with preassigned exception is numbered to utilize monitor code to determine;
Abnormal information determining unit 622c, may be used for utilizing monitor code that key function item, key function point and abnormal numbering are defined as being used to indicate the abnormal information occurring exception with the key function point in key function item;
Abnormal information transmitting element 622d, may be used for utilizing monitor code the abnormal information determined to be sent to and pre-set in the application report code.
Preferably, reporting information can also comprise terminal iidentification, and reporting information sending module 623 can comprise: abnormal information receiving element 623a, terminal iidentification acquiring unit 623b and reporting information transmitting element 623c.
Abnormal information receiving element 623a, may be used for utilizing the abnormal information reporting code to receive monitor code transmission;
Terminal iidentification acquiring unit 623b, may be used for utilizing the terminal iidentification of the terminal reporting Code obtaining executive utility;
Reporting information transmitting element 623c, may be used for utilization and report code to send reporting information to server, reporting information includes abnormal information and terminal iidentification.
Preferably, reporting information acquisition device 620, can also comprise: the first receiver module 624 and reparation module 625.
First receiver module 624, may be used for the reparation code for repairing key function point that reception server sends;
Repair module 625, the reparation code that may be used for utilizing the first receiver module 624 to receive is repaired key function point.
Server can comprise reporting information acquisition device 640, and this reporting information acquisition device 640 can include but not limited to: reporting information receiver module 641, reparation personnel determination module 642 and prompting message sending module 643.
Reporting information receiver module 641, may be used for the reporting information that receiving terminal sends, and reporting information comprises the key function point be used to indicate in key function item and occurs abnormal abnormal information;
Reparation personnel determination module 642, may be used for determining the reparation personnel corresponding with key function item according to the corresponding relation that prestores, and corresponding relation comprises the contact method of key function item, reparation personnel and the personnel of reparation;
Prompting message sending module 643, may be used for sending prompting message according to contact method to reparation personnel, and prompting message is repaired for the key function point of reporting information to key function item for reminding reparation personnel.
Preferably, reporting information can also comprise terminal iidentification, and reporting information acquisition device 640 can also comprise: the second receiver module 644, terminal iidentification determination module 645 and reparation code sending module 646.
Second receiver module 644, may be used for receiving the reparation code repaired for the key function point corresponding to reporting information;
Terminal iidentification determination module 645, may be used for the terminal iidentification determining to comprise in reporting information;
Repairing code sending module 646, may be used for reparation code being sent to terminal corresponding to terminal iidentification, so that the reparation code for repairing key function point that terminal reception server sends; Reparation code is utilized to repair key function point.
Preferably, this reporting information acquisition device 640, can also comprise: statistical module 647 and display module 648.
Statistical module 647, may be used for adding up the quantity of reporting information corresponding with the key function point in key function item in predetermined amount of time;
Display module 648, may be used for the quantity of showing the reporting information corresponding with the key function point in key function item of statistics at display platform.
In sum, the reporting information that the embodiment of the present invention provides obtains system, by after beginning executive utility, detect the key function point preset in application program and whether occur exception, if a certain key function point occurs abnormal, send reporting information to server, comprise in this reporting information and be used to indicate the abnormal abnormal information of this key function point appearance and relevant additional information; The problem that the stability solving the key function point of application programs in the prior art efficiency comparison that carries out safeguarding is low; Because terminal when key function point occurs abnormal, spontaneously can send reporting information to server, the effect of the efficiency when stability therefore reaching the key function point that greatly can improve application programs is safeguarded.
It should be noted that: the reporting information acquisition device of the key function item provided in above-described embodiment is when obtaining the reporting information of key function item, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by terminal and server is divided into different functional modules, to complete all or part of function described above.In addition, the reporting information acquisition device of the key function item that above-described embodiment provides and the reporting information acquisition methods embodiment of key function item belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. a reporting information acquisition methods, is characterized in that, described method comprises:
In the implementation of application program, detect preassigned key function point in the key function item in described application program and whether occur exception;
If testing result is that in the key function item in described application program, preassigned key function point occurs abnormal, then obtains the described key function point be used to indicate in described key function item and occur abnormal abnormal information;
Send reporting information to server, described reporting information comprises described abnormal information.
2. method according to claim 1, is characterized in that, in the key function item in the described application program of described detection, whether preassigned key function point occurs exception, comprising:
Utilize the monitor code be set in advance in described application program to detect code corresponding to described key function point in described key function item and whether occur exception when performing;
There is abnormal abnormal information in the described key function point that described acquisition is used to indicate in described key function item, comprising:
Whether the exception detecting the appearance of described key function point is preassigned exception;
If testing result is the exception that described key function point occurs is preassigned exception, then the exception corresponding with described preassigned exception is numbered to utilize described monitor code to determine;
Utilize described monitor code that described key function item, described key function point and described abnormal numbering are defined as being used to indicate the abnormal information occurring exception with the described key function point in described key function item;
Utilize described monitor code the described abnormal information determined to be sent to be set in advance in and report code in described application program.
3. method according to claim 2, is characterized in that, described reporting information also comprises terminal iidentification, described to server transmission reporting information, comprising:
Code is reported to receive the described abnormal information of described monitor code transmission described in utilization;
Code obtaining is reported to perform the described terminal iidentification of the terminal of described application program described in utilization;
Report code to send reporting information to described server described in utilization, described reporting information comprises described abnormal information and described terminal iidentification.
4. according to described method arbitrary in claims 1 to 3, it is characterized in that, described after server transmission reporting information, also comprise:
Receive the reparation code for repairing described key function point that described server sends;
Described reparation code is utilized to repair described key function point.
5. a reporting information acquisition methods, is characterized in that, described method comprises:
The reporting information that receiving terminal sends, described reporting information comprises the key function point be used to indicate in key function item and occurs abnormal abnormal information;
Determine the reparation personnel corresponding with described key function item according to the corresponding relation prestored, described corresponding relation comprises the contact method of key function item, reparation personnel and described reparation personnel;
Send prompting message according to described contact method to described reparation personnel, described prompting message is repaired the described key function point in described key function item for described reporting information for reminding described reparation personnel.
6. method according to claim 5, is characterized in that, described reporting information also comprises the terminal iidentification of described terminal, described according to described contact method to after described reparation personnel send prompting message, also comprise:
Receive the reparation code being used for repairing the described key function point corresponding to described reporting information;
Determine the described terminal iidentification comprised in described reporting information;
Described reparation code is sent to described terminal corresponding to described terminal iidentification, so that described terminal receives the reparation code for repairing described key function point that described server sends; Described reparation code is utilized to repair described key function point.
7. the method according to claim 5 or 6, is characterized in that, described method also comprises:
The quantity of reporting information corresponding with the described key function point in described key function item in statistics predetermined amount of time;
The described quantity of the reporting information corresponding with the described key function point in described key function item of statistics is shown at display platform.
8. a reporting information acquisition device, is characterized in that, described device comprises:
Detection module, in the implementation of application program, detects preassigned key function point in the key function item in described application program and whether occurs exception;
Abnormal information acquisition module, for being that in the key function item in described application program, preassigned key function point occurs abnormal in the testing result of described detection module, then obtaining the described key function point be used to indicate in described key function item and occur abnormal abnormal information;
Reporting information sending module, for sending reporting information to server, described reporting information comprises described abnormal information.
9. device according to claim 8, is characterized in that, described detection module, for:
Utilize the monitor code be set in advance in described application program to detect code corresponding to described key function point in described key function item and whether occur exception when performing;
Described abnormal information acquisition module, comprising:
Detecting unit, whether the exception occurred for detecting described key function point is preassigned exception;
Extremely numbering determining unit, for be exception that described key function point occurs in the testing result of described detecting unit be preassigned abnormal time, the exception corresponding with described preassigned exception is numbered to utilize described monitor code to determine;
Abnormal information determining unit, is defined as being used to indicate by described key function item, described key function point and described abnormal numbering the abnormal information occurring exception with the described key function point in described key function item for utilizing described monitor code;
Abnormal information transmitting element, to send to the described abnormal information determined for utilizing described monitor code to be set in advance in and reports code in described application program.
10. device according to claim 9, is characterized in that, described reporting information also comprises terminal iidentification, and described reporting information sending module, comprising:
Abnormal information receiving element, reports code to receive the described abnormal information of described monitor code transmission described in utilizing;
Terminal iidentification acquiring unit, reports Code obtaining to perform the described terminal iidentification of the terminal of described application program described in utilizing;
Reporting information transmitting element, described in utilizing, report code to send described reporting information to described server, described reporting information comprises described abnormal information and described terminal iidentification.
Arbitrary described device in 11. according to Claim 8 to 10, it is characterized in that, described device also comprises:
First receiver module, for receiving the reparation code for repairing described key function point that described server sends;
Repair module, the described reparation code received for utilizing described first receiver module is repaired described key function point.
12. 1 kinds of reporting information acquisition device, is characterized in that, described device comprises:
Reporting information receiver module, for the reporting information that receiving terminal sends, described reporting information comprises the key function point be used to indicate in key function item and occurs abnormal abnormal information;
Reparation personnel determination module, for determining the reparation personnel corresponding with described key function item according to the corresponding relation that prestores, described corresponding relation comprises the contact method of key function item, reparation personnel and described reparation personnel;
Prompting message sending module, for sending prompting message according to described contact method to described reparation personnel, described prompting message is repaired the described key function point in described key function item for described reporting information for reminding described reparation personnel.
13. devices according to claim 12, it is characterized in that, described reporting information also comprises terminal iidentification, described device also comprises:
Second receiver module, for receiving the reparation code repaired for the described key function point corresponding to described reporting information;
Terminal iidentification determination module, for determining the described terminal iidentification comprised in described reporting information;
Repair code sending module, for described reparation code is sent to described terminal corresponding to described terminal iidentification, so that described terminal receives the reparation code for repairing described key function point that described server sends; Described reparation code is utilized to repair described key function point.
14. devices according to claim 12 or 13, it is characterized in that, described device also comprises:
Statistical module, for adding up the quantity of reporting information corresponding with the described key function point in described key function item in predetermined amount of time;
Display module, for showing the described quantity of the reporting information corresponding with the described key function point in described key function item of statistics at display platform.
15. 1 kinds of terminals, is characterized in that, described terminal comprises as the reporting information acquisition device as described in arbitrary in claim 8 to 11.
16. 1 kinds of servers, is characterized in that, described server comprises as reporting information acquisition device as described in arbitrary in claim 12 to 14.
17. 1 kinds of reporting informations obtain system, it is characterized in that, described system comprises server and at least one terminal, and described server is connected with described terminal respectively by cable network mode or wireless network mode;
Described server is server as claimed in claim 16;
Described terminal is terminal as claimed in claim 15.
CN201310507278.3A 2013-10-24 2013-10-24 Report information acquisition method, device, equipment and system Active CN104572318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310507278.3A CN104572318B (en) 2013-10-24 2013-10-24 Report information acquisition method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310507278.3A CN104572318B (en) 2013-10-24 2013-10-24 Report information acquisition method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN104572318A true CN104572318A (en) 2015-04-29
CN104572318B CN104572318B (en) 2018-09-18

Family

ID=53088462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310507278.3A Active CN104572318B (en) 2013-10-24 2013-10-24 Report information acquisition method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN104572318B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809030A (en) * 2015-05-19 2015-07-29 上海斐讯数据通信技术有限公司 Android-based exception handling system and method
CN106126397A (en) * 2016-06-19 2016-11-16 乐视控股(北京)有限公司 The processing method of program crashing message and system
CN106776263A (en) * 2015-11-23 2017-05-31 芋头科技(杭州)有限公司 A kind of robot exception handling device and method
WO2017107438A1 (en) * 2015-12-25 2017-06-29 乐视控股(北京)有限公司 Method for controlling reporting of crash data, server and client
CN107329894A (en) * 2017-06-21 2017-11-07 广州华多网络科技有限公司 Application program system method of testing, device and electronic equipment
CN107425994A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 A kind of method, terminal and server for realizing parameters remote management
CN107783896A (en) * 2017-02-16 2018-03-09 平安科技(深圳)有限公司 The optimization method and device of a kind of data processing model
CN108255536A (en) * 2017-04-27 2018-07-06 平安科技(深圳)有限公司 Application control method and server based on functional switch
CN111258908A (en) * 2020-01-23 2020-06-09 奇安信科技集团股份有限公司 Software analysis method and device
CN112416735A (en) * 2019-08-21 2021-02-26 腾讯科技(深圳)有限公司 Application program detection method and device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327102A (en) * 2004-05-14 2005-11-24 Seiko Epson Corp Information processing equipment, control method for information processing equipment, and program for information processing equipment
CN101499031A (en) * 2008-01-30 2009-08-05 鸿富锦精密工业(深圳)有限公司 Software bug feedback system and method
CN102045213A (en) * 2009-10-22 2011-05-04 华为技术有限公司 Fault positioning method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327102A (en) * 2004-05-14 2005-11-24 Seiko Epson Corp Information processing equipment, control method for information processing equipment, and program for information processing equipment
CN101499031A (en) * 2008-01-30 2009-08-05 鸿富锦精密工业(深圳)有限公司 Software bug feedback system and method
CN102045213A (en) * 2009-10-22 2011-05-04 华为技术有限公司 Fault positioning method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨波: "基于802.1X认证方式的端点准入防御的应用于研究", 《中国硕士学位论文全文数据库》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809030A (en) * 2015-05-19 2015-07-29 上海斐讯数据通信技术有限公司 Android-based exception handling system and method
CN106776263A (en) * 2015-11-23 2017-05-31 芋头科技(杭州)有限公司 A kind of robot exception handling device and method
WO2017107438A1 (en) * 2015-12-25 2017-06-29 乐视控股(北京)有限公司 Method for controlling reporting of crash data, server and client
CN107425994A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 A kind of method, terminal and server for realizing parameters remote management
CN106126397A (en) * 2016-06-19 2016-11-16 乐视控股(北京)有限公司 The processing method of program crashing message and system
CN107783896A (en) * 2017-02-16 2018-03-09 平安科技(深圳)有限公司 The optimization method and device of a kind of data processing model
CN107783896B (en) * 2017-02-16 2020-10-02 平安科技(深圳)有限公司 Optimization method and device of data processing model
CN108255536A (en) * 2017-04-27 2018-07-06 平安科技(深圳)有限公司 Application control method and server based on functional switch
WO2018196613A1 (en) * 2017-04-27 2018-11-01 平安科技(深圳)有限公司 Application control method and device using function switches, server, and medium
CN107329894A (en) * 2017-06-21 2017-11-07 广州华多网络科技有限公司 Application program system method of testing, device and electronic equipment
CN107329894B (en) * 2017-06-21 2020-05-12 广州华多网络科技有限公司 Application program system testing method and device and electronic equipment
CN112416735A (en) * 2019-08-21 2021-02-26 腾讯科技(深圳)有限公司 Application program detection method and device, terminal equipment and storage medium
CN111258908A (en) * 2020-01-23 2020-06-09 奇安信科技集团股份有限公司 Software analysis method and device

Also Published As

Publication number Publication date
CN104572318B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN104572318A (en) Report information obtaining method, device, equipment and system
CN105159964A (en) Log monitoring method and system
CN107948744B (en) Interface detection method, interface detection device, and computer-readable storage medium
CN102708050B (en) Method and system for testing mobile application
CN106557407B (en) Method and device for monitoring equipment load
CN104135424B (en) A kind of application message method for pushing, server, terminal and system
CN103220173B (en) A kind of alarm monitoring method and supervisory control system
CN105303112B (en) The detection method and device of component call loophole
CN107483572A (en) The dispositions method and device of a kind of server
CN104978529A (en) Exception handling method, exception handling system and exception handling server for webpage front end
CN108337127B (en) Application performance monitoring method, system, terminal and computer readable storage medium
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN109861856B (en) Method and device for notifying system fault information, storage medium and computer equipment
CN109800098A (en) Service exception node positioning method, device, computer equipment and storage medium
CN105743730A (en) Method and system used for providing real-time monitoring for webpage service of mobile terminal
CN109379757B (en) Single-user fault diagnosis method and device based on narrowband Internet of things service
CN110287093A (en) Mobile terminal, data-interface test method and storage medium
CN104065526A (en) Server fault alarming method and device thereof
CN105099763A (en) Method and device for reminding lost connection of equipment
CN110275992A (en) Emergency processing method, device, server and computer readable storage medium
CN108769275A (en) A kind of access system and server
CN104144084A (en) Terminal state monitoring method and device
CN103618786A (en) Playing error processing method and server
CN105139599A (en) Community alarm method and system
CN107645397B (en) System, device and method for fault simulation in distributed system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant