CN111400148A - Application program management method, device, equipment and medium - Google Patents

Application program management method, device, equipment and medium Download PDF

Info

Publication number
CN111400148A
CN111400148A CN201910004555.6A CN201910004555A CN111400148A CN 111400148 A CN111400148 A CN 111400148A CN 201910004555 A CN201910004555 A CN 201910004555A CN 111400148 A CN111400148 A CN 111400148A
Authority
CN
China
Prior art keywords
time
application program
average
user terminal
application
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.)
Pending
Application number
CN201910004555.6A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910004555.6A priority Critical patent/CN111400148A/en
Publication of CN111400148A publication Critical patent/CN111400148A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
    • G06F11/3423Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time where the assessed time is active or idle time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method, a device, equipment and a medium for managing an application program. The method comprises the following steps: screening out the common target position of the user terminal, and calculating the average appearance time and the average departure time of the user terminal at the common target position; acquiring work and rest time information of a user based on screen locking information of the user terminal; based on the work and rest time information, constructing a plurality of use scenes of the user terminal according to the position information of the common target position, the average occurrence time and the average departure time; and obtaining the activity condition of each application program in each use scene based on a plurality of use scenes and the behavior data of each application program used by the user, and forming a management strategy for each application program. According to the technical scheme provided by the embodiment of the invention, the scenes are divided according to the time and the position, so that the influence of the time and position factors on the use behavior of the application program of the user can be considered, and the application programs under different scenes can be managed.

Description

