CN111274093B - Application program ordering method and device - Google Patents

Application program ordering method and device Download PDF

Info

Publication number
CN111274093B
CN111274093B CN202010076322.XA CN202010076322A CN111274093B CN 111274093 B CN111274093 B CN 111274093B CN 202010076322 A CN202010076322 A CN 202010076322A CN 111274093 B CN111274093 B CN 111274093B
Authority
CN
China
Prior art keywords
application program
ordering
target application
sequencing
target
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
CN202010076322.XA
Other languages
Chinese (zh)
Other versions
CN111274093A (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.)
Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Original Assignee
Hunan Happly Sunshine Interactive Entertainment Media 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 Hunan Happly Sunshine Interactive Entertainment Media Co Ltd filed Critical Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Priority to CN202010076322.XA priority Critical patent/CN111274093B/en
Publication of CN111274093A publication Critical patent/CN111274093A/en
Application granted granted Critical
Publication of CN111274093B publication Critical patent/CN111274093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The invention provides a method and a device for ordering application programs, wherein the method comprises the following steps: when a sequencing instruction is received, determining a sequencing mode corresponding to the sequencing instruction; determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs; and determining the sequencing result of each target application program according to the size of each target sequencing parameter. And each application program is sequenced independently of the time of the local system, so that the accuracy of sequencing the application programs is improved.

Description

