CN104506658A - Early-warning method and system for collapse of application program - Google Patents

Early-warning method and system for collapse of application program Download PDF

Info

Publication number
CN104506658A
CN104506658A CN201510016117.3A CN201510016117A CN104506658A CN 104506658 A CN104506658 A CN 104506658A CN 201510016117 A CN201510016117 A CN 201510016117A CN 104506658 A CN104506658 A CN 104506658A
Authority
CN
China
Prior art keywords
collapse
application program
early warning
party
service platform
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
CN201510016117.3A
Other languages
Chinese (zh)
Other versions
CN104506658B (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.)
Xiamen Meitu Technology Co Ltd
Original Assignee
Xiamen Meitu 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 Xiamen Meitu Technology Co Ltd filed Critical Xiamen Meitu Technology Co Ltd
Priority to CN201510016117.3A priority Critical patent/CN104506658B/en
Publication of CN104506658A publication Critical patent/CN104506658A/en
Application granted granted Critical
Publication of CN104506658B publication Critical patent/CN104506658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers
    • 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
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an early warning method and an early warning system for the collapse of an application program. The method comprises the steps of acquiring an application program on a third party application service platform and setting the collapse early warning values of all application programs by adding a collapse report background provided by the third party application service platform, and then parsing to obtain the collapse information according to data provided by the collapse report background of the third party application service platform, and furthermore calculating the collapse ratios of all application programs, wherein the collapse early warning is carried out when the collapse ratios exceed collapse early warning values corresponding to the collapse ratios; therefore, a developer is convenient for the application programs to manage and improve, the maintenance cost can be reduced and a mass of maintenance time can be saved.

Description