Application program management method, device, equipment and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a medium for managing an application.
Background
In the android system, in order to monitor the running state of the terminal device or to improve the response speed when the application program is restarted, even if a user exits from a certain application, the processes of the application can still continue to run in the background, and the processes can occupy system memory resources and increase power consumption. The application process management is to manage the application processes and timely clear the corresponding processes so as to achieve the purposes of releasing the system memory and reducing the power consumption.
The low memory killer (L ow memory killer, L MK) is an application process management method provided by the android system, a process reclaimed memory is cleaned according to a threshold value of a system residual memory and a priority (oom _ adj) of an application process, for example, when the system residual memory is less than 216M (megabyte), a process with a oom _ adj value larger than 9 is cleaned.
The application management method adopted by a plurality of terminal manufacturers is as follows: and (5) factory presetting of an application white list, and reserving the application in the white list when the application process is cleared. The method can avoid the false cleaning of common application to a certain extent, but has the following defects: firstly, an application white list is preset in a system before a mobile phone leaves a factory and cannot be updated in real time; secondly, the application white list is uniformly determined by a terminal manufacturer, and the application use habit of the differentiation of specific users is not considered, so that all the common applications of a certain user cannot be reserved.
In addition, in the existing method, the user common application mainly depends on the use duration and the use times of the application, and the influence of time and position factors on the use behavior of the user application is not considered.
This is because the applications that are commonly used by users at different time periods and different locations are usually different. For example, users use more office-type Application software (apps) such as nails in a work scene and more entertainment-type apps such as Tencent videos in a leisure scene, and therefore, the pertinence of acquiring common applications of users only according to the use duration and the number of the applications is weak.
In summary, in order to more accurately summarize the application usage habits of the user, the influence of the time and location factors on the application usage behavior of the user needs to be considered.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for managing application programs.
In a first aspect, an embodiment of the present invention provides a method for managing an application program, where the method includes:
screening out the common target position of the user terminal, and calculating the average appearance time and the average departure time of the user terminal at the common target position;
acquiring work and rest time information of a user based on screen locking information of the user terminal;
based on the work and rest time information, constructing a plurality of use scenes of the user terminal according to the position information of the common target position, the average occurrence time and the average departure time;
and obtaining the activity condition of each application program in each use scene based on a plurality of use scenes and the behavior data of each application program used by the user, and forming a management strategy for each application program.
According to the management method of the application program, the method for screening the common target position of the user terminal comprises the following steps:
acquiring the appearance time and the leaving time of the user terminal at each position;
based on the occurrence time and the leaving time, the staying time of the user terminal at each position is obtained, and the target position with the staying time exceeding a first preset time is screened out;
and calculating the daily average existence duration of the user terminal staying at the target position, and screening the common target position of the user terminal from the target position based on the daily average existence duration.
According to the management method of the application program, the average appearance time and the average leaving time of the user terminal at the common target position are calculated, and the method comprises the following steps:
dividing a preset time period before the zero point of the day into a plurality of time periods;
and calculating the appearance time and the departure time of the user terminal at the common target position by using different weights based on different time periods in the plurality of time periods, and calculating the average appearance time and the average departure time of the user terminal at the common target position.
According to the management method of the application program, the work and rest time information of the user is acquired based on the screen locking information of the user terminal, and the method comprises the following steps:
acquiring screen locking start time and screen locking end time based on screen locking information of a user terminal;
screening out records of which the screen locking duration exceeds a second preset duration based on the screen locking start time and the screen locking end time;
dividing a preset time period before the zero point of the day into a plurality of time periods;
calculating the screen locking starting time and the screen locking ending time of the selected record by using different weights based on different time periods in the multiple time periods to obtain the average screen locking starting time and the average screen locking ending time of the selected record;
and acquiring work and rest time information of the user based on the average screen locking starting time and the average screen locking ending time, wherein the work and rest time information comprises rest time and non-rest time.
According to the management method of the application program, the method further comprises the following steps:
when the application program is any one of map navigation, background audio or video playing, background downloading service, background recording and step-counting application, the management of each application program based on the management strategy of each application program is not closed.
According to the management method of the application program, the behavior data of each application program used by the user comprises the following steps:
the method comprises the steps of obtaining position information when a user uses each application program, opening time and closing time of each application program, using time length of each application program and using times of each application program.
According to the management method of the application programs, the active condition of each application program under each use scene is obtained based on a plurality of use scenes and behavior data of each application program used by a user, and a management strategy for each application program is formed, and the management strategy comprises the following steps:
acquiring the use conditions of each application program under different use scenes based on the position information, the average occurrence time and the average departure time of the common target positions of the plurality of use scenes, the position information when the user uses each application program, the opening time of each application program and the closing time of each application program;
and acquiring the active condition of each application program in different use scenes according to the use condition of each application program in different use scenes to form a management strategy for each application program.
According to the management method of the application program, the active condition of each application program under different use scenes is obtained, and the method comprises the following steps:
and acquiring the activity condition of each application program in different use scenes according to the use duration and/or the use times of each application program in each scene of each application program.
According to the management method of the application programs, the active conditions of the application programs in different use scenes are obtained according to the use duration and/or the use times of the application programs in each scene, and the method comprises the following steps:
acquiring the daily average use time of each application program and the daily average use frequency of each application program in each scene according to the use time of each application program in each scene and the use frequency of each application program;
and acquiring the activity condition of each application program in different use scenes according to the ratio of the daily average use time of each application program in each scene to the daily average use time of the user terminal in each scene and/or the daily average use times of each application program.
According to the application management method of the present invention, acquiring the daily average usage duration and daily average usage number of each application in each scene according to the usage duration and usage number of each application in each scene, includes:
dividing a preset time period before the zero point of the day into a plurality of time periods;
based on different time periods in the multiple time periods, calculating the use duration and the use times of each application program by using different weights, and acquiring the daily use duration and the daily use times of each application program in each scene.
In a second aspect, an embodiment of the present invention provides an apparatus for managing an application, where the apparatus includes:
the calculation module is used for screening out the common target position of the user terminal and calculating the average appearance time and the average departure time of the user terminal at the common target position;
the acquisition module is used for acquiring work and rest time information of the user based on the screen locking information of the user terminal;
the construction module is used for constructing a plurality of use scenes of the user terminal according to the position information of the common target position, the average occurrence time and the average departure time based on the work and rest time information;
and the management module is used for acquiring the active condition of each application program in each use scene based on a plurality of use scenes and the behavior data of each application program used by the user, and forming a management strategy for each application program.
According to the management apparatus of an application program of the present invention, the calculation module is specifically configured to:
acquiring the appearance time and the leaving time of the user terminal at each position;
based on the occurrence time and the leaving time, the staying time of the user terminal at each position is obtained, and the target position with the staying time exceeding a first preset time is screened out;
and calculating the daily average existence duration of the user terminal staying at the target position, and screening the common target position of the user terminal from the target position based on the daily average existence duration.
According to the management apparatus of an application program of the present invention, the calculation module is specifically configured to:
dividing a preset time period before the zero point of the day into a plurality of time periods;
and calculating the appearance time and the departure time of the user terminal at the common target position by using different weights based on different time periods in the plurality of time periods, and calculating the average appearance time and the average departure time of the user terminal at the common target position.
According to the management apparatus for an application described in the present invention, the obtaining module is specifically configured to:
acquiring screen locking start time and screen locking end time based on screen locking information of a user terminal;
screening out records of which the screen locking duration exceeds a second preset duration based on the screen locking start time and the screen locking end time;
dividing a preset time period before the zero point of the day into a plurality of time periods;
calculating the screen locking starting time and the screen locking ending time of the selected record by using different weights based on different time periods in the multiple time periods to obtain the average screen locking starting time and the average screen locking ending time of the selected record;
and acquiring work and rest time information of the user based on the average screen locking starting time and the average screen locking ending time, wherein the work and rest time information comprises rest time and non-rest time.
According to the management apparatus of the application program of the present invention, the management module is specifically configured to:
when the application program is any one of map navigation, background audio or video playing, background downloading service, background recording and step-counting application, all the application programs are not closed when being managed based on the management strategy of all the application programs.
According to the management apparatus of the application program of the present invention, the management module is specifically configured to:
the method comprises the steps of obtaining position information when a user uses each application program, opening time and closing time of each application program, using time length of each application program and using times of each application program.
According to the management apparatus of the application program of the present invention, the management module is specifically configured to:
acquiring the use conditions of each application program under different use scenes based on the position information, the average occurrence time and the average departure time of the common target positions of the plurality of use scenes, the position information when the user uses each application program, the opening time of each application program and the closing time of each application program;
and acquiring the active condition of each application program in different use scenes according to the use condition of each application program in different use scenes to form a management strategy for each application program.
According to the management apparatus of the application program of the present invention, the management module is specifically configured to:
and acquiring the activity condition of each application program in different use scenes according to the use duration and/or the use times of each application program in each scene of each application program.
According to the management apparatus of the application program of the present invention, the management module is specifically configured to:
acquiring the daily average use time of each application program and the daily average use frequency of each application program in each scene according to the use time of each application program in each scene and the use frequency of each application program;
and acquiring the activity condition of each application program in different use scenes according to the ratio of the daily average use time of each application program in each scene to the daily average use time of the user terminal in each scene and/or the daily average use times of each application program.
According to the management apparatus of the application program of the present invention, the management module is specifically configured to:
dividing a preset time period before the zero point of the day into a plurality of time periods;
based on different time periods in the multiple time periods, calculating the use duration and the use times of each application program by using different weights, and acquiring the daily use duration and the daily use times of each application program in each scene.
In a third aspect, an embodiment of the present invention provides an application management device, including: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of the first aspect of the embodiments described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer program instructions are stored, which, when executed by a processor, implement the method of the first aspect in the foregoing embodiments.
According to the application program management method, device, equipment and medium provided by the embodiment of the invention, the scenes are divided according to the time and the position, so that the influence of the time and position factors on the application program using behaviors of the user can be considered, and the application programs under different scenes can be managed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for managing an application according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram showing an application management apparatus according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for managing an application according to a scenario according to another embodiment of the present invention;
fig. 4 is a schematic diagram showing a hardware configuration of an application management device according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
An embodiment of the present invention may provide a method for managing an application program, and referring to fig. 1, fig. 1 shows a flowchart of a method 100 for managing an application program according to an embodiment of the present invention, where the method includes:
s110, screening out the common target position of the user terminal, and calculating the average appearance time and the average departure time of the user terminal at the common target position;
s120, acquiring work and rest time information of the user based on the screen locking information of the user terminal;
s130, based on the work and rest time information, according to the position information of the common target position, the average occurrence time and the average departure time, constructing a plurality of use scenes of the user terminal;
and S140, acquiring the activity condition of each application program in each use scene based on a plurality of use scenes and the behavior data of each application program used by the user, and forming a management strategy for each application program.
By utilizing the scheme provided by the invention, the scenes are summarized according to the time and the position, the active application lists under different scenes are obtained according to the behavior data of each application program used by the user, and different management strategies are adopted for the application programs under different scenes.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an application management apparatus 200 according to an embodiment of the present invention, where the apparatus includes:
the calculation module 210 is configured to screen out a common target position of the user terminal, and calculate an average occurrence time and an average departure time of the user terminal at the common target position;
the obtaining module 220 is configured to obtain work and rest time information of the user based on the screen locking information of the user terminal;
a constructing module 230, configured to construct multiple usage scenarios of the user terminal according to the location information of the common target location, the average occurrence time, and the average departure time based on the work and rest time information;
and the management module 240 is configured to obtain an active situation of each application program in each usage scenario based on the multiple usage scenarios and the behavior data of each application program used by the user, and form a management policy for each application program.
By utilizing the scheme provided by the invention, the scenes are summarized according to the time and the position, the active application lists under different scenes are obtained according to the behavior data of each application program used by the user, and different management strategies are adopted for the application programs under different scenes.
The following describes, by way of specific examples, alternative specific processes of embodiments of the present invention. It should be noted that the scheme of the present invention does not depend on a specific algorithm, and in practical applications, any known or unknown hardware, software, algorithm, program, or any combination thereof may be used to implement the scheme of the present invention, and the scheme of the present invention is within the protection scope of the present invention as long as the essential idea of the scheme of the present invention is adopted.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for managing an application according to a scenario according to another embodiment of the present invention. The method comprises the following steps:
s310, collecting user data:
s320, collecting system data;
s330, scene identification;
s340, forming an active application program list under each scene;
and S350, managing the application program according to the scene.
The following describes the steps shown in fig. 3 in detail, specifically as follows:
s310, collecting user data. Specifically, the use behavior data of the user is collected, the use behavior refers to the behavior of the user using various application programs, the opening time of each application program (application for short), the closing time of each application and the use position of each application of the user are mainly counted, and the use duration and the use times of each application of the user are calculated on the basis of the data. Referring to table 1, table 1 is a user behavior data recording table according to an embodiment of the present invention.
(1) User behavior data record table: one record is generated per use of the application's behavior. A full application use at a time refers to opening a closed loop of the application to exit/close the application, i.e. one record is used as one application.
TABLE 1
Figure BDA0001934926710000091
Figure BDA0001934926710000101
Further, it should be noted that when the start position and the close position of the application are different, the existence duration of the application at the start position and the existence duration of the application at the close position are respectively obtained and compared, and the position with the longer existence duration is taken as a reference for respectively summarizing the application use behaviors in each scene.
And S320, collecting system data. As an example, the system data mainly includes location information, time information, and screen locking information, and refer to table 2, where table 2 is a location record table according to an embodiment of the present invention.
(1) Position record table: the location where the single-presence duration exceeds a preset duration requirement (e.g., exceeds 1 hour) is recorded.
TABLE 2
Position of Time of occurrence Time of departure
P1 t1 t2
P2 t3 t4
P3 t2 t3
For example, positions P1, P2, and P3 in table 2 are all positions where the single-presence duration exceeds the preset duration requirement, and the user's presence time at position P1 is t1 and leaving time is t 2.
Referring to table 3, table 3 is a lock screen recording table according to an embodiment of the present invention.
(2) Locking the screen recording table:
TABLE 3
Figure BDA0001934926710000102
By utilizing the method provided by the embodiment of the invention, the user data collection is more comprehensive, the data such as the application use time length and times can be recorded, the specific time and the specific position of the application use are also recorded, and the subsequent application use habits of the user can be accurately summarized through the multidimensional data.
In addition, the data collection is more in variety, besides the user behavior data, system data such as screen locking, position and time are collected, and the terminal use scene of the user can be summarized through the system data, so that application program management can be performed in combination with the terminal use scene.
And S330, scene identification. Specifically, scene discrimination recognition is performed by time and location:
(1) in time, according to the user screen locking record table, the work and rest habits of the user are summarized and divided into rest time and general time.
As an example, zero-point screening is performed every day on records in the screen locking record table, the screen locking duration of which is longer than 1 hour, the screen locking start time and the screen locking end time of which are clustered, and the average screen locking start time and the average screen locking end time are calculated. And defining the time period between the average screen locking starting time and the average screen locking ending time as rest time, and taking the rest time as general time.
The average lock screen start time and end time are the weighted average of all time records prior to the zero point of the day. For example, all the time is divided into three time periods, namely 7 natural days from the zero point of the day, 30 natural days from the zero point of the day, and 30 natural days from the zero point of the day; and respectively calculating the average screen locking starting time and the average screen locking ending time of the three time periods, and averaging the results of the three time periods according to the weights of 50%, 30% and 20% to obtain the final average screen locking starting time and the final average screen locking ending time.
(2) And extracting the most common position through recording the position information.
The common positions are recorded by the zero point of each day according to a position recording table, the average daily existence time of each position is calculated, the common positions are sorted according to the average daily duration, and the longer the average daily duration is, the more common the positions are. In addition, the occurrence time and the departure time of the position are clustered, and the average occurrence time and the average departure time are calculated, so as to form a common position list, see table 4, where table 4 is a common target position list according to an embodiment of the present invention.
Wherein the average time of day, the average time of occurrence, and the average time of departure are weighted averages of all time recordings before the time of day zero. For example, all the time is divided into three time periods, namely 7 natural days from the zero point of the day, 30 natural days from the zero point of the day, and 30 natural days from the zero point of the day; and respectively calculating the daily average existence time, the average appearance time and the average leaving time of the three time periods, and averaging the results of the three time periods according to the weights of 50%, 30% and 20% to obtain the daily average existence duration, the average appearance time and the average leaving time of the position.
TABLE 4
Position of Average time of day Mean time of occurrence Mean time of departure
P1 T1 t1 t2
P2 T2 t2 t3
(3) Scene recognition, a scene mainly comprises two factors: time and location.
It should be noted that the rest time, i.e. the user terminal such as a mobile phone is in the screen lock state, has no specific application usage behavior, and therefore only the general time is related to the application behavior data.
According to the common position list, ranking according to the time length descending order of the position daily average, extracting the position X before ranking as the most common position, if the common position 3 before ranking is extracted, respectively recording as a common position 1, a common position 2 and a common position 3, and recording the rest positions as others.
And carrying out cross combination on the time and the position to subdivide the scene. For example, 5 scenes are distinguished: a scene (common location 1X general time); b scene (common location 2X general time); c scene (common location 3X general time); d scene (common location 4X general time); e rest scenario (i.e. rest time). Accordingly, a scene list is formed, and referring to table 5, table 5 is a scene list according to an embodiment of the present invention.
TABLE 5
Scene Position of Starting time End time
Scene A General position 1 t1 t2
B scene General position 2 t1 t2
C scene General position 3 t1 t2
D scene Others t1 t2
E scene All positions t2 t1
And S340, forming an active application program list in each scene. According to the scenes formed in step S330, the application activity rules (application usage habits of the user in the scenes) in the scenes are summarized, that is, the active application lists in different scenes are generated, and the active application lists are updated in a zero-point rolling manner every day.
The active application is determined according to the application use duration and the application use times, and any one of the following standards can be met:
(1) the percentage of the daily average use time length applied in the scene to the total daily average use time length of the mobile phone in the scene is more than X% (for example, the percentage is more than 10%).
(2) The application is applied to the scene, wherein the daily average use frequency is more than X times (for example, the daily average use frequency is more than 5 times).
(3) And (3) index interpretation:
① day average is weighted average of all time before zero point of the day, if all time is divided into three time periods, namely 7 natural days before zero point of the day, 30 natural days before zero point of the day, and 30 natural days before zero point of the day, the average value of all indexes of the three time periods is calculated firstly, and then the average values of the three indexes are weighted and averaged according to 50%, 30% and 20%, so that the final average value of the day can be obtained.
② the scene identified in step S330 has corresponding location and time period limitations.
③ the usage duration of the application program in this scenario is the sum of the usage periods of the application that meet the time and location requirements of the scenario, recorded by the time and location in the user behavior data log (Table 1).
④ Total duration of use of the handset in the scene, i.e. Total duration of non-lock state in the scene, Total usage time periods meeting the scene time and location requirements, according to the time records in the lock screen record table (Table 3), Total usage time periods, i.e. Total duration of the scene (end time-start time in the scene list (Table 5)), Total duration of lock screen meeting the scene time and location requirements in the lock screen record table.
⑤ matching the time and position requirement of the scene according to the time and position record in the user behavior data record table, the number of records that the application meets the requirement is the number of times of use in the scene.
Because the rest scene means that when the mobile phone is in the screen locking state, no application use behavior exists, that is, no active application exists in the scene, and the intersection of the applications in all the active application lists in the other scenes can be recorded as the active application list of the scene. For example, 4 active application lists, active application list a, active application list B, active application list C, and active application list D, may be obtained according to the application usage behavior data. Note that the active application list E is an application that also belongs to the active application list ABCD (i.e., the intersection of ABCDs). Finally, a scene active application list is formed, as shown in table 6, and table 6 shows an active application list in each scene according to the embodiment of the present invention.
TABLE 6
Scene Active application list
Scene A listA
B scene listB
C scene listC
D scene listD
E scene listE
By utilizing the method of the embodiment of the invention, scenes are identified and summarized through the collected screen locking, time and position information, and the application use behaviors of the user are respectively summarized in each scene, so that the generalization of the application use habits of the user is more accurate.
In addition, in the prior art, applications are scored mainly according to historical operation data of the applications, the fact that representativeness of the operation data of users at different times to the application use habits of the current users is not considered, all the historical operation data are scored according to uniform weight, and common application processes of the users are prone to being cleaned by mistake. For example, a user commonly uses the QQ half year ago, and the recent use habit is commonly used microblog, for example, the QQ (use frequency 200) is frequently used half year ago, and is rarely used later, but the microblog is used more frequently (for example, the QQ is frequently used in the last month and the use frequency is 60), but the QQ is scored according to the method and is higher than the microblog, and the microblog which is more frequently used recently by the user can be cleaned preferentially in the cleaning process.
According to the scheme of the embodiment of the invention, all historical data are utilized firstly in the aspect of processing and utilizing specific data, so that the data is more comprehensive, meanwhile, the weighted use of the data in different time periods is realized by considering the different representativeness of the operation data of the user to the application use habit of the current user at different time, the accuracy is higher, and the mistaken cleaning of the recent commonly used application of the user is prevented.
And S350, managing the application program according to the scene. And according to the current time and position of the system, matching the current scene in the scene list formed in the step 3 by an index, and searching a corresponding active application list in the scene active application list formed in the step 4 according to the scene.
In the prior art, when the system memory is insufficient, the background processes are sequentially closed according to the scores, and it is not considered that some applications still need to run in the background to provide services for the user after exiting the foreground, such as background navigation of a map, background playing of music, and the like, so the method is easy to cause the problem of mistakenly closing the application process currently required by the user, for example, although the user does not use a high-resolution map frequently, the score is extremely low, but the user uses the high-resolution map to perform travel navigation in the background at this time, the method can clear the process, and the normal use of the user is influenced.
In the embodiment of the invention, the application process which is in a background state (namely the application of which the home key or the exit key exits and is not the map navigation process, the background audio and video playing process, the background downloading service process, the background recording process and the motion step counting application process) and does not belong to the scene active application list is closed after being in the background state for 5 minutes.
By adopting the method, the closing of the process is not dependent on the size of the residual memory of the current system, but automatically closed according to the application state, and the effect is better in the aspects of reducing energy consumption and improving the system fluency. When the background running process is managed, the application processes which provide services for users in the background running states of a map navigation process, a background audio and video playing process, a background downloading service process, a background recording process, a motion step counting application process and the like are protected, and the mistaken cleaning is avoided.
Firstly, the embodiment of the invention divides scenes according to time and position, forms an active application list under the scene by combining application use data of a user, identifies a matched scene according to the current time and position, and automatically manages the process of an application program, namely closes the process of an inactive application, thereby realizing the scene management of the application program.
Secondly, the embodiment of the invention can prevent the accuracy of the common application white list from being reduced caused by the sporadic short-term behavior of the user by applying the processing of the time-segmented weighted average to the application operation data of the user.
In summary, according to the above-mentioned scheme of the present invention, the scenes can be summarized according to the system time and the location, the active application lists in different scenes can be obtained through weighted calculation according to the behavior data of the application used by the user, and different management strategies are adopted for the application processes in different scenes, that is, the inactive application background process in the current scene is closed.
In addition, the management method of the application program of the embodiment of the present invention described in conjunction with fig. 1 may be implemented by a management apparatus of the application program. Fig. 4 is a schematic diagram showing a hardware configuration of an application management device according to an embodiment of the present invention.
The management device for the application may comprise a processor 1003 and a memory 1004 storing computer program instructions.
Fig. 4 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing a communication method and a network server according to an embodiment of the present invention. As shown in fig. 4, computing device 1000 includes input device 1001, input interface 1002, processor 1003, memory 1004, output interface 1005, and output device 1006.
The input interface 1002, the processor 1003, the memory 1004, and the output interface 1005 are connected to each other via a bus 1010, and the input device 1001 and the output device 1006 are connected to the bus 1010 via the input interface 1002 and the output interface 1005, respectively, and further connected to other components of the computing device 1000.
Specifically, the input device 1001 receives input information from the outside and transmits the input information to the processor 1003 via the input interface 1002; the processor 1003 processes the input information based on computer-executable instructions stored in the memory 1004 to generate output information, stores the output information temporarily or permanently in the memory 1004, and then transmits the output information to the output device 1006 through the output interface 1005; output device 1006 outputs the output information external to computing device 1000 for use by a user.
The computing device 1000 may perform the steps of the communication method described herein.
Processor 1003 may be one or more Central Processing Units (CPUs). In the case where the processor 1003 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
The memory 1004 may be, but is not limited to, one or more of Random Access Memory (RAM), Read Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), compact disc read only memory (CD-ROM), a hard disk, and the like. The memory 1004 is used to store program codes.
It is understood that, in the embodiment of the present application, the functions of any one or all of the computing module to the management module provided in fig. 2 may be implemented by the central processor 1003 shown in fig. 4.
The computer instructions may be stored on or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., from one website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DS L) or wireless (e.g., infrared, wireless, microwave, etc.) means to another website site, computer, server, or data center via a solid state storage medium, such as a solid state Disk, or the like, (e.g., a solid state Disk, a magnetic storage medium, such as a DVD, a SSD, etc.), or any combination thereof.
All parts of the specification are described in a progressive mode, the same and similar parts of all embodiments can be referred to each other, and each embodiment is mainly introduced to be different from other embodiments. In particular, as to the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple and reference may be made to the description of the method embodiments in relevant places.

Claims (13)

1. A method for managing an application program, the application program being integrated on a user terminal, the method comprising:
screening out the common target position of the user terminal, and calculating the average appearance time and the average departure time of the user terminal at the common target position;
acquiring work and rest time information of the user based on screen locking information of the user terminal;
based on the work and rest time information, constructing a plurality of use scenes of the user terminal according to the position information of the common target position, the average occurrence time and the average departure time;
and acquiring the activity condition of each application program under each use scene based on the plurality of use scenes and the behavior data of each application program used by the user, and forming a management strategy for each application program.
2. The method according to claim 1, wherein the screening out the common target locations of the user terminal comprises:
acquiring the appearance time and the leaving time of the user terminal at each position;
based on the appearance time and the leaving time, obtaining the staying time of the user terminal at each position, and screening out the target position with the staying time exceeding a first preset time;
and calculating the daily average existing time length of the user terminal staying at the target position, and screening the common target position of the user terminal from the target position based on the daily average existing time length.
3. The method according to claim 2, wherein the calculating the average time of occurrence and the average time of departure of the ue at the common target location comprises:
dividing a preset time period before the zero point of the day into a plurality of time periods;
and calculating the appearance time and the departure time of the user terminal at the common target position by using different weights based on different time periods in the time periods, and calculating the average appearance time and the average departure time of the user terminal at the common target position.
4. The method according to claim 1, wherein the obtaining the work and rest time information of the user based on the screen locking information of the user terminal comprises:
acquiring screen locking starting time and screen locking ending time based on screen locking information of the user terminal;
screening out records of which the screen locking duration exceeds a second preset duration based on the screen locking starting time and the screen locking ending time;
dividing a preset time period before the zero point of the day into a plurality of time periods;
calculating the screen locking starting time and the screen locking ending time of the selected record by using different weights based on different time periods in the plurality of time periods to obtain the average screen locking starting time and the average screen locking ending time of the selected record;
and acquiring work and rest time information of the user based on the average screen locking starting time and the average screen locking ending time, wherein the work and rest time information comprises rest time and non-rest time.
5. The method of claim 1, wherein the forming a management policy for the respective application comprises:
when the application program is any one of map navigation, background audio or video playing, background downloading service, background recording and step sports application, all the application programs are not closed when being managed based on the management strategy of each application program.
6. The method of claim 1, wherein the user's behavior data for use with the respective application comprises:
the method comprises the steps of obtaining position information when a user uses each application program, opening time and closing time of each application program, using time length of each application program and using times of each application program.
7. The method according to claim 6, wherein the obtaining the activity of each application program in each usage scenario based on the multiple usage scenarios and behavior data of each application program used by the user, and forming a management policy for each application program comprises:
acquiring the use conditions of the application programs under different use scenes based on the position information, the average occurrence time and the average departure time of the common target positions of the use scenes, the position information when the user uses each application program, the opening time of each application program and the closing time of each application program;
and acquiring the active condition of each application program in different use scenes according to the use condition of each application program in different use scenes to form a management strategy for each application program.
8. The method according to claim 7, wherein the obtaining the activity of each application program in different usage scenarios comprises:
and acquiring the activity condition of each application program in different use scenes according to the use duration and/or the use times of each application program in each scene.
9. The method according to claim 8, wherein the obtaining the activity condition of each application program in the different usage scenarios according to the usage duration and/or the usage number of each application program in each scenario of each application program comprises:
acquiring the daily average use time of each application program and the daily average use frequency of each application program in each scene according to the use time of each application program and the use frequency of each application program in each scene;
and acquiring the activity condition of each application program in different use scenes according to the proportion of the daily average use time of each application program in each scene to the daily average use time of the user terminal in each scene and/or the daily average use times of each application program.
10. The method according to claim 9, wherein the obtaining of the daily usage duration and the daily usage count of each application program in each scene according to the usage duration and the usage count of each application program in each scene comprises:
dividing a preset time period before the zero point of the day into a plurality of time periods;
and calculating the use duration and the use times of each application program by using different weights based on different time periods in the time periods, and acquiring the daily average use duration and the daily average use times of each application program in each scene.
11. An apparatus for managing an application program, the application program being integrated on a user terminal, the apparatus comprising:
the calculation module is used for screening out the common target position of the user terminal and calculating the average occurrence time and the average departure time of the user terminal at the common target position;
the acquisition module is used for acquiring the work and rest time information of the user based on the screen locking information of the user terminal;
the construction module is used for constructing a plurality of use scenes of the user terminal according to the position information of the common target position, the average occurrence time and the average departure time based on the work and rest time information;
and the management module is used for acquiring the active condition of each application program under each use scene based on the plurality of use scenes and the behavior data of each application program used by the user, and forming a management strategy for each application program.
12. An application management apparatus integrated with an application on a user terminal, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-10.
13. A computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-10.
CN201910004555.6A 2019-01-03 2019-01-03 Application program management method, device, equipment and medium Pending CN111400148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910004555.6A CN111400148A (en) 2019-01-03 2019-01-03 Application program management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910004555.6A CN111400148A (en) 2019-01-03 2019-01-03 Application program management method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN111400148A true CN111400148A (en) 2020-07-10