Application program ordering method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for ordering application programs.
Background
Along with the development of scientific technology, application programs which can be supported on intelligent devices such as intelligent mobile phones and intelligent televisions are more and more abundant, people can use various application programs to carry out activities such as recreation, office work and the like, and great convenience is brought to people. However, as the number of applications increases, it is often difficult to quickly find the applications that they desire.
In order to facilitate people to quickly find their desired application programs, it is often necessary to order the individual application programs. In the prior art, it was often necessary to order the individual applications based on system time. However, when the system time is changed due to a user's misoperation or a system itself malfunction, inaccurate sequencing may be caused.
Disclosure of Invention
The invention aims to provide a sequencing method of application programs, which can improve the sequencing accuracy of the application programs.
The invention also provides a sequencing device of the application program, which is used for ensuring the realization and application of the method in practice.
A method of ordering applications, comprising:
when a sequencing instruction is received, determining a sequencing mode corresponding to the sequencing instruction;
determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs;
and determining the sequencing result of each target application program according to the size of each target sequencing parameter.
The above method, optionally, the process of determining that the installed application program meets the preset ordering condition, includes:
determining the identification information of each currently installed application program, and acquiring application security data;
matching each piece of identification information with the application security data to obtain authority information corresponding to each piece of identification information;
and for each application program, if the authority information corresponding to the identification information of the application program characterizes the application program as a white list application program, judging that the application program meets the preset ordering condition.
The method, optionally, each of the generating processes of the arrangement data includes:
judging whether a historical arrangement data set of each target application program exists or not under the condition that a preset application ordering service is in a starting state;
if not, acquiring a sequencing order configuration file, and generating an initial arrangement data set according to the sequencing order configuration file; the initial arrangement data set comprises dynamic ordering parameters and initial arrangement data of each target application program;
monitoring each target application program, updating the dynamic ordering parameters when any one target application program triggers any preset monitoring event, and updating ordering parameters corresponding to the monitoring event in initial arrangement data of the target application program according to the updated dynamic ordering parameters and the type of the monitoring event; and when the ordering instruction is received, determining each initial arrangement data as arrangement data.
In the above method, optionally, the determining the ordering mode corresponding to the ordering instruction includes:
analyzing the ordering instruction to obtain instruction information of the ordering instruction;
and inquiring a preset configuration table by using the instruction information to determine a sequencing mode corresponding to the instruction information.
The method, optionally, further comprises:
and displaying the target application programs on a preset visual interface based on the sequencing result of the target application programs.
An apparatus for sorting applications, comprising:
the receiving unit is used for determining a sequencing mode corresponding to the sequencing instruction when the sequencing instruction is received;
a first determining unit, configured to determine a target ranking parameter corresponding to the ranking mode in pre-generated ranking data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs;
and the second determining unit is used for determining the sequencing result of each target application program according to the size of each target sequencing parameter.
The above device, optionally, further comprises:
the execution unit is used for determining the identification information of each currently installed application program and acquiring application security data;
the matching unit is used for matching each piece of identification information with the application security data to obtain authority information corresponding to each piece of identification information;
and the judging unit is used for judging that each application program meets the preset ordering condition if the authority information corresponding to the identification information of the application program indicates that the application program is a white list application program.
The above device, optionally, further comprises:
a judging unit, configured to judge whether a history arrangement data set of each target application program exists in a case where a preset application ordering service is in a start state;
the generation unit is used for acquiring a sequencing order configuration file when the historical arrangement data set of each target application program does not exist, and generating an initial arrangement data set according to the sequencing order configuration file; the initial arrangement data set comprises dynamic ordering parameters and initial arrangement data of each target application program;
the monitoring unit is used for monitoring each target application program, updating the dynamic ordering parameters when any one preset monitoring event is triggered by any one target application program, and updating ordering parameters corresponding to the monitoring event in the initial arrangement data of the target application program according to the updated dynamic ordering parameters and the type of the monitoring event; and when the ordering instruction is received, determining each initial arrangement data as arrangement data.
The above apparatus, optionally, the receiving unit includes:
the analysis subunit is used for analyzing the ordering instruction to obtain instruction information of the ordering instruction;
and the inquiring subunit is used for inquiring a preset configuration table by applying the instruction information so as to determine the ordering mode corresponding to the instruction information.
The above device, optionally, further comprises:
and the display unit is used for displaying the target application programs on a preset visual interface according to the sequencing result of the target application programs.
Compared with the prior art, the invention has the following advantages:
the invention provides a sorting method of application programs, which comprises the following steps: when a sequencing instruction is received, determining a sequencing mode corresponding to the sequencing instruction; determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs; and determining the sequencing result of each target application program according to the size of each target sequencing parameter. By applying the application program ordering method provided by the invention, the accuracy of application program ordering can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for sorting application programs according to the present invention;
FIG. 2 is a flow chart of a method for determining that an installed application satisfies a preset ordering condition according to the present invention;
FIG. 3 is an exemplary diagram of a presentation interface for an application provided by the present invention;
FIG. 4 is an exemplary diagram of an implementation scenario provided by the present invention;
FIG. 5 is a flowchart illustrating another method of the method for sorting application programs according to the present invention;
FIG. 6 is a schematic diagram of a sorting apparatus for application programs according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor devices, distributed computing environments that include any of the above devices or devices, and the like.
The embodiment of the invention provides a method for ordering application programs, which can be applied to various system platforms, wherein an execution subject of the method can be a processor of intelligent equipment, the intelligent equipment can be an intelligent television, a set top box, a computer terminal or various mobile equipment, and a flow chart of the method is shown in fig. 1 and specifically comprises the following steps:
s101: when a sequencing instruction is received, determining a sequencing mode corresponding to the sequencing instruction.
In the method provided by the embodiment of the invention, the ordering instruction can be an instruction for calling the interface corresponding to the established application ordering service.
Specifically, the sorting mode can be determined by the input variable of the interface, and the sorting mode can be multiple.
S102: and determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program.
The target application program is an installed application program which is judged to meet a preset sorting condition; the ranking data includes ranking parameters corresponding to the listening event, which are obtained by triggering each preset listening event by the target application program to which the ranking data belongs, and the ranking data may include ranking parameters of an installation priority type, ranking parameters of a use frequency type, and the like.
In the method provided by the embodiment of the invention, whether the application program meets the sorting condition can be judged by judging whether the installed target application program is a malicious application program or judging whether the installed target application program is in a preset application program white list or not, and the sorting condition can be set according to actual requirements.
Specifically, the listening event may be an installation event of an application program, an uninstallation event of the application program, an update event of the application program, an opening event of the application program, and so on.
S103: and determining the sequencing result of each target application program according to the size of each target sequencing parameter.
In the method provided by the embodiment of the invention, the target application programs can be sequenced according to the sequence of the target sequencing parameters from big to small, so as to obtain the sequencing result, namely the sequencing sequence, of the target application programs.
The embodiment of the invention provides a sequencing method of application programs, which comprises the following steps: when a sequencing instruction is received, determining a sequencing mode corresponding to the sequencing instruction; determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs; and determining the sequencing result of each target application program according to the size of each target sequencing parameter. The method and the device have the advantages that each application program is ordered independently of the time of a local system, the accuracy of application program ordering can be improved, a user can conveniently and rapidly find the application program required by the user, and therefore user experience is improved.
In the method provided by the embodiment of the present invention, based on the implementation process, specifically, the process of determining that the installed application program meets the preset ordering condition, as shown in fig. 2, includes:
s201: and determining the identification information of each currently installed application program, and acquiring application security data.
In the method provided by the embodiment of the invention, the process of acquiring the application security data may be: judging whether new application security data exist in the server, if so, acquiring the new application security data in the server, storing the new application security data in a local corresponding storage area, and if not, acquiring pre-stored application security data in the local corresponding storage area, wherein the application security data can be recorded with the white list authority of each application program.
S202: and matching each piece of identification information with the application security data to obtain authority information corresponding to each piece of identification information.
In the method provided by the embodiment of the invention, the identification information of the application program can be the application package name of the application program.
S203: and for each application program, if the authority information corresponding to the identification information of the application program characterizes the application program as a white list application program, judging that the application program meets the preset ordering condition.
In the method provided by the embodiment of the invention, if the application program is a white list application program, the application program is determined to meet the preset ordering condition, and if the application program is a gray list application program, the application program is determined to not meet the preset ordering condition.
In the method provided by the embodiment of the present invention, based on the implementation process, specifically, the process for generating the arrangement data includes:
judging whether a historical arrangement data set of each target application program exists or not under the condition that a preset application ordering service is in a starting state;
if not, acquiring a sequencing order configuration file, and generating an initial arrangement data set according to the sequencing order configuration file; the initial arrangement data set comprises dynamic ordering parameters and initial arrangement data of each target application program;
monitoring each target application program, updating the dynamic ordering parameters when any one target application program triggers any preset monitoring event, and updating ordering parameters corresponding to the monitoring event in initial arrangement data of the target application program according to the updated dynamic ordering parameters and the type of the monitoring event; and when the ordering instruction is received, determining each initial arrangement data as arrangement data.
It should be noted that, each target application program may be monitored through an ActivityManager service.
In the method provided by the embodiment of the invention, the initial value of the dynamic ordering parameter may be preset, for example, the dynamic ordering parameter may be 4000;
when any target application program is monitored for the first time to trigger any monitoring event, determining a score corresponding to the event type, for example, the event type is an open application program type, the score is 2, therefore, the ranking parameter value corresponding to the event type in the target application program is 4002, when any target application program is not monitored for the first time to trigger the monitoring event, determining the ranking parameter value with the largest value in each initial ranking data of each current target application program, determining the largest ranking parameter value as a new dynamic ranking parameter, for example, the current largest ranking parameter value is 6000, the dynamic ranking parameter value is 6000, and if the score corresponding to the event type is 2, the ranking parameter corresponding to the event type in the target application program is 6002.
Specifically, the sorting order configuration file may include a server designated sorting list, a local default application sorting list and an installed application list, where the process of generating the initial arrangement data set according to the sorting order configuration file may be:
judging whether the identification information of each target application program belongs to a server designated sorting list or not, if so, acquiring a first position serial number of the identification information in the server designated sorting list, and determining initial arrangement data of the target application program according to the first position serial number; if the identification information of the target application program does not belong to the server designated sorting list, judging whether the identification information of the target application program belongs to the local default application sorting list, if the identification information belongs to the local default application sorting list, acquiring a second position serial number of the identification information in the local default application sorting list, determining initial arrangement data of the target application program according to the second position serial number, and if the local default application sorting list is not input, acquiring a third position serial number of the target application program in an installed application list, and determining initial arrangement data of the target application program according to the third position serial number, wherein the server designated sorting list can be acquired in a server;
generating a dynamic ordering parameter, wherein the initial value of the dynamic ordering parameter can be set according to the actual situation;
thus, an initial arrangement data set composed of the dynamic ranking parameter and the initial arrangement data of each target application program, which can be recorded on the arrangement data table, can be obtained.
Similarly, if it is judged that the historical arrangement data set of each target application program exists, monitoring each target application program, when any one target random program is monitored to trigger any one monitoring event in the monitoring process of each target application program, updating the dynamic ordering parameters in the historical arrangement data set according to the type of the monitoring event, and updating the ordering parameters corresponding to the monitoring event in the historical arrangement data set according to the updated dynamic ordering parameters; and when the ordering instruction is received, determining each current historical arrangement data as arrangement data.
The historical arrangement data set is obtained by sequencing each target application program last time, the historical arrangement data set comprises dynamic sequencing parameters and historical arrangement data of each target application program, the historical arrangement data of each target application program comprises sequencing parameters of each type, and when a monitoring event is detected each time, the dynamic sequencing parameters point to the largest sequencing parameters in the sequencing parameters of each target application program.
In the method provided by the embodiment of the present invention, based on the implementation process, specifically, the determining the ordering mode corresponding to the ordering instruction includes:
analyzing the ordering instruction to obtain instruction information of the ordering instruction;
and inquiring a preset configuration table by using the instruction information to determine a sequencing mode corresponding to the instruction information.
In the method provided by the embodiment of the invention, the ordering instruction is analyzed to obtain the instruction information of the ordering instruction, the instruction information can be specific characters, such as 01, 02, 03, A, B or C, and the like, and can be specifically set according to actual requirements, each character corresponds to an ordering mode, and the ordering mode corresponding to the ordering instruction can be determined by inquiring a preset configuration table according to the instruction information, wherein the configuration table records the corresponding relation between various instruction information and various ordering modes.
In the method provided by the embodiment of the present invention, based on the implementation process, specifically, a process of determining, in pre-generated arrangement data of each target application program, a target ordering parameter corresponding to the ordering mode is as follows:
if the sorting mode is the first sorting mode, determining the sorting parameter of the installation priority type in the sorting data of each target application program as a target sorting parameter;
if the sorting mode is the second sorting mode, judging whether the sorting parameters of the using priority types in the sorting data of each target application program are zero, if so, determining the sorting parameters of the installation priority types in the sorting data of each target application program as target sorting parameters, and if not, determining the sorting parameters of the using priority types in the sorting data of each target application program as target sorting parameters;
if the sorting mode is the third sorting mode, judging whether the sorting parameters of the using frequency types in the sorting data of each target application program are zero, if so, determining the sorting parameters of the installation priority types in the sorting data of each target application program as target sorting parameters, and if not, determining the sorting parameters of the using frequency types in the sorting data of each target application program as target sorting parameters.
The method provided by the embodiment of the invention is based on the implementation process, and specifically further comprises the following steps:
and displaying the target application programs on a preset visual interface based on the sequencing result of the target application programs.
In the method provided by the embodiment of the invention, the display mode may be that names of each application program are sorted from top to bottom according to sorting results of each target application program in a list form, for example, if the sequence of the sorting results is that: application a, application B, application C, and application D, an exemplary diagram of a display interface for displaying each target application is shown in fig. 3, and it should be noted that a display manner of the target application may be set by a technician according to actual needs.
Referring to fig. 4, an exemplary diagram of an implementation scenario provided by the present invention includes an intelligent device 401 and a server 402.
In practice, the smart device 401 shown in fig. 4 may be an electronic device such as a smart television, a set-top box, a mobile phone, a tablet computer, a personal computer, etc. The server 402 may be a server, a server cluster formed by a plurality of servers, or a cloud computing service center. The server 402 establishes a communication connection with the smart device over a network.
The network to which embodiments of the present invention relate is a medium that provides a communications link, and may include various connection types, such as wired, wireless communications links, or fiber optic cables, among others.
Based on the implementation scenario provided in fig. 4, the present invention provides a further embodiment, as shown in fig. 5, of a flowchart of a further mode of the application program ordering method, which is specifically as follows:
when the preset application ordering service of the intelligent device 401 is in a starting state, judging whether a history data set exists locally, if not, judging whether the latest application security data and a server appointed ordering list exist in the server 402, if so, updating the locally stored application security data and the server appointed ordering list, and if not, directly acquiring the locally pre-stored application security data and the server appointed ordering list. The historical arrangement data set is the last stored arrangement data set.
Defining the ordering parameter of the installation priority type of each application program as X, defining the ordering parameter of the use priority type as Y, and defining the ordering parameter of the use frequency type as Z;
judging whether each installed application program meets the ordering condition according to the application safety data, specifically, matching each identification information with the application safety data to obtain authority information corresponding to each identification information; and for each application program, if the authority information corresponding to the identification information of the application program characterizes the application program as a white list application program, judging that the application program meets the preset ordering condition.
For each target application program, judging whether the identification information of the target application program belongs to a server designated ordered list, if so, acquiring a first position serial number i of the identification information in the server designated ordered list, and determining initial arrangement data of the target application program according to the first position serial number i, wherein the method specifically comprises the following steps: x=3000-i, y=0, z=0.
If the identification information of the target application program does not belong to the server designated sorting list, judging whether the identification information of the target application program belongs to a local default application sorting list, if the identification information belongs to the local default application sorting list, acquiring a second position serial number j of the identification information in the local default application sorting list, and determining initial arrangement data of the target application program according to the second position serial number j, wherein the method specifically comprises the steps of: x=2000-j, y=0, z=0.
If the application program does not belong to the local default application ordering list, a third position serial number j of the target application program in the installed application list is obtained, and initial arrangement data of the target application program is determined according to the third position serial number j, specifically: x=1000-j, y=0, z=0.
The dynamic ordering parameter is defined as M, and m=4000.
If the historical ranking data set exists, loading each ranking data in the historical ranking data set, and giving the value of the numerical maximum ranking parameter in the ranking data set to the dynamic ranking parameter M.
Opening an application page interface through an activityManager service, and monitoring installation, updating and uninstallation broadcast of a target application program to monitor events of opening the target application program, updating the target application program and installing the target application program by a user, and updating application ranking data according to a ranking algorithm when the events are applied, such as:
triggering an opening event when detecting that a target application program is opened, determining the value of a dynamic ordering parameter M, wherein the value of M is the current maximum ordering parameter value, the ordering parameter Y=M+2 of the priority type of the target application program, and the ordering parameter Z of the frequency type is added with 1;
triggering an update event when the update of the target application program is detected, and determining the value of a dynamic ordering parameter M, wherein the value of M is the current maximum ordering parameter value, the ordering parameter X=M+2 of the installation priority type of the target application program, and the ordering parameter Y=M+2 of the priority type;
when detecting that a new application is installed, triggering an installation event, at this time, determining a value of a dynamic ordering parameter M, where the value of M is a current largest ordering parameter value, generating ordering data corresponding to the target application program, updating an ordering parameter X of an installation priority type and an ordering parameter Y of a priority type in the ordering data, where a specific updating manner may be: x=m+2, y=m+2.
The preset application ordering service provides an inter-process application ordering data query interface to the outside through a content provider ContentProvider of the android, when an ordering instruction transmitted by a user calling the interface is received, an ordering mode corresponding to the ordering instruction is determined, and a target ordering parameter corresponding to the ordering mode is determined in the ordering data of each target application program; and determining the sequencing result of each target application program according to the size of each target sequencing parameter.
Corresponding to the method described in fig. 1, the embodiment of the present invention further provides an application program sequencing device, which is used for implementing the method in fig. 1, where the application program sequencing device provided in the embodiment of the present invention may be applied to a computer terminal or various mobile devices, and the structural schematic diagram of the application program sequencing device is shown in fig. 6, and specifically includes:
a receiving unit 601, configured to determine, when receiving an ordering instruction, an ordering manner corresponding to the ordering instruction;
a first determining unit 602, configured to determine, in pre-generated arrangement data of each target application program, a target ranking parameter corresponding to the ranking mode; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs;
a second determining unit 603, configured to determine a ranking result of each target application program according to the size of each target ranking parameter.
In an embodiment of the present invention, based on the above solution, optionally, the application program sorting device further includes:
the execution unit is used for determining the identification information of each currently installed application program and acquiring application security data;
the matching unit is used for matching each piece of identification information with the application security data to obtain authority information corresponding to each piece of identification information;
and the judging unit is used for judging that each application program meets the preset ordering condition if the authority information corresponding to the identification information of the application program indicates that the application program is a white list application program.
The embodiment of the invention provides a sequencing device of an application program, which determines a sequencing mode corresponding to a sequencing instruction when the sequencing instruction is received; determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs; and determining the sequencing result of each target application program according to the size of each target sequencing parameter. The method has the advantages that the method does not depend on the time of a local system to sort all the application programs, can improve the sorting accuracy of the application programs, is convenient for users to flexibly and rapidly find out the application programs required by the users, and accordingly improves user experience.
In a further embodiment of the present invention, based on the foregoing solution, optionally, the application program sorting device further includes:
a judging unit, configured to judge whether a history arrangement data set of each target application program exists in a case where a preset application ordering service is in a start state;
the generation unit is used for acquiring a sequencing order configuration file when the historical arrangement data set of each target application program does not exist, and generating an initial arrangement data set according to the sequencing order configuration file; the initial arrangement data set comprises dynamic ordering parameters and initial arrangement data of each target application program;
the monitoring unit is used for monitoring each target application program, updating the dynamic ordering parameters when any one preset monitoring event is triggered by any one target application program, and updating ordering parameters corresponding to the monitoring event in the initial arrangement data of the target application program according to the updated dynamic ordering parameters and the type of the monitoring event; and when the ordering instruction is received, determining each initial arrangement data as arrangement data.
In a further embodiment of the present invention, based on the foregoing solution, optionally, the receiving unit 601 includes:
the analysis subunit is used for analyzing the ordering instruction to obtain instruction information of the ordering instruction;
and the inquiring subunit is used for inquiring a preset configuration table by applying the instruction information so as to determine the ordering mode corresponding to the instruction information.
In a further embodiment of the present invention, based on the foregoing solution, optionally, the application program sorting device further includes:
and the display unit is used for displaying the target application programs on a preset visual interface according to the sequencing result of the target application programs.
The specific principle and execution process of each unit and module in the application program sequencing device disclosed in the above embodiment of the present invention are the same as those of the application program sequencing method disclosed in the above embodiment of the present invention, and may refer to corresponding parts in the application program sequencing method provided in the above embodiment of the present invention, and will not be described herein again.
The embodiment of the invention also provides a storage medium, which comprises stored instructions, wherein when the instructions run, the device where the storage medium is controlled to execute the method for ordering the application programs.
The embodiment of the present invention further provides an electronic device, whose structural schematic diagram is shown in fig. 7, specifically including a memory 701, and one or more instructions 702, where the one or more instructions 702 are stored in the memory 701, and configured to be executed by the one or more processors 703, where the one or more instructions 702 perform the following operations:
when a sequencing instruction is received, determining a sequencing mode corresponding to the sequencing instruction;
determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs;
and determining the sequencing result of each target application program according to the size of each target sequencing parameter.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present invention.
From the above description of embodiments, it will be apparent to those skilled in the art that the present invention may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The foregoing has outlined a detailed description of the method for ordering application programs, wherein specific examples are provided herein to illustrate the principles and embodiments of the present invention, and the above examples are only for aiding in the understanding of the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (6)