A kind of collapse method for early warning of application program and system
Technical field
The present invention relates to communication technical field, particularly a kind of collapse method for early warning of application program and the system of application the method thereof.
Background technology
In recent years, the intelligent terminal being provided with operating system gets more and more.The terminal equipment having installed operating system can as PC, by user's program of providing of the third party service provider such as mounting software, game, navigation voluntarily, constantly the function of terminal equipment is expanded by this class method, and wireless network access can be realized by mobile communication network.Along with popularizing of intelligent terminal, the quantity of operation application software (APP) on an operating system there has also been the explosive growth in geometric progression, and most of application software is all third party to be provided, when terminal equipment runs application software, possibly cannot normally run this application software, cause application software to be collapsed.
At present, we are in the process of Application and Development, can add some systems of catching crash info to collect the collapse of application, and being used for helping, we catch collapse report, and the stability improving application provides favourable auxiliary.But the current third party SDK catching crash info does not have early warning system, the situation of collapse just can be known in the backstage of collapse to cause us to go in the moment to see, efficiency is extremely low.
Summary of the invention
The present invention, for solving the problem, provides a kind of collapse method for early warning and system of application program, so that application programs is improved in time.
For achieving the above object, the technical solution used in the present invention is:
A collapse method for early warning for application program, is characterized in that, comprise the following steps:
10. add the collapse report backstage that third party's Mobile solution service platform provides;
Application program on third party's Mobile solution service platform described in 20. acquisitions, and the collapse early warning value of each application program is set;
The data that backstage provides are reported in the collapse of the third party's Mobile solution service platform described in 30. acquisitions, and obtain crash info according to this Data Analysis;
40. calculate the collapse rate of each application program according to described crash info;
Whether the collapse rate of each application program described in 50. judgements exceedes its corresponding collapse early warning value arranged, if exceed collapse early warning value, then carries out collapse early warning.
Preferably, in described step 10, add the collapse report backstage that third party's Mobile solution service platform provides, further comprising the steps:
11. carry out register account number at described third party's Mobile solution service platform;
12. submit to this third party's Mobile solution service platform the application program developed to, and obtain account and the password of the application program submitted on described third party's Mobile solution service platform;
Account and the password of 13. SDKs provided by third party's Mobile solution service platform and described application program are integrated in submitted to application program.
Preferably, the application program on described third party's Mobile solution service platform is obtained in described step 20, mainly comprise the title of the application program developed and bag name submitted in described step 12, and the title of the third party application that described third party's Mobile solution service platform provides and bag name.
Preferably, in described step 30, mainly by the initial data that provides of collapse report backstage of the third party's Mobile solution service platform described in obtaining, and carry out parsing according to the data format of this initial data and obtain crash info.
Preferably, described crash info mainly comprises the number of starts in the preset time range of application program and the collapse number of times in this preset time range.
Preferably, calculate the collapse rate of each application program in described step 40 according to described crash info, the computational methods of this collapse rate are:
rate=error/startup;
Wherein, error is the collapse number of times in preset time range, and startup is the number of starts in corresponding preset time range, and rate is the collapse rate in corresponding preset time range.
Preferably, described crash info also comprises Back ground Information and the end message of each collapse; Described Back ground Information comprises the version of the code content of collapse, the total degree of collapse, time that collapse starts, collapse; Described end message comprises the type distribution of collapse, the cell phone system version distribution of collapse.
Preferably, in described step 50, if the collapse rate of described application program exceedes its corresponding collapse early warning value arranged, then carry out collapse early warning, it is mainly reminded the user of this application program or developer by the contact method preset.
In addition, present invention also offers a kind of collapse early warning system of application program, it is characterized in that, it comprises:
Backstage access module, for adding the collapse report backstage that third party's Mobile solution service platform provides;
Application management module, for obtaining the application program on described third party's Mobile solution service platform, and arranges the collapse early warning value of each application program;
Data processing module, the data that the collapse report backstage for obtaining described third party's Mobile solution service platform provides, and obtain crash info according to this Data Analysis and calculate the collapse rate of each application program;
Warning module, for judging whether the collapse rate of each described application program exceedes its corresponding collapse early warning value arranged, if exceed collapse early warning value, then carries out collapse early warning.
The invention has the beneficial effects as follows:
The collapse method for early warning of a kind of application program of the present invention and system, its collapse report backstage provided by adding third party's Mobile solution service platform, application program on third party's Mobile solution service platform described in acquisition also arranges the collapse early warning value of each application program, then the data provided according to the collapse report backstage of described third party's Mobile solution service platform are carried out parsing and are obtained crash info, and calculate the collapse rate of each application program further, if collapse rate exceedes its corresponding collapse early warning value arranged, carry out collapse early warning; Thus be convenient to developer's application programs and carry out managing and improving, reduce maintenance cost and saved a large amount of preventive maintenance times.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the general flow chart of the collapse method for early warning of a kind of application program of the present invention;
Fig. 2 is the structural representation of the collapse early warning system of a kind of application program of the present invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearly, understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, the collapse method for early warning of a kind of application program of the present invention, it comprises the following steps:
10. add the collapse report backstage that third party's Mobile solution service platform provides;
Application program on third party's Mobile solution service platform described in 20. acquisitions, and the collapse early warning value of each application program is set;
The data that backstage provides are reported in the collapse of the third party's Mobile solution service platform described in 30. acquisitions, and obtain crash info according to this Data Analysis;
40. calculate the collapse rate of each application program according to described crash info;
Whether the collapse rate of each application program described in 50. judgements exceedes its corresponding collapse early warning value arranged, if exceed collapse early warning value, then carries out collapse early warning.
The collapse report backstage that third party's Mobile solution service platform provides is added in described step 10, further comprising the steps:
11. carry out register account number at described third party's Mobile solution service platform;
12. submit to this third party's Mobile solution service platform the application program developed to, and obtain account and the password of the application program submitted on described third party's Mobile solution service platform;
Account and the password of 13. SDKs provided by third party's Mobile solution service platform and described application program are integrated in submitted to application program.
The account of described application program and password and App key and App Secret; App key is called for short api interface checking sequence number, for verifying that API accesses legitimacy; App Secret is called for short api interface key, is matching used with App Key; App Key and App Secret is combined together, and by the protocol requirement of third party's Mobile solution service platform, just can access api interface and call or the various function that uses API to provide and data.
The application program on described third party's Mobile solution service platform is obtained in described step 20, mainly comprise the title of the application program developed and bag name submitted in described step 12, and the title of the third party application that described third party's Mobile solution service platform provides and bag name.
In described step 30, mainly by the initial data that provides of collapse report backstage of the third party's Mobile solution service platform described in obtaining, and carry out parsing according to the data format of this initial data and obtain crash info; Described crash info mainly comprises the number of starts in the preset time range of application program and the collapse number of times in this preset time range; Preferably, described crash info also comprises Back ground Information and the end message of each collapse; Described Back ground Information comprises the version of the code content of collapse, the total degree of collapse, time that collapse starts, collapse; Described end message comprises the type distribution of collapse, the cell phone system version distribution of collapse
Calculate the collapse rate of each application program in described step 40 according to described crash info, the computational methods of this collapse rate are:
rate=error/startup;
Wherein, error is the collapse number of times in preset time range, and startup is the number of starts in corresponding preset time range, and rate is the collapse rate in corresponding preset time range; Described preset time range can be every 10 hours, every day, weekly or monthly etc.
In described step 50, if the collapse rate of described application program exceedes its corresponding collapse early warning value arranged, then carry out collapse early warning, it is mainly reminded the user of this application program or developer by the contact method preset, the announcement information of collapse early warning is such as sent to developer, or to user sends note automatically, automatic poking is made a phone call, automatically send mail etc.
As shown in Figure 2, present invention also offers a kind of collapse early warning system of application program, it is characterized in that, it comprises:
Backstage access module A, for adding the collapse report backstage that third party's Mobile solution service platform provides;
Application management module B, for obtaining the application program on described third party's Mobile solution service platform, and arranges the collapse early warning value of each application program;
Data processing module C, the data that the collapse report backstage for obtaining described third party's Mobile solution service platform provides, and obtain crash info according to this Data Analysis and calculate the collapse rate of each application program;
Warning module D, for judging whether the collapse rate of each described application program exceedes its corresponding collapse early warning value arranged, if exceed collapse early warning value, then carries out collapse early warning.
In the present invention, described third party's Mobile solution service platform mainly comprises third party's service platform that some provide mobile phone crash info, the Mobile solution data statistic analysis platforms such as such as Flurry, You Meng, TalkingData, by the application that register account number and submission on these third party's Mobile solution service platforms are developed, then download SDK that this third party's Mobile solution service platform provides and be integrated in application; Described third party's Mobile solution service platform can add one or more.Described collapse early warning value mainly refers to the acceptable collapse rate of each application program, when the collapse rate of reality exceedes this early warning value, then carries out collapse early warning, facilitates developer to make and judges better and Developing Tactics.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.And, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.In addition, one of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
Above-mentioned explanation illustrate and describes the preferred embodiments of the present invention, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection range of claims of the present invention.

