WO2017107438A1 - 一种控制崩溃数据上报的方法、服务器及客户端 - Google Patents

一种控制崩溃数据上报的方法、服务器及客户端 Download PDF

Info

Publication number
WO2017107438A1
WO2017107438A1 PCT/CN2016/088445 CN2016088445W WO2017107438A1 WO 2017107438 A1 WO2017107438 A1 WO 2017107438A1 CN 2016088445 W CN2016088445 W CN 2016088445W WO 2017107438 A1 WO2017107438 A1 WO 2017107438A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data filtering
list
crash
filtering list
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.)
Ceased
Application number
PCT/CN2016/088445
Other languages
English (en)
French (fr)
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.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin 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 Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Priority to US15/243,112 priority Critical patent/US20170185471A1/en
Publication of WO2017107438A1 publication Critical patent/WO2017107438A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/062Generation of reports related to network traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL

Definitions

  • the present invention relates to the field of data uploading technology in the field of communications, and in particular, to a method, a server and a client for controlling crash data reporting.
  • Cell phone crash refers to the phenomenon that the operating system on the mobile phone and the APP on the mobile phone are abnormal during operation, causing the APP or the system to be temporarily unavailable or automatically restarted.
  • the mobile phone manufacturer will periodically release a new version of the mobile operating system.
  • the actual operation of the new system after the release is to collect and count the crash data to the server.
  • a lot of useless or unnecessary crash data floods the server crash database, which has adversely affected the crash data statistics of the server. How to control the crash data reporting becomes a lot of mobile phones.
  • crash data report blacklist in the mobile operating system, and the crash data type in the blacklist cannot be reported. Since the crash data reporting requirements will be slightly different with the version, and the crash data reporting requirements of the same version will change over time, the built-in crash data reporting blacklist in the mobile operating system cannot adapt to both. happening.
  • the present invention is to overcome the shortcomings of the existing method for controlling the reported crash data, and according to an aspect of the present invention, a method for controlling the reporting of crash data is proposed.
  • the control parameters include system version information and applications.
  • the method further includes:
  • Configure one or more data filtering lists according to different control parameters generate a data filtering list including one or more data filtering lists, and send the data filtering list to the client.
  • the data filtering list is used to filter the crash data that simultaneously matches the plurality of parameters in the control parameter;
  • the data filtering list is used to separately filter the crash data that matches each of the control parameters in the control parameters.
  • the embodiment of the present invention further provides a method for controlling crash data reporting, including:
  • crash data filtered by the data filtering list is reported to the server.
  • the method further includes:
  • the data filtering list is sent by the server, and the data filtering list includes one or more data filtering lists configured according to different control parameters.
  • the crash data is filtered according to the data filtering list, including:
  • the crash data matching each control parameter in the control parameter is separately filtered.
  • an embodiment of the present invention further provides a method for controlling crash data reporting.
  • Server including:
  • the configuration module is configured to configure a data filtering list according to the control parameter, where the control parameter includes one or more of system version information, an application name, and an error type; the data filtering list is a data filtering blacklist or a data filtering whitelist;
  • the sending module is configured to send the data filtering list to the client, and instruct the client to filter the crash data according to the data filtering list;
  • the receiving module is configured to receive the crash data filtered by the data filtering list reported by the client.
  • the method further includes:
  • the configuration list module is configured to configure one or more data filtering lists according to different control parameters, generate a data filtering list including one or more data filtering lists, and send the data filtering list to the client.
  • the data filtering list is used to filter the crash data that simultaneously matches the plurality of parameters in the control parameter;
  • the data filtering list is used to separately filter the crash data that matches each of the control parameters in the control parameters.
  • the embodiment of the present invention further provides a client for controlling crash data reporting, including:
  • the obtaining module is configured to obtain a data filtering list that is sent by the server and configured according to the control parameter, where the control parameter includes one or more of system version information, an application name, and an error type; the data filtering list is a data filtering blacklist or data. Filter whitelists;
  • a filtering module for filtering crash data according to a data filtering list
  • the reporting module is used to report the crash data filtered by the data filtering list to the server.
  • the method further includes:
  • the obtaining list module is configured to receive a data filtering list that is sent by the server, where the data filtering list includes one or more data filtering lists configured according to different control parameters.
  • the filtering module is specifically configured to:
  • a method server and a client for controlling crash data reporting are provided in an embodiment of the present invention, and the method may be applied to a server side or a client side.
  • the data configuration list is configured by the server, and the control of the crash data report is transferred to the server side; the client can determine the current crash data report request according to the data filter list, thereby reporting the crash data more in line with the server requirement, and can be applied to the system.
  • the server side configures a data filtering list according to a control parameter that can include multiple parameters, and the data filtering list can be used to filter the crash data that simultaneously matches multiple parameters in the control parameter, or the data filtering list is used to separately filter and control parameters.
  • Each of the control parameters matches the crash data, so that the data filtering list can be properly configured according to actual needs, which can meet various filtering requirements.
  • FIG. 1 is a flowchart of a method for reporting crash data reporting by a server side according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for client side control crash data reporting according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for controlling crash data reporting according to Embodiment 1 of the present invention.
  • FIG. 4 is a first structural diagram of a server for controlling crash data reporting according to an embodiment of the present invention
  • FIG. 5 is a second structural diagram of a server for controlling crash data reporting according to an embodiment of the present invention.
  • FIG. 6 is a first structural diagram of a client for controlling crash data reporting according to an embodiment of the present invention.
  • FIG. 7 is a second structural diagram of a client for controlling crash data reporting according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a server for controlling crash data reporting according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a client for controlling crash data reporting according to an embodiment of the present invention.
  • a method for controlling crash data reporting is provided, which is applied to a server.
  • the steps 101-103 are included:
  • Step 101 Configure a data filtering list according to the control parameter, where the control parameter includes one or more of system version information, an application name, and an error type; the data filtering list is a data filtering blacklist or a data filtering whitelist.
  • control parameter is a parameter for configuring a data filtering list, and specifically includes multiple parameters, for example, the control parameter includes one or more of system version information, an application name, and an error type.
  • the version information of the system is specifically a system version number, such as V2.0 or V3.1.1;
  • the application name is specifically a name of an application;
  • the error type is specifically one of a preset type, or the error The type is specific to an error code.
  • the data filtering list is used to filter the crash data.
  • the data filtering list is a data filtering blacklist or a data filtering whitelist.
  • Step 102 The data filtering list is sent to the client, and the client is instructed to filter the crash data according to the data filtering list.
  • Step 103 Receive crash data filtered by the data filtering list reported by the client.
  • the data filtering list is configured by the server, and the client can determine the current crash data reporting requirement according to the data filtering list, thereby reporting the crash data more in line with the server requirement.
  • the server side can configure system version information, application name, and error type.
  • the attributes of the dimensions can be separately controlled for the system version number, the application name and the error type for the crash data report, or the three can be combined for comprehensive control.
  • the data filtering list is used as the data filtering blacklist.
  • the data filtering blacklist is configured according to the system version information
  • all the crash data matching the system version information is not reported; for example, the system version information is the version number.
  • Android V2.0 the system version number of a mobile phone is also the version number Android V2.0, then all crash data of the mobile phone is not reported.
  • the data filtering blacklist is configured according to the application name
  • all the crash data matching the application name is not reported; for example, the application name is "A Sports News", then the "A Sports News” application in the client Crash data does not need to be reported.
  • the data filtering blacklist is configured according to the error type, all crash data matching the error type is not reported.
  • the data filtering list is used to filter the crash data that satisfies multiple control parameters at the same time.
  • the data filtering list is used to filter the crash data that satisfies each control parameter separately.
  • the data filtering list can be used to filter crash data that simultaneously matches multiple parameters in the control parameters.
  • the data filtering list when used as the data filtering blacklist, when the data filtering blacklist is configured according to the system version information and the application name, the crash data matching the system version information and the application name is filtered at the same time.
  • the system version information is the version number Android V2.0 and the application name is “A Sports News”
  • the crash data generated by “A Sports News” under the system version number needs to be filtered, that is, other applications under the system version number.
  • the crash data also needs to be reported to the server (crash data that matches the system version information and the intersection of the application as the crash data that needs to be filtered eventually).
  • the data filtering list is used to separately filter the crash data that matches each of the control parameters in the control parameters.
  • the data filtering list is used as the data filtering blacklist, when the data filtering blacklist is configured according to the system version information and the application name, the crash data matching the system version information is filtered, and the application needs to be The crash data with the matching name is filtered.
  • the two data filtering blacklists are generated according to the system version information and the application name respectively, and the principle of filtering the crash data by using two data filtering blacklists respectively is the same.
  • the system version information is the version number Android V2.0, and the application name is “A Sports News”, and all the clients whose system version number is Android V2.0 do not need to report the crash data.
  • the crash data generated by the "A Sports News" application in other system version numbers also needs to be filtered (that is, the crash data corresponding to the system version information and the application-compliant union is used as the crash data that needs to be filtered last).
  • the method further includes: configuring one or more data filtering lists according to different control parameters, generating a data filtering list list including one or more data filtering lists, and sending the data filtering list to the client.
  • the data filtering list list is set because it is necessary to filter the crash data of multiple system version numbers or filter the crash data required by multiple applications.
  • the data filtering list includes one or more data filtering lists as described above.
  • the first data filtering blacklist is configured for the Android V2.0 according to the system version information
  • the second data filtering blacklist is configured for the Android V3.0 according to the system version information, and the two data filtering blacklists are added. Go to the list of data filtering lists.
  • the client receives the data filtering list, if the system version number of the client is Android V2.0 or Android V3.0, all the crash data is filtered, that is, the crash data is not reported.
  • the method for controlling the reporting of the crash data is provided by the server in the embodiment of the present invention.
  • the server configures the data filtering list, and transfers the control right of the crash data report to the server side; the client can determine the current crash data reporting request according to the data filtering list. In order to report crash data that is more in line with server requirements.
  • the server side configures a data filtering list according to a control parameter that can include multiple parameters, and the data filtering list can be used to filter the crash data that simultaneously matches multiple parameters in the control parameter, or the data filtering list is used to separately filter and control parameters.
  • Each of the control parameters matches the crash data, so that the data filtering list can be properly configured according to actual needs, which can meet various filtering requirements.
  • the embodiment of the present invention further provides a method for controlling crash data reporting applied to the client side.
  • the method includes steps 201-203:
  • Step 201 Obtain a data filtering list that is sent by the server and configured according to the control parameter, where the control parameter includes one or more of system version information, an application name, and an error type; the data filtering list is a data filtering blacklist or data filtering white. List.
  • Step 202 Filter the crash data according to the data filtering list.
  • Step 203 Report the crash data filtered by the data filtering list to the server.
  • the client generates various crash data during the running process.
  • the data filtering list is configured by the server, and the client can determine the current crash data reporting requirement according to the data filtering list, thereby reporting the crash data that is more in line with the server requirements.
  • the method further includes:
  • the data filtering list is sent by the server, and the data filtering list includes one or more data filtering lists configured according to different control parameters.
  • step 202 filters the crash data according to the data filtering list, and specifically includes:
  • the crash data matching each control parameter in the control parameter is separately filtered.
  • control parameter includes two parameters: system version information and an application name; and the data filtering list is used to filter the crash data that simultaneously matches the above two parameters in the control parameter.
  • the method specifically includes steps 301-308:
  • Step 301 The server configures a data filtering blacklist according to the control parameter.
  • the control parameter includes system version information and an application name. That is, the server configures the data filtering blacklist according to the system version information and the application name.
  • Step 302 Send the data filtering blacklist to the client.
  • Step 303 The client obtains the data filtering blacklist delivered by the server and saves the blacklist to the local disk.
  • Step 304 Determine whether the local crash data matches the data filtering blacklist. When the crash data matches the data filtering blacklist, proceed to step 305, otherwise proceed to step 306.
  • the data filtering blacklist is used to filter the crash data that matches the multiple parameters in the control parameter, that is, to filter out the crash data that matches both the system version information and the application name. Only if the crash data matches both the system version information and the application name is the data filtering blacklist.
  • Step 305 Filter out the crash data that matches the data filtering blacklist.
  • filtering out the crash data is not deleting the crash data, the crash data It is still stored on the client's disk, but it is not necessary to report the crash data in this process.
  • Step 306 Retain the crash data that does not match the data filtering blacklist.
  • Step 307 Report the retained crash data to the server.
  • Step 308 The server receives the crash data reported by the client, and performs fault statistics according to the crash data.
  • a method for controlling crash data reporting is provided on the server side or the client side.
  • the data filtering list is configured by the server, and the control of the crash data reporting is transferred to the server side; the client can determine the current crash data reporting requirement according to the data filtering list, thereby reporting the crash data more in line with the server requirements.
  • the server side configures a data filtering list according to a control parameter that can include multiple parameters, and the data filtering list can be used to filter the crash data that simultaneously matches multiple parameters in the control parameter, or the data filtering list is used to separately filter and control parameters.
  • Each of the control parameters matches the crash data, so that the data filtering list can be properly configured according to actual needs, which can meet various filtering requirements.
  • the method flow for controlling the reporting of crash data is described in detail above.
  • the method can also be implemented by a corresponding device.
  • the structure and function of the device are described in detail below.
  • a server for controlling crash data reporting according to an embodiment of the present invention, as shown in FIG. 4, includes:
  • the configuration module 41 is configured to configure a data filtering list according to the control parameter, where the control parameter includes one or more of system version information, an application name, and an error type; the data filtering list is a data filtering blacklist or a data filtering whitelist;
  • the sending module 42 is configured to send the data filtering list to the client, and instruct the client to filter the crash data according to the data filtering list.
  • the receiving module 43 is configured to receive the crash data filtered by the data filtering list reported by the client.
  • the server further includes:
  • the configuration list module 44 is configured to configure one or more data filtering lists according to different control parameters, generate a data filtering list list including one or more data filtering lists, and deliver the data filtering list to the client.
  • the data filtering list is used for filtering simultaneously Controls crash data that matches multiple parameters in a parameter
  • the data filtering list is used to separately filter the crash data that matches each of the control parameters in the control parameters.
  • the embodiment of the present invention further provides a client for controlling crash data reporting.
  • the method includes:
  • the obtaining module 61 is configured to obtain a data filtering list that is sent by the server and configured according to the control parameter, where the control parameter includes one or more of system version information, an application name, and an error type; the data filtering list is a data filtering blacklist or Data filtering whitelist;
  • a filtering module 62 configured to filter the crash data according to the data filtering list
  • the reporting module 63 is configured to report the crash data filtered by the data filtering list to the server.
  • the client further includes:
  • the obtaining list module 64 is configured to receive a data filtering list that is sent by the server, where the data filtering list includes one or more data filtering lists configured according to different control parameters.
  • the filtering module 62 is specifically configured to:
  • the crash data matching each control parameter in the control parameter is separately filtered.
  • a method server and a client for controlling crash data reporting are provided in an embodiment of the present invention, and the method may be applied to a server side or a client side.
  • the data configuration list is configured by the server, and the control of the crash data report is transferred to the server side; the client can determine the current crash data report request according to the data filter list, thereby reporting the crash data more in line with the server requirement, and can be applied to the system.
  • the server side configures a data filtering list according to a control parameter that can include multiple parameters, and the data filtering list can be used to filter the crash data that simultaneously matches multiple parameters in the control parameter, or the data filtering list is used to separately filter and control parameters.
  • Each of the control parameters matches the crash data, so that the data filtering list can be properly configured according to actual needs, which can meet various filtering requirements.
  • FIG. 8 is a block diagram showing the structure of a server for controlling crash data reporting according to an embodiment of the present invention.
  • the server 1100 may be a host server and a personal computer with computing capabilities. PC, or portable computer or terminal that can be carried.
  • the specific embodiments of the present invention do not limit the specific implementation of the computing node.
  • the server 1100 includes a processor 1110, a communications interface 1120, a memory array 1130, and a bus 1140.
  • the processor 1110, the communication interface 1120, and the memory 1130 complete communication with each other through the bus 1140.
  • the communication interface 1120 is configured to communicate with a network element, where the network element includes, for example, a virtual machine management center, shared storage, and the like.
  • the processor 1110 is configured to execute a program.
  • the processor 1110 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
  • ASIC Application Specific Integrated Circuit
  • the memory 1130 is used to store files.
  • the memory 1130 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • Memory 1130 can also be a memory array.
  • the memory 1130 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
  • the above program may be program code including computer operating instructions. This program can be used to:
  • a method of controlling crash data reporting comprising:
  • the data filtering list is configured according to the control parameter, and the control parameter includes one or more of system version information, application name, and error type; the data filtering list is a data filtering blacklist or a data filtering whitelist;
  • the method further includes:
  • Configure one or more data filtering lists according to different control parameters generate a data filtering list including one or more data filtering lists, and send the data filtering list to the client.
  • the data filtering list is used for Filtering crash data that also matches multiple parameters in the control parameters
  • the data filtering list is used to separately filter the crash data that matches each of the control parameters in the control parameters.
  • FIG. 9 is a block diagram showing the structure of a client for controlling crash data reporting according to an embodiment of the present invention.
  • the client 2200 can be a host client with computing power, a personal computer PC, or a portable computer or terminal that can be carried.
  • the specific embodiments of the present invention do not limit the specific implementation of the computing node.
  • the client 2200 includes a processor 2210, a communications interface 2220, a memory array 2230, and a bus 2240.
  • the processor 2210, the communication interface 2220, and the memory 2230 complete communication with each other through the bus 2240.
  • the communication interface 2220 is for communicating with a network element, wherein the network element includes, for example, a virtual machine management center, shared storage, and the like.
  • the processor 2210 is for executing a program.
  • the processor 2210 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • ASIC Application Specific Integrated Circuit
  • the memory 2230 is for storing files.
  • the memory 2230 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • Memory 2230 can also be a memory array.
  • the memory 2230 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
  • the above program may be program code including computer operating instructions. This program can be used to:
  • a method of controlling crash data reporting comprising:
  • crash data filtered by the data filtering list is reported to the server.
  • the method further includes:
  • the data filtering list is sent by the server, and the data filtering list includes one or more data filtering lists configured according to different control parameters.
  • the crash data is filtered according to the data filtering list, including:
  • the crash data matching each control parameter in the control parameter is separately filtered.
  • the present invention can be embodied in a variety of different forms.
  • the technical solutions of the present invention are exemplified with reference to the accompanying drawings in FIG. 1 to FIG. 9 , which does not mean that the specific examples applied to the present invention can be limited to In a particular process or embodiment structure, one of ordinary skill in the art will appreciate that the specific embodiments provided above are only a few examples of various preferred uses, and any embodiment embodying the claims of the present invention should be in the present invention. Within the scope of the technical solution.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种控制崩溃数据上报的方法、服务器及客户端,其中,该方法包括:根据控制参数配置数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;将数据过滤名单下发至客户端,指示客户端根据数据过滤名单过滤崩溃数据;接收客户端上报的经过数据过滤名单过滤的崩溃数据。该方法由服务器配置数据过滤名单,客户端根据该数据过滤名单即可以确定当前崩溃数据上报的要求,从而上报更加符合服务器需求的崩溃数据,可以适用于系统版本更迭的情况。