1. A method for ordering applications, comprising:
when a sequencing instruction is received, determining a sequencing mode corresponding to the sequencing instruction;
determining target sorting parameters corresponding to the sorting modes in pre-generated arrangement data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs;
determining the sequencing result of each target application program according to the size of each target sequencing parameter;
wherein, the generating process of each arrangement data comprises the following steps:
judging whether a historical arrangement data set of each target application program exists or not under the condition that a preset application ordering service is in a starting state;
if not, acquiring a sequencing order configuration file, and generating an initial arrangement data set according to the sequencing order configuration file; the initial arrangement data set comprises dynamic ordering parameters and initial arrangement data of each target application program;
monitoring each target application program, updating the dynamic ordering parameters when any one target application program triggers any preset monitoring event, and updating ordering parameters corresponding to the monitoring event in initial arrangement data of the target application program according to the updated dynamic ordering parameters and the type of the monitoring event; when the ordering instruction is received, determining each initial arrangement data as arrangement data currently;
wherein, the process of judging that the installed application program meets the preset ordering condition comprises the following steps:
determining the identification information of each currently installed application program, and acquiring application security data;
matching each piece of identification information with the application security data to obtain authority information corresponding to each piece of identification information;
and for each application program, if the authority information corresponding to the identification information of the application program characterizes the application program as a white list application program, judging that the application program meets the preset ordering condition.
2. The method of claim 1, wherein determining the ordering corresponding to the ordering instruction comprises:
analyzing the ordering instruction to obtain instruction information of the ordering instruction;
and inquiring a preset configuration table by using the instruction information to determine a sequencing mode corresponding to the instruction information.
3. The method as recited in claim 1, further comprising:
and displaying the target application programs on a preset visual interface based on the sequencing result of the target application programs.
4. An apparatus for sorting applications, comprising:
the receiving unit is used for determining a sequencing mode corresponding to the sequencing instruction when the sequencing instruction is received;
a first determining unit, configured to determine a target ranking parameter corresponding to the ranking mode in pre-generated ranking data of each target application program; the target application program is an installed application program which is judged to meet a preset sorting condition; the arrangement data comprises ordering parameters corresponding to the monitoring events, wherein the ordering parameters are obtained by triggering each preset monitoring event by the target application program to which the ordering data belongs;
the second determining unit is used for determining the sorting result of each target application program according to the size of each target sorting parameter;
wherein, the generating process of each arrangement data comprises the following steps:
judging whether a historical arrangement data set of each target application program exists or not under the condition that a preset application ordering service is in a starting state;
if not, acquiring a sequencing order configuration file, and generating an initial arrangement data set according to the sequencing order configuration file; the initial arrangement data set comprises dynamic ordering parameters and initial arrangement data of each target application program;
monitoring each target application program, updating the dynamic ordering parameters when any one target application program triggers any preset monitoring event, and updating ordering parameters corresponding to the monitoring event in initial arrangement data of the target application program according to the updated dynamic ordering parameters and the type of the monitoring event; when the ordering instruction is received, determining each initial arrangement data as arrangement data currently;
wherein, the process of judging that the installed application program meets the preset ordering condition comprises the following steps:
determining the identification information of each currently installed application program, and acquiring application security data;
matching each piece of identification information with the application security data to obtain authority information corresponding to each piece of identification information;
and for each application program, if the authority information corresponding to the identification information of the application program characterizes the application program as a white list application program, judging that the application program meets the preset ordering condition.
5. The apparatus of claim 4, wherein the receiving unit comprises:
the analysis subunit is used for analyzing the ordering instruction to obtain instruction information of the ordering instruction;
and the inquiring subunit is used for inquiring a preset configuration table by applying the instruction information so as to determine the ordering mode corresponding to the instruction information.
6. The apparatus as recited in claim 4, further comprising:
and the display unit is used for displaying the target application programs on a preset visual interface according to the sequencing result of the target application programs.
CN202010076322.XA 2020-01-23 2020-01-23 Application program ordering method and device Active CN111274093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010076322.XA CN111274093B (en) 2020-01-23 2020-01-23 Application program ordering method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010076322.XA CN111274093B (en) 2020-01-23 2020-01-23 Application program ordering method and device