Claims (9)

1. a collapse method for early warning for application program, is characterized in that, comprise the following steps:
10. add the collapse report backstage that third party's Mobile solution service platform provides;
Application program on third party's Mobile solution service platform described in 20. acquisitions, and the collapse early warning value of each application program is set;
The data that backstage provides are reported in the collapse of the third party's Mobile solution service platform described in 30. acquisitions, and obtain crash info according to this Data Analysis;
40. calculate the collapse rate of each application program according to described crash info;
Whether the collapse rate of each application program described in 50. judgements exceedes its corresponding collapse early warning value arranged, if exceed collapse early warning value, then carries out collapse early warning.
2. the collapse method for early warning of a kind of application program according to claim 1, is characterized in that: add the collapse report backstage that third party's Mobile solution service platform provides in described step 10, further comprising the steps:
11. carry out register account number at described third party's Mobile solution service platform;
12. submit to this third party's Mobile solution service platform the application program developed to, and obtain account and the password of the application program submitted on described third party's Mobile solution service platform;
Account and the password of 13. SDKs provided by third party's Mobile solution service platform and described application program are integrated in submitted to application program.
3. the collapse method for early warning of a kind of application program according to claim 2, it is characterized in that: in described step 20, obtain the application program on described third party's Mobile solution service platform, mainly comprise the title of the application program developed and bag name submitted in described step 12, and the title of the third party application that described third party's Mobile solution service platform provides and bag name.
4. the collapse method for early warning of a kind of application program according to claim 1, it is characterized in that: in described step 30, mainly by the initial data that provides of collapse report backstage of the third party's Mobile solution service platform described in obtaining, and carry out parsing according to the data format of this initial data and obtain crash info.
5. the collapse method for early warning of a kind of application program according to any one of claim 1 to 4, is characterized in that: described crash info mainly comprises the number of starts in the preset time range of application program and the collapse number of times in this preset time range.
6. the collapse method for early warning of a kind of application program according to claim 5, is characterized in that: the collapse rate calculating each application program in described step 40 according to described crash info, and the computational methods of this collapse rate are:
rate=error/startup;
Wherein, error is the collapse number of times in preset time range, and startup is the number of starts in corresponding preset time range, and rate is the collapse rate in corresponding preset time range.
7. the collapse method for early warning of a kind of application program according to any one of claim 5, is characterized in that: described crash info also comprises Back ground Information and the end message of each collapse; Described Back ground Information comprises the version of the code content of collapse, the total degree of collapse, time that collapse starts, collapse; Described end message comprises the type distribution of collapse, the cell phone system version distribution of collapse.
8. the collapse method for early warning of a kind of application program according to any one of claim 5, it is characterized in that: in described step 50, if the collapse rate of described application program exceedes its corresponding collapse early warning value arranged, then carry out collapse early warning, it is mainly reminded the user of this application program or developer by the contact method preset.
9. a collapse early warning system for application program, it is characterized in that, it comprises:
Backstage access module, for adding the collapse report backstage that third party's Mobile solution service platform provides;
Application management module, for obtaining the application program on described third party's Mobile solution service platform, and arranges the collapse early warning value of each application program;
Data processing module, the data that the collapse report backstage for obtaining described third party's Mobile solution service platform provides, and obtain crash info according to this Data Analysis and calculate the collapse rate of each application program;
Warning module, for judging whether the collapse rate of each described application program exceedes its corresponding collapse early warning value arranged, if exceed collapse early warning value, then carries out collapse early warning.
CN201510016117.3A 2015-01-13 2015-01-13 The collapse method for early warning and system of a kind of application program Active CN104506658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510016117.3A CN104506658B (en) 2015-01-13 2015-01-13 The collapse method for early warning and system of a kind of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510016117.3A CN104506658B (en) 2015-01-13 2015-01-13 The collapse method for early warning and system of a kind of application program