Family

ID=71434012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910004555.6A Pending CN111400148A (en) 2019-01-03 2019-01-03 Application program management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111400148A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140115509A1 (en) * 2011-07-07 2014-04-24 Huawei Device Co., Ltd. Method and device for automatically displaying an application component on a desktop
CN105278666A (en) * 2014-12-16 2016-01-27 维沃移动通信有限公司 Method and device for obtaining work and rest time of users
CN106021507A (en) * 2016-05-20 2016-10-12 广东欧珀移动通信有限公司 Application recommendation method and apparatus, and mobile terminal
CN106341542A (en) * 2016-09-21 2017-01-18 深圳市九洲电器有限公司 Application program management recommendation method and system in mobile phone
CN106502768A (en) * 2016-09-22 2017-03-15 南京酷派软件技术有限公司 A kind of applied program processing method, device, terminal and server
CN107045444A (en) * 2017-04-18 2017-08-15 广东小天才科技有限公司 A kind of application program recommends method and device
CN107463477A (en) * 2017-06-27 2017-12-12 广东欧珀移动通信有限公司 Mobile terminal and its management method, computer-readable recording medium
CN107635078A (en) * 2017-10-30 2018-01-26 广东欧珀移动通信有限公司 Game control method and equipment
CN108540651A (en) * 2018-03-14 2018-09-14 维沃移动通信有限公司 A kind of the recommendation method and mobile terminal of application program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140115509A1 (en) * 2011-07-07 2014-04-24 Huawei Device Co., Ltd. Method and device for automatically displaying an application component on a desktop
CN105278666A (en) * 2014-12-16 2016-01-27 维沃移动通信有限公司 Method and device for obtaining work and rest time of users
CN106021507A (en) * 2016-05-20 2016-10-12 广东欧珀移动通信有限公司 Application recommendation method and apparatus, and mobile terminal
CN106341542A (en) * 2016-09-21 2017-01-18 深圳市九洲电器有限公司 Application program management recommendation method and system in mobile phone
CN106502768A (en) * 2016-09-22 2017-03-15 南京酷派软件技术有限公司 A kind of applied program processing method, device, terminal and server
CN107045444A (en) * 2017-04-18 2017-08-15 广东小天才科技有限公司 A kind of application program recommends method and device
CN107463477A (en) * 2017-06-27 2017-12-12 广东欧珀移动通信有限公司 Mobile terminal and its management method, computer-readable recording medium
CN107635078A (en) * 2017-10-30 2018-01-26 广东欧珀移动通信有限公司 Game control method and equipment
CN108540651A (en) * 2018-03-14 2018-09-14 维沃移动通信有限公司 A kind of the recommendation method and mobile terminal of application program