Publications (2)

Publication Number Publication Date
CN111274093A CN111274093A (en) 2020-06-12
CN111274093B true CN111274093B (en) 2023-12-01

Family

ID=71001217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010076322.XA Active CN111274093B (en) 2020-01-23 2020-01-23 Application program ordering method and device

Country Status (1)

Country Link
CN (1) CN111274093B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077049A (en) * 2012-12-31 2013-05-01 福州瑞芯微电子有限公司 Smart method and system for updating desktop navigation bar
CN103210381A (en) * 2010-11-15 2013-07-17 富士通株式会社 Access method, and multi-core processor system
CN103793388A (en) * 2012-10-29 2014-05-14 阿里巴巴集团控股有限公司 Method and device for search result sorting
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN105045623A (en) * 2015-07-13 2015-11-11 四川长虹电器股份有限公司 Intelligent operating system based application configuration method
CN105635480A (en) * 2016-01-19 2016-06-01 广州彩瞳网络技术有限公司 Application program recommendation method and corresponding device
CN105843525A (en) * 2016-03-22 2016-08-10 维沃移动通信有限公司 Information displaying method based on mobile terminal and mobile terminal
CN105975323A (en) * 2016-06-27 2016-09-28 北京金山安全软件有限公司 Application management method and device and terminal
CN106095561A (en) * 2016-06-24 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Freeze the management method of application, the managing device freezing application and terminal
CN106295320A (en) * 2016-08-05 2017-01-04 广州中国科学院软件应用技术研究所 A kind of android system customized desktop based on white list
CN106708476A (en) * 2015-07-20 2017-05-24 腾讯科技(深圳)有限公司 Stand-alone application instruction processing method and device
CN106775624A (en) * 2016-11-17 2017-05-31 北京小米移动软件有限公司 Using the determination method and device of display order
WO2017167164A1 (en) * 2016-03-29 2017-10-05 北京金山安全软件有限公司 Method and apparatus for sequencing and displaying applications, and mobile device
CN107291483A (en) * 2016-04-01 2017-10-24 深圳富泰宏精密工业有限公司 Intelligence deletes the method and electronic equipment of application program
CN107704317A (en) * 2017-08-25 2018-02-16 深圳天珑无线科技有限公司 Smart machine and its application management method and the device with store function
CN108595279A (en) * 2013-06-07 2018-09-28 北京三星通信技术研究有限公司 The method, apparatus and terminal device of caller
CN109934689A (en) * 2019-03-22 2019-06-25 拉扎斯网络科技(上海)有限公司 Target object ranking means of interpretation, device, electronic equipment and readable storage medium storing program for executing
CN110177140A (en) * 2019-05-27 2019-08-27 湖南快乐阳光互动娱乐传媒有限公司 A kind of IP scheduling system and method for client data downloading

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014028069A1 (en) * 2012-08-17 2014-02-20 Flextronics Ap, Llc Epg aggregation from multiple sources
JP6701903B2 (en) * 2016-04-08 2020-05-27 オムロンヘルスケア株式会社 Terminal
CN112882804A (en) * 2016-08-17 2021-06-01 华为技术有限公司 Method and device for starting application
CN108279954B (en) * 2016-12-30 2020-07-07 华为技术有限公司 Application program sequencing method and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103210381A (en) * 2010-11-15 2013-07-17 富士通株式会社 Access method, and multi-core processor system
CN103793388A (en) * 2012-10-29 2014-05-14 阿里巴巴集团控股有限公司 Method and device for search result sorting
CN103077049A (en) * 2012-12-31 2013-05-01 福州瑞芯微电子有限公司 Smart method and system for updating desktop navigation bar
CN108595279A (en) * 2013-06-07 2018-09-28 北京三星通信技术研究有限公司 The method, apparatus and terminal device of caller
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN105045623A (en) * 2015-07-13 2015-11-11 四川长虹电器股份有限公司 Intelligent operating system based application configuration method
CN106708476A (en) * 2015-07-20 2017-05-24 腾讯科技(深圳)有限公司 Stand-alone application instruction processing method and device
CN105635480A (en) * 2016-01-19 2016-06-01 广州彩瞳网络技术有限公司 Application program recommendation method and corresponding device
CN105843525A (en) * 2016-03-22 2016-08-10 维沃移动通信有限公司 Information displaying method based on mobile terminal and mobile terminal
WO2017167164A1 (en) * 2016-03-29 2017-10-05 北京金山安全软件有限公司 Method and apparatus for sequencing and displaying applications, and mobile device
CN107291483A (en) * 2016-04-01 2017-10-24 深圳富泰宏精密工业有限公司 Intelligence deletes the method and electronic equipment of application program
CN106095561A (en) * 2016-06-24 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Freeze the management method of application, the managing device freezing application and terminal
CN105975323A (en) * 2016-06-27 2016-09-28 北京金山安全软件有限公司 Application management method and device and terminal
CN106295320A (en) * 2016-08-05 2017-01-04 广州中国科学院软件应用技术研究所 A kind of android system customized desktop based on white list
CN106775624A (en) * 2016-11-17 2017-05-31 北京小米移动软件有限公司 Using the determination method and device of display order
CN107704317A (en) * 2017-08-25 2018-02-16 深圳天珑无线科技有限公司 Smart machine and its application management method and the device with store function
CN109934689A (en) * 2019-03-22 2019-06-25 拉扎斯网络科技(上海)有限公司 Target object ranking means of interpretation, device, electronic equipment and readable storage medium storing program for executing
CN110177140A (en) * 2019-05-27 2019-08-27 湖南快乐阳光互动娱乐传媒有限公司 A kind of IP scheduling system and method for client data downloading