Publications (2)

Publication Number Publication Date
CN104506658A true CN104506658A (en) 2015-04-08
CN104506658B CN104506658B (en) 2018-06-01

Family

ID=52948373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510016117.3A Active CN104506658B (en) 2015-01-13 2015-01-13 The collapse method for early warning and system of a kind of application program

Country Status (1)

Country Link
CN (1) CN104506658B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899130A (en) * 2015-05-22 2015-09-09 深圳市酷开网络科技有限公司 Application program management method and system
CN106648714A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Analysis method and device for application uninstalling information
CN107436777A (en) * 2016-05-27 2017-12-05 北京京东尚科信息技术有限公司 Mobile terminal, application crash processing method and processing device
CN107832222A (en) * 2017-11-17 2018-03-23 广东小天才科技有限公司 The undercarriage control method and service equipment of a kind of application program
CN108023764A (en) * 2017-11-01 2018-05-11 北京趣拿软件科技有限公司 Abnormality eliminating method and device
CN109669875A (en) * 2018-12-28 2019-04-23 北京金山安全软件有限公司 Application crash test method and device, electronic equipment and storage medium
CN109901970A (en) * 2019-02-15 2019-06-18 视联动力信息技术股份有限公司 A kind of monitoring method and device regarding networked terminals
CN110445632A (en) * 2018-05-04 2019-11-12 北京京东尚科信息技术有限公司 A kind of method and apparatus for preventing client collapse

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077108A (en) * 2013-01-07 2013-05-01 北京奇虎科技有限公司 Method and system for warning browser crash

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077108A (en) * 2013-01-07 2013-05-01 北京奇虎科技有限公司 Method and system for warning browser crash

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899130A (en) * 2015-05-22 2015-09-09 深圳市酷开网络科技有限公司 Application program management method and system
CN104899130B (en) * 2015-05-22 2018-07-24 深圳市酷开网络科技有限公司 A kind of application management method and system
CN106648714A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Analysis method and device for application uninstalling information
CN106648714B (en) * 2015-10-28 2019-12-24 北京国双科技有限公司 Analysis method and device for application program uninstalling information
CN107436777A (en) * 2016-05-27 2017-12-05 北京京东尚科信息技术有限公司 Mobile terminal, application crash processing method and processing device
CN108023764A (en) * 2017-11-01 2018-05-11 北京趣拿软件科技有限公司 Abnormality eliminating method and device
CN107832222A (en) * 2017-11-17 2018-03-23 广东小天才科技有限公司 The undercarriage control method and service equipment of a kind of application program
CN110445632A (en) * 2018-05-04 2019-11-12 北京京东尚科信息技术有限公司 A kind of method and apparatus for preventing client collapse
CN110445632B (en) * 2018-05-04 2023-09-01 北京京东尚科信息技术有限公司 Method and device for preventing client from crashing
CN109669875A (en) * 2018-12-28 2019-04-23 北京金山安全软件有限公司 Application crash test method and device, electronic equipment and storage medium
CN109669875B (en) * 2018-12-28 2022-07-29 北京金山安全软件有限公司 Application crash test method and device, electronic equipment and storage medium
CN109901970A (en) * 2019-02-15 2019-06-18 视联动力信息技术股份有限公司 A kind of monitoring method and device regarding networked terminals