Description

一种控制崩溃数据上报的方法、服务器及客户端
本申请要求在2015年12月25日提交中国专利局、申请号为201511004734.8、发明名称为“一种控制崩溃数据上报的方法、服务器及客户端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域中数据上传技术领域,具体地,涉及一种控制崩溃数据上报的方法、服务器及客户端。
背景技术
手机崩溃是指手机上的操作系统以及手机上的APP在运行过程中发生异常导致APP或系统出现暂时不可用或自动重启的现象。
为了增强用户体验和修改原版本的缺陷,手机厂商都会定期发布新的手机操作系统版本,新系统在发布后实际运行的情况就是通过向服务端上报崩溃数据来进行收集和统计的。随着版本的增加以及崩溃数据量的持续增加,很多无用的或不需要的崩溃数据大量充斥服务端崩溃数据库,给服务端的崩溃数据统计带来了不利影响,如何控制崩溃数据的上报成为很多手机厂商面临的共同问题。
目前业务内通用的做法,是在手机操作系统中内置崩溃数据上报黑名单,在黑名单里的崩溃数据类型不能上报。由于崩溃数据上报要求随着版本的不同会有略微不同,且同一版本的崩溃数据上报要求随着时间的推移也会改变,所以在手机操作系统中内置崩溃数据上报黑名单就无法适应这两者情况。
发明内容
本发明是为了克服现有控制上报崩溃数据的方法不能适应系统版本更迭的缺陷,根据本发明的一个方面,提出一种控制崩溃数据上报的方法。
本发明实施例提供的一种控制崩溃数据上报的方法,包括:
根据控制参数配置数据过滤名单,控制参数包括系统版本信息、应用 名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
将数据过滤名单下发至客户端,指示客户端根据数据过滤名单过滤崩溃数据;
接收客户端上报的经过数据过滤名单过滤的崩溃数据。
在上述技术方案中,还包括:
根据不同的控制参数配置一个或多个数据过滤名单,生成包含一个或多个数据过滤名单的数据过滤名单列表,并将数据过滤名单列表下发至客户端。
在上述技术方案中,在控制参数包括多项参数时,数据过滤名单用于过滤同时与控制参数中多项参数相匹配的崩溃数据;或
数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
基于同样的发明构思,本发明实施例还提供一种控制崩溃数据上报的方法,包括:
获取服务器下发的、根据控制参数配置的数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
根据数据过滤名单过滤崩溃数据;
将经过数据过滤名单过滤的崩溃数据上报至服务器。
在上述技术方案中,还包括:
接收服务器下发的数据过滤名单列表,数据过滤名单列表包含一个或多个根据不同的控制参数配置的数据过滤名单。
在上述技术方案中,在控制参数包括多项参数时,根据数据过滤名单过滤崩溃数据,包括:
根据数据过滤名单过滤同时与控制参数中多项参数相匹配的崩溃数据;或
根据数据过滤名单分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
基于同样的发明构思,本发明实施例还提供一种控制崩溃数据上报的 服务器,包括:
配置模块,用于根据控制参数配置数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
下发模块,用于将数据过滤名单下发至客户端,指示客户端根据数据过滤名单过滤崩溃数据;
接收模块,用于接收客户端上报的经过数据过滤名单过滤的崩溃数据。
在上述技术方案中,还包括:
配置列表模块,用于根据不同的控制参数配置一个或多个数据过滤名单,生成包含一个或多个数据过滤名单的数据过滤名单列表,并将数据过滤名单列表下发至客户端。
在上述技术方案中,在控制参数包括多项参数时,数据过滤名单用于过滤同时与控制参数中多项参数相匹配的崩溃数据;或
数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
基于同样的发明构思,本发明实施例还提供一种控制崩溃数据上报的客户端,包括:
获取模块,用于获取服务器下发的、根据控制参数配置的数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
过滤模块,用于根据数据过滤名单过滤崩溃数据;
上报模块,用于将经过数据过滤名单过滤的崩溃数据上报至服务器。
在上述技术方案中,还包括:
获取列表模块,用于接收服务器下发的数据过滤名单列表,数据过滤名单列表包含一个或多个根据不同的控制参数配置的数据过滤名单。
在上述技术方案中,在控制参数包括多项参数时,过滤模块具体用于:
根据数据过滤名单过滤同时与控制参数中多项参数相匹配的崩溃数据;或
根据数据过滤名单分别过滤与控制参数中每一项控制参数相匹配的 崩溃数据。
本发明实施例提供的一种控制崩溃数据上报的方法服务器及客户端,该方法可以应用于服务器侧或客户端侧。由服务器配置数据过滤名单,即将崩溃数据上报的控制权转移至服务器侧;客户端根据该数据过滤名单即可以确定当前崩溃数据上报的要求,从而上报更加符合服务器需求的崩溃数据,可以适用于系统版本更迭的情况。同时,服务器侧根据可以包含多项参数的控制参数配置数据过滤名单,数据过滤名单可以用于过滤同时与控制参数中多项参数相匹配的崩溃数据,或者数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据,从而可以根据实际需求合理配置数据过滤名单,可以满足多种过滤需求。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。
附图说明
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:
图1为本发明实施例中服务器侧控制崩溃数据上报的方法流程图;
图2为本发明实施例中客户端侧控制崩溃数据上报的方法流程图;
图3为本发明实施例一中控制崩溃数据上报的方法流程图;
图4为本发明实施例中控制崩溃数据上报的服务器的第一结构图;
图5为本发明实施例中控制崩溃数据上报的服务器的第二结构图;
图6为本发明实施例中控制崩溃数据上报的客户端的第一结构图;
图7为本发明实施例中控制崩溃数据上报的客户端的第二结构图;
图8为本发明实施例中控制崩溃数据上报的服务器的结构框图;
图9为本发明实施例中控制崩溃数据上报的客户端的结构框图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
根据本发明实施例,提供了一种控制崩溃数据上报的方法,应用于服务器端。参见图1所示,包括步骤101-103:
步骤101:根据控制参数配置数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单。
本发明实施例中,控制参数为用于配置数据过滤名单的参数,具体可以包括多项参数,例如控制参数包括系统版本信息、应用名称和错误类型中的一项或多项。其中,该系统版本信息具体为系统版本号,如V2.0或V3.1.1等;应用名称具体为某一个应用程序的名称;错误类型具体为预先设置的类型中的一种类型,或者该错误类型具体为某一错误代码。
同时,该数据过滤名单用于对崩溃数据进行过滤。具体的,该数据过滤名单为数据过滤黑名单,或者为数据过滤白名单。服务器将数据过滤名单下发至客户端后,当数据过滤名单为数据过滤黑名单时,客户端将崩溃数据中与该数据过滤黑名单相匹配的数据过滤掉,并将其余未过滤掉的数据发送至服务器。当数据过滤名单为数据过滤白名单时,客户端保留崩溃数据中与该数据过滤白名单相匹配的数据,即过滤掉其他不匹配的数据,并将与该数据过滤白名单相匹配的崩溃数据发送至服务器。
步骤102:将数据过滤名单下发至客户端,指示客户端根据数据过滤名单过滤崩溃数据。
步骤103:接收客户端上报的经过数据过滤名单过滤的崩溃数据。
本发明实施例中,由服务器配置数据过滤名单,客户端根据该数据过滤名单即可以确定当前崩溃数据上报的要求,从而上报更加符合服务器需求的崩溃数据。服务器侧可以配置系统版本信息、应用名称和错误类型三 个维度的属性,可分别针对系统版本号、应用名称和错误类型进行崩溃数据上报的单独控制,也可以三者结合在一起进行综合控制。
具体的,以数据过滤名单为数据过滤黑名单为例:当根据系统版本信息配置数据过滤黑名单时,则与该系统版本信息匹配的所有崩溃数据都不上报;例如该系统版本信息为版本号Android V2.0,某手机的系统版本号也为版本号Android V2.0,则该手机的所有崩溃数据均不上报。当根据应用名称配置数据过滤黑名单时,则与该应用名称匹配的所有崩溃数据都不上报;例如该应用名称为“A体育新闻”,则客户端中的关于“A体育新闻”应用程序的崩溃数据均不需要上报。同样的,当根据错误类型配置数据过滤黑名单时,则与该错误类型匹配的所有崩溃数据都不上报。
可选的,本发明实施例中,在控制参数包括多项参数时(即根据控制参数中的多项参数配置数据过滤名单时),数据过滤名单用于过滤同时满足多项控制参数的崩溃数据;或者,数据过滤名单用于分别过滤满足每一项控制参数的崩溃数据。
具体的,数据过滤名单可以用于过滤同时与控制参数中多项参数相匹配的崩溃数据。以数据过滤名单为数据过滤黑名单为例:当根据系统版本信息和应用名称配置数据过滤黑名单时,则将同时与该系统版本信息和应用名称相匹配的崩溃数据进行过滤。例如,系统版本信息为版本号Android V2.0,应用名称为“A体育新闻”,则该系统版本号下“A体育新闻”产生的崩溃数据均需要过滤,即该系统版本号下其他应用程序的崩溃数据还需要上报至服务器(即将符合系统版本信息和符合应用程序的交集的崩溃数据作为最终需要过滤的崩溃数据)。
或者,该数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。仍然以数据过滤名单为数据过滤黑名单为例:当根据系统版本信息和应用名称配置数据过滤黑名单时,则将与该系统版本信息相匹配的崩溃数据进行过滤,同时还需要将与该应用名称相匹配的崩溃数据进行过滤(此时与分别根据系统版本信息和应用名称生成两个数据过滤黑名单,并分别利用两个数据过滤黑名单过滤崩溃数据的原理一样)。具体的,例如,系统版本信息为版本号Android V2.0,应用名称为“A体育新闻”,则所有系统版本号为Android V2.0的客户端均不需要上报崩溃数据, 同时其他系统版本号中“A体育新闻”应用程序产生的崩溃数据也需要过滤(即将符合系统版本信息和符合应用程序的并集的崩溃数据作为最终需要过滤的崩溃数据)。
可选的,该方法还包括:根据不同的控制参数配置一个或多个数据过滤名单,生成包含一个或多个数据过滤名单的数据过滤名单列表,并将数据过滤名单列表下发至客户端。
本发明实施例中,由于需要过滤多个系统版本号的崩溃数据或过滤多个应用程序需的崩溃数据等,所以设置了数据过滤名单列表。具体的,该数据过滤名单列表包含一个或多个如上述的数据过滤名单。例如,根据系统版本信息为Android V2.0配置第一个数据过滤黑名单,同时根据系统版本信息为Android V3.0配置第二个数据过滤黑名单,并将该两个数据过滤黑名单均添加至数据过滤名单列表中。则客户端在接收到该数据过滤名单列表时,若该客户端的系统版本号为Android V2.0或Android V3.0,则过滤所有的崩溃数据,即不上报崩溃数据。
本发明实施例提供的一种控制崩溃数据上报的方法,由服务器配置数据过滤名单,即将崩溃数据上报的控制权转移至服务器侧;客户端根据该数据过滤名单即可以确定当前崩溃数据上报的要求,从而上报更加符合服务器需求的崩溃数据。同时,服务器侧根据可以包含多项参数的控制参数配置数据过滤名单,数据过滤名单可以用于过滤同时与控制参数中多项参数相匹配的崩溃数据,或者数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据,从而可以根据实际需求合理配置数据过滤名单,可以满足多种过滤需求。
基于同样的发明构思,本发明实施例还提供应用于客户端侧的控制崩溃数据上报的方法,参见图2所示,该方法包括步骤201-203:
步骤201:获取服务器下发的、根据控制参数配置的数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单。
步骤202:根据数据过滤名单过滤崩溃数据。
步骤203:将经过数据过滤名单过滤的崩溃数据上报至服务器。
客户端在运行过程中会产生各种各样的崩溃数据,本发明实施例中, 由服务器配置数据过滤名单,客户端根据该数据过滤名单即可以确定当前崩溃数据上报的要求,从而上报更加符合服务器需求的崩溃数据。
可选的,该方法还包括:
接收服务器下发的数据过滤名单列表,数据过滤名单列表包含一个或多个根据不同的控制参数配置的数据过滤名单。
可选的,在控制参数包括多项参数时,步骤202根据数据过滤名单过滤崩溃数据,具体包括:
根据数据过滤名单过滤同时与控制参数中多项参数相匹配的崩溃数据;或
根据数据过滤名单分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
下面通过一个实施例详细介绍该控制崩溃数据上报的方法流程。
实施例一
在实施例一中,控制参数包括两项参数:系统版本信息和应用名称;数据过滤名单用于过滤同时与控制参数中上述两项参数相匹配的崩溃数据。参见图3所示,该方法具体包括步骤301-308:
步骤301:服务器根据控制参数配置数据过滤黑名单。
其中,该控制参数包括系统版本信息和应用名称。即,服务器根据系统版本信息和应用名称配置数据过滤黑名单。
步骤302:将数据过滤黑名单下发至客户端。
步骤303:客户端获取服务器下发的该数据过滤黑名单,并保存至本地磁盘。
步骤304:判断本地的崩溃数据与数据过滤黑名单是否匹配,在崩溃数据与数据过滤黑名单匹配时,继续步骤305,否则继续步骤306。
其中,在步骤304中,数据过滤黑名单用于过滤同时与控制参数中多项参数相匹配的崩溃数据,即过滤掉既与系统版本信息匹配、又与应用名称匹配的崩溃数据。只有该崩溃数据既与系统版本信息匹配、又与应用名称匹配,才是与数据过滤黑名单匹配。
步骤305:过滤掉与数据过滤黑名单匹配的崩溃数据。
在实施例一中,过滤掉该崩溃数据并不是删除崩溃数据,该崩溃数据 仍然存储在客户端的磁盘中,只是本次流程中不需要上报该崩溃数据而已。
步骤306:保留与数据过滤黑名单不匹配的崩溃数据。
步骤307:将保留的崩溃数据上报至服务器。
步骤308:服务器接收客户端上报的崩溃数据,根据该崩溃数据进行故障统计。
本发明实施例提供的一种控制崩溃数据上报的方法,应用于服务器侧或客户端侧。由服务器配置数据过滤名单,即将崩溃数据上报的控制权转移至服务器侧;客户端根据该数据过滤名单即可以确定当前崩溃数据上报的要求,从而上报更加符合服务器需求的崩溃数据。同时,服务器侧根据可以包含多项参数的控制参数配置数据过滤名单,数据过滤名单可以用于过滤同时与控制参数中多项参数相匹配的崩溃数据,或者数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据,从而可以根据实际需求合理配置数据过滤名单,可以满足多种过滤需求。
以上详细介绍了一种控制崩溃数据上报的方法流程,该方法也可以通过相应的装置实现,下面详细介绍该装置的结构和功能。
本发明实施例提供的一种控制崩溃数据上报的服务器,参见图4所示,包括:
配置模块41,用于根据控制参数配置数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
下发模块42,用于将数据过滤名单下发至客户端,指示客户端根据数据过滤名单过滤崩溃数据;
接收模块43,用于接收客户端上报的经过数据过滤名单过滤的崩溃数据。
可选的,参见图5所示,该服务器还包括:
配置列表模块44,用于根据不同的控制参数配置一个或多个数据过滤名单,生成包含一个或多个数据过滤名单的数据过滤名单列表,并将数据过滤名单列表下发至客户端。
可选的,在控制参数包括多项参数时,数据过滤名单用于过滤同时与 控制参数中多项参数相匹配的崩溃数据;或
数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
基于同样的发明构思,本发明实施例还提供一种控制崩溃数据上报的客户端,参见图6所示,包括:
获取模块61,用于获取服务器下发的、根据控制参数配置的数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
过滤模块62,用于根据数据过滤名单过滤崩溃数据;
上报模块63,用于将经过数据过滤名单过滤的崩溃数据上报至服务器。
可选的,参见图7所示,该客户端还包括:
获取列表模块64,用于接收服务器下发的数据过滤名单列表,数据过滤名单列表包含一个或多个根据不同的控制参数配置的数据过滤名单。
可选的,在控制参数包括多项参数时,过滤模块62具体用于:
根据数据过滤名单过滤同时与控制参数中多项参数相匹配的崩溃数据;或
根据数据过滤名单分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
本发明实施例提供的一种控制崩溃数据上报的方法服务器及客户端,该方法可以应用于服务器侧或客户端侧。由服务器配置数据过滤名单,即将崩溃数据上报的控制权转移至服务器侧;客户端根据该数据过滤名单即可以确定当前崩溃数据上报的要求,从而上报更加符合服务器需求的崩溃数据,可以适用于系统版本更迭的情况。同时,服务器侧根据可以包含多项参数的控制参数配置数据过滤名单,数据过滤名单可以用于过滤同时与控制参数中多项参数相匹配的崩溃数据,或者数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据,从而可以根据实际需求合理配置数据过滤名单,可以满足多种过滤需求。
图8示出了根据本发明实施例的一种控制崩溃数据上报的服务器的结构框图。所述服务器1100可以是具备计算能力的主机服务器、个人计算机 PC、或者可携带的便携式计算机或终端等。本发明具体实施例并不对计算节点的具体实现做限定。
该服务器1100包括处理器(processor)1110、通信接口(Communications Interface)1120、存储器(memory array)1130和总线1140。其中,处理器1110、通信接口1120、以及存储器1130通过总线1140完成相互间的通信。
通信接口1120用于与网元通信,其中网元包括例如虚拟机管理中心、共享存储等。
处理器1110用于执行程序。处理器1110可能是一个中央处理器CPU,或者是专用集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。
存储器1130用于存放文件。存储器1130可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1130也可以是存储器阵列。存储器1130还可能被分块,并且所述块可按一定的规则组合成虚拟卷。
在一种可能的实施方式中,上述程序可为包括计算机操作指令的程序代码。该程序具体可用于:
在第一方面,提供一种控制崩溃数据上报的方法,包括:
根据控制参数配置数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
将数据过滤名单下发至客户端,指示客户端根据数据过滤名单过滤崩溃数据;
接收客户端上报的经过数据过滤名单过滤的崩溃数据。
在上述技术方案中,还包括:
根据不同的控制参数配置一个或多个数据过滤名单,生成包含一个或多个数据过滤名单的数据过滤名单列表,并将数据过滤名单列表下发至客户端。
在上述技术方案中,在控制参数包括多项参数时,数据过滤名单用于 过滤同时与控制参数中多项参数相匹配的崩溃数据;或
数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
图9示出了根据本发明实施例的一种控制崩溃数据上报的客户端的结构框图。所述客户端2200可以是具备计算能力的主机客户端、个人计算机PC、或者可携带的便携式计算机或终端等。本发明具体实施例并不对计算节点的具体实现做限定。
该客户端2200包括处理器(processor)2210、通信接口(Communications Interface)2220、存储器(memory array)2230和总线2240。其中,处理器2210、通信接口2220、以及存储器2230通过总线2240完成相互间的通信。
通信接口2220用于与网元通信,其中网元包括例如虚拟机管理中心、共享存储等。
处理器2210用于执行程序。处理器2210可能是一个中央处理器CPU,或者是专用集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。
存储器2230用于存放文件。存储器2230可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器2230也可以是存储器阵列。存储器2230还可能被分块,并且所述块可按一定的规则组合成虚拟卷。
在一种可能的实施方式中,上述程序可为包括计算机操作指令的程序代码。该程序具体可用于:
在第一方面,提供一种控制崩溃数据上报的方法,包括:
获取服务器下发的、根据控制参数配置的数据过滤名单,控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;数据过滤名单为数据过滤黑名单或数据过滤白名单;
根据数据过滤名单过滤崩溃数据;
将经过数据过滤名单过滤的崩溃数据上报至服务器。
在上述技术方案中,还包括:
接收服务器下发的数据过滤名单列表,数据过滤名单列表包含一个或多个根据不同的控制参数配置的数据过滤名单。
在上述技术方案中,在控制参数包括多项参数时,根据数据过滤名单过滤崩溃数据,包括:
根据数据过滤名单过滤同时与控制参数中多项参数相匹配的崩溃数据;或
根据数据过滤名单分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
本发明能有多种不同形式的具体实施方式,上面以图1-图9为例结合附图对本发明的技术方案作举例说明,这并不意味着本发明所应用的具体实例只能局限在特定的流程或实施例结构中,本领域的普通技术人员应当了解,上文所提供的具体实施方案只是多种优选用法中的一些示例,任何体现本发明权利要求的实施方式均应在本发明技术方案所要求保护的范围之内。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修 改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (14)

  1. 一种控制崩溃数据上报的方法,其特征在于,包括:
    根据控制参数配置数据过滤名单,所述控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;所述数据过滤名单为数据过滤黑名单或数据过滤白名单;
    将所述数据过滤名单下发至客户端,指示客户端根据所述数据过滤名单过滤崩溃数据;
    接收客户端上报的经过所述数据过滤名单过滤的崩溃数据。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    根据不同的控制参数配置一个或多个数据过滤名单,生成包含一个或多个数据过滤名单的数据过滤名单列表,并将所述数据过滤名单列表下发至客户端。
  3. 根据权利要求1或2所述的方法,其特征在于,在所述控制参数包括多项参数时,所述数据过滤名单用于过滤同时与控制参数中多项参数相匹配的崩溃数据;或
    所述数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
  4. 一种控制崩溃数据上报的方法,其特征在于,包括:
    获取服务器下发的、根据控制参数配置的数据过滤名单,所述控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;所述数据过滤名单为数据过滤黑名单或数据过滤白名单;
    根据所述数据过滤名单过滤崩溃数据;
    将经过所述数据过滤名单过滤的崩溃数据上报至服务器。
  5. 根据权利要求4所述的方法,其特征在于,还包括:
    接收服务器下发的数据过滤名单列表,所述数据过滤名单列表包含一个或多个根据不同的控制参数配置的数据过滤名单。
  6. 根据权利要求4或5所述的方法,其特征在于,在所述控制参数包括多项参数时,所述根据所述数据过滤名单过滤崩溃数据,包括:
    根据所述数据过滤名单过滤同时与控制参数中多项参数相匹配的崩溃数据;或
    根据所述数据过滤名单分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
  7. 一种控制崩溃数据上报的服务器,其特征在于,包括:
    配置模块,用于根据控制参数配置数据过滤名单,所述控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;所述数据过滤名单为数据过滤黑名单或数据过滤白名单;
    下发模块,用于将所述数据过滤名单下发至客户端,指示客户端根据所述数据过滤名单过滤崩溃数据;
    接收模块,用于接收客户端上报的经过所述数据过滤名单过滤的崩溃数据。
  8. 根据权利要求7所述的服务器,其特征在于,还包括:
    配置列表模块,用于根据不同的控制参数配置一个或多个数据过滤名单,生成包含一个或多个数据过滤名单的数据过滤名单列表,并将所述数据过滤名单列表下发至客户端。
  9. 根据权利要求7或8所述的服务器,其特征在于,在所述控制参数包括多项参数时,所述数据过滤名单用于过滤同时与控制参数中多项参数相匹配的崩溃数据;或
    所述数据过滤名单用于分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
  10. 一种控制崩溃数据上报的客户端,其特征在于,包括:
    获取模块,用于获取服务器下发的、根据控制参数配置的数据过滤名单,所述控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;所述数据过滤名单为数据过滤黑名单或数据过滤白名单;
    过滤模块,用于根据所述数据过滤名单过滤崩溃数据;
    上报模块,用于将经过所述数据过滤名单过滤的崩溃数据上报至服务器。
  11. 根据权利要求10所述的客户端,其特征在于,还包括:
    获取列表模块,用于接收服务器下发的数据过滤名单列表,所述数据过滤名单列表包含一个或多个根据不同的控制参数配置的数据过滤名单。
  12. 根据权利要求10或11所述的客户端,其特征在于,在所述控制 参数包括多项参数时,所述过滤模块具体用于:
    根据所述数据过滤名单过滤同时与控制参数中多项参数相匹配的崩溃数据;或
    根据所述数据过滤名单分别过滤与控制参数中每一项控制参数相匹配的崩溃数据。
  13. 一种控制崩溃数据上报的服务器,其特征在于,包括:存储器、通信接口和处理器;
    所述存储器用于存储程序代码;
    所述处理器读取所述存储器中存储的程序代码,执行:
    根据控制参数配置数据过滤名单,所述控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;所述数据过滤名单为数据过滤黑名单或数据过滤白名单;
    将所述数据过滤名单下发至客户端,指示客户端根据所述数据过滤名单过滤崩溃数据;
    接收客户端上报的经过所述数据过滤名单过滤的崩溃数据。
  14. 一种控制崩溃数据上报的客户端,其特征在于,包括:存储器、通信接口和处理器;
    所述存储器用于存储程序代码;
    所述处理器读取所述存储器中存储的程序代码,执行:
    获取服务器下发的、根据控制参数配置的数据过滤名单,所述控制参数包括系统版本信息、应用名称和错误类型中的一项或多项;所述数据过滤名单为数据过滤黑名单或数据过滤白名单;
    根据所述数据过滤名单过滤崩溃数据;
    将经过所述数据过滤名单过滤的崩溃数据上报至服务器。
PCT/CN2016/088445 2015-12-25 2016-07-04 一种控制崩溃数据上报的方法、服务器及客户端 Ceased WO2017107438A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/243,112 US20170185471A1 (en) 2015-12-25 2016-08-22 Method and Electronic Device for Controlling Reporting of Crash Data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2015110047348 2015-12-25
CN201511004734.8A CN105915365A (zh) 2015-12-25 2015-12-25 一种控制崩溃数据上报的方法、服务器及客户端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/243,112 Continuation US20170185471A1 (en) 2015-12-25 2016-08-22 Method and Electronic Device for Controlling Reporting of Crash Data

Publications (1)

Publication Number Publication Date
WO2017107438A1 true WO2017107438A1 (zh) 2017-06-29

Family

ID=56744258

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088445 Ceased WO2017107438A1 (zh) 2015-12-25 2016-07-04 一种控制崩溃数据上报的方法、服务器及客户端

Country Status (2)

Country Link
CN (1) CN105915365A (zh)
WO (1) WO2017107438A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445632A (zh) * 2018-05-04 2019-11-12 北京京东尚科信息技术有限公司 一种预防客户端崩溃的方法和装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132852B (zh) * 2018-01-08 2022-03-11 有米科技股份有限公司 崩溃异常信息收集的方法、装置、计算机设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351002A (zh) * 2008-07-21 2009-01-21 深圳市高正软件有限公司 一种自动上报软件系统运行异常的系统和方法
CN103312544A (zh) * 2013-06-14 2013-09-18 青岛海信传媒网络技术有限公司 一种控制终端上报日志文件的方法、设备和系统
CN104298526A (zh) * 2014-09-28 2015-01-21 北京畅游天下网络技术有限公司 一种软件更新方法和装置
CN104572318A (zh) * 2013-10-24 2015-04-29 腾讯科技(深圳)有限公司 上报信息获取方法、装置、设备及系统
US20150193296A1 (en) * 2012-07-02 2015-07-09 Tencent Technology (Shenzhen) Company Limited Run-time error repairing method, device and system
CN105827606A (zh) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 终端崩溃数据的处理方法、装置和终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199749A (zh) * 2014-09-17 2014-12-10 百度在线网络技术(北京)有限公司 一种崩溃信息的处理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351002A (zh) * 2008-07-21 2009-01-21 深圳市高正软件有限公司 一种自动上报软件系统运行异常的系统和方法
US20150193296A1 (en) * 2012-07-02 2015-07-09 Tencent Technology (Shenzhen) Company Limited Run-time error repairing method, device and system
CN103312544A (zh) * 2013-06-14 2013-09-18 青岛海信传媒网络技术有限公司 一种控制终端上报日志文件的方法、设备和系统
CN104572318A (zh) * 2013-10-24 2015-04-29 腾讯科技(深圳)有限公司 上报信息获取方法、装置、设备及系统
CN104298526A (zh) * 2014-09-28 2015-01-21 北京畅游天下网络技术有限公司 一种软件更新方法和装置
CN105827606A (zh) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 终端崩溃数据的处理方法、装置和终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445632A (zh) * 2018-05-04 2019-11-12 北京京东尚科信息技术有限公司 一种预防客户端崩溃的方法和装置
CN110445632B (zh) * 2018-05-04 2023-09-01 北京京东尚科信息技术有限公司 一种预防客户端崩溃的方法和装置

