CN104899130B - A kind of application management method and system - Google Patents

A kind of application management method and system Download PDF

Info

Publication number
CN104899130B
CN104899130B CN201510265314.9A CN201510265314A CN104899130B CN 104899130 B CN104899130 B CN 104899130B CN 201510265314 A CN201510265314 A CN 201510265314A CN 104899130 B CN104899130 B CN 104899130B
Authority
CN
China
Prior art keywords
application program
application
hardware platform
terminal
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510265314.9A
Other languages
Chinese (zh)
Other versions
CN104899130A (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 Coocaa Network Technology Co Ltd
Original Assignee
Shenzhen Coocaa Network 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 Shenzhen Coocaa Network Technology Co Ltd filed Critical Shenzhen Coocaa Network Technology Co Ltd
Priority to CN201510265314.9A priority Critical patent/CN104899130B/en
Publication of CN104899130A publication Critical patent/CN104899130A/en
Application granted granted Critical
Publication of CN104899130B publication Critical patent/CN104899130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of application management method and systems, by acquiring the service condition information and abnormal state information of each application program installed in each terminal, the service condition information and abnormal state information of the hardware platform information of each terminal and its corresponding each application program are sent to server end;Server end counts the terminal quantity that mistake occurs on different hardware platforms in each application program;Judge that some application program occurs whether the ratio between volume production total number of terminals of terminal quantity and the hardware platform of mistake is more than threshold percentage on some hardware platform, if being more than, by the application program from the hardware platform corresponding application shop undercarriage;Automatic decision application whether be suitable for some hardware platform, it is not applicable then by this apply from the recommendation of the hardware platform undercarriage, improve the suitability applied in different hardware platforms, reduce manual maintenance.

Description

A kind of application management method and system
Technical field
The present invention relates to intelligent terminal technical field more particularly to a kind of application management method and systems.
Background technology
With popularizing for smart television, a large amount of intelligent use enters television system platform, however, since TV hardware is flat The otherness of platform, the compatibility of application program on a variety of platforms is very poor, leads to user experience in different platform completely not Together.TV hardware platform differentiation is serious, there is the TV that a large amount of configuration height differ, the application for causing backstage to push on the market There are greatest differences for the situation that shows on different hardware platforms, and the poor application of partial compatibility is very poor to the experience of user, To solve to apply the adaptation sex chromosome mosaicism in various hardware platforms, need that a large amount of human resources is spent to safeguard backstage from the background, for not Same hardware platform carries out application management, expends resource and workload is huge, exist simultaneously the risk that human operational error occurs.
Therefore, the existing technology needs to be improved and developed.
Invention content
The technical problem to be solved in the present invention is, provides a kind of application management method and system, it is intended to solve existing Some application programs push background maintenance person works and measure big problem to the poor compatibility of different hardware platforms.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of application management method, wherein include the following steps:
The service condition information and abnormal state information for acquiring each application program installed in each terminal, by each end The service condition information and abnormal state information of the hardware platform information at end and its corresponding each application program are sent to service Device end;
Server end is according to the hardware platform information of each terminal and its use feelings of corresponding each application program Condition information and abnormal state information count the terminal quantity that mistake occurs on different hardware platforms in each application program;Judge There is the ratio between the volume production total number of terminals of the terminal quantity and the hardware platform of mistake on some hardware platform in some application program Whether be more than threshold percentage, if being more than, by the application program from the hardware platform corresponding application shop undercarriage.
The application management method, wherein the service condition information includes:It the application program launching time and answers Use exercise end time;The abnormal state information includes abnormal conditions and abnormal time of origin;The hardware information includes:Machine Type, movement and MAC Address;
The service condition information and abnormal state information for each application program installed in each terminal of acquisition, will be each The service condition information and abnormal state information of the hardware platform information of a terminal and its corresponding each application program are sent to Server end specifically includes:
Acquire application program launching time of each application program installed in each terminal, the application program end time, Application exception situation and abnormal time of origin, and be stored in the system area daily record of each terminal;
When the data of each terminal acquisition reach threshold capacity, by the type of each terminal, movement and MAC Address and its Application program launching time, application program end time, application exception situation and the exception of corresponding each application program Time of origin is sent to server end.
The application management method, wherein the server end is believed according to the hardware platform of each terminal The service condition information and abnormal state information of breath and its corresponding each application program count each application program different hard Occurs the terminal quantity of mistake on part platform;Judge that the terminal quantity of mistake occurs on some hardware platform in some application program Whether it is more than threshold percentage with the ratio between the volume production total number of terminals of the hardware platform, if being more than, by the application program from the hardware Undercarriage in the corresponding application shop of platform, specifically includes:
Server end counts the use duration of each application program on each MAC Address every the first predetermined time, works as institute When stating using duration less than the second predetermined time, then assert that the application program mistake occurs on the MAC Address;By same MAC The multiple mistake that same application occurs on address is all calculated as primary mistake;
It counts some application program on some type and the terminal quantity of mistake occurs;
Judge that the volume production terminal for the terminal quantity and the hardware platform that mistake occurs in some application program on some type is total Number the ratio between whether be more than threshold percentage, if being more than, by the application program from the hardware platform corresponding application shop undercarriage.
The application management method, wherein the server end is believed according to the hardware platform of each terminal The service condition information and abnormal state information of breath and its corresponding each application program count each application program different hard Occurs the terminal quantity of mistake on part platform;Judge that the terminal quantity of mistake occurs on some hardware platform in some application program Whether it is more than threshold percentage with the ratio between the volume production total number of terminals of the hardware platform, if being more than, by the application program from the hardware Undercarriage in the corresponding application shop of platform, specifically includes:
Grade classification is carried out to the various abnormal conditions that application program occurs in server end in advance, is divided into multiclass mistake Type;
Server end counts the abnormal conditions of each application program on each MAC Address every the third predetermined time, goes forward side by side Row ranking;
Count the terminal quantity that certain a kind of type of error occurs in some application program on some type;By same MAC Address Certain multiple a kind of type of error that upper same application occurs all is calculated as a type of error;
Judge that the terminal quantity of certain a kind of type of error and the hardware platform occurs in some application program on some type Whether the ratio between volume production total number of terminals is more than threshold percentage, if being more than, by the application program from the corresponding application of the hardware platform Undercarriage in shop.
The application management method, wherein described some application program of judgement occurs on some hardware platform Whether the ratio between the terminal quantity of mistake and the volume production total number of terminals of the hardware platform answer this if being more than more than threshold percentage With program from the hardware platform corresponding application shop undercarriage, further include:
Judge whether the quantity of the application program of restocking into the application shop of the hardware platform pushing application program is less than Preset minimum value, if it has, then sending warning message to administrator request artificial treatment;If it has not, then undercarriage application Program, and the operation note for recording undercarriage is checked to system maintenance daily record with providing administrator.
A kind of application management system, wherein including:
Application information acquisition module, the service condition for acquiring each application program installed in each terminal are believed Breath and abnormal state information, by the hardware platform information of each terminal and its service condition information of corresponding each application program It is sent to server end with abnormal state information;
Application program adjusts module, for by server end according to the hardware platform information of each terminal and its right The service condition information and abnormal state information for each application program answered, count each application program on different hardware platforms There is the terminal quantity of mistake;Judge that the terminal quantity of mistake and the hardware occurs on some hardware platform in some application program Whether the ratio between volume production total number of terminals of platform is more than threshold percentage, if being more than, which is corresponded to from the hardware platform Application shop in undercarriage.
The application management system, wherein the service condition information includes:It the application program launching time and answers Use exercise end time;The abnormal state information includes abnormal conditions and abnormal time of origin;The hardware information includes:Machine Type, movement and MAC Address;
The application information acquisition module includes:
Information acquisition unit, for acquire each application program installed in each terminal the application program launching time, Application program end time, application exception situation and abnormal time of origin, and it is stored in the system area daily record of each terminal In;
Information transmitting unit, when the data for being acquired when each terminal reach threshold capacity, by the type of each terminal, The application program launching time of movement and MAC Address and its corresponding each application program, application program end time, using journey Sequence abnormal conditions and abnormal time of origin are sent to server end.
The application management system, wherein the application program adjusts module and includes:
Time analysis unit is answered for passing through server end every each on the first predetermined time each MAC Address of statistics Then assert the application program in the MAC Address when the use duration was less than for the second predetermined time with the use duration of program On there is mistake;The multiple mistake that same application on same MAC Address occurs all is calculated as primary mistake;
There is the terminal quantity of mistake for counting some application program on some type in first quantity statistics unit;
First undercarriage judging unit, for judging that some application program wrong terminal quantity occurs and is somebody's turn to do on some type Whether the ratio between volume production total number of terminals of hardware platform is more than threshold percentage, if being more than, by the application program from the hardware platform Undercarriage in corresponding application shop.
The application management system, wherein the application program adjusts module and includes:
Setting unit is drawn for carrying out grade to the various abnormal conditions that application program occurs in server end in advance Point, it is divided into multiclass type of error;
Taxon applies journey for counting each on each MAC Address every the third predetermined time by server end The abnormal conditions of sequence, and carry out ranking;
There is the end of certain a kind of type of error for counting some application program on some type in second quantity statistics unit Hold quantity;Certain multiple a kind of type of error that same application on same MAC Address occurs all is calculated as primary wrong class Type;
Second undercarriage judging unit, for judging that the end of certain a kind of type of error occurs in some application program on some type Hold whether the ratio between volume production total number of terminals of quantity and the hardware platform is more than threshold percentage, if being more than, by the application program from Undercarriage in the corresponding application shop of the hardware platform.
The application management system, wherein the application program adjusts module, is additionally operable to judge flat to the hardware Whether the quantity of the application program of restocking is less than preset minimum value in the application shop of platform pushing application program, if it is, Warning message is then sent to administrator request artificial treatment;If it has not, then undercarriage application program, and record the operation note of undercarriage Record is checked to system maintenance daily record with providing administrator.
A kind of application management method provided by the present invention and system, efficiently solve existing application program pair The poor compatibility of different hardware platforms, push background maintenance person works measure big problem, are installed in each terminal by acquiring Each application program service condition information and abnormal state information, by the hardware platform information of each terminal and its corresponding The service condition information and abnormal state information of each application program are sent to server end;Server end is according to each end The service condition information and abnormal state information of the hardware platform information at end and its corresponding each application program, statistics is each to answer Occurs the terminal quantity of mistake on different hardware platforms with program;Judge that some application program occurs on some hardware platform Whether the ratio between the terminal quantity of mistake and the volume production total number of terminals of the hardware platform answer this if being more than more than threshold percentage With program from the hardware platform corresponding application shop undercarriage;By acquisition terminal using data, pass through server Intellectual analysis is held, automatic to screen the service condition applied in different terminals, it is flat whether automatic decision application is suitable for some hardware Platform applies this from the hardware if the abnormal conditions occurred in applying on some hardware platform are more than certain threshold value Undercarriage in the recommendation of platform improves the suitability applied in different hardware platforms, reduces manual maintenance, brings greatly It is convenient.
Description of the drawings
Fig. 1 is the flow chart of application management method preferred embodiment provided by the invention;
Fig. 2 is the structure diagram of application management system preferred embodiment provided by the invention.
Specific implementation mode
A kind of application management method of present invention offer and system, to make the objectives, technical solutions, and advantages of the present invention Clearer, clear, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that this place is retouched The specific embodiment stated is only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is the flow chart of application management method preferred embodiment provided by the invention, such as Fig. 1 institutes Show, the application management method includes the following steps:
Step S100, the service condition information and abnormality letter of each application program installed in each terminal are acquired Breath, by the hardware platform information of each terminal and its service condition information and abnormal state information of corresponding each application program It is sent to server end;
Step S200, hardware platform information and its corresponding each application program of the server end according to each terminal Service condition information and abnormal state information, count each application program occur on different hardware platforms mistake number of terminals Amount;Judge some application program occur on some hardware platform mistake terminal quantity and the hardware platform volume production terminal it is total Number the ratio between whether be more than threshold percentage, if being more than, by the application program from the hardware platform corresponding application shop undercarriage.
Above-mentioned steps are described in detail with reference to specific embodiment.
In the step s 100, the service condition information and abnormality of each application program installed in each terminal are acquired Information believes the service condition information and abnormality of the hardware platform information of each terminal and its corresponding each application program Breath is sent to server end.Specifically, the service condition information includes:Application program launching time and application program terminate Time;The abnormal state information includes abnormal conditions and abnormal time of origin;The hardware information includes:Type, movement and MAC Address.MAC (the Medium/Media Access Control) address, or be MAC Address, physical address, it is used for The identifier for indicating each website on internet, is indicated, six bytes totally using hexadecimal number(48).Each terminal With the MAC Address uniquely determined, this is the prior art, does not do excessive description herein.The terminal can be smart television, mobile phone Equal intelligent terminals.
In practical application, the step S100 is specifically included:
Acquire application program launching time of each application program installed in each terminal, the application program end time, Application exception situation and abnormal time of origin, and be stored in the system area daily record of each terminal;
When the data of each terminal acquisition reach threshold capacity, by the type of each terminal, movement and MAC Address and its Application program launching time, application program end time, application exception situation and the exception of corresponding each application program Time of origin is sent to server end.
Specifically, when the system of terminal starts, log-on data acquisition service, as finger daemon in running background. When user's entrance or the behavior record interface in application, by calling finger daemon is exited, record user enters application, exits Application time is stored in system area daily record.When application is abnormal, throw exception status information is dished out different in capture When normal status information, the record interface of finger daemon, the abnormal conditions that record application occurs are called.For example, when user is one Platform, which configures, opens an application in relatively low TV, the memory which needs to configure is larger, when system can not support When the memory requirements of application, being easy to happen memory spilling causes using to when bursting, and system can dish out at this time The exception of java.lang.OutOfMemoryError, when system sends out this exception, the finger daemon for operating in backstage is caught It the time for obtaining this exception, and recording this abnormal information and being abnormal, is stored in the system area daily record of terminal.
When the information accumulation of the acquisition of terminal is to certain amount, for example more than 1MB, need in the acquisition information by terminal Pass to server side de.Meanwhile background service process reading terminals type, movement and mac address information, combination is collected to answer With use information, server end is sent to by http agreements using data such as exception informations.Confirm when receiving server end After gathered data submits information, the log information of local cache is deleted, is adopted for next data with retaining certain memory space It is used when collection.
Certainly, in practical application, can also set multiple terminal timings sends service condition information and abnormality letter Breath.
Further, since the information content of terminal acquisition is huge, and there is while accessing the high concurrent behavior of server, be Ensure that the data that terminal uploads can obtain acquisition promptly and accurately, in server end increases message queue.Due to message Queue only carries out the action for storing data into queue, therefore message queue can quickly respond the request of terminal, so i.e. Make there is more terminal to submit information in the same time, can timely be saved in queue.On the other hand, in queue The other end, operation detect the data in queue with the service routine of server end, when finding to pass through there are when data in queue It opens multiple threads to take out the data in queue, then stores data into database.
In step s 200, hardware platform information and its corresponding each application of the server end according to each terminal The service condition information and abnormal state information of program count the end that mistake occurs on different hardware platforms in each application program Hold quantity;Judge that the terminal quantity of mistake and the volume production end of the hardware platform occurs on some hardware platform in some application program Hold whether the ratio between sum is more than threshold percentage, if being more than, by the application program from the corresponding application shop of the hardware platform Undercarriage.Specifically, server end sets a timed task, the data in analytical database, this task is merely responsible for statistics terminal The service condition of application.The aspect of statistics task present analysis two using situation, the condition judged as strategy.One side Face, statistics task counting user use the duration applied.The MAC Address of the TV of the user recorded in the database, uses Using packet name, executes the behavior of application and execute the time of application.By calculating the time difference for starting to apply and terminate to apply, Duration of the user using application can be obtained, these data are recorded in the table of analysis of strategies to provide determination strategy analysis. On the other hand, counting user uses the abnormal conditions that application occurs, and by the MAC Address of user, the type of mistake will occur, occurs Analysis of strategies table is recorded so that determination strategy is analyzed in the time of mistake.
Further, the step S200 is specifically included:
S211, server end count the use duration of each application program on each MAC Address every the first predetermined time, When the use duration was less than for the second predetermined time, then assert that the application program mistake occurs on the MAC Address;It will be same The multiple mistake that same application occurs on MAC Address is all calculated as primary mistake;
S212, the terminal quantity for counting some application program appearance mistake on some type;
S213, judge that the terminal quantity of mistake and the volume production end of the hardware platform occurs in some application program on some type Hold whether the ratio between sum is more than threshold percentage, if being more than, by the application program from the corresponding application shop of the hardware platform Undercarriage.
Specifically, the first predetermined time, the second predetermined time can be configured as needed.Here with the second pre- timing Between be 30 seconds, threshold percentage is one thousandth, for be described as follows.First analysis user uses the duration applied.In order to keep away The usage experience for exempting to influence large quantities of users defines and " when some is applied on some type movement, uses duration eventually less than 30 seconds The strategy of one thousandth of the end quantity more than the type yield, then it is assumed that the application is not suitable for the hardware platform use ".Here is It is specific to execute method:Due to thinking that user should be at 30 seconds or more, when will use using the average time of an application Long user's usage behavior less than 30 seconds is less than 30 by Policy Table's data as the abnormal behaviour of application using duration The data of second extract.It is corresponding in order to avoid leading to the exception of analysis result due to the hardware error of some separate unit TV Data with duration less than 30 seconds are sorted out, by using the group by instructions of mysql, to the group of the addresses mac and packet name It closes word string to be counted, to reach " the multiple mistake that the same same application in the addresses mac occurs all is calculated as primary mistake Purpose accidentally ".Then on record information bank is put in the addresses mac by type, is converted into type, movement information, to judge to be abnormal TV whether have certain class feature.This is counted again and is applied occurs being less than 30 seconds number of terminals using duration on each type Amount.In order to avoid application influences large batch of user, invention defines " when some is applied on some type movement, use Terminal quantity of the duration less than 30 seconds is more than the one thousandth of the type yield, then it is assumed that the application, which is not suitable for the hardware platform, to be made With " strategy, therefore, when statistics application occur mistake terminal quantity be more than the type yield one thousandth when, strategy To initiate to alarm, by type, movement, corresponding application is sent to using Self management module, to by the application program from the hardware Undercarriage in the corresponding application shop of platform.That is, the application is applied quotient to the hardware platform pushing application program Undercarriage in shop.
Further, the step S200 is specifically included:
S221, in server end grade classification is carried out to various abnormal conditions that application program occurs in advance, be divided into more Class type of error;
S222, server end count the abnormal conditions of each application program on each MAC Address every the third predetermined time, And carry out ranking;
S223, the terminal quantity that certain a kind of type of error occurs in some application program on some type is counted;By same MAC Certain multiple a kind of type of error that same application occurs on address is all calculated as a type of error;
S224, judge that the terminal quantity of certain a kind of type of error occurs in some application program on some type and the hardware is flat Whether the ratio between volume production total number of terminals of platform is more than threshold percentage, if being more than, the application program is corresponding from the hardware platform Undercarriage in application shop.
Specifically, this is analysis using the abnormal conditions occurred.Also undercarriage is legal in order to avoid there is common fault answers With the case where, formulate and " type of error of application be subjected to grade classification, when some applies the A classes on some type movement Type of error number reaches the one thousandth time or more of the type yield, then it is assumed that this application be not suitable for the hardware platform " plan Slightly.
Here is specific execution method:The type of error type ranking that application is occurred.In advance in server end Grade classification is carried out to the various abnormal conditions that application program occurs, is divided into multiclass type of error, defines application error etc. Grade table.Some grave error types, such as memory overflow exception:Java.lang.OutOfMemoryError, stack overflow It is abnormal:Java.lang.StackOverflowError, unknown class version are abnormal: The type of errors such as java.lang.UnsupportedClassVersionError are marked as A class mistakes, some are general wrong Accidentally, such as null pointer is abnormal:Java.lang.NullPointerException, abnormal interrupt are abnormal Java.lang.InterruptedException, value type translation exception: It is abnormal that java.lang.NumberFormatException etc. is marked as B classes.By string matching, to the mistake of application Type carries out ranking.
Then server end takes out the data that Exception Type is A and carries out next step analysis.In order to avoid due to separate unit loom Hardware error reason lead to the influence counted to abnormal problem, data are sorted out, by using the group by of mysql Instruction, counts the combination word string of the addresses mac and packet name, reaches " the same same application in the addresses mac occurs multiple Same class type of error is all calculated as once " purpose.The addresses mac are put on record information bank by type, be converted into type, movement Information, to judge whether the TV being abnormal has certain class feature.It counts this and applies and occur A class exceptions on each type Terminal quantity.According to the strategy of formulation " when some applies the A class type of error numbers on some type movement to reach the type More than the one thousandth of yield, then it is assumed that the application is not suitable for the hardware platform ", A occurs for the application counted on each hardware platform The terminal quantity of class exception initiates alarm when terminal quantity is more than the one thousandth of the type yield, will apply packet name, and put down The type of platform, movement information are issued using Self management system, to which the application program is applied quotient from the hardware platform is corresponding Undercarriage in shop.That is, applying this from the undercarriage into the application shop of the hardware platform pushing application program.
Above-mentioned two process analysis procedure analysis is two different decision procedures, and one is according to using duration, another kind is According to Exception Type, in practical application, can be respectively adopted one such mode carry out it is each using undercarriage whether sentencing It is disconnected;Also two ways can be used simultaneously, each application is judged, the ability undercarriage when meeting above-mentioned two situations.Namely It saying, the present invention can be picked out the application for being not suitable for using on platform by the judgement of progress above-mentioned two strategy combination, It is sent to and applies Self management system, to corresponding undercarriage.
That is, server end is directed to different hardware platforms, and it is corresponding that different application program push is provided, that is, it corresponds to Different application shops.For a certain model TV, application shop and other signals of the server end to its pushing application program The corresponding application shop of TV is different.
It illustrates:Some application need higher configured terminal could normal use, for configure lower TV or Mobile phone, server end is when to its pushing application program, without the application in corresponding application shop.Again for example:Certain is a The game of Need For Speed is susceptible to the case where sudden strain of a muscle is moved back when being run on configuring certain lower TV, by analyzing television acquisition The entrance of application and post-set time, server are finding that such application is unsuitable to the television recommendations, are automatically applying this from the background The undercarriage from the TV corresponding supplying system, such front end user are just accessed by the TV and are applied less than this.Pass through On television acquisition applications TV service condition, by server end to television acquisition data intelligence arrange and point Whether analysis, automatic decision application are suitable for the TV of some hardware platform, if what the application on some hardware platform occurred It is when abnormal conditions are more than certain threshold value, the application is offline from hardware platform recommendation, to maintain backstage automatically Using push strategy, reach raising and apply suitability, reduce manual intervention, improves the application experience of user.
Preferably, the step S200 further includes:
Judge whether the quantity of the application program of restocking into the application shop of the hardware platform pushing application program is less than Preset minimum value, if it has, then sending warning message to administrator request artificial treatment;If it has not, then undercarriage application Program, and the operation note for recording undercarriage is checked to system maintenance daily record with providing administrator.
Specifically, in order to avoid in the corresponding application shop of some hardware platform number of applications it is very little, answered when receiving It is asked with undercarriage, in order to ensure the number of applications in platform, judges the number of applications in the corresponding application shop of the hardware platform Whether it is less than the minimum value of platform restocking application, if it is less than minimum number, then records the " application of certain hardware platform adaptation Be more than minimum number warning line, certain application is abnormal, wouldn't undercarriage, ask timely processing ", and send corresponding mail to management Member requires artificial treatment.If the number of applications that the platform is reached the standard grade is sufficient, the undercarriage application, and records the operation note of undercarriage To system maintenance daily record, checked with providing administrator.
Original application management platform, require a great deal of time it is corresponding with manpower be managed with restocking, simultaneously need It to be directed to different hardware platforms, safeguards different application push strategies.In this way safeguard, not only can not timely processing application, but also need A large amount of human resources are expended, and there are the risks of human error.And application management method provided by the invention, lead to Acquisition applications are crossed in the service condition data of terminal, feed back to server end, server end by the analysis of application data with Processing compares the strategy formulated in advance, and whether automatic decision application is suitable for the hardware platform, if not applicable, automatically by this Using the undercarriage from the hardware platform corresponding application shop, application is managed automatically to realize.It is corresponding to be used in not Adaptation with platform is screened automatically, is achieved the purpose that manage application automatically, be improved using to the simultaneous of different hardware platforms Capacitive reduces the workload of background maintenance personnel, improves the application experience of user.It should be noted that the present invention's answers It is suitable for Android system smart television with procedure management method, can be naturally also applied to other hardware of Android system and other System.
Based on above application procedure management method, the present invention also provides a kind of application program guard systems, referring to Fig. 2, Fig. 2 is the structure diagram of application management system preferred embodiment provided by the invention, as shown in Fig. 2, the application program Management system includes:
Application information acquisition module 10, the service condition for acquiring each application program installed in each terminal Information and abnormal state information believe the service condition of the hardware platform information of each terminal and its corresponding each application program Breath and abnormal state information are sent to server end;Specifically as described in step S100;
Application program adjusts module 20, for by server end according to the hardware platform information of each terminal and its The service condition information and abnormal state information of corresponding each application program, count each application program in different hardware platforms The upper terminal quantity for mistake occur;Judge that the terminal quantity of mistake occurs on some hardware platform in some application program and this is hard Whether the ratio between volume production total number of terminals of part platform is more than threshold percentage, if being more than, by the application program from the hardware platform pair Undercarriage in the application shop answered;Specifically as described in step S200.
Further, the service condition information includes:Application program launching time and application program end time;It is described Abnormal state information includes abnormal conditions and abnormal time of origin;The hardware information includes:Type, movement and MAC Address;
The application information acquisition module 10 includes:
Information acquisition unit, for acquire each application program installed in each terminal the application program launching time, Application program end time, application exception situation and abnormal time of origin, and it is stored in the system area daily record of each terminal In;
Information transmitting unit, when the data for being acquired when each terminal reach threshold capacity, by the type of each terminal, The application program launching time of movement and MAC Address and its corresponding each application program, application program end time, using journey Sequence abnormal conditions and abnormal time of origin are sent to server end.
Further, the application program adjustment module 20 includes:
Time analysis unit is answered for passing through server end every each on the first predetermined time each MAC Address of statistics Then assert the application program in the MAC Address when the use duration was less than for the second predetermined time with the use duration of program On there is mistake;The multiple mistake that same application on same MAC Address occurs all is calculated as primary mistake;
There is the terminal quantity of mistake for counting some application program on some type in first quantity statistics unit;
First undercarriage judging unit, for judging that some application program wrong terminal quantity occurs and is somebody's turn to do on some type Whether the ratio between volume production total number of terminals of hardware platform is more than threshold percentage, if being more than, by the application program from the hardware platform Undercarriage in corresponding application shop.
Further, the application program adjustment module includes:
Setting unit is drawn for carrying out grade to the various abnormal conditions that application program occurs in server end in advance Point, it is divided into multiclass type of error;
Taxon applies journey for counting each on each MAC Address every the third predetermined time by server end The abnormal conditions of sequence, and carry out ranking;
There is the end of certain a kind of type of error for counting some application program on some type in second quantity statistics unit Hold quantity;Certain multiple a kind of type of error that same application on same MAC Address occurs all is calculated as primary wrong class Type;
Second undercarriage judging unit, for judging that the end of certain a kind of type of error occurs in some application program on some type Hold whether the ratio between volume production total number of terminals of quantity and the hardware platform is more than threshold percentage, if being more than, by the application program from Undercarriage in the corresponding application shop of the hardware platform.
Further, the application program adjusts module 20, is additionally operable to judge to the hardware platform pushing application program Whether the quantity of the application program of restocking is less than preset minimum value in application shop, if it has, then sending warning message extremely Administrator request artificial treatment;If it has not, then undercarriage application program, and the operation note of undercarriage is recorded to system maintenance day Will is checked with providing administrator
In conclusion a kind of application management method provided by the invention and system, are pacified by acquiring in each terminal The service condition information and abnormal state information of each application program of dress, by the hardware platform information and its correspondence of each terminal Each application program service condition information and abnormal state information be sent to server end;Server end is according to described each The service condition information and abnormal state information of the hardware platform information of terminal and its corresponding each application program, statistics are each There is the terminal quantity of mistake on different hardware platforms in application program;Judge that some application program goes out on some hardware platform Whether the terminal quantity of existing mistake and the ratio between the volume production total number of terminals of the hardware platform should if being more than more than threshold percentage Application program undercarriage from the corresponding application shop of the hardware platform;By acquisition terminal using data, pass through service Device end intellectual analysis, automatic to screen the service condition applied in different terminals, whether automatic decision application is suitable for some hardware Platform, if the abnormal conditions occurred in the application on some hardware platform are more than certain threshold value, from the hardware platform Undercarriage in recommendation improves the suitability applied in different hardware platforms, reduces manual maintenance, brings and greatly facilitate.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect range.

Claims (6)

1. a kind of application management method, which is characterized in that include the following steps:
The service condition information and abnormal state information for acquiring each application program installed in each terminal, by each terminal The service condition information and abnormal state information of hardware platform information and its corresponding each application program are sent to server end;
Server end is believed according to the hardware platform information of each terminal and its service condition of corresponding each application program Breath and abnormal state information count the terminal quantity that mistake occurs on different hardware platforms in each application program;Judge some Whether application program there is the ratio between the terminal quantity of mistake and the volume production total number of terminals of the hardware platform on some hardware platform More than threshold percentage, if being more than, by the application program from the hardware platform corresponding application shop undercarriage;
The service condition information includes:Application program launching time and application program end time;The abnormal state information Including abnormal conditions and abnormal time of origin;The hardware platform information includes:Type, movement and MAC Address;
The service condition information and abnormal state information for each application program installed in each terminal of acquisition, by each end The service condition information and abnormal state information of the hardware platform information at end and its corresponding each application program are sent to service Device end, specifically includes:
Acquire the application program launching time, application program end time, application of each application program installed in each terminal Program exception situation and abnormal time of origin, and be stored in the system area daily record of each terminal;
When the data of each terminal acquisition reach threshold capacity, by the type of each terminal, movement and MAC Address and its correspondence Application program launching time of each application program, the application program end time, application exception situation and abnormal occur Time is sent to server end;
When terminal starts, log-on data acquisition service as finger daemon in running background, when application program launching or is answered When with EP (end of program), by calling the behavior record interface of finger daemon, records application program starts the time, application program terminates Time is stored in daily record, when application program is abnormal, throw exception status information, in the abnormality that capture is dished out When information, the behavior record interface of finger daemon, records application program abnormal conditions and abnormal time of origin are called;
The server end is according to the hardware platform information of each terminal and its use feelings of corresponding each application program Condition information and abnormal state information count the terminal quantity that mistake occurs on different hardware platforms in each application program;Judge There is the ratio between the volume production total number of terminals of the terminal quantity and the hardware platform of mistake on some hardware platform in some application program Whether be more than threshold percentage, if being more than, by the application program from the hardware platform corresponding application shop undercarriage, it is specific to wrap It includes:
Server end counts the use duration of each application program on each MAC Address every the first predetermined time, makes when described When being less than for the second predetermined time with duration, then assert that the application program mistake occurs on the MAC Address;By same MAC Address The multiple mistake that upper same application occurs all is calculated as primary mistake;
It counts some application program on some type and the terminal quantity of mistake occurs;
Judge some application program on some type occur the terminal quantity of mistake and the hardware platform volume production total number of terminals it Than whether be more than threshold percentage, if being more than, by the application program from the hardware platform corresponding application shop undercarriage;
Server end is provided with corresponding application shop to different hardware platforms.
2. application management method according to claim 1, which is characterized in that the server end is according to described each The service condition information and abnormal state information of the hardware platform information of terminal and its corresponding each application program, statistics are each There is the terminal quantity of mistake on different hardware platforms in application program;Judge that some application program goes out on some hardware platform Whether the terminal quantity of existing mistake and the ratio between the volume production total number of terminals of the hardware platform should if being more than more than threshold percentage Application program undercarriage from the corresponding application shop of the hardware platform, specifically includes:
Grade classification is carried out to the various abnormal conditions that application program occurs in server end in advance, is divided into multiclass mistake class Type;
Server end counts the abnormal conditions of each application program on each MAC Address every the third predetermined time, and carry out etc. Grade evaluation;
Count the terminal quantity that certain a kind of type of error occurs in some application program on some type;It will be same on same MAC Address Certain multiple a kind of type of error that one application program occurs all is calculated as a type of error;
Judge that the volume production of the terminal quantity and the hardware platform of certain a kind of type of error occurs in some application program on some type Whether the ratio between total number of terminals is more than threshold percentage, if being more than, by the application program from the corresponding application shop of the hardware platform Middle undercarriage.
3. application management method according to claim 1, which is characterized in that described some application program of judgement is at certain Occur whether the ratio between the terminal quantity of mistake and the volume production total number of terminals of the hardware platform are more than threshold percentage on a hardware platform, If being more than, by the application program from the hardware platform corresponding application shop undercarriage, further include:
It is default to judge whether the quantity of the application program of restocking into the application shop of the hardware platform pushing application program is less than Minimum value, if it has, then sending warning message to administrator request artificial treatment;If it has not, then undercarriage application program, And the operation note for recording undercarriage is checked to system maintenance daily record with providing administrator.
4. a kind of application management system, which is characterized in that including:
Application information acquisition module, for acquire each application program installed in each terminal service condition information and Abnormal state information, by the service condition information of the hardware platform information of each terminal and its corresponding each application program and different Normal status information is sent to server end;
Application program adjusts module, for by server end according to the hardware platform information of each terminal and its corresponding The service condition information and abnormal state information of each application program count each application program and occur on different hardware platforms The terminal quantity of mistake;Judge that the terminal quantity of mistake and the hardware platform occurs on some hardware platform in some application program The ratio between volume production total number of terminals whether the application program is answered from the hardware platform is corresponding if being more than more than threshold percentage With undercarriage in shop;
The service condition information includes:Application program launching time and application program end time;The abnormal state information Including abnormal conditions and abnormal time of origin;The hardware platform information includes:Type, movement and MAC Address;
The application information acquisition module includes:
Information acquisition unit, application program launching time, application for acquiring each application program installed in each terminal Exercise end time, application exception situation and abnormal time of origin, and be stored in the system area daily record of each terminal;
Information transmitting unit, when the data for being acquired when each terminal reach threshold capacity, by the type of each terminal, movement It is different with the application program launching time of MAC Address and its corresponding each application program, application program end time, application program Reason condition and abnormal time of origin are sent to server end;
When terminal starts, log-on data acquisition service as finger daemon in running background, when application program launching or is answered When with EP (end of program), by calling the behavior record interface of finger daemon, records application program starts the time, application program terminates Time is stored in daily record, when application program is abnormal, throw exception status information, in the abnormality that capture is dished out When information, the behavior record interface of finger daemon, records application program abnormal conditions and abnormal time of origin are called;
The application program adjusts module:
Time analysis unit applies journey for counting each on each MAC Address every the first predetermined time by server end The use duration of sequence then assert that the application program goes out on the MAC Address when the use duration was less than for the second predetermined time Existing mistake;The multiple mistake that same application on same MAC Address occurs all is calculated as primary mistake;
There is the terminal quantity of mistake for counting some application program on some type in first quantity statistics unit;
First undercarriage judging unit, for judging that the terminal quantity of mistake and the hardware occurs in some application program on some type Whether the ratio between volume production total number of terminals of platform is more than threshold percentage, if being more than, which is corresponded to from the hardware platform Application shop in undercarriage;
Server end is provided with corresponding application shop to different hardware platforms.
5. application management system according to claim 4, which is characterized in that the application program adjusts module packet It includes:
Setting unit, for carrying out grade classification to the various abnormal conditions that application program occurs in server end in advance, point For multiclass type of error;
Taxon, for counting each application program on each MAC Address every the third predetermined time by server end Abnormal conditions, and carry out ranking;
There is the number of terminals of certain a kind of type of error for counting some application program on some type in second quantity statistics unit Amount;Certain multiple a kind of type of error that same application on same MAC Address occurs all is calculated as a type of error;
Second undercarriage judging unit, for judging that the number of terminals of certain a kind of type of error occurs in some application program on some type Whether the ratio between amount and the volume production total number of terminals of the hardware platform are more than threshold percentage, if being more than, the application program is hard from this Undercarriage in the corresponding application shop of part platform.
6. application management system according to claim 4, which is characterized in that the application program adjusts module, also For judging it is default whether the quantity of the application program of restocking into the application shop of the hardware platform pushing application program is less than Minimum value, if it has, then sending warning message to administrator request artificial treatment;If it has not, then undercarriage application program, And the operation note for recording undercarriage is checked to system maintenance daily record with providing administrator.
CN201510265314.9A 2015-05-22 2015-05-22 A kind of application management method and system Active CN104899130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510265314.9A CN104899130B (en) 2015-05-22 2015-05-22 A kind of application management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510265314.9A CN104899130B (en) 2015-05-22 2015-05-22 A kind of application management method and system

Publications (2)

Publication Number Publication Date
CN104899130A CN104899130A (en) 2015-09-09
CN104899130B true CN104899130B (en) 2018-07-24

Family

ID=54031806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510265314.9A Active CN104899130B (en) 2015-05-22 2015-05-22 A kind of application management method and system

Country Status (1)

Country Link
CN (1) CN104899130B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106066865B (en) * 2016-05-26 2020-02-18 盐城睿泰数字科技有限公司 Application recommendation device and method
CN106201602B (en) * 2016-06-30 2020-02-14 北京奇虎科技有限公司 Label providing method, label obtaining method, server and electronic equipment
CN106055485A (en) * 2016-07-08 2016-10-26 北京奇虎科技有限公司 Method, device and system for testing application
CN106201756B (en) * 2016-07-12 2019-09-06 努比亚技术有限公司 Log acquisition device, mobile terminal and method
WO2018027843A1 (en) * 2016-08-11 2018-02-15 张焰焰 Data acquisition method and television set of television instruction input technology
CN106407095B (en) * 2016-09-07 2019-02-22 北京小米移动软件有限公司 Fault handling method and device
CN106411579A (en) * 2016-09-13 2017-02-15 深圳市金立通信设备有限公司 Run-time error information processing method, terminal and system
CN106791976A (en) * 2016-12-07 2017-05-31 康佳集团股份有限公司 The method and system of application have been installed in a kind of Android television monitoring and treatment
CN107092546B (en) * 2017-03-30 2020-10-16 武汉斗鱼网络科技有限公司 Live broadcast monitoring system and monitoring method of live broadcast platform
CN107147782B (en) * 2017-04-27 2020-05-19 北京酷我科技有限公司 Method for recording live broadcast of mobile phone
CN107453940A (en) * 2017-06-19 2017-12-08 深圳市盛路物联通讯技术有限公司 A kind of internet-of-things terminal equipment detection method and system based on access node
CN107688655A (en) * 2017-08-31 2018-02-13 努比亚技术有限公司 Application and identification method, equipment and computer-readable recording medium
CN108388502A (en) * 2018-01-18 2018-08-10 珠海金山网络游戏科技有限公司 A kind of method and apparatus that multiterminal detection data merges
CN108984203A (en) * 2018-06-08 2018-12-11 广东伊莱特电器有限公司 A kind of method and its system for the acquisition of Android application runtime data
CN114791835B (en) * 2022-03-16 2023-11-28 青岛海尔科技有限公司 Program restarting method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678091A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Method and device for processing crash data of application software
CN104506658A (en) * 2015-01-13 2015-04-08 厦门美图之家科技有限公司 Early-warning method and system for collapse of application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5673202B2 (en) * 2011-02-24 2015-02-18 日本電気株式会社 Computer system operating state analysis method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678091A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Method and device for processing crash data of application software
CN104506658A (en) * 2015-01-13 2015-04-08 厦门美图之家科技有限公司 Early-warning method and system for collapse of application program

Also Published As

Publication number Publication date
CN104899130A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104899130B (en) A kind of application management method and system
CN110795203B (en) Resource scheduling method, device, system and computing equipment
US6405327B1 (en) Apparatus for and method of automatic monitoring of computer performance
CN108111554B (en) Control method and device for access queue
CN109450771A (en) Add method, apparatus, computer equipment and the storage medium of good friend
CN111694752B (en) Application testing method, electronic device and storage medium
CN111045879B (en) Method, device and storage medium for generating pressure test report
CN109981419A (en) Test method, device, system, equipment and the storage medium of load balancing characteristic
CN107703922A (en) The full-automatic failure analysis methods of service robot and its device
CN113849362B (en) Business service platform management method, device and computer readable storage medium
CN109616216A (en) Medical expense prediction technique, device, equipment and computer readable storage medium
CN115543577A (en) Kubernetes resource scheduling optimization method based on covariates, storage medium and equipment
CN110262878A (en) Timed task processing method, device, equipment and computer readable storage medium
CN110347605A (en) Method, apparatus, equipment and the storage medium for preventing software from degenerating
CN116302989A (en) Pressure testing method and system, storage medium and computer equipment
CN115239450A (en) Financial data processing method and device, computer equipment and storage medium
CN114065090A (en) Method and system for updating classification database, storage medium and computer equipment
CN111736978B (en) System diary data classification processing method and device and intelligent electronic equipment
CN110569238A (en) data management method, system, storage medium and server based on big data
CN110569178A (en) interface early warning method and system based on big data platform
CN115098238B (en) Application program task scheduling method and device
CN115469972A (en) JVM parameter adjusting method and device, storage medium and electronic equipment
CN109491822A (en) A kind of system reboot detection method, device, terminal and storage medium
CN110222084B (en) Method and device for reporting monitoring information of hotspot equipment, storage medium and terminal
CN114064757A (en) Application program optimization method, device, equipment and medium

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
CP03 Change of name, title or address

Address after: 2306, east block, Skyworth semiconductor design building, 18 Gaoxin South 4th Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen Kukai Network Technology Co.,Ltd.

Address before: 518057 room 1502, block a, South Skyworth building, Shennan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Coocaa Network Technology Co.,Ltd.

CP03 Change of name, title or address