Also Published As

Publication number Publication date
CN104506658B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN104506658A (en) Early-warning method and system for collapse of application program
US10089106B2 (en) Communications network, computer architecture, computer-implemented method and computer program product for development and management of femtocell-based applications
US9864595B2 (en) Software updating method, system, and device
KR100957477B1 (en) Dynamic resource matching system
US8596534B2 (en) Interface system between a terminal and a smart card, method for same, and smart card applied to same
CN101917706B (en) Processing method and device for upgrading FOTA (Firmware Over the Air)
US20120304293A1 (en) System and method for downloading user interface components to wireless devices
US8112115B2 (en) Portable base station device and charging method
CN105975272A (en) Method and system for generating unique device number of device
WO2016041171A1 (en) Method and apparatus for determining terminal roaming status, terminal and server
CN104253869A (en) Blacklist sharing method, blacklist updating method, blacklist sharing device and blacklist updating device
TW201301918A (en) Method for using geographic signal fingerprint cluster to implement end-to-end message push
CN110677810B (en) Method and apparatus for generating geo-fences
CN103686821A (en) Control method for application program traffic statistics according to unique identification of mobile terminal
WO2022007901A1 (en) Cloud card distribution method and apparatus, electronic device, and storage medium
CN106550405B (en) Network data receiving control method and system based on mobile terminal
CN107665135B (en) Upgrading program pushing method and device
CN100512502C (en) Visiting location register and method for obtaining user data by visiting location register
CN105357272B (en) A kind of OTA upgrade method and equipment
CN114257579A (en) Information transmission method, device, equipment and medium
CN110677544B (en) PCRF location script updating method, device, equipment and storage medium
CN103218172A (en) Method of handling access control information and related communication device
CN106162540A (en) Location-based information push method and device
KR100631683B1 (en) Maintenance management method and system using short message
CN111054064A (en) Unity-based mobile phone game bag body optimization method and system

Legal Events

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