Also Published As

Publication number Publication date
CN105915365A (zh) 2016-08-31

Similar Documents

Publication Publication Date Title
KR101871383B1 (ko) 계층적 데이터 구조의 노드 상에서 재귀적 이벤트 리스너를 사용하기 위한 방법 및 시스템
EP3512233B1 (en) Method for managing network slice and management unit
CN103399781B (zh) 云服务器及其虚拟机管理方法
US12399795B2 (en) Large-scale K8S cluster monitoring method, apparatus, device, and readable medium
US12184720B2 (en) Kubernetes cluster load balance handling method and apparatus, and storage medium
CN114442952A (zh) 冷数据的迁移方法、装置、存储介质及电子装置
WO2017107438A1 (zh) 一种控制崩溃数据上报的方法、服务器及客户端
CN110874352B (zh) 数据库管理方法及系统
WO2016074412A1 (zh) 基于网络配置协议进行兼容管理的方法、存储介质及设备
CN101022633A (zh) 一种配置数据恢复方法、系统及装置
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CN106817711A (zh) 配置信息管理方法及装置、操作维护中心或基站
CN118445023A (zh) 一种构建托管kubernetes的方法及装置
CN106169982A (zh) 扩展端口的处理方法、装置及系统
CN109756362B (zh) 一种第三方安全组件的集成处理方法及装置
CN113852919B (zh) 预警消息的生成方法和装置、存储介质及电子装置
CN118488069A (zh) 一种云手机热启动方法和云手机管理平台
CN105827606A (zh) 终端崩溃数据的处理方法、装置和终端
CN103338117B (zh) 一种虚拟交换机的管理方法、设备及系统
WO2022134918A1 (zh) 虚拟机属性变更方法和装置、存储介质和电子装置
CN113259975A (zh) 网络游戏连接方法、电子设备和计算机可读介质
CN110113177B (zh) NFV系统license的管理方法、装置和计算机可读存储介质
CN113703789A (zh) 部署微服务程序的方法、装置以及存储介质
CN109660544A (zh) 网络安全审查方法及装置
WO2021057150A1 (zh) 端口共享方法及装置、存储介质、电子装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877251

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877251

Country of ref document: EP

Kind code of ref document: A1