Similar Documents

Publication Publication Date Title
CN108270842B (en) Method, system and server for pushing rights and interests task
CN110337059B (en) Analysis algorithm, server and network system for family relationship of user
CN107678800B (en) Background application cleaning method and device, storage medium and electronic equipment
JP2016535369A (en) Provision of application programs and user recommendation information
CN106230997B (en) Resource scheduling method and device
CN107301215B (en) Search result caching method and device and search method and device
CN103686237A (en) Method and system for recommending video resource
WO2019136963A1 (en) Method and device for reclaiming memory
CN115862088A (en) Identity recognition method and device
CN112016030B (en) Message pushing method, device, server and computer storage medium
CN112311612A (en) Family portrait construction method and device and storage medium
CN109885656B (en) Microblog forwarding prediction method and device based on quantification heat degree
CN111324533A (en) A/B test method and device and electronic equipment
WO2020173314A1 (en) Personnel statistical method and device and electronic device
CN109688217B (en) Message pushing method and device and electronic equipment
CN109086813B (en) Determination method, device and equipment for similarity of anchor and storage medium
CN110708361B (en) System, method and device for determining grade of digital content publishing user and server
CN109150819B (en) A kind of attack recognition method and its identifying system
CN111400148A (en) Application program management method, device, equipment and medium
CN113703993A (en) Service message processing method, device and equipment
US10885160B1 (en) User classification
CN111581508B (en) Service monitoring method, device, equipment and storage medium
CN111429920B (en) User distinguishing method, user behavior library determining method, device and equipment
CN116820323A (en) Data storage method, device, electronic equipment and computer readable storage medium
CN109040447B (en) Mobile phone wall identification method and device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination