The content of the invention
Present invention is primarily targeted at providing a kind of abnormal information collection method and server, it is intended to more neatly receive
Collection abnormal information.
For achieving the above object, the abnormal information collection method that the present invention is provided is comprised the following steps:
The exception that parameter is collected with newest abnormal information that server receive user sends for an application program
Information adjust request, the newest abnormal information collection parameter is sent to the client for being provided with the application program;
The server receives the abnormal information that the client is reported, wherein, the abnormal information is by the client
The application program current abnormal information is collected into parameter adjustment is that the newest abnormal information collects parameter, and be based on
The newest abnormal information is collected parameter collection and is obtained.
Preferably, the abnormal information collection method also includes:
The server is in real time or timing detects network bandwidth occupancy, and is taken according to the predetermined network bandwidth
Rate scope reports the mapping relations of frequency with abnormal information, determines the corresponding abnormal information of network bandwidth occupancy of current detection
Report frequency;
The abnormal information that the server analysis determine reports frequency to report frequency with the current abnormal information of the application program
Whether rate is consistent;
If it is determined that the abnormal information abnormal information that reports frequency current with the application program report frequency inconsistent, then institute
Stating server reports frequency to be sent to the client for being provided with the application program abnormal information of determination, for the client
The application program based on a determination that abnormal information report frequency to report abnormal information.
Preferably, the abnormal information collects parameter includes abnormal information type and/or acquisition time to be collected.
Additionally, for achieving the above object, the present invention further provides abnormal information collection method comprise the following steps:
The exception that parameter is collected with newest abnormal information that server receive user sends for an application program
Information adjust request, collects the newest abnormal information parameter abnormal information collection parameter current with the application program and enters
Row is compared, and collects what the relatively described current abnormal information collection parameter of parameter lacked to compare out the newest abnormal information
Abnormal information collects parameter and/or the abnormal information of increase collects parameter;
The server sends the deletion that the abnormal information for lacking collects parameter to the client for being provided with the application program
Instruction and/or increase abnormal information collect parameter newly-increased instruction, for the client the application response described in delete
Except instruction and/or newly-increased instruction, delete in current abnormal information collects parameter the abnormal information for lacking collect parameter and/or
Newly-increased increased abnormal information collects parameter, and reports exception to the server based on the abnormal information collection parameter after adjustment
Information.
Preferably, the abnormal information collection method also includes:
The server is in real time or timing detects network bandwidth occupancy, and is taken according to the predetermined network bandwidth
Rate scope reports the mapping relations of frequency with abnormal information, determines the corresponding abnormal information of network bandwidth occupancy of current detection
Report frequency;
The abnormal information that the server analysis determine reports frequency to report frequency with the current abnormal information of the application program
Whether rate is consistent;
If it is determined that the abnormal information abnormal information that reports frequency current with the application program report frequency inconsistent, then institute
Stating server reports frequency to be sent to the client for being provided with the application program abnormal information of determination, for the client
The application program based on a determination that abnormal information report frequency to report abnormal information.
Additionally, for achieving the above object, the present invention also provides a kind of server, and the server includes:
First receiver module, collects for what an application program sent for receive user with newest abnormal information
The abnormal information adjust request of parameter;
First sending module, for the newest abnormal information collection parameter to be sent to the application program is provided with
Client;
First receiver module is additionally operable to receive the abnormal information that the client is reported, wherein, the abnormal information
It is that the newest abnormal information is received that current abnormal information is collected into parameter adjustment by the application program of the client
Collection parameter, and parameter collection acquisition is collected based on the newest abnormal information.
Preferably, the server also includes:
First determining module, for detecting network bandwidth occupancy in real time or regularly, and according to predetermined network
Bandwidth usage scope reports the mapping relations of frequency with abnormal information, determines that the network bandwidth occupancy of current detection is corresponding
Abnormal information reports frequency;
First analysis module, the abnormal information determined for analysis reports frequency and the current abnormal information of the application program
Report frequency whether consistent;
First sending module be additionally operable to if it is determined that abnormal information report frequency and the current exception of the application program
Information reporting frequency is inconsistent, then report frequency to be sent to the client for being provided with the application program abnormal information of determination,
For the client the application program based on a determination that abnormal information report frequency to report abnormal information.
Preferably, the abnormal information collects parameter includes abnormal information type and/or acquisition time to be collected.
Additionally, for achieving the above object, the present invention also provides a kind of server, and the server includes:
Second receiver module, collects for what an application program sent for receive user with newest abnormal information
The abnormal information adjust request of parameter;
Comparing module, receives for the newest abnormal information to be collected into the parameter abnormal information current with the application program
Collection parameter is compared, and is joined with comparing out the newest abnormal information and collecting the relatively described current abnormal information of parameter and collect
The abnormal information that number lacks collects parameter and/or the abnormal information of increase collects parameter;
Second sending module, for sending the abnormal information for lacking to the client for being provided with the application program parameter is collected
Deletion instruction and/or increase abnormal information collect parameter newly-increased instruction, for the application response of the client
It is described to delete instruction and/or newly-increased instruction, the abnormal information for lacking is deleted in current abnormal information collects parameter and collects ginseng
Number and/or newly-increased increased abnormal information collect parameter, and collect parameter to the server based on the abnormal information after adjustment
Report abnormal information.
Preferably, the server also includes:
Second determining module, for detecting network bandwidth occupancy in real time or regularly, and according to predetermined network
Bandwidth usage scope reports the mapping relations of frequency with abnormal information, determines that the network bandwidth occupancy of current detection is corresponding
Abnormal information reports frequency;
Second analysis module, the abnormal information determined for analysis reports frequency and the current abnormal information of the application program
Report frequency whether consistent;
Second sending module be additionally operable to if it is determined that abnormal information report frequency and the current exception of the application program
Information reporting frequency is inconsistent, then report frequency to be sent to the client for being provided with the application program abnormal information of determination,
For the client the application program based on a determination that abnormal information report frequency to report abnormal information.
Abnormal information collection method proposed by the present invention and server, an application program is directed to by server by user
What is sent is sent to the client for being provided with the application program with newest abnormal information collection parameter, makes being somebody's turn to do for the client
It is that the newest abnormal information collects parameter that current abnormal information can be collected parameter adjustment by application program, and based on institute
State newest abnormal information collection parameter and report abnormal information to the server.So, can be by server according to user's
The abnormal information adjust request abnormal information current to the application program of client is collected parameter and is adjusted correspondingly, and collects symbol
The application exception information of user's request is closed, so as to the dynamic configuration for realizing collecting abnormal information, realize more neatly
Abnormal information is collected, and the abnormal of appearance is accurately positioned.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides a kind of abnormal information collection method.The abnormal information collection method can be realized based on server.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of abnormal information collection method first embodiment of the present invention.In this embodiment, the exception
Formation gathering method includes:
Step S110, server receive user collects ginseng for what an application program sent with newest abnormal information
Several abnormal information adjust requests, the newest abnormal information collection parameter is sent to the client for being provided with the application program
End;
In the present embodiment, described abnormal information can including crash info etc. the various letters for causing application exception
Breath.The abnormal information collects parameter including the type of abnormal information and/or the acquisition time being collected to abnormal information etc..
User can send abnormal information adjust request based on terminal to server.Abnormal information adjust request is received in server
Afterwards, the abnormal information adjust request is parsed, the newest abnormal information for obtaining its carrying collects parameter.
Furthermore, it is possible in the server record has all clients for being mounted with the application program.For example it is possible to record
All client address for being mounted with the application program, so that server can will be newest according to the address of each client
Abnormal information is collected parameter and is sent to corresponding client.
Optionally, server can be manual by user to the recording mode of all clients for being mounted with the application program
Configuration, or default setting, can be being automatically updated by server.For example, client downloads are detected in server
After application program, then the client and the application program associated record of the application program will be downloaded;Or, client every time into
Work(is installed after an application program, then the installation for carrying the successful application program identification of installation to server transmission is successfully believed
Breath, it is after the installation successful information that server receives client transmission, then the client is corresponding with the installation successful information
Application program mark associated record.
Step S120, the server receives the abnormal information that the client is reported, wherein, the abnormal information is by institute
Current abnormal information collection parameter adjustment is that the newest abnormal information collects ginseng by the application program for stating client
Number, and parameter collection acquisition is collected based on the newest abnormal information.
In the present embodiment, client is being received after newest abnormal information collects parameter, the application of the client
It is that newest abnormal information collects parameter that current abnormal information is collected parameter adjustment by program, and based on upper described newest different
Often information parameter reports abnormal information to the server.
The abnormal information collection method that the present invention is provided, the band for being sent user for an application program by server
There is newest abnormal information to collect parameter and be sent to the client for being provided with the application program, the application program of the client will
It is that the newest abnormal information collects parameter that current abnormal information collects parameter adjustment, and based on the newest abnormal letter
Breath collects parameter and reports abnormal information to the server.Due to abnormal information adjust request of the server according to user can be passed through
The abnormal information current to the application program of client is collected parameter and is adjusted correspondingly, and collection meets the application of user's request
Program exception information, so as to the dynamic configuration for realizing collecting abnormal information, can more neatly collect abnormal information with to going out
Existing exception is accurately positioned.
Further, in order that abnormal information reports frequency to support dynamic adjustment so that Internet resources are obtained effectively
Utilize, based on the first embodiment of abnormal information collection method of the present invention, the invention allows for abnormal information collection method
Second embodiment, as shown in Fig. 2 Fig. 2 is the schematic flow sheet of abnormal information collection method second embodiment of the present invention, it is described different
Often formation gathering method can also include:
Step S130, the server is in real time or timing detects network bandwidth occupancy, and according to predetermined net
Network bandwidth usage scope reports the mapping relations of frequency with abnormal information, determines the network bandwidth occupancy correspondence of current detection
Abnormal information report frequency;
In the present embodiment, network bandwidth occupancy can be divided into several scopes, each scope correspondence is default
One abnormal information reports frequency.Default abnormal information reports frequency to be configured according to actual needs, and here is not done
Limit.
Step S140, the abnormal information that the server analysis determine reports the frequency abnormal letter current with the application program
Whether breath reports frequency consistent;
In the present embodiment, judge that the current abnormal information of application program reports the frequency whether Netowrk tape with current detection
The corresponding abnormal information of scope that wide occupancy is located reports frequency consistent.
It is understood that the abnormal information abnormal information that reports frequency current with application program in the determination is reported
When frequency is equal, then it is considered that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
Rate is consistent;Otherwise, then it is assumed that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
It is inconsistent.
Step S150, however, it is determined that abnormal information report frequency and the current abnormal information of the application program to report frequency not
Unanimously, then the abnormal information of determination is reported frequency to be sent to the client for being provided with the application program by the server, for
The application program of the client based on a determination that abnormal information report frequency to report abnormal information.
In the present embodiment, client then applies this when the abnormal information for receiving server transmission reports frequency
The current abnormal information of program reports frequency to be updated to currently received abnormal information and reports frequency, and according to the exception after renewal
Information reporting frequency reports abnormal information.The present embodiment causes abnormal information to report frequency to support dynamic adjustment so that network is provided
Source is effectively utilized.
It is understood that the execution sequence between above-mentioned steps S130, S140, S150 and above-mentioned steps S110, S120
In no particular order, it is also possible to while carrying out.
The present invention further provides a kind of abnormal information collection method.The abnormal information collection method can be based on server
Realize.With reference to Fig. 3, Fig. 3 is the schematic flow sheet of abnormal information collection method 3rd embodiment of the present invention.In this embodiment,
The abnormal information collection method includes:
Step S210, server receive user collect ginseng for what an application program sent with newest abnormal information
Several abnormal information adjust requests, collects the newest abnormal information parameter abnormal information current with the application program and receives
Collection parameter is compared, and is joined with comparing out the newest abnormal information and collecting the relatively described current abnormal information of parameter and collect
The abnormal information that number lacks collects parameter and/or the abnormal information of increase collects parameter;
In the present embodiment, abnormal information can for example include crash info or other various abnormal information etc..Institute
State abnormal information and collect parameter including abnormal information type and/or acquisition time to be collected etc..User can based on terminal to
Server sends abnormal information adjust request.After server receives abnormal information adjust request, to the abnormal information adjustment
Request is parsed, and the newest abnormal information for obtaining its carrying collects parameter.
Step S220, the server send the abnormal information for lacking to the client for being provided with the application program and collect ginseng
The newly-increased instruction of parameter is collected in several deletion instructions and/or the abnormal information of increase, so that the application program of the client is rung
Answer described deletion to instruct and/or newly-increased instruction, the abnormal information for lacking is deleted in current abnormal information collects parameter and is collected
Parameter and/or newly-increased increased abnormal information collect parameter, and collect parameter to the service based on the abnormal information after adjustment
Device reports abnormal information.
All clients for being mounted with the application program can in the server be recorded.For example it is possible to record all
The client address of the application program is mounted with, so as to newest abnormal information is collected into parameter according to the address of each client
It is sent to corresponding client.
Optionally, server can be manual by user to the recording mode of all clients for being mounted with the application program
Configuration, or default setting, can be being automatically updated by server.For example, client downloads are detected in server
After application program, then the client and the application program associated record of the application program will be downloaded;Or, client every time into
Work(is installed after an application program, then the installation for carrying the successful application program identification of installation to server transmission is successfully believed
Breath, it is after the installation successful information that server receives client transmission, then the client is corresponding with the installation successful information
Application program mark associated record.
In the present embodiment, collect the relatively described current abnormal information of parameter in the newest abnormal information and collect ginseng
When number lacks abnormal information collection parameter, then the abnormal information for lacking is sent to the client for being provided with the application program and collects ginseng
Several deletion instructions, and the deletion instruction carries the corresponding mark of abnormal information collection parameter for lacking.Described newest
Abnormal information when collecting the relatively described current abnormal information of parameter and collecting parameter and increased abnormal information and collect parameter, then to
The client for being provided with the application program sends the newly-increased instruction that newly-increased abnormal information collects parameter, and the newly-increased instruction is taken
The corresponding mark of parameter is collected with newly-increased abnormal information.
In the present embodiment, client responds the deletion instruction after deletion instruction and/or newly-increased instruction is received
And/or after newly-increased instruction, and the newest abnormal information collection parameter after being adjusted, based on the upper newest abnormal information
Collect parameter and report abnormal information to the server.
The abnormal information collection method that the present invention is provided, is sent by server receive user for an application program
The abnormal information adjust request of parameter is collected with newest abnormal information, the newest abnormal information is collected parameter and is somebody's turn to do
The current abnormal information of application program is collected parameter and is compared, relative to compare out the newest abnormal information collection parameter
The abnormal information that the current abnormal information collection parameter lacks collects parameter and/or the abnormal information of increase collects parameter,
And by server to the client for being provided with the application program send the abnormal information that lacks collect parameter deletion instruction and/
Or increase abnormal information collect parameter newly-increased instruction, for the client the application response described in delete instruction
And/or increase instruction newly, the abnormal information for lacking is deleted in current abnormal information collects parameter and collects parameter and/or newly-increased increasing
Plus abnormal information collect parameter, and based on after adjustment abnormal information collect parameter report abnormal information to the server.
Received according to the abnormal information adjust request of the user abnormal information current to the application program of client due to server can be passed through
Collection parameter is adjusted correspondingly, and collection meets the application exception information of user's request, so as to realize that abnormal information is received
The dynamic configuration of collection, can more neatly collect abnormal information to be accurately positioned the exception for occurring.
Further, the 3rd embodiment based on abnormal information collection method of the present invention, the invention allows for abnormal letter
The fourth embodiment of breath collection method, with reference to Fig. 4, Fig. 4 is that the flow process of abnormal information collection method fourth embodiment of the present invention is shown
It is intended to, the abnormal information collection method also includes:
Step S230, the server is in real time or timing detects network bandwidth occupancy, and according to predetermined net
Network bandwidth usage scope reports the mapping relations of frequency with abnormal information, determines the network bandwidth occupancy correspondence of current detection
Abnormal information report frequency;
In the present embodiment, network bandwidth occupancy can be divided into several scopes, each scope correspondence is default
One abnormal information reports frequency.Default abnormal information reports frequency to be configured according to actual needs, and here is not done
Limit.
Step S240, the abnormal information that the server analysis determine reports the frequency abnormal letter current with the application program
Whether breath reports frequency consistent;
In the present embodiment, judge that the current abnormal information of application program reports the frequency whether Netowrk tape with current detection
The corresponding abnormal information of scope that wide occupancy is located reports frequency consistent.
It is understood that the abnormal information abnormal information that reports frequency current with application program in the determination is reported
When frequency is equal, then it is considered that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
Rate is consistent;Otherwise, then it is assumed that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
It is inconsistent.
Step S250, however, it is determined that abnormal information report frequency and the current abnormal information of the application program to report frequency not
Unanimously, then the abnormal information of determination is reported frequency to be sent to the client for being provided with the application program by the server, for
The application program of the client based on a determination that abnormal information report frequency to report abnormal information.
In the present embodiment, client then applies this when the abnormal information for receiving server transmission reports frequency
The current abnormal information of program reports frequency to be updated to currently received abnormal information and reports frequency, and according to the exception after renewal
Information reporting frequency reports abnormal information.The present embodiment causes abnormal information to report frequency to support dynamic adjustment so that network is provided
Source is effectively utilized.
It is understood that the execution sequence between above-mentioned steps S230, S240, S250 and above-mentioned steps S210, S220
In no particular order, it is also possible to while carrying out.
The present invention further provides a kind of server.With reference to Fig. 5, Fig. 5 is the function of server first embodiment of the present invention
Module diagram.In the first embodiment, the server includes:
First receiver module 110, for receive user for application program send with newest abnormal information
Collect the abnormal information adjust request of parameter;
First sending module 120, is provided with this and applies journey for the newest abnormal information being collected into parameter being sent to
The client of sequence;
In the present embodiment, abnormal information can for example include crash info or other various abnormal information etc..Institute
State abnormal information and collect parameter including abnormal information type and/or acquisition time to be collected etc..User can based on terminal to
Server sends abnormal information adjust request.After server receives abnormal information adjust request, to the abnormal information adjustment
Request is parsed, and the newest abnormal information for obtaining its carrying collects parameter.
All clients for being mounted with the application program can in the server be recorded.For example it is possible to record all
The client address of the application program is mounted with, so as to newest abnormal information is collected into parameter according to the address of each client
It is sent to corresponding client.
Optionally, server can be manual by user to the recording mode of all clients for being mounted with the application program
Configuration, or default setting, can be being automatically updated by server.For example, client downloads are detected in server
After application program, then the client and the application program associated record of the application program will be downloaded;Or, client every time into
Work(is installed after an application program, then the installation for carrying the successful application program identification of installation to server transmission is successfully believed
Breath, it is after the installation successful information that server receives client transmission, then the client is corresponding with the installation successful information
Application program mark associated record.
First receiver module 110 is additionally operable to receive the abnormal information that the client is reported, wherein, the abnormal letter
It is the newest abnormal information by current abnormal information collection parameter adjustment to cease by the application program of the client
Parameter is collected, and parameter collection is collected based on the newest abnormal information and obtained.
In the present embodiment, client is being received after newest abnormal information collects parameter, the application of the client
It is that newest abnormal information collects parameter that current abnormal information is collected parameter adjustment by program, and based on upper described newest different
Often information parameter reports abnormal information to the server.
The server that the present invention is provided, by server by user for application program send with newest different
Often information parameter is sent to the client for being provided with the application program, and the application program of the client is by current exception
Information parameter adjustment is that the newest abnormal information collects parameter, and collects parameter based on the newest abnormal information
Abnormal information is reported to the server.Due to abnormal information adjust request of the server according to user can be passed through to client
The current abnormal information of application program is collected parameter and is adjusted correspondingly, and collection meets the application exception letter of user's request
Breath, so as to the dynamic configuration for realizing collecting abnormal information, can more neatly collect abnormal information to enter the exception for occurring
Row is accurately positioned.
Further, in order that abnormal information reports frequency to support dynamic adjustment so that Internet resources are obtained effectively
Utilize, based on the first embodiment of server of the present invention, the invention allows for the second embodiment of server, as shown in fig. 6,
Fig. 6 is the high-level schematic functional block diagram of server second embodiment of the present invention, and the server also includes:
First determining module 130, for detecting network bandwidth occupancy in real time or regularly, and according to predetermined net
Network bandwidth usage scope reports the mapping relations of frequency with abnormal information, determines the network bandwidth occupancy correspondence of current detection
Abnormal information report frequency;
In the present embodiment, network bandwidth occupancy can be divided into several scopes, each scope correspondence is default
One abnormal information reports frequency.Default abnormal information reports frequency to be configured according to actual needs, and here is not done
Limit.
First analysis module 140, the abnormal information determined for analysis reports frequency and the current exception of the application program
Whether information reporting frequency is consistent;
In the present embodiment, judge that the current abnormal information of application program reports the frequency whether Netowrk tape with current detection
The corresponding abnormal information of scope that wide occupancy is located reports frequency consistent.
It is understood that the abnormal information abnormal information that reports frequency current with application program in the determination is reported
When frequency is equal, then it is considered that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
Rate is consistent;Otherwise, then it is assumed that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
It is inconsistent.
First sending module 120 be additionally operable to if it is determined that abnormal information report different current with the application program of frequency
Often information reporting frequency is inconsistent, then report frequency to be sent to the client for being provided with the application program abnormal information of determination
End, for the client the application program based on a determination that abnormal information report frequency to report abnormal information.
In the present embodiment, client then applies this when the abnormal information for receiving server transmission reports frequency
The current abnormal information of program reports frequency to be updated to currently received abnormal information and reports frequency, and according to the exception after renewal
Information reporting frequency reports abnormal information.The present embodiment causes abnormal information to report frequency to support dynamic adjustment so that network is provided
Source is effectively utilized.
The present invention further provides a kind of server.With reference to Fig. 7, Fig. 7 is the function of server 3rd embodiment of the present invention
Module diagram.In the third embodiment, the server includes:
Second receiver module 210, for receive user for application program send with newest abnormal information
Collect the abnormal information adjust request of parameter;
Comparing module 220, for the newest abnormal information to be collected into the parameter abnormal letter current with the application program
Breath is collected parameter and is compared, and to compare out the newest abnormal information the relatively described current abnormal information receipts of parameter are collected
The abnormal information that collection parameter lacks collects parameter and/or the abnormal information of increase collects parameter;
In the present embodiment, abnormal information can for example include crash info or other various abnormal information etc..Institute
State abnormal information and collect parameter including abnormal information type and/or acquisition time to be collected etc..User can based on terminal to
Server sends abnormal information adjust request.After server receives abnormal information adjust request, to the abnormal information adjustment
Request is parsed, and the newest abnormal information for obtaining its carrying collects parameter.
Second sending module 230, collects for sending the abnormal information for lacking to the client for being provided with the application program
The deletion instruction of parameter and/or increased abnormal information collect the newly-increased instruction of parameter, for the application program of the client
Response is described to delete instruction and/or newly-increased instruction, the abnormal information for lacking is deleted in current abnormal information collects parameter and is received
Collection parameter and/or newly-increased increased abnormal information collect parameter, and collect parameter to the clothes based on the abnormal information after adjustment
Business device reports abnormal information.
All clients for being mounted with the application program can in the server be recorded.For example it is possible to record all
The client address of the application program is mounted with, so as to newest abnormal information is collected into parameter according to the address of each client
It is sent to corresponding client.
Optionally, server can be manual by user to the recording mode of all clients for being mounted with the application program
Configuration, or default setting, can be being automatically updated by server.For example, client downloads are detected in server
After application program, then the client and the application program associated record of the application program will be downloaded;Or, client every time into
Work(is installed after an application program, then the installation for carrying the successful application program identification of installation to server transmission is successfully believed
Breath, it is after the installation successful information that server receives client transmission, then the client is corresponding with the installation successful information
Application program mark associated record.
In the present embodiment, collect the relatively described current abnormal information of parameter in the newest abnormal information and collect ginseng
When number lacks abnormal information collection parameter, then the abnormal information for lacking is sent to the client for being provided with the application program and collects ginseng
Several deletion instructions, and the deletion instruction carries the corresponding mark of abnormal information collection parameter for lacking.Described newest
Abnormal information when collecting the relatively described current abnormal information of parameter and collecting parameter and increased abnormal information and collect parameter, then to
The client for being provided with the application program sends the newly-increased instruction that newly-increased abnormal information collects parameter, and the newly-increased instruction is taken
The corresponding mark of parameter is collected with newly-increased abnormal information.
In the present embodiment, client responds the deletion instruction after deletion instruction and/or newly-increased instruction is received
And/or after newly-increased instruction, and the newest abnormal information collection parameter after being adjusted, based on the upper newest abnormal information
Collect parameter and report abnormal information to the server.
The server that the present invention is provided, by server receive user for application program send with newest
Abnormal information collects the abnormal information adjust request of parameter, the newest abnormal information is collected into parameter and is worked as with the application program
Front abnormal information is collected parameter and is compared, and to compare out the newest abnormal information, to collect parameter relatively described current
The abnormal information that abnormal information collection parameter lacks collects parameter and/or the abnormal information of increase collects parameter, and by service
Device to the client for being provided with the application program send the abnormal information that lacks collect parameter deletion instruction and/or increase it is different
The often newly-increased instruction of information parameter, for the client the application response described in delete instruction and/or newly-increased refer to
Order, the abnormal information for lacking is deleted in current abnormal information collects parameter and collects parameter and/or newly-increased increased abnormal letter
Breath collects parameter, and reports abnormal information to the server based on the abnormal information collection parameter after adjustment.Due to passing through
Server is collected parameter and is carried out according to the abnormal information adjust request of the user abnormal information current to the application program of client
Corresponding adjustment, collection meets the application exception information of user's request, so as to realize that the dynamic collected to abnormal information is matched somebody with somebody
Put, can more neatly collect abnormal information to be accurately positioned the exception for occurring.
Further, the 3rd embodiment based on server of the present invention, the invention allows for the 4th enforcement of server
Example, with reference to Fig. 8, Fig. 8 is the high-level schematic functional block diagram of server fourth embodiment of the present invention, and the server also includes:
Second determining module 240, for detecting network bandwidth occupancy in real time or regularly, and according to predetermined net
Network bandwidth usage scope reports the mapping relations of frequency with abnormal information, determines the network bandwidth occupancy correspondence of current detection
Abnormal information report frequency;
In the present embodiment, network bandwidth occupancy can be divided into several scopes, each scope correspondence is default
One abnormal information reports frequency.Default abnormal information reports frequency to be configured according to actual needs, and here is not done
Limit.
Second analysis module 250, the abnormal information determined for analysis reports frequency and the current exception of the application program
Whether information reporting frequency is consistent;
In the present embodiment, judge that the current abnormal information of application program reports the frequency whether Netowrk tape with current detection
The corresponding abnormal information of scope that wide occupancy is located reports frequency consistent.
It is understood that the abnormal information abnormal information that reports frequency current with application program in the determination is reported
When frequency is equal, then it is considered that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
Rate is consistent;Otherwise, then it is assumed that the abnormal information of the determination reports frequency to report frequency with the current abnormal information of application program
It is inconsistent.
Second sending module 230 be additionally operable to if it is determined that abnormal information report different current with the application program of frequency
Often information reporting frequency is inconsistent, then report frequency to be sent to the client for being provided with the application program abnormal information of determination
End, for the client the application program based on a determination that abnormal information report frequency to report abnormal information.
In the present embodiment, client then applies this when the abnormal information for receiving server transmission reports frequency
The current abnormal information of program reports frequency to be updated to currently received abnormal information and reports frequency, and according to the exception after renewal
Information reporting frequency reports abnormal information.The present embodiment causes abnormal information to report frequency to support dynamic adjustment so that network is provided
Source is effectively utilized.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.Embodiment party by more than
The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software
The mode of hardware platform is realizing, naturally it is also possible to by hardware, but in many cases the former is more preferably embodiment.It is based on
Such understanding, the part that technical scheme substantially contributes in other words to prior art can be with software product
Form embody, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including
Some instructions are used so that a station terminal equipment (can be mobile phone, computer, server, or network equipment etc.) performs this
Method described in bright each embodiment.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.