CN104572318B - Report information acquisition method, device, equipment and system - Google Patents

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

Info

Publication number
CN104572318B
CN104572318B CN201310507278.3A CN201310507278A CN104572318B CN 104572318 B CN104572318 B CN 104572318B CN 201310507278 A CN201310507278 A CN 201310507278A CN 104572318 B CN104572318 B CN 104572318B
Authority
CN
China
Prior art keywords
key function
information
exception
code
function point
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.)
Active
Application number
CN201310507278.3A
Other languages
Chinese (zh)
Other versions
CN104572318A (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

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

Abstract

The invention discloses one kind reporting information acquisition method, device, equipment and system, belongs to field of computer technology.The method includes:In the implementation procedure of application program, detect whether preassigned key function point in the key function item in the application program exception occurs;If there is exception, obtains the key function point being used to indicate in the key function item and abnormal exception information occur;Information is reported to server transmission, and described to report information include the exception information.The present invention occurs abnormal by a certain key function item in detecting application program, and it includes that exception information reports information to send to server;Solve the problems, such as that the efficiency that the stability of the key function item to application program in the prior art is safeguarded is relatively low;Achieve the effect that efficiency when safeguarding the stability of the key function item of application program can be greatly improved.

Description

Report information acquisition method, device, equipment and system
Technical field
The present invention relates to field of computer technology, more particularly to one kind reporting information acquisition method, device, equipment and is System.
Background technology
In general, can include basic several function items in application program, some of function items can influence the application The normal operation of program, these function items are known as key function item, and each key function item is made of many function points, Part can cause the function point that exception occurs in key function item and be known as key function point.Therefore, steady for maintenance applications It is qualitative, reporting of user can be encouraged to report information for indicate key function point operation exception.
The one kind being currently, there are reports the information acquisition method can be:Some application program is run on the client, when When one or more of key function item key function point occurs abnormal at runtime in the application program, user can pass through Contact method disclosed in the development company(For example, the communication modes such as phone, chat application or mail)By appearance exception Key function point report information reporting give the development company, so as to error of the reparation personnel to reporting in the development company Information is repaired.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:In the application When key function point in key function item occurs abnormal, some users may not select the appearance to key function point abnormal The case where reported, since key function point determines whether corresponding key function item can be existing with normal operation The efficiency for reporting information acquisition method to safeguard the stability of the key function item of application program it is relatively low.
Invention content
The efficiency that stability in order to solve the key function item to application program in the prior art is safeguarded is relatively low The problem of, an embodiment of the present invention provides one kind reporting information acquisition method, device, equipment and system.The technical solution is such as Under:
In a first aspect, providing one kind reporting information acquisition method, the method includes:
In the implementation procedure of application program, preassigned key in the key function item in the application program is detected Whether function point there is exception;
If testing result is that exception occurs in preassigned key function point in the key function item in the application program, It then obtains the key function point being used to indicate in the key function item and abnormal exception information occurs;
Information is reported to server transmission, and described to report information include the exception information.
Second aspect provides one kind and reporting information acquisition method, the method includes:
Receive that terminal sends reports information, and described to report information include the crucial work(being used to indicate in key function item It can the abnormal exception information of point appearance;
Determine that reparation personnel corresponding with the key function item, the correspondence include according to the correspondence to prestore Key function item, the contact method for repairing personnel and the reparation personnel;
Prompting message is sent to the reparation personnel according to the contact method, the prompting message is for reminding described repair Multiple personnel report information to repair the key function point in the key function item for described.
The third aspect provides one kind and reports the information acquisition device, described device to include:
Detection module, in the implementation procedure of application program, detecting in the key function item in the application program Whether preassigned key function point there is exception;
Exception information acquisition module, for the crucial work(in being the application program in the testing result of the detection module Preassigned key function point occurs abnormal in energy item, then obtains the crucial work(being used to indicate in the key function item It can the abnormal exception information of point appearance;
Information sending module is reported, for reporting information to server transmission, described to report information include the abnormal letter Breath.
Fourth aspect provides one kind and reports the information acquisition device, described device to include:
Information receiving module is reported, information is reported for receive terminal transmission, described to report information include for referring to Show that abnormal exception information occurs in the key function point in key function item;
Reparation personnel's determining module, for determining reparation corresponding with the key function item according to the correspondence to prestore Personnel, the correspondence include key function item, reparation personnel and the reparation personnel contact method;
Prompting message sending module, it is described for sending prompting message to the reparation personnel according to the contact method Prompting message is for reminding the reparation personnel to report information to the key function in the key function item for described Point is repaired.
5th aspect, provides a kind of terminal, the terminal includes reporting information acquisition device as described in the third aspect.
6th aspect, provides server, the server includes reporting information acquisition device as described in fourth aspect.
7th aspect, provides one kind and reporting Information Acquisition System, the system comprises server and at least one terminal, The server is connect by cable network mode or wireless network mode with the terminal respectively;
The server is the server described in the 6th aspect;
The terminal is the terminal described in the 5th aspect.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
By after starting executing application, detecting whether preset key function point in application program occurs It is abnormal, if exception occurs in a certain key function point, information is reported to server transmission, it includes to be used to indicate this that this, which is reported in information, There is abnormal exception information in key function point;Solve the stability of the key function item to application program in the prior art into The relatively low problem of the capable efficiency safeguarded;Since terminal can be when the key function point in key function item occurs abnormal, certainly Hair ground reports information to server transmission, therefore has reached the stability that can be greatly improved to the key function item of application program The effect of efficiency when being safeguarded.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the signal for reporting the implementation environment involved by information acquisition method provided in section Example in the present invention Figure;
Fig. 2 is that is provided in one embodiment of the invention report the method flow diagram of information acquisition method;
Fig. 3 is that is provided in another embodiment of the present invention report the method flow diagram of information acquisition method;
Fig. 4 is the schematic diagram for the stability that the present invention observes key function item in the process of development;
Fig. 5 is that is provided in one embodiment of the invention report the schematic diagram of Information Acquisition System;
Fig. 6 is that is provided in one embodiment of the invention report the schematic diagram of Information Acquisition System.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Shown in Figure 1, it illustrates what section Example in the present invention provided to report involved by information acquisition method Implementation environment schematic diagram.The implementation environment may include:Product 120, server 140,160 and of terminal of Internet company Repair terminal 180.
The product 120 of Internet company be usually Internet company publication installed for terminal 160 and what is used answer With program, such as application program, chat application, antivirus applet, browser and input method etc. for call, the product Include several basic key function items in 120, includes influence key function item normal operation in each key function item Key function point.
Server 140 can be a server, or the server cluster or one being made of several servers A cloud computing service center.A part of information can be illustrated on display platform 142 by server 140, and server 140 can be with The data that other-end 160 is sent are received, and can be to 160 transmission data of terminal, in addition, server 140 can also be to reparation 180 transmission data of terminal.
Terminal 160 can include but is not limited to:Smart mobile phone, tablet computer, smart television, E-book reader, MP3 are broadcast Put device(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio layer Face 3)、MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio Level 4)Player, pocket computer on knee and desktop computer etc..Terminal 160 can be installed and use Internet company Product 120, terminal 160 can also be connect by cable network mode or wireless network mode with server 140, terminal 160 Data can also be received to 140 transmission data of server from server 140.
The developer or the terminal where reparation personnel that terminal 180 is usually Internet company are repaired, in order to differentiate The personnel in hair stage and the personnel of repairing phase are respectively known as developer and repair personnel to open in practical applications in literary Hair personnel and reparation personnel can be same or same a group of people.Exhibition can be checked positioned at the reparation personnel for repairing terminal 180 Show the content on platform 142, the problem in the product 120 of the Internet company can also be repaired.
Shown in Figure 2, it illustrates the methods for reporting information acquisition method provided in one embodiment of the invention Flow chart.The present embodiment mainly reports information acquisition method to be applied to illustrate in implementation environment involved in Fig. 1 with this Explanation.This reports the information acquisition method to may include:
201, terminal detects preassigned in the key function item in application program in the implementation procedure of application program Whether key function point there is exception;
After terminal is equipped with application program, which can then be executed on the terminal.
Application program usually can include multiple basic function items, for example, in the application program that can be used for conversing Function items can include usually call function, search message registration function, address book function etc..Some basic function items can The normal operation of application program can be largely influenced, therefore these can largely be influenced into application program The function items of normal operation are known as key function item.
Can include multiple function points in each function items, some of function points can largely influence function items Normal operation, therefore the function point that these are largely influenced to function items normal operation is known as key function point.Still with For the application program of call, for address list this function items, the key function point that may include is to communication The function point inquired in record, or the function point etc. to address list addition contact method.
202, terminal preassigned key function point in testing result is the key function item in application program occurs It is abnormal, then it obtains the key function point being used to indicate in the key function item and abnormal exception information occurs;
In practical applications, developer can analyze the crucial work(of each key function item in development and application program Energy point, and addition can monitor the monitor code of key function point whether normal operation in the execution code of application program, it should Monitor code, which can obtain, is used to indicate the exception information that exception occurs in the key function point.It, can be in general, in order to avoid confusion For each key function point, one section of monitor code is set.
When a key function point occurs abnormal, the key function point is repaired for the ease of reparation personnel, is supervised Control code then needs to feed back key function item, key function point and which kind of exception occurs.Since a key function is pointed out Some existing exceptions can be predicted by developer, therefore developer can preset one group for indicating crucial work( The abnormal coding for occurring which kind of is abnormal can be put.For example, making a phone call this key function point existing may extremely have: It blind sound or can not be put through when dialing interruption, dialing.At this point, being that the above-mentioned three kinds different exceptions of abnormal setting are compiled in advance respectively Code, for example pre-set abnormal coding is respectively 1,2 and 3, in this way when monitor code obtains some according to the exception of appearance After abnormal coding, it is different that reparation personnel eventually determine which kind of the key function point occurs according to the exception coding known Often.
203, terminal to server transmission reports information, and it includes exception information to report information;
I.e. after terminal determines exception information, which can be sent to server, it is anti-to obtain repairing Feedback.
204, what server receiving terminal was sent reports information;
205, server determines reparation personnel corresponding with key function item, correspondence packet according to the correspondence to prestore Include key function item, reparation personnel and the contact method for repairing personnel;
Since key function item is typically to be developed by identical developer, which may include key The contact method for repairing personnel, reparation personnel of function items, the key function item.Certainly, the institute of some application programs is related Key function items are developed by identical developer, which may include that application program, the application program are repaiied The contact method of multiple personnel, reparation personnel;Alternatively, key function point is developed by different developers, which closes System may include key function point, the reparation personnel of the key function point and reparation personnel contact method.It needs exist for Bright, in order to improve remediation efficiency, it can be same or same a group of people with corresponding developer to repair personnel.
After server, which receives this, reports information, pair for reporting the key function item in information and prestoring is determined It should be related to the reparation personnel that can be learnt and can repair key function point in the key function item.
206, server sends prompting message according to contact method to the personnel of reparation, and prompting message is for reminding reparation personnel The key function point of the key function item is repaired for information is reported.
After server sends prompting message to the personnel of reparation, personnel are repaired according to prompting message later to key function item Key function point repaired.
It should be added that 201 to 203 may be embodied to report acquisition of information side as executive agent using terminal Method, 204 to 206 may be embodied to report information acquisition method as executive agent using server.
In conclusion provided in an embodiment of the present invention report information acquisition method, by start executing application it Afterwards, whether preset key function point there is exception in terminal detection application program, if the appearance of a certain key function point is different Often, information is reported to server transmission, this reports abnormal letter abnormal comprising key function point appearance is used to indicate in information Breath, corresponding, server, which can receive, reports information, and information will be reported to be sent to corresponding reparation personnel, by repairing people Member repairs to there is abnormal key function point;Solves the stabilization of the key function item to application program in the prior art The relatively low problem of efficiency that property is safeguarded;Due to terminal can when the key function point of key function item occurs abnormal, Information spontaneously is reported to server transmission, therefore has reached the stabilization that can be greatly improved to the key function item of application program The effect of efficiency when property is safeguarded.
Shown in Figure 3, it illustrates the sides for reporting information acquisition method provided in another embodiment of the present invention Method flow chart.The present embodiment reports information acquisition method to be applied in implementation environment involved in Fig. 1 illustrate with this It is bright.This reports the information acquisition method to may include:
301, in the implementation procedure of application program, terminal is detected using the monitor code preset in the application Whether the corresponding code of key function point in key function item there is exception when being executed;
In general, in the development phase of the application program, developer it is determined that key function item in the application program, And the corresponding code of analysis of key function items, the key function point in key function item is further analyzed, in these crucial work( The position that can be put can be provided with monitor code, these monitor codes are for monitoring whether corresponding key function point exception occurs.
302, if testing result is the key in the monitor code detection key function item preset in the application There is exception when being executed in the corresponding code of function point, and terminal detects the exception of key function point appearance using the monitor code Whether it is preassigned exception;
Monitor code can detect the exception that the key function point occurs, for example making a phone call may be existing abnormal Have:It blind sound or can not be put through when dialing interruption, dialing.In practical applications, developer key function point can occur Exception predicted that is, developer can predict the exception that the key function point is likely to occur, then setting monitoring generation Code so that the monitor code may determine that whether the abnormal of detection is exception that developer predicts in advance.
303, if it is preassigned exception that testing result, which is the exception that the key function point occurs, terminal utilizes the monitoring Code determines abnormal number corresponding with preassigned exception;
In practical applications, a key function point may have a variety of exceptions, and developer would generally be crucial work( Each of energy point prediction abnormal number of setting one extremely, in this way, working as monitor code determines the exception that key function point occurs For some preassigned exception, then an abnormal number corresponding with the preassigned exception is returned.
The exception of key function point is one-to-one relationship with abnormal number, and sets the correspondence in developer Later, meeting notification server and the reparation personnel in later stage, after ensureing that server or reparation personnel learn exception number, Know that the exception that the exception numbers corresponding key function point is.
304, key function item, key function point and abnormal number are determined as referring to by terminal using the monitor code Show abnormal exception information occur with the key function point in the key function item;
In order to ensure server or the particular content learnt known to personnel and exception occur is repaired, exception information needs include Key function item corresponding with there is abnormal key function point, the key function point and the abnormal of determination are numbered.
305, determining exception information is sent to by terminal using monitor code pre-sets reporting in the application Code;
In general, in the development phase, developer is in order to ensure to get the exception information of key function point in monitor code Later, the exception information can be informed to server automatically, can also increase in the body of code of application program at this time can be with For sent to server include exception information report information report code.Therefore, it when monitor code is arranged, also needs It is by the function that monitor code is arranged:After monitor code knows exception information, exception information can be sent to this and reported Code.
306, terminal utilizes the exception information for reporting code to receive monitor code transmission;
307, terminal utilizes the terminal iidentification for the terminal for reporting Code obtaining to execute the application program;
It reports code after the exception information for receiving monitor code transmission, shows that there are key function points to be abnormal The case where, it needs to report the exception information to server at this time, in the case where the key function point can carry out remote repairing, Reparation generation is received after reparation code in order to ensure determining to can be used for repairing the key function point in reparation personnel Code usually also needs to the terminal iidentification for executing the terminal of the application program being sent to server or repairs personnel.Therefore, it reports Code to server before sending exception information, it is also necessary to obtain the terminal iidentification for the terminal for executing the application program.
Preferably, it in order to ensure that reparation personnel can correctly repair exception information according to the content reported, opens The function setting for reporting code would generally be the terminal in addition to that can obtain executing application in the development phase by hair personnel Except terminal iidentification, the function that can know other additional informations is also added.
Additional information is that can help the information that the personnel of repairing repair exception information, such as the key being abnormal The information such as the version number of the application program corresponding to function point or some configuration parameters of the terminal.Wherein, executing application The terminal iidentification of terminal can be assumed that one kind for additional information.
It is that the application program of which version this pass occurs that reparation personnel can learn according to the version number of application program The relevant abnormalities problem of key function point, and the abnormal problem can be repaired for the version;Reparation personnel can basis The terminal iidentification of terminal carries out remote repairing to relevant terminal;Reparation personnel can also be according to some configuration parameter lifes of terminal It can be to reparation code that key function point is repaired at one section.
308, for terminal using reporting code to report information to server transmission, it includes exception information and terminal mark to report information Know;
Terminal can report information according to cable network mode or the transmission of wireless network direction server.
Preferably, it includes the above-mentioned other additional informations being mentioned to report in information, that is, reporting information can To include exception information and additional information, which may include the terminal iidentification, the version number of the application program, the end The configuration parameter at end etc..
309, this of server receiving terminal transmission reports information;
310, determine that reparation personnel corresponding with the key function item, correspondence include closing according to the correspondence to prestore Key function items, the contact method for repairing personnel and reparation personnel;
Since key function item is typically to be developed by identical developer, which may include key The contact method for repairing personnel, reparation personnel of function items, the key function item.Certainly, the institute of some application programs is related Key function items be by identical developer develop when, which may include application program, the application program The contact method of reparation personnel, reparation personnel;Alternatively, key function point is developed by different developers, the correspondence Relationship may include key function point, the reparation personnel of the key function point and reparation personnel contact method.It needs exist for Illustrate, in order to improve remediation efficiency, it can be same or same a group of people with corresponding developer to repair personnel.
After server, which receives this, reports information, pair for reporting the key function item in information and prestoring is determined It should be related to the reparation personnel that can be learnt and can repair key function point in the key function item.
It should be added that before executing 310, server can also be to reporting the same appearance in information different Normal key function point is counted, for example the configuration of the version number of application program corresponding with the key function point, terminal is joined Number etc., and after statistics, reparation personnel corresponding with key function point are determined, so as to the content that will be come out(Including different The information such as normal information, terminal configuration parameters, terminal iidentification, application version)It is sent to determining reparation personnel or is showing The content of platform displaying statistics, so that the personnel of repairing repair according to these contents to there is abnormal key function point.
311, server sends prompting message according to the contact method to the personnel of reparation, and prompting message repairs people for reminding Member is to reporting the corresponding key function point of information to repair;
Under normal conditions, server, can be to reporting the content of information to be counted simultaneously after receiving and reporting information Displaying, can be according to the content of the displaying viewed to key function in this way after reparation personnel receive prompting message Point is repaired.
Preferably, server can also by the exception information of the abnormal key function point of appearance come out, count To the version number of application program and the configuration parameter of terminal be sent to reparation personnel as prompting message, in this way, repair personnel The key function point can be repaired according to these information.
In general, server can within a predetermined period of time count key function point, for example united every 24 hours Meter is once or each Zhou Tongji is primary;Corresponding, server often counts once, the recent statistics result that can obtain statistics It is sent to corresponding reparation personnel.
312, server is received for the reparation code to reporting the corresponding key function point of information to be repaired;
It, can be to reporting the abnormal and attached of the key function point in information when reparation personnel are after receiving prompting message Information is added to be analyzed, after reason and solution that exception occur is determined, if what the key function point occurred It is different normally due to terminal running environment(Such as the configuration parameter of terminal)Etc. caused by reasons, then can be directed in the terminal The exception that the key function item occurs writes one section of reparation code, and this section reparation code is sent to server, that is, executes 313.For example, when terminal is double-card dual-standby pattern, the application program that is used to make a phone call at this time is if there is can not dial Exception, when corresponding exception information is reported to server, server notifies that reparation personnel analyze to after reparation personnel This can not be dialed different normally due to not selecting SIM(Subscriber Identity Module, client identification module)Card, At this point, can then write the reparation code of one section of selection wherein SIM card, and the reparation code is sent to end by server End;Corresponding, terminal then can select one of SIM card to make a phone call after receiving the reparation code.
When reparation personnel are after receiving prompting message, the reason of exception of the key function point is not by terminal is found Caused by, reparation personnel can repair to generate new version the key function point of the application program of current version;Or Person makes the form of plug-in unit by code is repaired, and the terminal of the application program using the version is given by Web Publishing, so as to terminal The plug-in unit is installed, to complete the reparation to the key function item.
313, server is sent to the terminal by code is repaired;
It can specifically include:Server determination reports the terminal iidentification for including in information;Server will repair code and send To the corresponding terminal of the terminal iidentification.
314, terminal receives the reparation code for being repaired to key function point that server is sent;
In practical applications, in the development phase, developer can to pre-set reception code in the application program of terminal, The reception code can be used for receiving the reparation code or other information that server is sent.In this way, working as server to the terminal When application program sends reparation code, which can receive reparation code.
315, terminal repairs key function point using code is repaired.
Application program in terminal can utilize the reparation code to repair relevant content, to be carried out to the key function point It repairs.
In order to can be seen that whether the key function point after repairing is stablized, server can be between each scheduled time Every to reporting information to count corresponding to key function point, can specifically include:Count predetermined amount of time in the key The corresponding quantity for reporting information of key function point of function items;In the pass with the key function item of display platform displaying statistics The corresponding quantity for reporting information of key function point.In this way, developer can learn the feedback to the key function point reparation Situation can determine the stabilization of the key function item according to the reparation feedback of all key function points in key function item Property.
It should be added that 301 to 308 and 314 and 315 may be embodied to as using terminal as the upper of executive agent Information acquisition method is reported, 309 to 313 may be embodied to report information acquisition method as executive agent using server.
In conclusion provided in an embodiment of the present invention report information acquisition method, by start executing application it Afterwards, detect whether preset key function point in application program exception occurs, if there is exception in a certain key function point, to Server transmission reports information, this report in information comprising be used to indicate the key function point occur abnormal exception information and Relevant additional information, corresponding server receive report information after be notified that reparation personnel to there is abnormal key Function point is repaired;Solves the efficiency ratio that the stability of the key function item to application program in the prior art is safeguarded Relatively low problem;Since terminal spontaneously can report information, therefore when key function item occurs abnormal to server transmission Achieve the effect that efficiency when safeguarding the stability of the key function item of application program can be greatly improved.
It can be provided with monitor code with the above function in application program in order to ensure publication and report generation Code, developer just need to be monitored code to application program and report the setting of code in the stage of exploitation.
Shown in Figure 4 in a possible realization method, it illustrates the present invention, observation is closed in the process of development The schematic diagram of the stability of key function items.In the development phase of application program, may include steps of:
401, determine key function item;
In the development phase of application program, developer carries out preliminary analysis to the application program, to determine that this applies journey The key function item of sequence.
It should be added that developer said here is commonly referred to as same or same group with reparation personnel Personnel, in order to clear expression development phase and repairing phase, therefore by these personnel be described as respectively developer and Reparation personnel.
402, list key function point;
Developer assesses the code of determining key function item, and lists and influence application program in code logic Key function item key point, using these key points as key function point corresponding with key function item.
403, addition reports code;
Developer add in the application can be used for reporting relevant information to server report code, these are related Information may include exception information and additional information etc..
In the service stage of application program, it may include steps of:
404, statistical report information is simultaneously shown;
Server meeting statistical report reports information, and reports item to be shown reporting in information for statistics.Specifically For, server can count the version of the application program reported corresponding to some key function point in predetermined amount of time Number and terminal configuration parameter etc..
In repairing phase, may include steps of:
405, determine problem and recovery scenario;
The problem of reparation personnel show according to server positions and determines corresponding recovery scenario, and by the knot of reparation Fruit feeds back to the server.For example, the personnel of reparation the key function point can occur abnormal reason according to the parameter of statistics It is analyzed, and can determine recovery scenario.
406, remote repairing.
Pair can with the key function item of remote repairing, server can a pair terminal corresponding with the key function item make phase The remote repairing answered, such as server can be sent to terminal for repairing the reparation code for abnormal key function point occur; Corresponding, the application program in terminal, can be according to reparation code to phase after the reparation code for receiving server transmission The key function point of pass is repaired.
It follows that by the development phase in application program, by for monitoring key function point monitor code and Code is reported to increase in application program for what is reported, terminal is when executing the application program, when certain in the application program When 1 key function point occurs abnormal, monitor code corresponding with the key function point can be known and the key function point pair The exception information answered reports code that can the exception information be reported to server automatically, and repairing personnel so then can be The exception is repaired when shortest, and server can be counted to there is abnormal key function point, to make Obtain the stability that reparation personnel clearly learn reparation.
Shown in Figure 5, it illustrates the signals for reporting Information Acquisition System provided in one embodiment of the invention Figure.This reports Information Acquisition System to can be applied in implementation environment involved in Fig. 1.This reports Information Acquisition System can be with Including:Server and at least one terminal.
Terminal may include reporting information acquisition device 520, this reports the information acquisition device 520 to may include but unlimited In:Detection module 521, exception information acquisition module 522 and report information sending module 523.
Detection module 521 can be used in the implementation procedure of application program, detect the crucial work(in the application program Whether preassigned key function point there is exception in energy item;
Exception information acquisition module 522 can be used in the testing result of the detection module 521 being the application program In key function item in preassigned key function point occur abnormal, then obtain and be used to indicate in the key function item There is abnormal exception information in the key function point;
Information sending module 523 is reported, can be used for reporting information to server transmission, it is described to report information including described Exception information.
Server may include reporting information acquisition device 540, this reports the information acquisition device 540 to may include but unlimited In:It reports information receiving module 541, repair personnel's determining module 542 and prompting message sending module 543.
Information receiving module 541 is reported, can be used for receiving that terminal sends reports information, it is described to report the information to include There is abnormal exception information in the key function point being used to indicate in key function item;
Reparation personnel determining module 542, it is right with the key function item to can be used for being determined according to the correspondence to prestore The reparation personnel answered, the correspondence include key function item, reparation personnel and the reparation personnel contact method;
Prompting message sending module 543 can be used for being sent to the reparation personnel according to the contact method and remind letter Breath, the prompting message are used to remind the reparation personnel for the key for reporting information to the key function item Function point is repaired.
In conclusion provided in an embodiment of the present invention report Information Acquisition System, by start executing application it Afterwards, detect whether preset key function point in application program exception occurs, if there is exception in a certain key function point, to Server transmission reports information, this report in information comprising be used to indicate the key function point occur abnormal exception information and Relevant additional information;Solves the efficiency ratio that the stability of the key function point to application program in the prior art is safeguarded Relatively low problem;Since terminal spontaneously can report information, therefore when key function point occurs abnormal to server transmission Achieve the effect that efficiency when safeguarding the stability of the key function point of application program can be greatly improved.
Shown in Figure 6, it illustrates the signals for reporting Information Acquisition System provided in one embodiment of the invention Figure.This reports Information Acquisition System to can be applied in the implementation environment involved in Fig. 1.This reports Information Acquisition System that can wrap It includes:Server and at least one terminal.
Terminal may include reporting information acquisition device 620, this reports the information acquisition device 620 to may include but unlimited In:Detection module 621, exception information acquisition module 622 and report information sending module 623.
Detection module 621 can be used in the implementation procedure of application program, detect the key function item in application program In preassigned key function point whether there is exception;
Exception information acquisition module 622 can be used for the key in the testing result of detection module 621 is application program Preassigned key function point occurs abnormal in function items, then obtains the key function being used to indicate in key function item and point out Now abnormal exception information;
Information sending module 623 is reported, can be used for reporting information to server transmission, it includes abnormal letter to report information Breath.
Preferably, detection module 621 can be used for:
It is corresponding using the key function point in the monitor code detection key function item preset in the application Whether code there is exception when being executed;
Exception information acquisition module 622 may include:Detection unit 622a, abnormal number determination unit 622b, abnormal letter Cease determination unit 622c and exception information transmission unit 622d.
Detection unit 622a can be used for detecting whether the exception that key function point occurs is preassigned exception;
Abnormal number determination unit 622b can be used for occurring for key function point when the testing result of detection unit 622a Exception when being preassigned abnormal, utilize monitor code to determine abnormal number corresponding with preassigned exception;
Exception information determination unit 622c, can be used for using monitor code by key function item, key function point and Abnormal number is determined as being used to indicate there is abnormal exception information with the key function point in key function item;
Exception information transmission unit 622d, can be used for being sent to determining exception information using monitor code and sets in advance Set in the application report code.
Preferably, it can also includes terminal iidentification to report information, report information sending module 623, may include:Abnormal letter It ceases receiving unit 623a, terminal iidentification acquiring unit 623b and reports information transmitting unit 623c.
Exception information receiving unit 623a can be used for utilizing the exception information for reporting code to receive monitor code transmission;
Terminal iidentification acquiring unit 623b can be used for the terminal using the terminal for reporting Code obtaining executing application Mark;
Information transmitting unit 623c is reported, can be used for, using reporting code to report information to server transmission, above notifying Breath includes exception information and terminal iidentification.
Preferably, information acquisition device 620 is reported, can also include:First receiving module 624 and repair module 625.
First receiving module 624, can be used for receiving that server sends for being repaiied to what key function point was repaired Multiplexed code;
Repair module 625, the reparation code that can be used for being received using the first receiving module 624 click through key function Row is repaired.
Server may include reporting information acquisition device 640, this reports the information acquisition device 640 to may include but unlimited In:It reports information receiving module 641, repair personnel's determining module 642 and prompting message sending module 643.
Information receiving module 641 is reported, can be used for receiving terminal transmission reports information, and it includes being used for report information Indicate that abnormal exception information occurs in the key function point in key function item;
Reparation personnel determining module 642 can be used for being determined according to the correspondence to prestore corresponding with key function item Reparation personnel, correspondence include key function item, reparation personnel and the contact method for repairing personnel;
Prompting message sending module 643 can be used for sending prompting message to reparation personnel according to contact method, remind letter Breath reports information to repair the key function point of key function item for reminding reparation personnel to be directed to.
Preferably, it can also includes terminal iidentification to report information, report information acquisition device 640, can also include:Second Receiving module 644, terminal iidentification determining module 645 and reparation code sending module 646.
Second receiving module 644 can be used for receiving for reporting the corresponding key function point of information to be repaired Repair code;
Terminal iidentification determining module 645 is determined for reporting the terminal iidentification for including in information;
Code sending module 646 is repaired, can be used for repair code and be sent to the corresponding terminal of terminal iidentification, so as to end End receives the reparation code for being repaired to key function point that server is sent;Using reparation code to key function point It is repaired.
Preferably, this reports information acquisition device 640, can also include:Statistical module 647 and display module 648.
Statistical module 647 can be used for counting corresponding with the key function point in key function item in predetermined amount of time Report the quantity of information;
Display module 648 can be used in display platform displaying statistics and the key function point pair in key function item That answers reports the quantity of information.
In conclusion provided in an embodiment of the present invention report Information Acquisition System, by start executing application it Afterwards, detect whether preset key function point in application program exception occurs, if there is exception in a certain key function point, to Server transmission reports information, this report in information comprising be used to indicate the key function point occur abnormal exception information and Relevant additional information;Solves the efficiency ratio that the stability of the key function point to application program in the prior art is safeguarded Relatively low problem;Since terminal spontaneously can report information, therefore when key function point occurs abnormal to server transmission Achieve the effect that efficiency when safeguarding the stability of the key function point of application program can be greatly improved.
It should be noted that:The key function item provided in above-described embodiment reports information acquisition device obtaining key When reporting information of function items only the example of the division of the above functional modules, can be according to need in practical application It wants and completes above-mentioned function distribution by different function modules, i.e., be divided into the internal structure of terminal and server different Function module, to complete all or part of the functions described above.In addition, the key function item that above-described embodiment provides is upper Report information acquisition device reports information acquisition method embodiment to belong to same design with key function item, implements process Embodiment of the method is referred to, which is not described herein again.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (17)

1. one kind reporting information acquisition method, which is characterized in that the method includes:
In the implementation procedure of application program, key function is detected using the monitor code being set in advance in the application program Whether the corresponding code of key function point in there is exception when being executed;
If testing result is the key function in the monitor code detection key function item being set in advance in the application program There is exception when being executed in the corresponding code of point, using the monitor code detect that the key function point occurs it is abnormal whether For preassigned exception;
It is true using the monitor code if testing result is that the exception that the key function point occurs is preassigned exception Fixed abnormal number corresponding with the preassigned exception;
The key function item, key function point and the abnormal number are determined as being used for using the monitor code Indicate abnormal exception information occur with the key function point in the key function item;
Information is reported to server transmission, and described to report information include the exception information.
2. according to the method described in claim 1, it is characterized in that, utilizing the monitor code by the key function described Item, key function point and the exception number the crucial work(for being determined as being used to indicate and in the key function item It can put after there is abnormal exception information, the method further includes:
The determining exception information is sent to using the monitor code and is set in advance in reporting in the application program Code.
3. according to the method described in claim 2, it is characterized in that, it is described to report information further include terminal iidentification, it is described to clothes Business device transmission reports information, including:
Code is reported to receive the exception information that the monitor code is sent using described;
Utilize the terminal iidentification of the terminal for reporting Code obtaining to execute the application program;
Code is reported to report information to server transmission using described, described to report information include the exception information and institute State terminal iidentification.
4. according to any method in claims 1 to 3, which is characterized in that report information to server transmission described Later, further include:
Receive the reparation code for being repaired to the key function point that the server is sent;
The key function point is repaired using the reparation code.
5. one kind reporting information acquisition method, which is characterized in that the method includes:
Receive that terminal sends reports information, and described to report information include exception information, and the exception information includes that appearance is different The normal corresponding key function item of key function point, key function point and corresponding with the exception of key function point Abnormal number, the abnormal number are to detect the key function item using the monitor code preset in the application In the corresponding code of the key function point occur exception when being executed, and determine that the exception that the key function occurs is pre- It first after specified exception, is determined using the monitor code, the exception of key function point is to correspond to close with abnormal number System;
Determine that reparation personnel corresponding with the key function item, the correspondence include key according to the correspondence to prestore Function items, the contact method for repairing personnel and the reparation personnel;
Prompting message is sent to the reparation personnel according to the contact method, the prompting message is for reminding the reparation people Member reports information to repair the key function point in the key function item for described.
6. according to the method described in claim 5, it is characterized in that, described to report information further include the terminal mark of the terminal Know, it is described according to the contact method to the reparation personnel send prompting message after, further include:
Receive the reparation code for being repaired to the key function point reported corresponding to information;
The terminal iidentification for including in information is reported described in determination;
The reparation code is sent to the corresponding terminal of the terminal iidentification, is sent so that the terminal receives server The reparation code for being repaired to the key function point;The key function point is carried out using the reparation code It repairs.
7. method according to claim 5 or 6, which is characterized in that the method further includes:
Count the quantity for reporting information corresponding with the key function point in the key function item in predetermined amount of time;
In the institute for reporting information corresponding with the key function point in the key function item of display platform displaying statistics State quantity.
8. one kind reporting information acquisition device, which is characterized in that described device includes:
Detection module, in the implementation procedure of application program, utilizing the monitoring generation being set in advance in the application program Whether the corresponding code of key function point in code detection key function item there is exception when being executed;
Exception information acquisition module, including detection unit, abnormal number determination unit and exception information determination unit,
The detection unit, if being the crucial work(of monitor code detection being set in advance in the application program for testing result There is exception when being executed in the corresponding code of key function point in energy item, and the monitor code is utilized to detect the key function Whether the exception that point occurs is preassigned exception;
The abnormal number determination unit, if it is preassigned to be the exception that the key function point occurs for testing result It is abnormal, then determine abnormal number corresponding with the preassigned exception using the monitor code;
The exception information determination unit, for utilizing the monitor code by the key function item, key function point And the exception numbers to be determined as being used to indicate and the different of exception occurs with the key function point in the key function item Normal information;
Information sending module is reported, for reporting information to server transmission, described to report information include the exception information.
9. device according to claim 8, which is characterized in that the exception information acquisition module further includes:
Exception information transmission unit is set in advance in for being sent to the determining exception information using the monitor code Code is reported in the application program.
10. device according to claim 9, which is characterized in that described to report information further include terminal iidentification, described to report Information sending module, including:
Exception information receiving unit, for reporting code to receive the exception information that the monitor code is sent described in utilization;
Terminal iidentification acquiring unit, for reported described in utilization Code obtaining execute the application program terminal the terminal Mark;
Report information transmitting unit, for reported described in utilization code to the server send described in report information, it is described on Breath of notifying includes the exception information and the terminal iidentification.
11. according to any device in claim 8 to 10, which is characterized in that described device further includes:
First receiving module, the reparation generation for being repaired to the key function point sent for receiving the server Code;
Repair module, the reparation code for being received using first receiving module carry out the key function point It repairs.
12. one kind reporting information acquisition device, which is characterized in that described device includes:
Information receiving module is reported, information is reported for receive terminal transmission, described to report information include exception information, institute State exception information include occur the abnormal corresponding key function item of key function point, key function point and with the pass The corresponding abnormal number of exception of key function point, the abnormal number are to utilize the monitoring generation preset in the application Code detects the corresponding code of the key function point in the key function item and occurs exception when being executed, and determines the pass Key function occur exception be preassigned exception after, using the monitor code determine, the exception of key function point with Abnormal number is one-to-one relationship;
Reparation personnel's determining module, for determining reparation people corresponding with the key function item according to the correspondence to prestore Member, the correspondence include key function item, reparation personnel and the reparation personnel contact method;
Prompting message sending module, for sending prompting message, the prompting to the reparation personnel according to the contact method Information is used to remind the reparation personnel to report information to click through the key function in the key function item for described Row is repaired.
13. device according to claim 12, which is characterized in that described to report information further include terminal iidentification, the dress It sets and further includes:
Second receiving module, for receiving for the reparation for reporting the corresponding key function point of information to be repaired Code;
Terminal iidentification determining module, for reporting the terminal iidentification for including in information described in determination;
Code sending module is repaired, for the reparation code to be sent to the corresponding terminal of the terminal iidentification, so as to The terminal receives the reparation code for being repaired to the key function point that server is sent;Utilize the reparation generation Code repairs the key function point.
14. device according to claim 12 or 13, which is characterized in that described device further includes:
Statistical module is reported for counting corresponding with the key function point in the key function item in predetermined amount of time The quantity of information;
Display module, in the corresponding with the key function point in the key function item of display platform displaying statistics Report the quantity of information.
15. a kind of terminal, which is characterized in that the terminal includes reporting information to obtain as described in any in claim 8 to 11 Take device.
16. a kind of server, which is characterized in that the server includes reporting information as described in any in claim 12 to 14 Acquisition device.
17. one kind reporting Information Acquisition System, which is characterized in that described the system comprises server and at least one terminal Server is connect by cable network mode or wireless network mode with the terminal respectively;
The server is server as claimed in claim 16;
The 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 CN104572318A (en) 2015-04-29
CN104572318B true 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)

Families Citing this family (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
CN106776263A (en) * 2015-11-23 2017-05-31 芋头科技(杭州)有限公司 A kind of robot exception handling device and method
CN105915365A (en) * 2015-12-25 2016-08-31 乐视致新电子科技(天津)有限公司 Method, server and client for controlling reporting of crash data
CN107425994B (en) * 2016-05-24 2021-08-17 中兴通讯股份有限公司 Method, terminal and server for realizing remote parameter management
CN106126397A (en) * 2016-06-19 2016-11-16 乐视控股(北京)有限公司 The processing method of program crashing message and system
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
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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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认证方式的端点准入防御的应用于研究;杨波;《中国硕士学位论文全文数据库》;20120401;第17-21,29,36页 *

Also Published As

Publication number Publication date
CN104572318A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104572318B (en) Report information acquisition method, device, equipment and system
CN109614290A (en) Process exception information recording method and system in container
CN106557407B (en) Method and device for monitoring equipment load
CN109800098A (en) Service exception node positioning method, device, computer equipment and storage medium
CN108334436A (en) Optimization method, device, equipment and the computer readable storage medium of application software
CN103490917B (en) The detection method of troubleshooting situation and device
CN102110220A (en) Application program monitoring method and device
CN104065526B (en) A kind of method and apparatus of server failure alarm
CN102724322B (en) A kind of method and device for realizing remote control
CN102056202A (en) Mobile terminal error processing method and system
CN103220173A (en) Alarm monitoring method and alarm monitoring system
CN106030456A (en) Automatic asynchronous handoff identification
CN109376050A (en) A kind of APP monitoring method, computer readable storage medium and terminal device
CN106341259A (en) Fault information report method and device
CN106296135A (en) Event-prompting method, device and terminal
CN104571926A (en) Touch method and touch device
CN102004680A (en) Method for dynamically tracking program running state and rear panel device
CN104978212B (en) A kind of unknown crash report method and device
US10474954B2 (en) Feedback and customization in expert systems for anomaly prediction
JP2008005039A (en) Wireless communication fault monitoring system, and wireless communication fault monitoring apparatus
CN109783335A (en) User's operation records restoring method, device, equipment and readable storage medium storing program for executing
CN108306787A (en) A kind of application monitoring method and relevant device
CN106980429A (en) The processing method and mobile terminal of desktop icons
CN110502407A (en) A kind of automation O&M monitoring method and system
EP2493150B1 (en) Mobile application metadata collection agent

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