Also Published As

Publication number Publication date
CN111274093A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
JP6571277B2 (en) Method and apparatus for loading terminal application
US9372885B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
CN110262851B (en) Interface configuration method and device
CN107908487B (en) Task control management method, device and equipment and computer readable storage medium
CN107765853A (en) Using method for closing, device, storage medium and electronic equipment
CN111666516A (en) Page loading method and device, electronic equipment and storage medium
CN114095567A (en) Data access request processing method and device, computer equipment and medium
CN108062401B (en) Application recommendation method and device and storage medium
CN111274093B (en) Application program ordering method and device
CN112311818B (en) Method, device, terminal and storage medium for downloading applet data packet
CN114816389B (en) Management system building method, device, equipment and medium based on meta-model
CN108268274B (en) Application management method and device, storage medium and electronic equipment
CN107291543B (en) Application processing method and device, storage medium and terminal
CN112765022B (en) Webshell static detection method based on data stream and electronic equipment
CN114489892A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN112181508B (en) Page automatic refreshing method and device and computer equipment
CN115220859A (en) Data input mode monitoring method and device, electronic equipment and storage medium
CN113421565A (en) Search method, search device, electronic equipment and storage medium
CN112698879A (en) Method and device for loading source file
CN110753909A (en) Service scheduling method and device, computer equipment and computer readable storage medium
CN113778673B (en) Data processing method, storage medium and apparatus
CN117041353B (en) Task processing method and device, electronic equipment and storage medium
CN111327513B (en) Message data pushing method and device, computer equipment and storage medium
CN117077128A (en) Process management and control method and device
CN111475322A (en) Method and device for positioning stuck thread, computer equipment and readable 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
CB03 Change of inventor or designer information

Inventor after: Chen Bifeng

Inventor after: Liu Guangbin

Inventor before: Chen Bifeng

Inventor before: Liu Guangbin

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant