CN106648927A - Abnormal information collection method and server - Google Patents

Abnormal information collection method and server Download PDF

Info

Publication number
CN106648927A
CN106648927A CN201611057228.XA CN201611057228A CN106648927A CN 106648927 A CN106648927 A CN 106648927A CN 201611057228 A CN201611057228 A CN 201611057228A CN 106648927 A CN106648927 A CN 106648927A
Authority
CN
China
Prior art keywords
abnormal information
parameter
application program
frequency
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611057228.XA
Other languages
Chinese (zh)
Other versions
CN106648927B (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.)
Shenzhen One Ledger Science And Technology Service Co ltd
Original Assignee
Shanghai Billion Through Internet Technology 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 Shanghai Billion Through Internet Technology Co Ltd filed Critical Shanghai Billion Through Internet Technology Co Ltd
Priority to CN201611057228.XA priority Critical patent/CN106648927B/en
Publication of CN106648927A publication Critical patent/CN106648927A/en
Application granted granted Critical
Publication of CN106648927B publication Critical patent/CN106648927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an abnormal information collection method and server. The method comprises the steps that the server receives an abnormal information adjustment request with latest abnormal information collection parameters sent by a user aiming at a application program, and sends the abnormal information collection parameters to a client-side provided with the application program; the server receives the abnormal information reported by the client-side, wherein current abnormal information collection parameters of the abnormal information is adjusted into the latest abnormal information collection parameters through the application program of the client-side, and the abnormal information is obtained based on the collection of the latest abnormal information collection parameters. According to the abnormal information collection method and server, the current abnormal information collection parameters of the application program of the client-side can be adjusted correspondingly through the server according to the abnormal information adjustment request of the user, the application program abnormal information meeting the demand of the user can be collected, accordingly the dynamic configuration of abnormal information collection is achieved, and the abnormal information can be collected more flexibly to locate arisen abnormal precisely.

Description

Abnormal information collection method and server
Technical field
The present invention relates to field of computer technology, more particularly to a kind of abnormal information collection method and server.
Background technology
It is well known that the client application of mobile terminal inevitably occurs crash in running (collapsing Burst or abnormal), no matter application program write it is more perfect, always cannot completely avoid the generation of crash, it may be possible to due to behaviour Make the bug of system (for example, android system) bottom, it is also possible to due to insufficient type adaptation or the net of bad luck Network situation.When crash occurs, there is the application program of crash in system meeting positive closing, performance is exactly that journey is moved back or applied in sudden strain of a muscle Sequence is out of service, and this is that application developer is unwilling to see.Worse, when application program there occurs Crash, developer cannot but learn application program why crash, even if developer wants to solve this crash, but due to Developer cannot know user's crash information at that time, so also helpless.
In order to avoid knowing the passive situation of application program crash information, developer is generally in the application journey of exploitation Carry out burying a little to collect the Crash information for predefining type in server end in sequence.However, existing by burying a collection The mode of Crash information does not support user's dynamic adjustment configuration (Crash information types i.e. to be collected are fixed), the information of collection It is incomplete, it is unfavorable for that Bug is positioned.
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.
Description of the drawings
Fig. 1 is the schematic flow sheet of abnormal information collection method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of abnormal information collection method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of abnormal information collection method 3rd embodiment of the present invention;
Fig. 4 is the schematic flow sheet of abnormal information collection method fourth embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of server first embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of server second embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of server 3rd embodiment of the present invention;
Fig. 8 is the high-level schematic functional block diagram of server fourth embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
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.

Claims (10)

1. a kind of abnormal information collection method, it is characterised in that the abnormal information collection method includes:
The abnormal information that parameter is collected with newest abnormal information that server receive user sends for an application program 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 by the client institute It is that the newest abnormal information collects parameter to state application program and current abnormal information is collected into parameter adjustment, and based on described Newest abnormal information is collected parameter collection and is obtained.
2. abnormal information collection method as claimed in claim 1, it is characterised in that the abnormal information collection method is also wrapped Include:
The server is in real time or timing detects network bandwidth occupancy, and according to predetermined network bandwidth occupancy model The mapping relations that frequency is reported with abnormal information are enclosed, the corresponding abnormal information of network bandwidth occupancy for determining current detection is reported Frequency;
The abnormal information that the abnormal information that the server analysis determine reports frequency current with the application program reports the frequency to be It is no consistent;
If it is determined that the abnormal information abnormal information that reports frequency current with the application program report frequency inconsistent, then clothes The abnormal information of determination is reported frequency to be sent to the client for being provided with the application program by business device, for should answering for the client With program based on a determination that abnormal information report frequency to report abnormal information.
3. abnormal information collection method as claimed in claim 1 or 2, it is characterised in that the abnormal information collects parameter bag Include abnormal information type and/or acquisition time to be collected.
4. a kind of abnormal information collection method, it is characterised in that the abnormal information collection method includes:
The abnormal information that parameter is collected with newest abnormal information that server receive user sends for an application program Adjust request, collects the newest abnormal information parameter abnormal information collection parameter current with the application program and is compared It is right, collect the exception that the relatively described current abnormal information collection parameter of parameter lacks to compare out the newest abnormal information Information parameter and/or the abnormal information of increase collect parameter;
The server sends the deletion instruction that the abnormal information for lacking collects parameter to the client for being provided with the application program And/or increased abnormal information collects the newly-increased instruction of parameter, for the client the application response described in delete and refer to Make and/or newly-increased instruction, the abnormal information for lacking is deleted in current abnormal information collects parameter and is collected parameter and/or is increased newly The abnormal information of increase collects parameter, and reports abnormal letter to the server based on the abnormal information collection parameter after adjustment Breath.
5. abnormal information collection method as claimed in claim 4, it is characterised in that the abnormal information collection method is also wrapped Include:
The server is in real time or timing detects network bandwidth occupancy, and according to predetermined network bandwidth occupancy model The mapping relations that frequency is reported with abnormal information are enclosed, the corresponding abnormal information of network bandwidth occupancy for determining current detection is reported Frequency;
The abnormal information that the abnormal information that the server analysis determine reports frequency current with the application program reports the frequency to be It is no consistent;
If it is determined that the abnormal information abnormal information that reports frequency current with the application program report frequency inconsistent, then clothes The abnormal information of determination is reported frequency to be sent to the client for being provided with the application program by business device, for should answering for the client With program based on a determination that abnormal information report frequency to report abnormal information.
6. a kind of server, it is characterised in that the server includes:
First receiver module, parameter is collected for receive user for what an application program sent with newest abnormal information Abnormal information adjust request;
First sending module, for the newest abnormal information to be collected into parameter the client for being provided with the application program is sent to End;
First receiver module is additionally operable to receive 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.
7. server as claimed in claim 6, it is characterised in that the server also includes:
First determining module, for detecting network bandwidth occupancy in real time or regularly, and according to the predetermined network bandwidth Occupancy scope reports the mapping relations of frequency with abnormal information, determines the corresponding exception of network bandwidth occupancy of current detection Information reporting frequency;
First analysis module, the abnormal information that the abnormal information determined for analysis reports frequency current with the application program is reported Whether frequency is consistent;
First sending module be additionally operable to if it is determined that abnormal information report frequency and the current abnormal information of the application program Report frequency inconsistent, then report frequency to be sent to the client for being provided with the application program abnormal information of determination, for The application program of the client based on a determination that abnormal information report frequency to report abnormal information.
8. server as claimed in claims 6 or 7, it is characterised in that the abnormal information collect parameter include it is to be collected Abnormal information type and/or acquisition time.
9. a kind of server, it is characterised in that the server includes:
Second receiver module, parameter is collected for receive user for what an application program sent with newest abnormal information Abnormal information adjust request;
Comparing module, for the newest abnormal information to be collected into the parameter abnormal information current with the application program ginseng is collected Number is compared, and is lacked with comparing out the relatively described current abnormal information collection parameter of the newest abnormal information collection parameter Few abnormal information 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 deleting for parameter is collected Except instruction and/or increase abnormal information collect parameter newly-increased instruction, for the client the application response described in Delete 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 reported to the server based on the abnormal information collection parameter after adjustment different Normal information.
10. server as claimed in claim 9, it is characterised in that the server also includes:
Second determining module, for detecting network bandwidth occupancy in real time or regularly, and according to the predetermined network bandwidth Occupancy scope reports the mapping relations of frequency with abnormal information, determines the corresponding exception of network bandwidth occupancy of current detection Information reporting frequency;
Second analysis module, the abnormal information that the abnormal information determined for analysis reports frequency current with the application program is reported Whether frequency is consistent;
Second sending module be additionally operable to if it is determined that abnormal information report frequency and the current abnormal information of the application program Report frequency inconsistent, then report frequency to be sent to the client for being provided with the application program abnormal information of determination, for The application program of the client based on a determination that abnormal information report frequency to report abnormal information.
CN201611057228.XA 2016-11-26 2016-11-26 Abnormal information collection method and server Active CN106648927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611057228.XA CN106648927B (en) 2016-11-26 2016-11-26 Abnormal information collection method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611057228.XA CN106648927B (en) 2016-11-26 2016-11-26 Abnormal information collection method and server

Publications (2)

Publication Number Publication Date
CN106648927A true CN106648927A (en) 2017-05-10
CN106648927B CN106648927B (en) 2018-02-27

Family

ID=58812619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611057228.XA Active CN106648927B (en) 2016-11-26 2016-11-26 Abnormal information collection method and server

Country Status (1)

Country Link
CN (1) CN106648927B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645666A (en) * 2017-09-01 2018-01-30 广州酷狗计算机科技有限公司 Method of data capture, device and readable storage medium storing program for executing
CN109060969A (en) * 2018-06-04 2018-12-21 南京铁道职业技术学院 A kind of environmental gas detection system and method
CN109142556A (en) * 2018-06-04 2019-01-04 南京铁道职业技术学院 A kind of gas monitoring apparatus and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078945A (en) * 2013-01-07 2013-05-01 北京奇虎科技有限公司 Method and system for processing browser crash data
CN104809030A (en) * 2015-05-19 2015-07-29 上海斐讯数据通信技术有限公司 Android-based exception handling system and method
CN105429956A (en) * 2015-11-02 2016-03-23 重庆大学 Malicious software detection system based on P2P dynamic cloud and malicious software detection method
CN105446829A (en) * 2015-09-29 2016-03-30 网易(杭州)网络有限公司 Client program repair method, device and system and server
CN105955862A (en) * 2016-04-15 2016-09-21 乐视控股(北京)有限公司 Abnormal problem monitoring positioning method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078945A (en) * 2013-01-07 2013-05-01 北京奇虎科技有限公司 Method and system for processing browser crash data
CN104809030A (en) * 2015-05-19 2015-07-29 上海斐讯数据通信技术有限公司 Android-based exception handling system and method
CN105446829A (en) * 2015-09-29 2016-03-30 网易(杭州)网络有限公司 Client program repair method, device and system and server
CN105429956A (en) * 2015-11-02 2016-03-23 重庆大学 Malicious software detection system based on P2P dynamic cloud and malicious software detection method
CN105955862A (en) * 2016-04-15 2016-09-21 乐视控股(北京)有限公司 Abnormal problem monitoring positioning method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645666A (en) * 2017-09-01 2018-01-30 广州酷狗计算机科技有限公司 Method of data capture, device and readable storage medium storing program for executing
CN107645666B (en) * 2017-09-01 2019-10-25 广州酷狗计算机科技有限公司 Method of data capture, device and readable storage medium storing program for executing
CN109060969A (en) * 2018-06-04 2018-12-21 南京铁道职业技术学院 A kind of environmental gas detection system and method
CN109142556A (en) * 2018-06-04 2019-01-04 南京铁道职业技术学院 A kind of gas monitoring apparatus and method

Also Published As

Publication number Publication date
CN106648927B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
US7707031B2 (en) Large scale measurement of subjective quality in mobile communications systems
CN109347989B (en) Meter design method, device and system design method based on NB-IoT (network B-IoT) Internet of things
EP1859638B1 (en) Apparatus and methods for product acceptance testing on a wireless device
CN101252760B (en) Same frequency measuring case evaluating method
CN106648927B (en) Abnormal information collection method and server
US20120035904A1 (en) Apparatus and methods for product acceptance testing on a wireless device
CN105868040A (en) Log collection method and collection terminal
CN101189895A (en) Abnormality detecting method and system, and upkeep method and system
CN104067652B (en) It is related to radio link failure information to minimize drive test data
CN106899682B (en) Method and platform for processing complaint reports based on call center
JP4990314B2 (en) Pseudo base station equipment
CN107517239A (en) Data transmission method and device
CN108476423A (en) Use the dynamic user experience quality contextual analysis of equipment
CN109769305A (en) Method, base station, electronic equipment and the storage medium of dispatch deal
CN106992894A (en) A kind of mobile Internet business perception analysis test system
CN104301916B (en) Test optimization method, apparatus and system based on mobile intelligent terminal universal card
US20070004399A1 (en) Quality assessment for telecommunications network
US20210058303A1 (en) Data Collection for the Evaluation of the Quality of Experience of a Service Over a Communications Network
CN106354577A (en) Crash information storage method and system
CN109995830B (en) Session management system of LTE network
WO2008079515A1 (en) Method and apparatus for error recovery in cognitive radio systems
CN114710801B (en) Processing method and device of evaluation parameters of network performance, storage medium and equipment
CN110138803A (en) A kind of method and Visualization Platform of network behavior data
CN114827951A (en) Vehicle network quality analysis method and system based on vehicle terminal and storage medium
CN116647845A (en) Method and device for mining security holes of air interface protocol and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200030 Shanghai City Kai Xuhui District No. 166, 9 layers and 10 layers

Applicant after: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

Address before: 200135 Pudong, Pudong New Area, China (Shanghai) free trade zone, No. 2250 South Road, Shanghai, building 2, room D121

Applicant before: Shanghai one track Internet Technology Co.,Ltd.

Address after: 200135 Pudong, Pudong New Area, China (Shanghai) free trade zone, No. 2250 South Road, Shanghai, building 2, room D121

Applicant after: Shanghai one track Internet Technology Co.,Ltd.

Address before: 200135 Pudong, Pudong New Area, China (Shanghai) free trade zone, No. 2250 South Road, Shanghai, building 2, room D121

Applicant before: SHANGHAI YIZHANGTONG INTERNET TECHNOLOGY CO.,LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180601

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee after: Shenzhen one ledger science and Technology Service Co.,Ltd.

Address before: 200030 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level.

Patentee before: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)